:: com :: sun :: star :: sheet ::

service TableAutoFormatField
Description
represents a field in an AutoFormat. A field contains all cell properties for a specific position in an AutoFormat.
Developers Guide
8.3.2 Spreadsheet Documents - Working with Spreadsheet Documents - Formatting - Table Auto Formats

Exported Interfaces
::com::sun::star::beans::XPropertySet
Description
provides access to the properties.
Properties' Summary
CharFontName specifies the name of the western font.
CharFontNameAsian [ OPTIONAL ]
specifies the name of the asian font.
CharFontNameComplex [ OPTIONAL ]
specifies the name of the complex font.
CharFontStyleName specifies the name of the western font style.
CharFontStyleNameAsian [ OPTIONAL ]
specifies the name of the asian font style.
CharFontStyleNameComplex [ OPTIONAL ]
specifies the name of the complex font style.
CharFontCharSet contains the value of the character set of the western font.
CharFontCharSetAsian [ OPTIONAL ]
contains the value of the character set of the asian font.
CharFontCharSetComplex [ OPTIONAL ]
contains the value of the character set of the complex font.
CharFontFamily contains the value of the western font family.
CharFontFamilyAsian [ OPTIONAL ]
contains the value of the asian font family.
CharFontFamilyComplex [ OPTIONAL ]
contains the value of the complex font family.
CharFontPitch contains the value of the pitch of the western font.
CharFontPitchAsian [ OPTIONAL ]
contains the value of the pitch of the asian font.
CharFontPitchComplex [ OPTIONAL ]
contains the value of the pitch of the complex font.
CharHeight contains the height of characters of the western font in point.
CharHeightAsian [ OPTIONAL ]
contains the height of characters of the asian font in point.
CharHeightComplex [ OPTIONAL ]
contains the height of characters of the complex font in point.
CharWeight contains the value for the weight of characters of the western font.
CharWeightAsian [ OPTIONAL ]
contains the value for the weight of characters of the asian font.
CharWeightComplex [ OPTIONAL ]
contains the value for the weight of characters of the complex font.
CharPosture contains the value of the posture of characters of the western font.
CharPostureAsian [ OPTIONAL ]
contains the value of the posture of characters of the asian font.
CharPostureComplex [ OPTIONAL ]
contains the value of the posture of characters of the comlex font.
CharUnderline contains the value for the character underline.
CharCrossedOut is true if the characters are crossed out.
CharContoured is true if the characters are contoured.
CharShadowed is true if the characters are shadowed.
CharColor contains the value of the text color.
CellBackColor contains the cell background color.
IsCellBackgroundTransparent is true if the cell background is transparent.
ShadowFormat [ OPTIONAL ]
contains a description of the shadow.
HoriJustify [ OPTIONAL ]
specifies the horizontal alignment of the cell contents.
VertJustify [ OPTIONAL ]
specifies the vertical alignment of the cell contents.
IsTextWrapped [ OPTIONAL ]
is true if text breaks automatically at cell borders.
Orientation [ OPTIONAL ]
contains the orientation of the cell contents (i.e. top-to-bottom or stacked).
RotateAngle [ OPTIONAL ]
contains the rotation angle of the cell contents.
RotateReference [ OPTIONAL ]
contains the reference egde of the cell rotation.
ParaTopMargin [ OPTIONAL ]
contains the margin between cell contents and top border (in 1/100 mm).
ParaBottomMargin [ OPTIONAL ]
contains the margin between cell contents and bottom border (in 1/100 mm).
ParaLeftMargin [ OPTIONAL ]
contains the margin between cell contents and left border (in 1/100 mm).
ParaRightMargin [ OPTIONAL ]
contains the margin between cell contents and right border (in 1/100 mm).
TableBorder [ OPTIONAL ]
property containing a description of the cell border.
Properties' Details
CharFontName
string CharFontName;
Description
specifies the name of the western font.
CharFontNameAsian
string CharFontNameAsian;
[ OPTIONAL ]
Description
specifies the name of the asian font.
CharFontNameComplex
string CharFontNameComplex;
[ OPTIONAL ]
Description
specifies the name of the complex font.
CharFontStyleName
string CharFontStyleName;
Description
specifies the name of the western font style.
CharFontStyleNameAsian
string CharFontStyleNameAsian;
[ OPTIONAL ]
Description
specifies the name of the asian font style.
CharFontStyleNameComplex
string CharFontStyleNameComplex;
[ OPTIONAL ]
Description
specifies the name of the complex font style.
CharFontCharSet
string CharFontCharSet;
Description
contains the value of the character set of the western font.
CharFontCharSetAsian
string CharFontCharSetAsian;
[ OPTIONAL ]
Description
contains the value of the character set of the asian font.
CharFontCharSetComplex
string CharFontCharSetComplex;
[ OPTIONAL ]
Description
contains the value of the character set of the complex font.
CharFontFamily
string CharFontFamily;
Description
contains the value of the western font family.
CharFontFamilyAsian
string CharFontFamilyAsian;
[ OPTIONAL ]
Description
contains the value of the asian font family.
CharFontFamilyComplex
string CharFontFamilyComplex;
[ OPTIONAL ]
Description
contains the value of the complex font family.
CharFontPitch
string CharFontPitch;
Description
contains the value of the pitch of the western font.
CharFontPitchAsian
string CharFontPitchAsian;
[ OPTIONAL ]
Description
contains the value of the pitch of the asian font.
CharFontPitchComplex
string CharFontPitchComplex;
[ OPTIONAL ]
Description
contains the value of the pitch of the complex font.
CharHeight
float CharHeight;
Description
contains the height of characters of the western font in point.
CharHeightAsian
float CharHeightAsian;
[ OPTIONAL ]
Description
contains the height of characters of the asian font in point.
CharHeightComplex
float CharHeightComplex;
[ OPTIONAL ]
Description
contains the height of characters of the complex font in point.
CharWeight
float CharWeight;
Description
contains the value for the weight of characters of the western font.
CharWeightAsian
float CharWeightAsian;
[ OPTIONAL ]
Description
contains the value for the weight of characters of the asian font.
CharWeightComplex
float CharWeightComplex;
[ OPTIONAL ]
Description
contains the value for the weight of characters of the complex font.
CharPosture
::com::sun::star::awt::FontSlant CharPosture;
Description
contains the value of the posture of characters of the western font.
CharPostureAsian
::com::sun::star::awt::FontSlant CharPostureAsian;
[ OPTIONAL ]
Description
contains the value of the posture of characters of the asian font.
CharPostureComplex
::com::sun::star::awt::FontSlant CharPostureComplex;
[ OPTIONAL ]
Description
contains the value of the posture of characters of the comlex font.
CharUnderline
short CharUnderline;
Description
contains the value for the character underline.
CharCrossedOut
boolean CharCrossedOut;
Description
is true if the characters are crossed out.
CharContoured
boolean CharContoured;
Description
is true if the characters are contoured.
CharShadowed
boolean CharShadowed;
Description
is true if the characters are shadowed.
CharColor
long CharColor;
Description
contains the value of the text color.
CellBackColor
long CellBackColor;
Description
contains the cell background color.
IsCellBackgroundTransparent
boolean IsCellBackgroundTransparent;
Description
is true if the cell background is transparent.

