#include <excel.h>
Public Member Functions | |
| unsigned int | rtti () |
| XFRecord () | |
| XFRecord (const XFRecord &xf) | |
| XFRecord & | operator= (const XFRecord &xf) |
| ~XFRecord () | |
| unsigned | fontIndex () const |
| void | setFontIndex (unsigned fi) |
| unsigned | formatIndex () const |
| void | setFormatIndex (unsigned fi) |
| bool | locked () const |
| void | setLocked (bool l) |
| bool | formulaHidden () const |
| void | setFormulaHidden (bool f) |
| unsigned | parentStyle () const |
| void | setParentStyle (unsigned ps) |
| unsigned | horizontalAlignment () const |
| void | setHorizontalAlignment (unsigned ha) |
| const char * | horizontalAlignmentAsString () const |
| unsigned | verticalAlignment () const |
| void | setVerticalAlignment (unsigned va) |
| const char * | verticalAlignmentAsString () const |
| bool | textWrap () const |
| void | setTextWrap (bool wrap) |
| unsigned | rotationAngle () const |
| void | setRotationAngle (unsigned angle) |
| bool | stackedLetters () const |
| void | setStackedLetters (bool stacked) |
| unsigned | indentLevel () const |
| void | setIndentLevel (unsigned i) |
| bool | shrinkContent () const |
| void | setShrinkContent (bool s) |
| unsigned | leftBorderStyle () const |
| void | setLeftBorderStyle (unsigned style) |
| unsigned | leftBorderColor () const |
| void | setLeftBorderColor (unsigned color) |
| unsigned | rightBorderStyle () const |
| void | setRightBorderStyle (unsigned style) |
| unsigned | rightBorderColor () const |
| void | setRightBorderColor (unsigned color) |
| unsigned | topBorderStyle () const |
| void | setTopBorderStyle (unsigned style) |
| unsigned | topBorderColor () const |
| void | setTopBorderColor (unsigned color) |
| unsigned | bottomBorderStyle () const |
| void | setBottomBorderStyle (unsigned style) |
| unsigned | bottomBorderColor () const |
| void | setBottomBorderColor (unsigned color) |
| bool | diagonalTopLeft () const |
| void | setDiagonalTopLeft (bool d) |
| bool | diagonalBottomLeft () const |
| void | setDiagonalBottomLeft (bool d) |
| unsigned | diagonalStyle () const |
| void | setDiagonalStyle (unsigned style) |
| unsigned | diagonalColor () const |
| void | setDiagonalColor (unsigned color) |
| unsigned | fillPattern () const |
| void | setFillPattern (unsigned pattern) |
| unsigned | patternForeColor () const |
| void | setPatternForeColor (unsigned color) |
| unsigned | patternBackColor () const |
| void | setPatternBackColor (unsigned color) |
| virtual const char * | name () |
| virtual void | setData (unsigned size, const unsigned char *data) |
| virtual void | dump (std::ostream &out) const |
| Public Member Functions inherited from Swinder::Record | |
| Record () | |
| virtual | ~Record () |
| void | setVersion (unsigned v) |
| unsigned | version () |
| void | setPosition (unsigned pos) |
| unsigned | position () const |
Static Public Attributes | |
| static const unsigned int | id = 0x00e0 |
| Static Public Attributes inherited from Swinder::Record | |
| static const unsigned int | id = 0 |
Additional Inherited Members | |
| Static Public Member Functions inherited from Swinder::Record | |
| static Record * | create (unsigned type) |
| Protected Attributes inherited from Swinder::Record | |
| unsigned | stream_position |
| unsigned | ver |
Detailed Description
Class XFRecord holds information of XF (eXtended Format) which specifies many kind of properties of a specific cell.
It will be referred by record derived from CellInfo, in the member function xfIndex().
Member Enumeration Documentation
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
Constructor & Destructor Documentation
◆ XFRecord() [1/2]
◆ XFRecord() [2/2]
| XFRecord::XFRecord | ( | const XFRecord & | xf | ) |
◆ ~XFRecord()
Member Function Documentation
◆ bottomBorderColor()
| unsigned XFRecord::bottomBorderColor | ( | ) | const |
Returns the color for bottom border.
This is an index to color palette specified in Palette record.
- See also
- setBottomBorderColor, bottomBorderStyle
◆ bottomBorderStyle()
| unsigned XFRecord::bottomBorderStyle | ( | ) | const |
Returns the line style for bottom border.
- See also
- setBottomBorderStyle, bottomBorderColor
◆ diagonalBottomLeft()
| bool XFRecord::diagonalBottomLeft | ( | ) | const |
Returns true if there is a diagonal line from bottom left to right top.
- See also
- diagonalStyle, diagonalColor, setDiagonalBottomLeft
◆ diagonalColor()
| unsigned XFRecord::diagonalColor | ( | ) | const |
Returns the color for diagonal line.
This is an index to color palette specified in Palette record.
- See also
- setDiagonalColor, diagonalStyle
◆ diagonalStyle()
| unsigned XFRecord::diagonalStyle | ( | ) | const |
Returns the diagonal line style.
◆ diagonalTopLeft()
| bool XFRecord::diagonalTopLeft | ( | ) | const |
Returns true if there is a diagonal line from top left to right bottom.
- See also
- diagonalStyle, diagonalColor, setDiagonalTopLeft
◆ dump()
|
virtual |
◆ fillPattern()
| unsigned XFRecord::fillPattern | ( | ) | const |
◆ fontIndex()
| unsigned XFRecord::fontIndex | ( | ) | const |
Gets the index of the font for use in this XFormat.
The index refers to the font table.
- See also
- setFontIndex, FontRecord
◆ formatIndex()
| unsigned XFRecord::formatIndex | ( | ) | const |
Gets the index of the number format for use in this XFormat.
The index refers to the format table.
- See also
- setFormatIndex, FormatRecord
◆ formulaHidden()
| bool XFRecord::formulaHidden | ( | ) | const |
Returns true if the formula of the cells using this format should be hidden from user.
- See also
- setFormulaHidden
◆ horizontalAlignment()
| unsigned XFRecord::horizontalAlignment | ( | ) | const |
◆ horizontalAlignmentAsString()
| const char * XFRecord::horizontalAlignmentAsString | ( | ) | const |
◆ indentLevel()
| unsigned XFRecord::indentLevel | ( | ) | const |
◆ leftBorderColor()
| unsigned XFRecord::leftBorderColor | ( | ) | const |
Returns the color for left border.
This is an index to color palette specified in Palette record.
- See also
- setLeftBorderColor, leftBorderStyle
◆ leftBorderStyle()
| unsigned XFRecord::leftBorderStyle | ( | ) | const |
Returns the line style for left border.
- See also
- setLeftBorderStyle, leftBorderColor
◆ locked()
| bool XFRecord::locked | ( | ) | const |
◆ name()
|
inlinevirtual |
◆ operator=()
◆ parentStyle()
| unsigned XFRecord::parentStyle | ( | ) | const |
Returns the index of the parent stlye of this format.
This refers to the index of the XFormat table which is constructed from a series of XFormat records.
- See also
- setParentStyle
◆ patternBackColor()
| unsigned XFRecord::patternBackColor | ( | ) | const |
Returns the fill background color.
This is an index to color palette specified in Palette record.
- See also
- setPatternBackColor, patternForeColor
◆ patternForeColor()
| unsigned XFRecord::patternForeColor | ( | ) | const |
Returns the fill foreground color.
This is an index to color palette specified in Palette record.
- See also
- setPatternForeColor, patternBackColor
◆ rightBorderColor()
| unsigned XFRecord::rightBorderColor | ( | ) | const |
Returns the color for right border.
This is an index to color palette specified in Palette record.
- See also
- setRightBorderColor, rightBorderStyle
◆ rightBorderStyle()
| unsigned XFRecord::rightBorderStyle | ( | ) | const |
Returns the line style for right border.
- See also
- setRightBorderStyle, rightBorderColor
◆ rotationAngle()
| unsigned XFRecord::rotationAngle | ( | ) | const |
Returns the rotation angle of the text.
If it is between 1 to 90, the text is rotated 1 to 90 degrees counterclockwise. If it is between 91 to 180, the text is rotated 1 to 90 degrees clockwise.
- See also
- setRotationAngle
◆ rtti()
|
inlinevirtual |
Reimplemented from Swinder::Record.
◆ setBottomBorderColor()
| void XFRecord::setBottomBorderColor | ( | unsigned | color | ) |
Sets the color for bottom border.
This is an index to color palette specified in Palette record.
- See also
- bottomBorderColor, setBottomBorderStyle
◆ setBottomBorderStyle()
| void XFRecord::setBottomBorderStyle | ( | unsigned | style | ) |
Sets the line style for bottom border.
- See also
- bottomBorderStyle, setBottomBorderColor
◆ setData()
|
virtual |
Sets the data for this record.
Reimplemented from Swinder::Record.
◆ setDiagonalBottomLeft()
| void XFRecord::setDiagonalBottomLeft | ( | bool | d | ) |
Sets whether there should be a diagonal line from bottom left to right top.
- See also
- diagonalBottomLeft, setDiagonalStlye, setDiagonalColor
◆ setDiagonalColor()
| void XFRecord::setDiagonalColor | ( | unsigned | color | ) |
Sets the color for diagonal line.
This is an index to color palette specified in Palette record.
- See also
- diagonalColor, setDiagonalStyle
◆ setDiagonalStyle()
| void XFRecord::setDiagonalStyle | ( | unsigned | style | ) |
Sets the line style for diagonal line.
- See also
- diagonalBorderStyle, setDiagonalTopLeft, setDiagonalBottomLeft
◆ setDiagonalTopLeft()
| void XFRecord::setDiagonalTopLeft | ( | bool | d | ) |
Sets whether there should be a diagonal line from top left to right bottom.
- See also
- diagonalTopLeft, setDiagonalStlye, setDiagonalColor
◆ setFillPattern()
| void XFRecord::setFillPattern | ( | unsigned | pattern | ) |
◆ setFontIndex()
| void XFRecord::setFontIndex | ( | unsigned | fi | ) |
Sets the index of the font for use in this XFormat.
The index refers to the font table.
- See also
- fontIndex, FontRecord
◆ setFormatIndex()
| void XFRecord::setFormatIndex | ( | unsigned | fi | ) |
Sets the index of the number format for use in this XFormat.
The index refers to the format table.
- See also
- formatIndex, FormatRecord
◆ setFormulaHidden()
| void XFRecord::setFormulaHidden | ( | bool | f | ) |
Sets whether the formula of the cells using this format should be hidden or should be visible.
- See also
- formulaHidden
◆ setHorizontalAlignment()
| void XFRecord::setHorizontalAlignment | ( | unsigned | ha | ) |
◆ setIndentLevel()
| void XFRecord::setIndentLevel | ( | unsigned | i | ) |
◆ setLeftBorderColor()
| void XFRecord::setLeftBorderColor | ( | unsigned | color | ) |
Sets the color for left border.
This is an index to color palette specified in Palette record.
- See also
- leftBorderColor, setLeftBorderStyle
◆ setLeftBorderStyle()
| void XFRecord::setLeftBorderStyle | ( | unsigned | style | ) |
Sets the line style for left border.
- See also
- leftBorderStyle, setLeftBorderColor
◆ setLocked()
| void XFRecord::setLocked | ( | bool | l | ) |
◆ setParentStyle()
| void XFRecord::setParentStyle | ( | unsigned | ps | ) |
Sets the index of the parent stlye of this format.
This refers to the index of the XFormat table which is constructed from a series of XFormat records.
- See also
- parentStyle
◆ setPatternBackColor()
| void XFRecord::setPatternBackColor | ( | unsigned | color | ) |
Sets the fill background color.
This is an index to color palette specified in Palette record.
- See also
- patternBackColor, setPatternForeColor
◆ setPatternForeColor()
| void XFRecord::setPatternForeColor | ( | unsigned | color | ) |
Sets the fill foreground color.
This is an index to color palette specified in Palette record.
- See also
- patternForeColor, setPatternBackColor
◆ setRightBorderColor()
| void XFRecord::setRightBorderColor | ( | unsigned | color | ) |
Sets the color for right border.
This is an index to color palette specified in Palette record.
- See also
- rightBorderColor, setRightBorderStyle
◆ setRightBorderStyle()
| void XFRecord::setRightBorderStyle | ( | unsigned | style | ) |
Sets the line style for right border.
- See also
- rightBorderStyle, setRightBorderColor
◆ setRotationAngle()
| void XFRecord::setRotationAngle | ( | unsigned | angle | ) |
Sets the rotation angle of the text.
If it is between 1 to 90, the text is rotated 1 to 90 degrees counterclockwise. If it is between 91 to 180, the text is rotated 1 to 90 degrees clockwise.
- See also
- setRotationAngle
◆ setShrinkContent()
| void XFRecord::setShrinkContent | ( | bool | s | ) |
Sets whether content should be shrunk to fit into cell.
- See also
- shrinkContent
◆ setStackedLetters()
| void XFRecord::setStackedLetters | ( | bool | stacked | ) |
Sets whether the letters for text should be stacked top-to-bottom.
- See also
- stackedLetters
◆ setTextWrap()
| void XFRecord::setTextWrap | ( | bool | wrap | ) |
◆ setTopBorderColor()
| void XFRecord::setTopBorderColor | ( | unsigned | color | ) |
Sets the color for top border.
This is an index to color palette specified in Palette record.
- See also
- topBorderColor, setTopBorderStyle
◆ setTopBorderStyle()
| void XFRecord::setTopBorderStyle | ( | unsigned | style | ) |
Sets the line style for top border.
- See also
- topBorderStyle, setTopBorderColor
◆ setVerticalAlignment()
| void XFRecord::setVerticalAlignment | ( | unsigned | va | ) |
Sets the vertical alignment, e.g Top.
- See also
- verticalAlignment
◆ shrinkContent()
| bool XFRecord::shrinkContent | ( | ) | const |
Returns true if content should be shrunk to fit into cell.
- See also
- setShrinkContent
◆ stackedLetters()
| bool XFRecord::stackedLetters | ( | ) | const |
Returns true if the letters for text are not rotated, but instead stacked top-to-bottom.
- See also
- setStackedLetters
◆ textWrap()
| bool XFRecord::textWrap | ( | ) | const |
Returns true if text is wrapped at right border.
- See also
- setTextWrap
◆ topBorderColor()
| unsigned XFRecord::topBorderColor | ( | ) | const |
Returns the color for top border.
This is an index to color palette specified in Palette record.
- See also
- setTopBorderColor, topBorderStyle
◆ topBorderStyle()
| unsigned XFRecord::topBorderStyle | ( | ) | const |
Returns the line style for top border.
- See also
- setTopBorderStyle, topBorderColor
◆ verticalAlignment()
| unsigned XFRecord::verticalAlignment | ( | ) | const |
Gets the vertical alignment, e.g Bottom.
- See also
- setVerticalAlignment
◆ verticalAlignmentAsString()
| const char * XFRecord::verticalAlignmentAsString | ( | ) | const |
Member Data Documentation
◆ id
The documentation for this class was generated from the following files:
