09-10-2008
This is slightly off topic, but may give a clue:
I use a report generation program (CyberQuery). One option is to output the report as an Excel document.
Within Excel, if any cell of the document is all digits, but the source field was Aplha format, the data is preceeded by a single quote.
On the spreadsheet you see the data, including leading zeros (if any), but you do not see the leading quote.
Only when you select one of those cells, and look up to the cell contents field, do you see the single leading quote.
Hope that helps, or at least gives you something to research / consider.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey all,
Just found your forum...Looks super rich with info! Can't wait to get through it all.
I am currently writing a web app in .net that telnets into a unix server (require uid + passwd), runs a command, and returns that output to be displayed on the web page.
I have gotten through the... (8 Replies)
Discussion started by: gord
8 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Can I know how to grep for lines with non-ascii characters in a file?
If not grep, at least can we do it with command-line perl or awk? I tried the functionality of perl, but still could not get the result. Any help??
PS: I was sure that someone should have asked this question... (9 Replies)
Discussion started by: srinivasan_85
9 Replies
3. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
1 Replies
4. UNIX for Dummies Questions & Answers
Hi, I need to do a global search and replacement of a non-ascii character. Let me first give the background of my problem.
Very frequently, I need to copy set of references from different sources. Typically, a reference would like this:
Banumathy et al., 2002 G. Banumathy, V. Singh and U.... (1 Reply)
Discussion started by: effjay
1 Replies
5. UNIX for Advanced & Expert Users
I thought I would point this out. This has a lot of the non printing characters.
ASCII Character Set (7 Replies)
Discussion started by: cokedude
7 Replies
6. UNIX for Dummies Questions & Answers
A very simple question but I have scoured the web and can't find an answer. How do I search for a character by ASCII code in a regular expression using grep?
For example, we use the End of Medium symbol as a delimiter in certain files. (this is ascii 031 in oct, displays as ^Y) I want to grep... (6 Replies)
Discussion started by: DJR
6 Replies
7. Shell Programming and Scripting
I have one file .dat file on windows server containg the following text
"Bürki"
Now When I am using FTP (get) command from UNIX server the text is appering is as "Bürki"
I want to preserve the text in the file on UNIX server as it is in source file.
Could you please suggest some... (2 Replies)
Discussion started by: Bhushan D
2 Replies
8. Shell Programming and Scripting
Hi,
In my file, for few field I have to print the next ASCII character for every character.
In the below file, I have to do for the 2,3 and 5th fields.
Input File
========
1|abc|def|5|ghi
2|jkl|mno|6|pqr
Expected
Ouput file
=======
1|bcd|efg|5|hij
2|klm|nop|6|qrs (2 Replies)
Discussion started by: machomaddy
2 Replies
9. Shell Programming and Scripting
Hello
I have this special caracter after retreving rows from sql server:
"....spasses: • Entrem al valort 6050108002811 • El donem..."
I would like a sed command to remove it..or just know it's ascii code in order to replace it into my sql sentence.. Hope some one knows how to do that.... (7 Replies)
Discussion started by: ldiaz2106
7 Replies
10. UNIX for Dummies Questions & Answers
Hi Guru,
I have put one post yesterday and get answer. thanks for your help.
my question today is: what is ascii character for following non printable characters: ( we need filter these characters out in another process)
^MM-^E^MM-^E.
Old post link: ... (5 Replies)
Discussion started by: ken002
5 Replies
LEARN ABOUT DEBIAN
excel::template::container::format
Excel::Template::Container::Format(3pm) User Contributed Perl Documentation Excel::Template::Container::Format(3pm)
NAME
Excel::Template::Container::Format - Excel::Template::Container::Format
PURPOSE
To format all children according to the parameters
NODE NAME
FORMAT
INHERITANCE
Excel::Template::Container
ATTRIBUTES
Boolean attributes should be set to 1, 0, true, or false.
Color values can be the color name or the color index. See "COLOURS IN EXCEL" in Spreadsheet::WriteExcel
o align
Set to either left, center, right, fill, or justify. Default is left. See also valign.
o bg_color
Set to a color value. Default is none.
o bold
This will set bold to on or off, depending on the boolean value.
o border
Set the border for all for edges of a cell. Also see bottom, top, left, and right. Valid values are 0 - 7.
See "set_border()" in Spreadsheet::WriteExcel
o border_color
Sets the color value for the border. See also border, top_color, bottom_color, left_color and right_color.
o bottom
See border.
o bottom_color
See border_color
o color
This will set the color of the text, depending on color value. Default is black.
o fg_color
Set to a color value. This color will be used in foreground of some patterns. See color to change the color of text. Also see bg_color
and pattern.
o font
This will sent the font face. Default is Arial.
o font_outline
This will set font_outline to on or off, depending on the boolean value. (q.v. OUTLINE tag)
o font_shadow
This will set font_shadow to on or off, depending on the boolean value. (q.v. SHADOW tag). This only applies to Excel for Macintosh.
o font_strikeout
This will set font_strikeout to on or off, depending on the boolean value. (q.v. STRIKEOUT tag)
o hidden
This will set whether the cell is hidden to on or off, depending on the boolean value.
o indent
Set the indentation level for a cell. Positive integers are allowed.
o italic
This will set italic to on or off, depending on the boolean value. (q.v. ITALIC tag)
o left
See border.
o left_color
See border_color.
o num_format
Set to the index of one of Excel's built-in number formats. See "set_num_format()" in Spreadsheet::WriteExcel
o pattern
Set to an integer, 0 - 18. Sets the background fill pattern of a ell. Default is 1, solid.
o right
See border.
o right_color
See border color.
o rotation
Set the rotation of the text in a cell. The rotation can be any angle in the range -90 to 90 degrees. The angle 270 is also supported.
This indicates text where the letters run from top to bottom.
o shrink
A boolean value. If true, text will shrink to fit a cell.
o size
This will set the size of the font. Default is 10. Unless a row height is specifically set, the row will grow taller as necessary.
o text_justlast
A boolean value to justify the last line. Only applies to Far Eastern versions of Excel.
o text_wrap
A boolean value. When set to true, text will wrap in a cell instead of crossing over into empty cells. If the row height is not set,
the row will grow taller to accommodate the wrapping text.
o top
See border.
o top_color
See border_color
o valign
Set to top, vcenter, bottom, or vjustify. Default is vcenter. See also align.
CHILDREN
None
EFFECTS
None
DEPENDENCIES
None
USAGE
<format bold="1">
... Children here
</format>
In the above example, the children will be displayed (if they are displaying elements) in a bold format. All other formatting will remain
the same and the "bold"-ness will end at the end tag.
AUTHOR
Rob Kinyon (rob.kinyon@gmail.com)
SEE ALSO
BOLD, HIDDEN, ITALIC, OUTLINE, SHADOW, STRIKEOUT
perl v5.14.2 2012-04-29 Excel::Template::Container::Format(3pm)