Header和Footer能识别一些特殊的由“&”开头的字符串,这是Excel定义,不是由C1Excel决定。
这些字符串包括:
&L Start of the left section
&C Start of the centred section
&R Start of the right section
&P Current page number
&N Page count
&D Current date
&T Current time
&A Sheet name
&F File name without path
&Z File path without file name
&G Picture (file name)
&B Bold toggle
&I Italic toggle
&U Underline toggle
&E Double underle toggle
&S Strikeout toggle
&X Superscript toggle
&Y Subscript toggle
&"[fontname]" Set new font
&"[fontname,fontstyle]" Set new font with specified style. The style is in
most cases "Regular", "Bold", "Italic", or "Bold Italic".
&[fontheight] Set font height in points.
|