|
LibreOffice Module sw (master) 1
|
#include <editeng/editids.hrc>#include <swtypes.hxx>#include <unomid.h>#include <hintids.hxx>#include <strings.hrc>#include <poolfmt.hxx>#include <fmtcol.hxx>#include <unomap.hxx>#include <unosett.hxx>#include <unoprnms.hxx>#include <ftninfo.hxx>#include <doc.hxx>#include <pagedesc.hxx>#include <IDocumentStylePoolAccess.hxx>#include <charfmt.hxx>#include <lineinfo.hxx>#include <docsh.hxx>#include <docary.hxx>#include <docstyle.hxx>#include <editeng/brushitem.hxx>#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>#include <com/sun/star/text/FootnoteNumbering.hpp>#include <com/sun/star/text/HoriOrientation.hpp>#include <com/sun/star/style/LineNumberPosition.hpp>#include <com/sun/star/awt/FontDescriptor.hpp>#include <com/sun/star/awt/XBitmap.hpp>#include <com/sun/star/graphic/XGraphic.hpp>#include <com/sun/star/beans/PropertyAttribute.hpp>#include <o3tl/any.hxx>#include <o3tl/enumarray.hxx>#include <tools/UnitConversion.hxx>#include <vcl/font.hxx>#include <editeng/flstitem.hxx>#include <vcl/metric.hxx>#include <vcl/graph.hxx>#include <vcl/GraphicLoader.hxx>#include <sfx2/docfile.hxx>#include <svtools/ctrltool.hxx>#include <vcl/svapp.hxx>#include <editeng/unofdesc.hxx>#include <fmtornt.hxx>#include <SwStyleNameMapper.hxx>#include <com/sun/star/text/PositionAndSpaceMode.hpp>#include <com/sun/star/text/LabelFollow.hpp>#include <numrule.hxx>#include <comphelper/servicehelper.hxx>#include <comphelper/sequence.hxx>#include <cppuhelper/supportsservice.hxx>#include <comphelper/propertyvalue.hxx>#include <svl/itemprop.hxx>#include <svl/listener.hxx>#include <paratr.hxx>#include <sal/log.hxx>Go to the source code of this file.
Classes | |
| class | SwXNumberingRules::Impl |
Macros | |
| #define | WID_PREFIX 0 |
| #define | WID_SUFFIX 1 |
| #define | WID_NUMBERING_TYPE 2 |
| #define | WID_START_AT 3 |
| #define | WID_FOOTNOTE_COUNTING 4 |
| #define | WID_PARAGRAPH_STYLE 5 |
| #define | WID_PAGE_STYLE 6 |
| #define | WID_CHARACTER_STYLE 7 |
| #define | WID_POSITION_END_OF_DOC 8 |
| #define | WID_END_NOTICE 9 |
| #define | WID_BEGIN_NOTICE 10 |
| #define | WID_ANCHOR_CHARACTER_STYLE 11 |
| #define | WID_NUM_ON 12 |
| #define | WID_SEPARATOR_INTERVAL 13 |
| #define | WID_NUMBER_POSITION 14 |
| #define | WID_DISTANCE 15 |
| #define | WID_INTERVAL 16 |
| #define | WID_SEPARATOR_TEXT 17 |
| #define | WID_COUNT_EMPTY_LINES 18 |
| #define | WID_COUNT_LINES_IN_FRAMES 19 |
| #define | WID_RESTART_AT_EACH_PAGE 20 |
Functions | |
| static const SfxItemPropertySet * | GetFootnoteSet () |
| static const SfxItemPropertySet * | GetEndnoteSet () |
| static const SfxItemPropertySet * | GetNumberingRulesSet () |
| static const SfxItemPropertySet * | GetLineNumberingSet () |
| static SwCharFormat * | lcl_getCharFormat (SwDoc *pDoc, const uno::Any &aValue) |
| static SwTextFormatColl * | lcl_GetParaStyle (SwDoc *pDoc, const uno::Any &aValue) |
| static SwPageDesc * | lcl_GetPageDesc (SwDoc *pDoc, const uno::Any &aValue) |
Variables | |
| const o3tl::enumarray< SvxAdjust, sal_Int16 > | aSvxToUnoAdjust |
| constexpr OUStringLiteral | aInvalidStyle = u"__XXX___invalid" |
| const TranslateId | STR_POOLCOLL_HEADLINE_ARY [] |
| #define WID_ANCHOR_CHARACTER_STYLE 11 |
Definition at line 101 of file unosett.cxx.
| #define WID_BEGIN_NOTICE 10 |
Definition at line 100 of file unosett.cxx.
| #define WID_CHARACTER_STYLE 7 |
Definition at line 97 of file unosett.cxx.
| #define WID_COUNT_EMPTY_LINES 18 |
Definition at line 108 of file unosett.cxx.
| #define WID_COUNT_LINES_IN_FRAMES 19 |
Definition at line 109 of file unosett.cxx.
| #define WID_DISTANCE 15 |
Definition at line 105 of file unosett.cxx.
| #define WID_END_NOTICE 9 |
Definition at line 99 of file unosett.cxx.
| #define WID_FOOTNOTE_COUNTING 4 |
Definition at line 94 of file unosett.cxx.
| #define WID_INTERVAL 16 |
Definition at line 106 of file unosett.cxx.
| #define WID_NUM_ON 12 |
Definition at line 102 of file unosett.cxx.
| #define WID_NUMBER_POSITION 14 |
Definition at line 104 of file unosett.cxx.
| #define WID_NUMBERING_TYPE 2 |
Definition at line 92 of file unosett.cxx.
| #define WID_PAGE_STYLE 6 |
Definition at line 96 of file unosett.cxx.
| #define WID_PARAGRAPH_STYLE 5 |
Definition at line 95 of file unosett.cxx.
| #define WID_POSITION_END_OF_DOC 8 |
Definition at line 98 of file unosett.cxx.
| #define WID_PREFIX 0 |
Definition at line 90 of file unosett.cxx.
| #define WID_RESTART_AT_EACH_PAGE 20 |
Definition at line 110 of file unosett.cxx.
| #define WID_SEPARATOR_INTERVAL 13 |
Definition at line 103 of file unosett.cxx.
| #define WID_SEPARATOR_TEXT 17 |
Definition at line 107 of file unosett.cxx.
| #define WID_START_AT 3 |
Definition at line 93 of file unosett.cxx.
| #define WID_SUFFIX 1 |
Definition at line 91 of file unosett.cxx.
|
static |
Definition at line 134 of file unosett.cxx.
References cppu::UnoType< typename T >::get(), PROPERTY_NONE, UNO_NAME_ANCHOR_CHAR_STYLE_NAME, UNO_NAME_CHAR_STYLE_NAME, UNO_NAME_NUMBERING_TYPE, UNO_NAME_PAGE_STYLE_NAME, UNO_NAME_PARA_STYLE_NAME, UNO_NAME_PREFIX, UNO_NAME_START_AT, UNO_NAME_SUFFIX, WID_ANCHOR_CHARACTER_STYLE, WID_CHARACTER_STYLE, WID_NUMBERING_TYPE, WID_PAGE_STYLE, WID_PARAGRAPH_STYLE, WID_PREFIX, WID_START_AT, and WID_SUFFIX.
|
static |
Definition at line 113 of file unosett.cxx.
References cppu::UnoType< typename T >::get(), PROPERTY_NONE, UNO_NAME_ANCHOR_CHAR_STYLE_NAME, UNO_NAME_BEGIN_NOTICE, UNO_NAME_CHAR_STYLE_NAME, UNO_NAME_END_NOTICE, UNO_NAME_FOOTNOTE_COUNTING, UNO_NAME_NUMBERING_TYPE, UNO_NAME_PAGE_STYLE_NAME, UNO_NAME_PARA_STYLE_NAME, UNO_NAME_POSITION_END_OF_DOC, UNO_NAME_PREFIX, UNO_NAME_START_AT, UNO_NAME_SUFFIX, WID_ANCHOR_CHARACTER_STYLE, WID_BEGIN_NOTICE, WID_CHARACTER_STYLE, WID_END_NOTICE, WID_FOOTNOTE_COUNTING, WID_NUMBERING_TYPE, WID_PAGE_STYLE, WID_PARAGRAPH_STYLE, WID_POSITION_END_OF_DOC, WID_PREFIX, WID_START_AT, and WID_SUFFIX.
|
static |
Definition at line 166 of file unosett.cxx.
References cppu::UnoType< typename T >::get(), PROPERTY_NONE, UNO_NAME_CHAR_STYLE_NAME, UNO_NAME_COUNT_EMPTY_LINES, UNO_NAME_COUNT_LINES_IN_FRAMES, UNO_NAME_DISTANCE, UNO_NAME_INTERVAL, UNO_NAME_IS_ON, UNO_NAME_NUMBER_POSITION, UNO_NAME_NUMBERING_TYPE, UNO_NAME_RESTART_AT_EACH_PAGE, UNO_NAME_SEPARATOR_INTERVAL, UNO_NAME_SEPARATOR_TEXT, WID_CHARACTER_STYLE, WID_COUNT_EMPTY_LINES, WID_COUNT_LINES_IN_FRAMES, WID_DISTANCE, WID_INTERVAL, WID_NUM_ON, WID_NUMBER_POSITION, WID_NUMBERING_TYPE, WID_RESTART_AT_EACH_PAGE, WID_SEPARATOR_INTERVAL, and WID_SEPARATOR_TEXT.
|
static |
Definition at line 151 of file unosett.cxx.
References cppu::UnoType< typename T >::get(), PROPERTY_NONE, UNO_NAME_DEFAULT_LIST_ID, UNO_NAME_IS_ABSOLUTE_MARGINS, UNO_NAME_IS_AUTOMATIC, UNO_NAME_IS_CONTINUOUS_NUMBERING, UNO_NAME_NAME, UNO_NAME_NUMBERING_IS_OUTLINE, WID_CONTINUOUS, WID_DEFAULT_LIST_ID, WID_IS_ABS_MARGINS, WID_IS_AUTOMATIC, WID_IS_OUTLINE, and WID_RULE_NAME.
|
static |
Definition at line 186 of file unosett.cxx.
References ChrFmt, SwStyleNameMapper::FillUIName(), SwDoc::FindCharFormatByName(), IDocumentStylePoolAccess::GetCharFormatFromPool(), SwDoc::getIDocumentStylePoolAccess(), SwStyleNameMapper::GetPoolIdFromUIName(), nId, and SwResId().
Referenced by SwXFootnoteProperties::setPropertyValue(), SwXEndnoteProperties::setPropertyValue(), and SwXLineNumberingProperties::setPropertyValue().
|
static |
Definition at line 222 of file unosett.cxx.
References SwStyleNameMapper::FillUIName(), SwDoc::FindPageDesc(), SwDoc::getIDocumentStylePoolAccess(), IDocumentStylePoolAccess::GetPageDescFromPool(), SwStyleNameMapper::GetPoolIdFromUIName(), nId, and PageDesc.
Referenced by SwXFootnoteProperties::setPropertyValue(), SwXEndnoteProperties::setPropertyValue(), and SwTitlePageDlg::SwTitlePageDlg().
|
static |
Definition at line 206 of file unosett.cxx.
References SwStyleNameMapper::FillUIName(), SwDoc::FindTextFormatCollByName(), SwDoc::getIDocumentStylePoolAccess(), SwStyleNameMapper::GetPoolIdFromUIName(), IDocumentStylePoolAccess::GetTextCollFromPool(), nId, and TxtColl.
Referenced by SwXFootnoteProperties::setPropertyValue(), and SwXEndnoteProperties::setPropertyValue().
|
constexpr |
Definition at line 983 of file unosett.cxx.
Referenced by SwXNumberingRules::isInvalidStyle(), and SwXNumberingRules::SwXNumberingRules().
| const o3tl::enumarray<SvxAdjust, sal_Int16> aSvxToUnoAdjust |
Definition at line 239 of file unosett.cxx.
Referenced by SwXNumberingRules::GetPropertiesForNumFormat().
| const TranslateId STR_POOLCOLL_HEADLINE_ARY[] |
Definition at line 1190 of file unosett.cxx.
Referenced by SwXNumberingRules::GetNumberingRuleByIndex().