LibreOffice Module sw (master) 1
|
#include <vbalisthelper.hxx>
Public Member Functions | |
SwVbaListHelper (css::uno::Reference< css::text::XTextDocument > xTextDoc, sal_Int32 nGalleryType, sal_Int32 nTemplateType) | |
sal_Int32 | getGalleryType () const |
const css::uno::Reference< css::container::XIndexReplace > & | getNumberingRules () const |
css::uno::Any | getPropertyValueWithNameAndLevel (sal_Int32 nLevel, const OUString &sName) |
void | setPropertyValueWithNameAndLevel (sal_Int32 nLevel, const OUString &sName, const css::uno::Any &aValue) |
Private Member Functions | |
void | Init () |
void | CreateListTemplate () |
void | CreateBulletListTemplate () |
void | CreateNumberListTemplate () |
void | CreateOutlineNumberListTemplate () |
void | CreateOutlineNumberForType1 () |
void | CreateOutlineNumberForType2 () |
void | CreateOutlineNumberForType3 () |
void | CreateOutlineNumberForType4 () |
void | CreateOutlineNumberForType5 () |
void | CreateOutlineNumberForType6 () |
void | CreateOutlineNumberForType7 () |
Private Attributes | |
css::uno::Reference< css::text::XTextDocument > | mxTextDocument |
css::uno::Reference< css::container::XIndexReplace > | mxNumberingRules |
css::uno::Reference< css::container::XNameContainer > | mxStyleFamily |
css::uno::Reference< css::beans::XPropertySet > | mxStyleProps |
sal_Int32 | mnGalleryType |
sal_Int32 | mnTemplateType |
OUString | msStyleName |
Definition at line 22 of file vbalisthelper.hxx.
SwVbaListHelper::SwVbaListHelper | ( | css::uno::Reference< css::text::XTextDocument > | xTextDoc, |
sal_Int32 | nGalleryType, | ||
sal_Int32 | nTemplateType | ||
) |
css::uno::RuntimeException |
Definition at line 51 of file vbalisthelper.cxx.
References Init().
|
private |
css::uno::RuntimeException |
Definition at line 133 of file vbalisthelper.cxx.
References aPropertyValues, CHAR_ARROW, CHAR_CHECK_MARK, CHAR_CLOSED_DOT, CHAR_EMPTY_DOT, CHAR_FOUR_DIAMONDS, CHAR_SQUARE, CHAR_STAR_SYMBOL, mnTemplateType, mxNumberingRules, setOrAppendPropertyValue(), UNO_NAME_BULLET_CHAR, UNO_NAME_CHAR_STYLE_NAME, and UNO_NAME_NUMBERING_TYPE.
Referenced by CreateListTemplate().
|
private |
css::uno::RuntimeException |
Definition at line 107 of file vbalisthelper.cxx.
References CreateBulletListTemplate(), CreateNumberListTemplate(), CreateOutlineNumberListTemplate(), and mnGalleryType.
Referenced by Init().
|
private |
css::uno::RuntimeException |
Definition at line 191 of file vbalisthelper.cxx.
References aPropertyValues, mnTemplateType, mxNumberingRules, setOrAppendPropertyValue(), sSuffix, UNO_NAME_NUMBERING_TYPE, and UNO_NAME_SUFFIX.
Referenced by CreateListTemplate().
|
private |
css::uno::RuntimeException |
Definition at line 303 of file vbalisthelper.cxx.
References aPropertyValues, LIST_LEVEL_COUNT, mxNumberingRules, setOrAppendPropertyValue(), sPrefix, sSuffix, UNO_NAME_NUMBERING_TYPE, UNO_NAME_PREFIX, and UNO_NAME_SUFFIX.
Referenced by CreateOutlineNumberListTemplate().
|
private |
css::uno::RuntimeException |
Definition at line 380 of file vbalisthelper.cxx.
References aPropertyValues, LIST_LEVEL_COUNT, mxNumberingRules, nParentNumbering, setOrAppendPropertyValue(), sSuffix, UNO_NAME_NUMBERING_TYPE, UNO_NAME_PARENT_NUMBERING, and UNO_NAME_SUFFIX.
Referenced by CreateOutlineNumberListTemplate().
|
private |
css::uno::RuntimeException |
Definition at line 400 of file vbalisthelper.cxx.
References aPropertyValues, CHAR_ARROW, CHAR_CLOSED_DOT, CHAR_DIAMOND, CHAR_FOUR_DIAMONDS, CHAR_SQUARE, LIST_LEVEL_COUNT, mxNumberingRules, setOrAppendPropertyValue(), UNO_NAME_BULLET_CHAR, UNO_NAME_CHAR_STYLE_NAME, and UNO_NAME_NUMBERING_TYPE.
Referenced by CreateOutlineNumberListTemplate().
|
private |
css::uno::RuntimeException |
Definition at line 447 of file vbalisthelper.cxx.
References aPropertyValues, LIST_LEVEL_COUNT, mxNumberingRules, setOrAppendPropertyValue(), sPrefix, sSuffix, UNO_NAME_NUMBERING_TYPE, UNO_NAME_PARENT_NUMBERING, UNO_NAME_PREFIX, and UNO_NAME_SUFFIX.
Referenced by CreateOutlineNumberListTemplate().
|
private |
css::uno::RuntimeException |
Definition at line 531 of file vbalisthelper.cxx.
References aPropertyValues, LIST_LEVEL_COUNT, mxNumberingRules, nParentNumbering, setOrAppendPropertyValue(), UNO_NAME_NUMBERING_TYPE, and UNO_NAME_PARENT_NUMBERING.
Referenced by CreateOutlineNumberListTemplate().
|
private |
css::uno::RuntimeException |
Definition at line 549 of file vbalisthelper.cxx.
References aPropertyValues, LIST_LEVEL_COUNT, mxNumberingRules, setOrAppendPropertyValue(), sPrefix, sSuffix, UNO_NAME_NUMBERING_TYPE, UNO_NAME_PREFIX, and UNO_NAME_SUFFIX.
Referenced by CreateOutlineNumberListTemplate().
|
private |
css::uno::RuntimeException |
Definition at line 632 of file vbalisthelper.cxx.
References aPropertyValues, LIST_LEVEL_COUNT, mxNumberingRules, setOrAppendPropertyValue(), UNO_NAME_NUMBERING_TYPE, and UNO_NAME_PREFIX.
Referenced by CreateOutlineNumberListTemplate().
|
private |
css::uno::RuntimeException |
Definition at line 256 of file vbalisthelper.cxx.
References CreateOutlineNumberForType1(), CreateOutlineNumberForType2(), CreateOutlineNumberForType3(), CreateOutlineNumberForType4(), CreateOutlineNumberForType5(), CreateOutlineNumberForType6(), CreateOutlineNumberForType7(), and mnTemplateType.
Referenced by CreateListTemplate().
|
inline |
Definition at line 62 of file vbalisthelper.hxx.
References mnGalleryType.
|
inline |
Definition at line 63 of file vbalisthelper.hxx.
References mxNumberingRules.
uno::Any SwVbaListHelper::getPropertyValueWithNameAndLevel | ( | sal_Int32 | nLevel, |
const OUString & | sName | ||
) |
css::uno::RuntimeException |
Definition at line 645 of file vbalisthelper.cxx.
References aPropertyValues, getPropertyValue(), mxNumberingRules, and sName.
|
private |
css::uno::RuntimeException |
Definition at line 56 of file vbalisthelper.cxx.
References CreateListTemplate(), mnGalleryType, mnTemplateType, msStyleName, mxNumberingRules, mxStyleFamily, mxStyleProps, mxTextDocument, and SAL_INFO.
Referenced by SwVbaListHelper().
void SwVbaListHelper::setPropertyValueWithNameAndLevel | ( | sal_Int32 | nLevel, |
const OUString & | sName, | ||
const css::uno::Any & | aValue | ||
) |
css::uno::RuntimeException |
Definition at line 652 of file vbalisthelper.cxx.
References aPropertyValues, mxNumberingRules, mxStyleProps, setOrAppendPropertyValue(), and sName.
|
private |
Definition at line 29 of file vbalisthelper.hxx.
Referenced by CreateListTemplate(), getGalleryType(), and Init().
|
private |
Definition at line 30 of file vbalisthelper.hxx.
Referenced by CreateBulletListTemplate(), CreateNumberListTemplate(), CreateOutlineNumberListTemplate(), and Init().
|
private |
Definition at line 31 of file vbalisthelper.hxx.
Referenced by Init().
|
private |
Definition at line 26 of file vbalisthelper.hxx.
Referenced by CreateBulletListTemplate(), CreateNumberListTemplate(), CreateOutlineNumberForType1(), CreateOutlineNumberForType2(), CreateOutlineNumberForType3(), CreateOutlineNumberForType4(), CreateOutlineNumberForType5(), CreateOutlineNumberForType6(), CreateOutlineNumberForType7(), getNumberingRules(), getPropertyValueWithNameAndLevel(), Init(), and setPropertyValueWithNameAndLevel().
|
private |
Definition at line 27 of file vbalisthelper.hxx.
Referenced by Init().
|
private |
Definition at line 28 of file vbalisthelper.hxx.
Referenced by Init(), and setPropertyValueWithNameAndLevel().
|
private |
Definition at line 25 of file vbalisthelper.hxx.
Referenced by Init().