LibreOffice Module sw (master) 1
Classes | Macros | Functions | Variables
unosett.cxx File Reference
#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>
Include dependency graph for unosett.cxx:

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 SfxItemPropertySetGetFootnoteSet ()
 
static const SfxItemPropertySetGetEndnoteSet ()
 
static const SfxItemPropertySetGetNumberingRulesSet ()
 
static const SfxItemPropertySetGetLineNumberingSet ()
 
static SwCharFormatlcl_getCharFormat (SwDoc *pDoc, const uno::Any &aValue)
 
static SwTextFormatColllcl_GetParaStyle (SwDoc *pDoc, const uno::Any &aValue)
 
static SwPageDesclcl_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 []
 

Macro Definition Documentation

◆ WID_ANCHOR_CHARACTER_STYLE

#define WID_ANCHOR_CHARACTER_STYLE   11

Definition at line 101 of file unosett.cxx.

◆ WID_BEGIN_NOTICE

#define WID_BEGIN_NOTICE   10

Definition at line 100 of file unosett.cxx.

◆ WID_CHARACTER_STYLE

#define WID_CHARACTER_STYLE   7

Definition at line 97 of file unosett.cxx.

◆ WID_COUNT_EMPTY_LINES

#define WID_COUNT_EMPTY_LINES   18

Definition at line 108 of file unosett.cxx.

◆ WID_COUNT_LINES_IN_FRAMES

#define WID_COUNT_LINES_IN_FRAMES   19

Definition at line 109 of file unosett.cxx.

◆ WID_DISTANCE

#define WID_DISTANCE   15

Definition at line 105 of file unosett.cxx.

◆ WID_END_NOTICE

#define WID_END_NOTICE   9

Definition at line 99 of file unosett.cxx.

◆ WID_FOOTNOTE_COUNTING

#define WID_FOOTNOTE_COUNTING   4

Definition at line 94 of file unosett.cxx.

◆ WID_INTERVAL

#define WID_INTERVAL   16

Definition at line 106 of file unosett.cxx.

◆ WID_NUM_ON

#define WID_NUM_ON   12

Definition at line 102 of file unosett.cxx.

◆ WID_NUMBER_POSITION

#define WID_NUMBER_POSITION   14

Definition at line 104 of file unosett.cxx.

◆ WID_NUMBERING_TYPE

#define WID_NUMBERING_TYPE   2

Definition at line 92 of file unosett.cxx.

◆ WID_PAGE_STYLE

#define WID_PAGE_STYLE   6

Definition at line 96 of file unosett.cxx.

◆ WID_PARAGRAPH_STYLE

#define WID_PARAGRAPH_STYLE   5

Definition at line 95 of file unosett.cxx.

◆ WID_POSITION_END_OF_DOC

#define WID_POSITION_END_OF_DOC   8

Definition at line 98 of file unosett.cxx.

◆ WID_PREFIX

#define WID_PREFIX   0

Definition at line 90 of file unosett.cxx.

◆ WID_RESTART_AT_EACH_PAGE

#define WID_RESTART_AT_EACH_PAGE   20

Definition at line 110 of file unosett.cxx.

◆ WID_SEPARATOR_INTERVAL

#define WID_SEPARATOR_INTERVAL   13

Definition at line 103 of file unosett.cxx.

◆ WID_SEPARATOR_TEXT

#define WID_SEPARATOR_TEXT   17

Definition at line 107 of file unosett.cxx.

◆ WID_START_AT

#define WID_START_AT   3

Definition at line 93 of file unosett.cxx.

◆ WID_SUFFIX

#define WID_SUFFIX   1

Definition at line 91 of file unosett.cxx.

Function Documentation

◆ GetEndnoteSet()

static const SfxItemPropertySet * GetEndnoteSet ( )
static

◆ GetFootnoteSet()

static const SfxItemPropertySet * GetFootnoteSet ( )
static

◆ GetLineNumberingSet()

static const SfxItemPropertySet * GetLineNumberingSet ( )
static

◆ GetNumberingRulesSet()

static const SfxItemPropertySet * GetNumberingRulesSet ( )
static

◆ lcl_getCharFormat()

static SwCharFormat * lcl_getCharFormat ( SwDoc pDoc,
const uno::Any aValue 
)
static

◆ lcl_GetPageDesc()

static SwPageDesc * lcl_GetPageDesc ( SwDoc pDoc,
const uno::Any aValue 
)
static

◆ lcl_GetParaStyle()

static SwTextFormatColl * lcl_GetParaStyle ( SwDoc pDoc,
const uno::Any aValue 
)
static

Variable Documentation

◆ aInvalidStyle

constexpr OUStringLiteral aInvalidStyle = u"__XXX___invalid"
constexpr

◆ aSvxToUnoAdjust

const o3tl::enumarray<SvxAdjust, sal_Int16> aSvxToUnoAdjust
Initial value:
{
text::HoriOrientation::LEFT,
text::HoriOrientation::RIGHT,
sal_Int16(-1),
text::HoriOrientation::CENTER,
sal_Int16(-1),
sal_Int16(-1)
}

Definition at line 239 of file unosett.cxx.

Referenced by SwXNumberingRules::GetPropertiesForNumFormat().

◆ STR_POOLCOLL_HEADLINE_ARY

const TranslateId STR_POOLCOLL_HEADLINE_ARY[]
Initial value:
{
STR_POOLCOLL_HEADLINE1,
STR_POOLCOLL_HEADLINE2,
STR_POOLCOLL_HEADLINE3,
STR_POOLCOLL_HEADLINE4,
STR_POOLCOLL_HEADLINE5,
STR_POOLCOLL_HEADLINE6,
STR_POOLCOLL_HEADLINE7,
STR_POOLCOLL_HEADLINE8,
STR_POOLCOLL_HEADLINE9,
STR_POOLCOLL_HEADLINE10
}

Definition at line 1206 of file unosett.cxx.

Referenced by SwXNumberingRules::GetNumberingRuleByIndex().