Abstract class. More...
#include <ODi_ListLevelStyle.h>
Abstract class.
| ODi_ListLevelStyle::ODi_ListLevelStyle | ( | const char * | pStateName, | |
| ODi_ElementStack & | rElementStack | |||
| ) |
Constructor.
| virtual ODi_ListLevelStyle::~ODi_ListLevelStyle | ( | ) | [inline, virtual] |
| void ODi_ListLevelStyle::buildAbiPropsString | ( | ) | [virtual] |
Reimplemented in ODi_Bullet_ListLevelStyle, and ODi_Numbered_ListLevelStyle.
References UT_UTF8String::clear(), and m_abiProperties.
| virtual void ODi_ListLevelStyle::charData | ( | const gchar * | , | |
| int | ||||
| ) | [inline, virtual] |
Implements ODi_ListenerState.
| void ODi_ListLevelStyle::defineAbiList | ( | PD_Document * | pDocument | ) |
Defines a <l> tag on the AbiWord document corresponding to this list level style.
References PD_Document::appendList(), gchar, m_abiListID, m_abiListListDecimal, m_abiListListDelim, m_abiListParentID, m_abiListStartValue, m_abiListType, and UT_UTF8String::utf8_str().
| void ODi_ListLevelStyle::endElement | ( | const gchar * | pName, | |
| ODi_ListenerStateAction & | rAction | |||
| ) | [virtual] |
Implements ODi_ListenerState.
References m_textStyleName, ODi_ListenerStateAction::popState(), UT_UTF8String::utf8_str(), and xxx_UT_DEBUGMSG.
| const UT_UTF8String* ODi_ListLevelStyle::getAbiListID | ( | ) | const [inline] |
References m_abiListID.
Referenced by ODi_TextContent_ListenerState::_startParagraphElement().
| const UT_UTF8String* ODi_ListLevelStyle::getAbiListParentID | ( | ) | const [inline] |
References m_abiListParentID.
Referenced by ODi_TextContent_ListenerState::_startParagraphElement().
| void ODi_ListLevelStyle::getAbiProperties | ( | UT_UTF8String & | rProps, | |
| const ODi_Style_Style * | pStyle = NULL | |||
| ) | const |
The AbiWord properties of the list depends on some properties already defined by the AbiWord paragraph style.
| rProps | Will have the properties string appended. | |
| pStyle | Pointer to the paragraph style used on this list paragraph. |
References UT_UTF8String::append(), UT_UTF8String::empty(), gchar, ODi_Style_Style::getFamily(), ODi_Style_Style::getListStyleName(), ODi_Style_Style::getMarginLeft(), ODi_Style_Style::getParent(), ODi_Style_Style::getTextIndent(), m_abiProperties, m_marginLeft, m_minLabelWidth, m_spaceBefore, m_textIndent, UT_convertToDimension(), and UT_UTF8String::utf8_str().
Referenced by ODi_TextContent_ListenerState::_startParagraphElement().
| UT_uint32 ODi_ListLevelStyle::getLevelNumber | ( | ) | const [inline] |
References m_levelNumber.
| const UT_UTF8String* ODi_ListLevelStyle::getMinLabelDistance | ( | ) | const [inline] |
References m_minLabelDistance.
| const UT_UTF8String* ODi_ListLevelStyle::getTextStyleName | ( | ) | const [inline] |
References m_textStyleName.
Referenced by ODi_Office_Styles::_linkListStyles().
| bool ODi_ListLevelStyle::isVisible | ( | void | ) | const |
References m_abiListListDelim, and UT_UTF8String::size().
Referenced by ODi_TextContent_ListenerState::startElement().
| void ODi_ListLevelStyle::setAbiListID | ( | UT_uint32 | abiListID | ) |
References UT_UTF8String::assign(), gchar, and m_abiListID.
| void ODi_ListLevelStyle::setAbiListParentID | ( | const gchar * | pParentID | ) | [inline] |
References UT_UTF8String::assign(), and m_abiListParentID.
| void ODi_ListLevelStyle::setAbiListParentID | ( | const UT_UTF8String & | rAbiListParentID | ) | [inline] |
References m_abiListParentID.
| void ODi_ListLevelStyle::setTextStyle | ( | const ODi_Style_Style * | pTextStyle | ) | [inline] |
References m_pTextStyle.
Referenced by ODi_Office_Styles::_linkListStyles().
| void ODi_ListLevelStyle::startElement | ( | const gchar * | pName, | |
| const gchar ** | ppAtts, | |||
| ODi_ListenerStateAction & | rAction | |||
| ) | [virtual] |
Implements ODi_ListenerState.
Reimplemented in ODi_Bullet_ListLevelStyle, and ODi_Numbered_ListLevelStyle.
References gchar, m_abiListListDelim, m_level, m_levelNumber, m_marginLeft, m_minLabelDistance, m_minLabelWidth, m_spaceBefore, m_textIndent, m_textStyleName, UT_DEBUGMSG, UT_getAttribute(), UT_UTF8String::utf8_str(), and xxx_UT_DEBUGMSG.
UT_UTF8String ODi_ListLevelStyle::m_abiListID [protected] |
Referenced by defineAbiList(), getAbiListID(), and setAbiListID().
UT_UTF8String ODi_ListLevelStyle::m_abiListListDelim [protected] |
UT_UTF8String ODi_ListLevelStyle::m_abiListParentID [protected] |
Referenced by defineAbiList(), getAbiListParentID(), and setAbiListParentID().
UT_UTF8String ODi_ListLevelStyle::m_abiListStartValue [protected] |
UT_UTF8String ODi_ListLevelStyle::m_abiListType [protected] |
UT_UTF8String ODi_ListLevelStyle::m_abiProperties [protected] |
UT_UTF8String ODi_ListLevelStyle::m_level [protected] |
Referenced by startElement().
UT_uint32 ODi_ListLevelStyle::m_levelNumber [protected] |
Referenced by getLevelNumber(), and startElement().
UT_UTF8String ODi_ListLevelStyle::m_marginLeft [protected] |
Referenced by getAbiProperties(), and startElement().
UT_UTF8String ODi_ListLevelStyle::m_minLabelDistance [protected] |
Referenced by getMinLabelDistance(), and startElement().
UT_UTF8String ODi_ListLevelStyle::m_minLabelWidth [protected] |
Referenced by getAbiProperties(), and startElement().
const ODi_Style_Style* ODi_ListLevelStyle::m_pTextStyle [protected] |
Referenced by ODi_Numbered_ListLevelStyle::buildAbiPropsString(), and setTextStyle().
UT_UTF8String ODi_ListLevelStyle::m_spaceBefore [protected] |
Referenced by getAbiProperties(), and startElement().
UT_UTF8String ODi_ListLevelStyle::m_textIndent [protected] |
Referenced by getAbiProperties(), and startElement().
UT_UTF8String ODi_ListLevelStyle::m_textStyleName [protected] |
Referenced by endElement(), getTextStyleName(), and startElement().
1.7.1