In this case the TableAutoFormatField::CellBackColor value is not used.

ShadowFormat
::com::sun::star::table::ShadowFormat ShadowFormat;
[ OPTIONAL ]
Description
contains a description of the shadow.
HoriJustify
::com::sun::star::table::CellHoriJustify HoriJustify;
[ OPTIONAL ]
Description
specifies the horizontal alignment of the cell contents.
VertJustify
::com::sun::star::table::CellVertJustify VertJustify;
[ OPTIONAL ]
Description
specifies the vertical alignment of the cell contents.
IsTextWrapped
boolean IsTextWrapped;
[ OPTIONAL ]
Description
is true if text breaks automatically at cell borders.
Orientation
::com::sun::star::table::CellOrientation Orientation;
[ OPTIONAL ]
Description
contains the orientation of the cell contents (i.e. top-to-bottom or stacked).
RotateAngle
long RotateAngle;
[ OPTIONAL ]
Description
contains the rotation angle of the cell contents.
RotateReference
::com::sun::star::table::CellVertJustify RotateReference;
[ OPTIONAL ]
Description
contains the reference egde of the cell rotation.
ParaTopMargin
long ParaTopMargin;
[ OPTIONAL ]
Description
contains the margin between cell contents and top border (in 1/100 mm).
ParaBottomMargin
long ParaBottomMargin;
[ OPTIONAL ]
Description
contains the margin between cell contents and bottom border (in 1/100 mm).
ParaLeftMargin
long ParaLeftMargin;
[ OPTIONAL ]
Description
contains the margin between cell contents and left border (in 1/100 mm).
ParaRightMargin
long ParaRightMargin;
[ OPTIONAL ]
Description
contains the margin between cell contents and right border (in 1/100 mm).
TableBorder
::com::sun::star::table::TableBorder TableBorder;
[ OPTIONAL ]
Description
property containing a description of the cell border.
Since version
OpenOffice.org 1.1

 
Top of Page