An OpenDocument regular style (<style:style>). More...
#include <ODi_Style_Style.h>
Public Types | |
enum | HAVE_BORDER { HAVE_BORDER_YES, HAVE_BORDER_NO, HAVE_BORDER_UNSPECIFIED } |
Public Member Functions | |
ODi_Style_Style (ODi_ElementStack &rElementStack, ODi_Abi_Data &rAbiData) | |
Constructor. | |
virtual | ~ODi_Style_Style () |
void | startElement (const gchar *pName, const gchar **ppAtts, ODi_ListenerStateAction &rAction) |
void | endElement (const gchar *pName, ODi_ListenerStateAction &rAction) |
void | charData (const gchar *, int) |
const std::string & | getDisplayName () const |
void | setDisplayName (std::string &rDisplayName) |
void | defineAbiStyle (PD_Document *pDocument) |
Defines an AbiWord style that is equivalent to this OpenDocument style. | |
ODi_Abi_Data & | getAbiData (void) |
void | buildAbiPropsAttrString (ODi_FontFaceDecls &rFontFaceDecls) |
Builds the AbiWord "props" attribute value that describes this Style. | |
void | getAbiPropsAttrString (std::string &rProps, bool appendParentProps=TRUE) const |
void | setParentStyleName (const gchar *pParentStyleName) |
const ODi_Style_Style * | getParent () const |
void | setParentStylePointer (const ODi_Style_Style *pParentStyle) |
void | setNextStylePointer (const ODi_Style_Style *pNextStyle) |
const std::string & | getBreakBefore () const |
const std::string & | getBreakAfter () const |
const std::string & | getName () const |
void | setName (std::string &rName) |
const std::string & | getParentName () const |
void | setParentName (const char *pName) |
void | setParentName (const std::string &rName) |
const std::string & | getNextStyleName () const |
void | setNextStyleName (const char *pName) |
void | setNextStyleName (const std::string &rName) |
const std::string & | getListStyleName () const |
bool | hasProperties () const |
bool | isAutomatic () const |
const std::string * | getMarginLeft () const |
const std::string * | getTextIndent () const |
const std::string * | getFamily () const |
const std::string * | getFontName () const |
const std::string * | getWrap (bool local) const |
const std::string * | getHorizPos (bool local) const |
const std::string * | getVerticalPos (bool local) const |
const std::string * | getBackgroundColor () const |
const std::string * | getBackgroundImageID () const |
const std::string * | getColumnWidth () const |
const std::string * | getColumnRelWidth () const |
const std::string * | getMinRowHeight () const |
const std::string * | getRowHeight () const |
const std::string * | getBorderTop_thickness () const |
const std::string * | getBorderTop_color () const |
HAVE_BORDER | hasTopBorder () const |
const std::string * | getBorderBottom_thickness () const |
const std::string * | getBorderBottom_color () const |
HAVE_BORDER | hasBottomBorder () const |
const std::string * | getBorderLeft_thickness () const |
const std::string * | getBorderLeft_color () const |
HAVE_BORDER | hasLeftBorder () const |
const std::string * | getBorderRight_thickness () const |
const std::string * | getBorderRight_color () const |
HAVE_BORDER | hasRightBorder () const |
const std::string * | getMasterPageName () const |
const std::string * | getTableMarginLeft () const |
const std::string * | getTableMarginRight () const |
const std::string * | getTableWidth () const |
const std::string * | getTableRelWidth () const |
const std::string * | getVerticalAlign () const |
Private Member Functions | |
void | _parse_style_style (const gchar **ppAtts) |
void | _parse_style_paragraphProperties (const gchar **ppProps) |
void | _parse_style_tabStopProperties (const gchar **ppProps) |
<style:tab-stop /> | |
void | _parse_style_textProperties (const gchar **ppProps) |
<style:text-properties /> | |
void | _parse_style_sectionProperties (const gchar **ppProps) |
void | _parse_style_graphicProperties (const gchar **ppProps) |
<style:graphic-properties /> | |
void | _parse_style_tableProperties (const gchar **ppProps) |
<style:table-properties /> | |
void | _parse_style_tableColumnProperties (const gchar **ppProps) |
<style:table-column-properties /> | |
void | _parse_style_tableRowProperties (const gchar **ppProps) |
<style:table-row-properties /> | |
void | _parse_style_tableCellProperties (const gchar **ppProps) |
<style:table-cell-properties /> | |
void | _parse_style_background_image (const gchar **ppProps) |
<style:background-image /> | |
void | _stripColorLength (std::string &rColor, std::string &rLength, HAVE_BORDER &rHaveBorder, const gchar *pString) const |
If pString is "0.0556in solid #0000ff", rColor will receive "#0000ff", rLength "0.0556in" and rHaveBorder "yes". | |
bool | _isValidDimensionString (const gchar *pString, UT_uint32 length=0) const |
This function shouldn't exist. | |
Private Attributes | |
bool | m_bAutomatic |
const ODi_Style_Style * | m_pParentStyle |
const ODi_Style_Style * | m_pNextStyle |
std::string | m_abiPropsAttr |
std::string | m_name |
std::string | m_displayName |
std::string | m_family |
std::string | m_parentStyleName |
std::string | m_nextStyleName |
std::string | m_listStyleName |
std::string | m_masterPageName |
std::string | m_lineHeight |
std::string | m_align |
std::string | m_breakBefore |
std::string | m_breakAfter |
std::string | m_widows |
std::string | m_orphans |
std::string | m_marginLeft |
std::string | m_marginRight |
std::string | m_marginTop |
std::string | m_marginBottom |
std::string | m_bgcolor |
std::string | m_keepWithNext |
std::string | m_textIndent |
std::string | m_direction |
std::string | m_defaultTabInterval |
std::string | m_tabStops |
std::string | m_color |
std::string | m_textDecoration |
std::string | m_textPos |
std::string | m_fontName |
std::string | m_fontSize |
std::string | m_lang |
std::string | m_fontStyle |
std::string | m_fontWeight |
std::string | m_display |
std::string | m_transform |
std::string | m_backgroundColor |
std::string | m_backgroundImageID |
std::string | m_TableMarginLeft |
std::string | m_TableMarginRight |
std::string | m_TableWidth |
std::string | m_TableRelWidth |
std::string | m_columns |
std::string | m_columnGap |
std::string | m_wrap |
std::string | m_HorizRel |
std::string | m_HorizPos |
std::string | m_VerticalPos |
std::string | m_VerticalRel |
std::string | m_columnWidth |
std::string | m_columnRelWidth |
std::string | m_minRowHeight |
std::string | m_rowHeight |
std::string | m_VerticalAlign |
std::string | m_borderTop_thickness |
std::string | m_borderTop_color |
HAVE_BORDER | m_haveTopBorder |
std::string | m_borderBottom_thickness |
std::string | m_borderBottom_color |
HAVE_BORDER | m_haveBottomBorder |
std::string | m_borderLeft_thickness |
std::string | m_borderLeft_color |
HAVE_BORDER | m_haveLeftBorder |
std::string | m_borderRight_thickness |
std::string | m_borderRight_color |
HAVE_BORDER | m_haveRightBorder |
std::string | m_paddingLeft |
std::string | m_paddingRight |
std::string | m_paddingTop |
std::string | m_paddingBot |
std::string | m_mergeBorders |
ODi_Abi_Data & | m_rAbiData |
An OpenDocument regular style (<style:style>).
ODi_Style_Style::ODi_Style_Style | ( | ODi_ElementStack & | rElementStack, | |
ODi_Abi_Data & | rAbiData | |||
) |
Constructor.
References ODi_ElementStack::hasElement(), and m_bAutomatic.
virtual ODi_Style_Style::~ODi_Style_Style | ( | ) | [inline, virtual] |
bool ODi_Style_Style::_isValidDimensionString | ( | const gchar * | pString, | |
UT_uint32 | length = 0 | |||
) | const [private] |
This function shouldn't exist.
The code should use UT_isValidDimensionString instead. The problem with the UT function is that it doesn't check the dimension specifier and only accepts NULL terminated strings.
length | 0 for NULL terminated strings. |
References dim, DIM_none, gchar, and UT_determineDimension().
Referenced by _stripColorLength().
void ODi_Style_Style::_parse_style_background_image | ( | const gchar ** | ppProps | ) | [private] |
<style:background-image />
References ODi_Abi_Data::addImageDataItem(), UT_String::c_str(), gchar, m_backgroundImageID, m_rAbiData, UT_DEBUGMSG, and UT_getAttribute().
Referenced by startElement().
void ODi_Style_Style::_parse_style_graphicProperties | ( | const gchar ** | ppProps | ) | [private] |
<style:graphic-properties />
References _stripColorLength(), gchar, m_backgroundColor, m_borderBottom_color, m_borderBottom_thickness, m_borderLeft_color, m_borderLeft_thickness, m_borderRight_color, m_borderRight_thickness, m_borderTop_color, m_borderTop_thickness, m_haveBottomBorder, m_haveLeftBorder, m_haveRightBorder, m_haveTopBorder, m_HorizPos, m_HorizRel, m_parentStyleName, m_VerticalPos, m_VerticalRel, m_wrap, and UT_getAttribute().
Referenced by startElement().
void ODi_Style_Style::_parse_style_paragraphProperties | ( | const gchar ** | ppProps | ) | [private] |
References _stripColorLength(), gchar, m_align, m_bgcolor, m_borderBottom_color, m_borderBottom_thickness, m_borderLeft_color, m_borderLeft_thickness, m_borderRight_color, m_borderRight_thickness, m_borderTop_color, m_borderTop_thickness, m_breakAfter, m_breakBefore, m_defaultTabInterval, m_direction, m_haveBottomBorder, m_haveLeftBorder, m_haveRightBorder, m_haveTopBorder, m_keepWithNext, m_lineHeight, m_marginBottom, m_marginLeft, m_marginRight, m_marginTop, m_mergeBorders, m_orphans, m_paddingBot, m_paddingLeft, m_paddingRight, m_paddingTop, m_textIndent, m_widows, UT_getAttribute(), and UT_std_string_sprintf().
Referenced by startElement().
void ODi_Style_Style::_parse_style_sectionProperties | ( | const gchar ** | ppProps | ) | [private] |
References gchar, m_columns, UT_getAttribute(), and UT_std_string_sprintf().
Referenced by startElement().
void ODi_Style_Style::_parse_style_style | ( | const gchar ** | ppAtts | ) | [private] |
References gchar, m_displayName, m_family, m_listStyleName, m_masterPageName, m_name, m_nextStyleName, m_parentStyleName, UT_ASSERT, and UT_getAttribute().
Referenced by startElement().
void ODi_Style_Style::_parse_style_tableCellProperties | ( | const gchar ** | ppProps | ) | [private] |
<style:table-cell-properties />
References _stripColorLength(), gchar, m_backgroundColor, m_borderBottom_color, m_borderBottom_thickness, m_borderLeft_color, m_borderLeft_thickness, m_borderRight_color, m_borderRight_thickness, m_borderTop_color, m_borderTop_thickness, m_haveBottomBorder, m_haveLeftBorder, m_haveRightBorder, m_haveTopBorder, m_VerticalAlign, and UT_getAttribute().
Referenced by startElement().
void ODi_Style_Style::_parse_style_tableColumnProperties | ( | const gchar ** | ppProps | ) | [private] |
<style:table-column-properties />
References gchar, m_columnRelWidth, m_columnWidth, m_name, UT_DEBUGMSG, and UT_getAttribute().
Referenced by startElement().
void ODi_Style_Style::_parse_style_tableProperties | ( | const gchar ** | ppProps | ) | [private] |
<style:table-properties />
References gchar, m_backgroundColor, m_TableMarginLeft, m_TableMarginRight, m_TableRelWidth, m_TableWidth, and UT_getAttribute().
Referenced by startElement().
void ODi_Style_Style::_parse_style_tableRowProperties | ( | const gchar ** | ppProps | ) | [private] |
<style:table-row-properties />
References gchar, m_minRowHeight, m_rowHeight, and UT_getAttribute().
Referenced by startElement().
void ODi_Style_Style::_parse_style_tabStopProperties | ( | const gchar ** | ppProps | ) | [private] |
<style:tab-stop />
References gchar, m_tabStops, type, UT_getAttribute(), and UT_return_if_fail.
Referenced by startElement().
void ODi_Style_Style::_parse_style_textProperties | ( | const gchar ** | ppProps | ) | [private] |
<style:text-properties />
References gchar, m_bgcolor, m_color, m_display, m_fontName, m_fontSize, m_fontStyle, m_fontWeight, m_lang, m_textDecoration, m_textPos, m_transform, UT_getAttribute(), and UT_std_string_sprintf().
Referenced by startElement().
void ODi_Style_Style::_stripColorLength | ( | std::string & | rColor, | |
std::string & | rLength, | |||
ODi_Style_Style::HAVE_BORDER & | rHaveBorder, | |||
const gchar * | pString | |||
) | const [private] |
If pString is "0.0556in solid #0000ff", rColor will receive "#0000ff", rLength "0.0556in" and rHaveBorder "yes".
If pString is "none", both rColor and rLenght will be empty and rHaveBorder will be "no"
References _isValidDimensionString().
Referenced by _parse_style_graphicProperties(), _parse_style_paragraphProperties(), and _parse_style_tableCellProperties().
void ODi_Style_Style::buildAbiPropsAttrString | ( | ODi_FontFaceDecls & | rFontFaceDecls | ) |
Builds the AbiWord "props" attribute value that describes this Style.
References APPEND_STYLE, dim, DIM_PERCENT, ODi_FontFaceDecls::getFontFamily(), HAVE_BORDER_YES, m_abiPropsAttr, m_align, m_bgcolor, m_borderBottom_color, m_borderBottom_thickness, m_borderLeft_color, m_borderLeft_thickness, m_borderRight_color, m_borderRight_thickness, m_borderTop_color, m_borderTop_thickness, m_color, m_columnGap, m_columns, m_defaultTabInterval, m_direction, m_display, m_family, m_fontName, m_fontSize, m_fontStyle, m_fontWeight, m_haveBottomBorder, m_haveLeftBorder, m_haveRightBorder, m_haveTopBorder, m_keepWithNext, m_lang, m_lineHeight, m_marginBottom, m_marginLeft, m_marginRight, m_marginTop, m_mergeBorders, m_orphans, m_paddingBot, m_paddingLeft, m_paddingRight, m_paddingTop, m_pParentStyle, m_tabStops, m_textDecoration, m_textIndent, m_textPos, m_transform, m_widows, UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_determineDimension(), UT_SHOULD_NOT_HAPPEN, UT_std_string_sprintf(), and UT_WARNINGMSG.
Referenced by ODi_Style_Style_Family::buildAbiPropsAttrString().
void ODi_Style_Style::charData | ( | const gchar * | , | |
int | ||||
) | [inline, virtual] |
Implements ODi_ListenerState.
void ODi_Style_Style::defineAbiStyle | ( | PD_Document * | pDocument | ) |
Defines an AbiWord style that is equivalent to this OpenDocument style.
Called by text and paragraph styles.
pDocument | The AbiWord document on which the style will be defined. | |
pDocument | The AbiWord document on which the style will be defined. |
References PD_Document::appendStyle(), getDisplayName(), m_abiPropsAttr, m_bAutomatic, m_displayName, m_family, m_pNextStyle, m_pParentStyle, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
Referenced by ODi_Style_Style_Family::defineAbiStyles().
void ODi_Style_Style::endElement | ( | const gchar * | pName, | |
ODi_ListenerStateAction & | rAction | |||
) | [virtual] |
Implements ODi_ListenerState.
References ODi_ListenerStateAction::popState().
ODi_Abi_Data& ODi_Style_Style::getAbiData | ( | void | ) | [inline] |
References m_rAbiData.
void ODi_Style_Style::getAbiPropsAttrString | ( | std::string & | rProps, | |
bool | appendParentProps = TRUE | |||
) | const |
rProps | The string that will have appended to it the properties of this style. | |
appendParentProps | If TRUE, it will append all parent props before appending its own props. If FALSE, it will append only its own props. | |
rProps | The string that will have appended to it the properties of this style. |
References getAbiPropsAttrString(), m_abiPropsAttr, and m_pParentStyle.
Referenced by ODi_TextContent_ListenerState::_insureInSection(), ODi_TextContent_ListenerState::_startParagraphElement(), getAbiPropsAttrString(), and ODi_TextContent_ListenerState::startElement().
const std::string * ODi_Style_Style::getBackgroundColor | ( | ) | const |
const std::string * ODi_Style_Style::getBackgroundImageID | ( | ) | const |
References getBackgroundImageID(), m_backgroundImageID, and m_pParentStyle.
Referenced by ODi_Table_ListenerState::_parseCellStart(), and getBackgroundImageID().
const std::string* ODi_Style_Style::getBorderBottom_color | ( | ) | const [inline] |
References m_borderBottom_color.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
const std::string* ODi_Style_Style::getBorderBottom_thickness | ( | ) | const [inline] |
References m_borderBottom_thickness.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
const std::string* ODi_Style_Style::getBorderLeft_color | ( | ) | const [inline] |
References m_borderLeft_color.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
const std::string* ODi_Style_Style::getBorderLeft_thickness | ( | ) | const [inline] |
References m_borderLeft_thickness.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
const std::string* ODi_Style_Style::getBorderRight_color | ( | ) | const [inline] |
References m_borderRight_color.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
const std::string* ODi_Style_Style::getBorderRight_thickness | ( | ) | const [inline] |
References m_borderRight_thickness.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
const std::string* ODi_Style_Style::getBorderTop_color | ( | ) | const [inline] |
References m_borderTop_color.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
const std::string* ODi_Style_Style::getBorderTop_thickness | ( | ) | const [inline] |
References m_borderTop_thickness.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
const std::string& ODi_Style_Style::getBreakAfter | ( | ) | const [inline] |
References m_breakAfter.
Referenced by ODi_TextContent_ListenerState::_endParagraphElement().
const std::string& ODi_Style_Style::getBreakBefore | ( | ) | const [inline] |
References m_breakBefore.
Referenced by ODi_TextContent_ListenerState::_startParagraphElement().
const std::string* ODi_Style_Style::getColumnRelWidth | ( | ) | const [inline] |
References m_columnRelWidth.
Referenced by ODi_Table_ListenerState::_parseColumnStart().
const std::string* ODi_Style_Style::getColumnWidth | ( | ) | const [inline] |
References m_columnWidth.
Referenced by ODi_Table_ListenerState::_parseColumnStart().
const std::string& ODi_Style_Style::getDisplayName | ( | ) | const [inline] |
const std::string* ODi_Style_Style::getFamily | ( | ) | const [inline] |
References m_family.
Referenced by ODi_Style_Style_Family::_findSuitableReplacement(), and ODi_ListLevelStyle::getAbiProperties().
const std::string* ODi_Style_Style::getFontName | ( | ) | const [inline] |
References m_fontName.
Referenced by ODi_Numbered_ListLevelStyle::buildAbiPropsString().
const std::string * ODi_Style_Style::getHorizPos | ( | bool | local | ) | const |
local | If "true", It returns the plain value of the corresponding variable. Otherwise, it considers the final value of this property, taking into account its value on the parent styles. |
References getHorizPos(), m_HorizPos, and m_pParentStyle.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and getHorizPos().
const std::string& ODi_Style_Style::getListStyleName | ( | ) | const [inline] |
References m_listStyleName.
Referenced by ODi_ListLevelStyle::getAbiProperties().
const std::string* ODi_Style_Style::getMarginLeft | ( | ) | const [inline] |
References m_marginLeft.
Referenced by ODi_ListLevelStyle::getAbiProperties().
const std::string* ODi_Style_Style::getMasterPageName | ( | ) | const [inline] |
References m_masterPageName.
Referenced by ODi_TextContent_ListenerState::_startParagraphElement().
const std::string* ODi_Style_Style::getMinRowHeight | ( | ) | const [inline] |
References m_minRowHeight.
Referenced by ODi_Table_ListenerState::_parseRowStart().
const std::string& ODi_Style_Style::getName | ( | ) | const [inline] |
References m_name.
Referenced by ODi_Style_Style_Family::_findSuitableReplacement(), ODi_Style_Style_Family::getStyle(), and ODi_Style_Style_Family::removeStyleStyle().
const std::string& ODi_Style_Style::getNextStyleName | ( | ) | const [inline] |
References m_nextStyleName.
Referenced by ODi_Style_Style_Family::_linkStyles(), and ODi_Style_Style_Family::_reparentStyles().
const ODi_Style_Style* ODi_Style_Style::getParent | ( | ) | const [inline] |
const std::string& ODi_Style_Style::getParentName | ( | ) | const [inline] |
const std::string* ODi_Style_Style::getRowHeight | ( | ) | const [inline] |
References m_rowHeight.
Referenced by ODi_Table_ListenerState::_parseRowStart().
const std::string* ODi_Style_Style::getTableMarginLeft | ( | ) | const [inline] |
References m_TableMarginLeft.
Referenced by ODi_Table_ListenerState::_parseTableStart().
const std::string* ODi_Style_Style::getTableMarginRight | ( | ) | const [inline] |
References m_TableMarginRight.
const std::string* ODi_Style_Style::getTableRelWidth | ( | ) | const [inline] |
References m_TableRelWidth.
Referenced by ODi_Table_ListenerState::_parseTableStart().
const std::string* ODi_Style_Style::getTableWidth | ( | ) | const [inline] |
References m_TableWidth.
Referenced by ODi_Table_ListenerState::_parseTableStart().
const std::string* ODi_Style_Style::getTextIndent | ( | ) | const [inline] |
References m_textIndent.
Referenced by ODi_ListLevelStyle::getAbiProperties().
const std::string* ODi_Style_Style::getVerticalAlign | ( | ) | const [inline] |
References m_VerticalAlign.
Referenced by ODi_Table_ListenerState::_parseCellStart().
const std::string * ODi_Style_Style::getVerticalPos | ( | bool | local | ) | const |
local | If "true", It returns the plain value of the corresponding variable. Otherwise, it considers the final value of this property, taking into account its value on the parent styles. |
References getVerticalPos(), m_pParentStyle, and m_VerticalPos.
Referenced by getVerticalPos().
const std::string * ODi_Style_Style::getWrap | ( | bool | local | ) | const |
local | If "true", It returns the plain value of the corresponding variable. Otherwise, it considers the final value of this property, taking into account its value on the parent styles. |
References getWrap(), m_pParentStyle, and m_wrap.
Referenced by ODi_Frame_ListenerState::_getFrameProperties(), getWrap(), and ODi_TextContent_ListenerState::startElement().
HAVE_BORDER ODi_Style_Style::hasBottomBorder | ( | ) | const [inline] |
References m_haveBottomBorder.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
HAVE_BORDER ODi_Style_Style::hasLeftBorder | ( | ) | const [inline] |
References m_haveLeftBorder.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
bool ODi_Style_Style::hasProperties | ( | ) | const [inline] |
References HAVE_BORDER_YES, m_align, m_backgroundColor, m_backgroundImageID, m_bgcolor, m_breakAfter, m_breakBefore, m_color, m_columnGap, m_columnRelWidth, m_columns, m_columnWidth, m_direction, m_display, m_fontName, m_fontSize, m_fontStyle, m_fontWeight, m_haveBottomBorder, m_haveLeftBorder, m_haveRightBorder, m_haveTopBorder, m_HorizPos, m_HorizRel, m_keepWithNext, m_lang, m_lineHeight, m_listStyleName, m_marginBottom, m_marginLeft, m_marginRight, m_marginTop, m_masterPageName, m_mergeBorders, m_minRowHeight, m_orphans, m_paddingBot, m_paddingLeft, m_paddingRight, m_paddingTop, m_rowHeight, m_TableMarginLeft, m_TableMarginRight, m_TableRelWidth, m_TableWidth, m_tabStops, m_textDecoration, m_textIndent, m_textPos, m_transform, m_VerticalPos, m_VerticalRel, m_widows, and m_wrap.
Referenced by ODi_Style_Style_Family::_findSuitableReplacement().
HAVE_BORDER ODi_Style_Style::hasRightBorder | ( | ) | const [inline] |
References m_haveRightBorder.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
HAVE_BORDER ODi_Style_Style::hasTopBorder | ( | ) | const [inline] |
References m_haveTopBorder.
Referenced by ODi_Frame_ListenerState::_drawTextBox(), and ODi_Table_ListenerState::_parseCellStart().
bool ODi_Style_Style::isAutomatic | ( | ) | const [inline] |
void ODi_Style_Style::setDisplayName | ( | std::string & | rDisplayName | ) | [inline] |
References m_displayName.
Referenced by ODi_Style_Style_Family::addStyle().
void ODi_Style_Style::setName | ( | std::string & | rName | ) | [inline] |
References m_name.
Referenced by ODi_Style_Style_Family::addStyle().
void ODi_Style_Style::setNextStyleName | ( | const std::string & | rName | ) | [inline] |
References m_nextStyleName.
void ODi_Style_Style::setNextStyleName | ( | const char * | pName | ) | [inline] |
References m_nextStyleName.
Referenced by ODi_Style_Style_Family::_linkStyles(), and ODi_Style_Style_Family::_reparentStyles().
void ODi_Style_Style::setNextStylePointer | ( | const ODi_Style_Style * | pNextStyle | ) | [inline] |
References m_pNextStyle.
Referenced by ODi_Style_Style_Family::_linkStyles().
void ODi_Style_Style::setParentName | ( | const char * | pName | ) | [inline] |
References m_parentStyleName.
Referenced by ODi_Style_Style_Family::_linkStyles(), and ODi_Style_Style_Family::_reparentStyles().
void ODi_Style_Style::setParentName | ( | const std::string & | rName | ) | [inline] |
References m_parentStyleName.
void ODi_Style_Style::setParentStyleName | ( | const gchar * | pParentStyleName | ) | [inline] |
References m_parentStyleName.
void ODi_Style_Style::setParentStylePointer | ( | const ODi_Style_Style * | pParentStyle | ) | [inline] |
References m_pParentStyle.
Referenced by ODi_Style_Style_Family::_linkStyles().
void ODi_Style_Style::startElement | ( | const gchar * | pName, | |
const gchar ** | ppAtts, | |||
ODi_ListenerStateAction & | rAction | |||
) | [virtual] |
Implements ODi_ListenerState.
References _parse_style_background_image(), _parse_style_graphicProperties(), _parse_style_paragraphProperties(), _parse_style_sectionProperties(), _parse_style_style(), _parse_style_tableCellProperties(), _parse_style_tableColumnProperties(), _parse_style_tableProperties(), _parse_style_tableRowProperties(), _parse_style_tabStopProperties(), _parse_style_textProperties(), gchar, ODi_StartTag::getName(), ODi_ElementStack::getStackSize(), ODi_ElementStack::getStartTag(), m_columnGap, m_columns, m_displayName, m_family, m_name, m_parentStyleName, ODi_ListenerState::m_rElementStack, UT_ASSERT, UT_ASSERT_HARMLESS, UT_getAttribute(), and UT_SHOULD_NOT_HAPPEN.
std::string ODi_Style_Style::m_abiPropsAttr [private] |
Referenced by buildAbiPropsAttrString(), defineAbiStyle(), and getAbiPropsAttrString().
std::string ODi_Style_Style::m_align [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_backgroundColor [private] |
std::string ODi_Style_Style::m_backgroundImageID [private] |
Referenced by _parse_style_background_image(), getBackgroundImageID(), and hasProperties().
bool ODi_Style_Style::m_bAutomatic [private] |
Referenced by defineAbiStyle(), isAutomatic(), and ODi_Style_Style().
std::string ODi_Style_Style::m_bgcolor [private] |
std::string ODi_Style_Style::m_borderBottom_color [private] |
std::string ODi_Style_Style::m_borderBottom_thickness [private] |
std::string ODi_Style_Style::m_borderLeft_color [private] |
std::string ODi_Style_Style::m_borderLeft_thickness [private] |
std::string ODi_Style_Style::m_borderRight_color [private] |
std::string ODi_Style_Style::m_borderRight_thickness [private] |
std::string ODi_Style_Style::m_borderTop_color [private] |
std::string ODi_Style_Style::m_borderTop_thickness [private] |
std::string ODi_Style_Style::m_breakAfter [private] |
Referenced by _parse_style_paragraphProperties(), getBreakAfter(), and hasProperties().
std::string ODi_Style_Style::m_breakBefore [private] |
Referenced by _parse_style_paragraphProperties(), getBreakBefore(), and hasProperties().
std::string ODi_Style_Style::m_color [private] |
Referenced by _parse_style_textProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_columnGap [private] |
Referenced by buildAbiPropsAttrString(), hasProperties(), and startElement().
std::string ODi_Style_Style::m_columnRelWidth [private] |
Referenced by _parse_style_tableColumnProperties(), getColumnRelWidth(), and hasProperties().
std::string ODi_Style_Style::m_columns [private] |
Referenced by _parse_style_sectionProperties(), buildAbiPropsAttrString(), hasProperties(), and startElement().
std::string ODi_Style_Style::m_columnWidth [private] |
Referenced by _parse_style_tableColumnProperties(), getColumnWidth(), and hasProperties().
std::string ODi_Style_Style::m_defaultTabInterval [private] |
Referenced by _parse_style_paragraphProperties(), and buildAbiPropsAttrString().
std::string ODi_Style_Style::m_direction [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_display [private] |
Referenced by _parse_style_textProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_displayName [private] |
Referenced by _parse_style_style(), defineAbiStyle(), getDisplayName(), setDisplayName(), and startElement().
std::string ODi_Style_Style::m_family [private] |
Referenced by _parse_style_style(), buildAbiPropsAttrString(), defineAbiStyle(), getFamily(), and startElement().
std::string ODi_Style_Style::m_fontName [private] |
Referenced by _parse_style_textProperties(), buildAbiPropsAttrString(), getFontName(), and hasProperties().
std::string ODi_Style_Style::m_fontSize [private] |
Referenced by _parse_style_textProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_fontStyle [private] |
Referenced by _parse_style_textProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_fontWeight [private] |
Referenced by _parse_style_textProperties(), buildAbiPropsAttrString(), and hasProperties().
HAVE_BORDER ODi_Style_Style::m_haveLeftBorder [private] |
HAVE_BORDER ODi_Style_Style::m_haveTopBorder [private] |
std::string ODi_Style_Style::m_HorizPos [private] |
Referenced by _parse_style_graphicProperties(), getHorizPos(), and hasProperties().
std::string ODi_Style_Style::m_HorizRel [private] |
Referenced by _parse_style_graphicProperties(), and hasProperties().
std::string ODi_Style_Style::m_keepWithNext [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_lang [private] |
Referenced by _parse_style_textProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_lineHeight [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_listStyleName [private] |
Referenced by _parse_style_style(), getListStyleName(), and hasProperties().
std::string ODi_Style_Style::m_marginBottom [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_marginLeft [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), getMarginLeft(), and hasProperties().
std::string ODi_Style_Style::m_marginRight [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_marginTop [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_masterPageName [private] |
Referenced by _parse_style_style(), getMasterPageName(), and hasProperties().
std::string ODi_Style_Style::m_mergeBorders [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_minRowHeight [private] |
Referenced by _parse_style_tableRowProperties(), getMinRowHeight(), and hasProperties().
std::string ODi_Style_Style::m_name [private] |
Referenced by _parse_style_style(), _parse_style_tableColumnProperties(), getName(), setName(), and startElement().
std::string ODi_Style_Style::m_nextStyleName [private] |
Referenced by _parse_style_style(), getNextStyleName(), and setNextStyleName().
std::string ODi_Style_Style::m_orphans [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_paddingBot [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_paddingLeft [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_paddingRight [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_paddingTop [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_parentStyleName [private] |
Referenced by _parse_style_graphicProperties(), _parse_style_style(), getParentName(), setParentName(), setParentStyleName(), and startElement().
const ODi_Style_Style* ODi_Style_Style::m_pNextStyle [private] |
Referenced by defineAbiStyle(), and setNextStylePointer().
const ODi_Style_Style* ODi_Style_Style::m_pParentStyle [private] |
ODi_Abi_Data& ODi_Style_Style::m_rAbiData [private] |
Referenced by _parse_style_background_image(), and getAbiData().
std::string ODi_Style_Style::m_rowHeight [private] |
Referenced by _parse_style_tableRowProperties(), getRowHeight(), and hasProperties().
std::string ODi_Style_Style::m_TableMarginLeft [private] |
Referenced by _parse_style_tableProperties(), getTableMarginLeft(), and hasProperties().
std::string ODi_Style_Style::m_TableMarginRight [private] |
Referenced by _parse_style_tableProperties(), getTableMarginRight(), and hasProperties().
std::string ODi_Style_Style::m_TableRelWidth [private] |
Referenced by _parse_style_tableProperties(), getTableRelWidth(), and hasProperties().
std::string ODi_Style_Style::m_TableWidth [private] |
Referenced by _parse_style_tableProperties(), getTableWidth(), and hasProperties().
std::string ODi_Style_Style::m_tabStops [private] |
Referenced by _parse_style_tabStopProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_textDecoration [private] |
Referenced by _parse_style_textProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_textIndent [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), getTextIndent(), and hasProperties().
std::string ODi_Style_Style::m_textPos [private] |
Referenced by _parse_style_textProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_transform [private] |
Referenced by _parse_style_textProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_VerticalAlign [private] |
Referenced by _parse_style_tableCellProperties(), and getVerticalAlign().
std::string ODi_Style_Style::m_VerticalPos [private] |
Referenced by _parse_style_graphicProperties(), getVerticalPos(), and hasProperties().
std::string ODi_Style_Style::m_VerticalRel [private] |
Referenced by _parse_style_graphicProperties(), and hasProperties().
std::string ODi_Style_Style::m_widows [private] |
Referenced by _parse_style_paragraphProperties(), buildAbiPropsAttrString(), and hasProperties().
std::string ODi_Style_Style::m_wrap [private] |
Referenced by _parse_style_graphicProperties(), getWrap(), and hasProperties().