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 <fmtclds.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 <com/sun/star/style/VerticalAlignment.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 <numeric>
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, unsigned short > aSvxToUnoAdjust
 
const unsigned short aUnoToSvxAdjust []
 
constexpr OUStringLiteral aInvalidStyle = u"__XXX___invalid"
 
const TranslateId STR_POOLCOLL_HEADLINE_ARY []
 

Macro Definition Documentation

#define WID_ANCHOR_CHARACTER_STYLE   11
#define WID_BEGIN_NOTICE   10
#define WID_CHARACTER_STYLE   7
#define WID_COUNT_EMPTY_LINES   18
#define WID_COUNT_LINES_IN_FRAMES   19
#define WID_DISTANCE   15
#define WID_END_NOTICE   9
#define WID_FOOTNOTE_COUNTING   4
#define WID_INTERVAL   16
#define WID_NUM_ON   12
#define WID_NUMBER_POSITION   14
#define WID_NUMBERING_TYPE   2
#define WID_PAGE_STYLE   6
#define WID_PARAGRAPH_STYLE   5
#define WID_POSITION_END_OF_DOC   8
#define WID_PREFIX   0
#define WID_RESTART_AT_EACH_PAGE   20
#define WID_SEPARATOR_INTERVAL   13
#define WID_SEPARATOR_TEXT   17
#define WID_START_AT   3
#define WID_SUFFIX   1

Function Documentation

static const SfxItemPropertySet* GetEndnoteSet ( )
static
static const SfxItemPropertySet* GetFootnoteSet ( )
static
static const SfxItemPropertySet* GetLineNumberingSet ( )
static
static const SfxItemPropertySet* GetNumberingRulesSet ( )
static
static SwCharFormat* lcl_getCharFormat ( SwDoc pDoc,
const uno::Any aValue 
)
static
static SwPageDesc* lcl_GetPageDesc ( SwDoc pDoc,
const uno::Any aValue 
)
static
static SwTextFormatColl* lcl_GetParaStyle ( SwDoc pDoc,
const uno::Any aValue 
)
static

Variable Documentation

constexpr OUStringLiteral aInvalidStyle = u"__XXX___invalid"
const o3tl::enumarray<SvxAdjust, unsigned short> aSvxToUnoAdjust
Initial value:
{
text::HoriOrientation::LEFT,
text::HoriOrientation::RIGHT,
USHRT_MAX,
text::HoriOrientation::CENTER,
USHRT_MAX,
USHRT_MAX
}

Definition at line 248 of file unosett.cxx.

Referenced by SwXNumberingRules::GetPropertiesForNumFormat().

const unsigned short aUnoToSvxAdjust[]
Initial value:
=
{
USHRT_MAX,
static_cast<unsigned short>(SvxAdjust::Right),
static_cast<unsigned short>(SvxAdjust::Center),
static_cast<unsigned short>(SvxAdjust::Left),
USHRT_MAX,
USHRT_MAX
}

Definition at line 257 of file unosett.cxx.

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 1226 of file unosett.cxx.

Referenced by SwXNumberingRules::GetNumberingRuleByIndex().