LibreOffice Module sw (master)  1
Functions | Variables
init.cxx File Reference
#include <memory>
#include <acmplwrd.hxx>
#include <breakit.hxx>
#include <cellatr.hxx>
#include <checkit.hxx>
#include <cmdid.h>
#include <comphelper/processfactory.hxx>
#include <doc.hxx>
#include <editeng/acorrcfg.hxx>
#include <editeng/autokernitem.hxx>
#include <editeng/blinkitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/formatbreakitem.hxx>
#include <editeng/charhiddenitem.hxx>
#include <editeng/charreliefitem.hxx>
#include <editeng/charrotateitem.hxx>
#include <editeng/charscaleitem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/forbiddenruleitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/hngpnctitem.hxx>
#include <editeng/hyphenzoneitem.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/lspcitem.hxx>
#include <editeng/nhypitem.hxx>
#include <editeng/opaqitem.hxx>
#include <editeng/orphitem.hxx>
#include <editeng/paravertalignitem.hxx>
#include <editeng/pbinitem.hxx>
#include <editeng/pgrditem.hxx>
#include <editeng/prntitem.hxx>
#include <editeng/protitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/rsiditem.hxx>
#include <svl/grabbagitem.hxx>
#include <editeng/scriptspaceitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/spltitem.hxx>
#include <editeng/svxacorr.hxx>
#include <editeng/swafopt.hxx>
#include <editeng/tstpitem.hxx>
#include <editeng/twolinesitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/widwitem.hxx>
#include <editeng/wrlmitem.hxx>
#include <editeng/xmlcnitm.hxx>
#include <editsh.hxx>
#include <fchrfmt.hxx>
#include <fmtanchr.hxx>
#include <fmtautofmt.hxx>
#include <fmtclbl.hxx>
#include <fmtclds.hxx>
#include <fmtcnct.hxx>
#include <fmtcntnt.hxx>
#include <fmteiro.hxx>
#include <fmtflcnt.hxx>
#include <fmtfld.hxx>
#include <fmtfollowtextflow.hxx>
#include <fmtfordr.hxx>
#include <fmtfsize.hxx>
#include <fmtftn.hxx>
#include <fmtftntx.hxx>
#include <fmthdft.hxx>
#include <fmtinfmt.hxx>
#include <fmtline.hxx>
#include <fmtlsplt.hxx>
#include <fmtmeta.hxx>
#include <fmtornt.hxx>
#include <fmtpdsc.hxx>
#include <fmtrfmrk.hxx>
#include <fmtrowsplt.hxx>
#include <fmtruby.hxx>
#include <fmtsrnd.hxx>
#include <fmturl.hxx>
#include <fmtwrapinfluenceonobjpos.hxx>
#include <fntcache.hxx>
#include <grfatr.hxx>
#include <hfspacingitem.hxx>
#include <hintids.hxx>
#include <init.hxx>
#include <paratr.hxx>
#include <proofreadingiterator.hxx>
#include <editeng/editids.hrc>
#include <svx/svxids.hrc>
#include <rtl/instance.hxx>
#include <svl/macitem.hxx>
#include <svx/sdtaitm.hxx>
#include <swcalwrp.hxx>
#include <SwStyleNameMapper.hxx>
#include <tblafmt.hxx>
#include <tgrditem.hxx>
#include <tools/globname.hxx>
#include <tox.hxx>
#include <unotools/charclass.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/collatorwrapper.hxx>
#include <unotools/transliterationwrapper.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <salhelper/singletonref.hxx>
#include <viscrs.hxx>
Include dependency graph for init.cxx:

Go to the source code of this file.

Functions

SwDfltAttrTab aAttrTab (POOLATTR_END-POOLATTR_BEGIN, nullptr)
 
salhelper::SingletonRef< SwCalendarWrapper > * s_getCalendarWrapper ()
 
void InitCore ()
 
void FinitCore ()
 
CharClassGetAppCharClass ()
 
LanguageType GetAppLanguage ()
 
const LanguageTagGetAppLanguageTag ()
 
CollatorWrapperGetAppCollator ()
 
CollatorWrapperGetAppCaseCollator ()
 
const ::utl::TransliterationWrapperGetAppCmpStrIgnore ()
 

Variables

sal_uInt16 const aBreakSetRange []
 
sal_uInt16 const aTextFormatCollSetRange []
 
sal_uInt16 const aGrfFormatCollSetRange []
 
sal_uInt16 const aTextNodeSetRange []
 
sal_uInt16 const aNoTextNodeSetRange []
 
sal_uInt16 const aTableSetRange []
 
sal_uInt16 const aTableLineSetRange []
 
sal_uInt16 const aTableBoxSetRange []
 
sal_uInt16 const aFrameFormatSetRange []
 
sal_uInt16 const aCharFormatSetRange []
 
sal_uInt16 const aCharAutoFormatSetRange []
 
sal_uInt16 const aPgFrameFormatSetRange []
 
SfxItemInfo aSlotTab []
 
std::vector< SvGlobalName > * pGlobalOLEExcludeList = nullptr
 
SwCheckItpCheckIt = nullptr
 
static CharClasspAppCharClass = nullptr
 
static CollatorWrapperpCollator = nullptr
 
static CollatorWrapperpCaseCollator = nullptr
 

Function Documentation

SwDfltAttrTab aAttrTab ( POOLATTR_END POOLATTR_BEGIN,
nullptr   
)

Referenced by FinitCore(), and InitCore().

void FinitCore ( )
CollatorWrapper& GetAppCaseCollator ( )
CharClass& GetAppCharClass ( )
const ::utl::TransliterationWrapper& GetAppCmpStrIgnore ( )
CollatorWrapper& GetAppCollator ( )
LanguageType GetAppLanguage ( )
const LanguageTag& GetAppLanguageTag ( )
void InitCore ( )

Definition at line 455 of file init.cxx.

References aAttrTab(), SvxParaVertAlignItem::Automatic, SwBreakIt::Create_(), SwFormatMeta::CreatePoolDefault(), FrameInit(), SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), comphelper::getProcessComponentContext(), SvxAutoCorrect::GetSwFlags(), utl::ConfigManager::IsFuzzing(), ITALIC_NONE, LANGUAGE_DONTKNOW, LINE_SPACE_DEFAULT_HEIGHT, LINESTYLE_NONE, SvxSwAutoFormatFlags::nAutoCmpltListLen, SvxSwAutoFormatFlags::nAutoCmpltWordLen, pGlobalOLEExcludeList, POOLATTR_BEGIN, SwFntObj::pPixMap, RES_ANCHOR, RES_AUTO_STYLE, RES_BACKGROUND, RES_BOX, RES_BOXATR_FORMAT, RES_BOXATR_FORMULA, RES_BOXATR_VALUE, RES_BREAK, RES_CHAIN, RES_CHRATR_AUTOKERN, RES_CHRATR_BACKGROUND, RES_CHRATR_BIDIRTL, RES_CHRATR_BLINK, RES_CHRATR_BOX, RES_CHRATR_CASEMAP, RES_CHRATR_CHARSETCOLOR, RES_CHRATR_CJK_FONT, RES_CHRATR_CJK_FONTSIZE, RES_CHRATR_CJK_LANGUAGE, RES_CHRATR_CJK_POSTURE, RES_CHRATR_CJK_WEIGHT, RES_CHRATR_COLOR, RES_CHRATR_CONTOUR, RES_CHRATR_CROSSEDOUT, RES_CHRATR_CTL_FONT, RES_CHRATR_CTL_FONTSIZE, RES_CHRATR_CTL_LANGUAGE, RES_CHRATR_CTL_POSTURE, RES_CHRATR_CTL_WEIGHT, RES_CHRATR_EMPHASIS_MARK, RES_CHRATR_ESCAPEMENT, RES_CHRATR_FONT, RES_CHRATR_FONTSIZE, RES_CHRATR_GRABBAG, RES_CHRATR_HIDDEN, RES_CHRATR_HIGHLIGHT, RES_CHRATR_IDCTHINT, RES_CHRATR_KERNING, RES_CHRATR_LANGUAGE, RES_CHRATR_NOHYPHEN, RES_CHRATR_OVERLINE, RES_CHRATR_POSTURE, RES_CHRATR_RELIEF, RES_CHRATR_ROTATE, RES_CHRATR_RSID, RES_CHRATR_SCALEW, RES_CHRATR_SHADOW, RES_CHRATR_SHADOWED, RES_CHRATR_TWO_LINES, RES_CHRATR_UNDERLINE, RES_CHRATR_UNUSED1, RES_CHRATR_UNUSED2, RES_CHRATR_WEIGHT, RES_CHRATR_WORDLINEMODE, RES_CNTNT, RES_COL, RES_COLLAPSING_BORDERS, RES_COLUMNBALANCE, RES_EDIT_IN_READONLY, RES_END_AT_TXTEND, RES_FILL_ORDER, RES_FOLLOW_TEXT_FLOW, RES_FOOTER, RES_FRAMEDIR, RES_FRM_SIZE, RES_FRMATR_CONDITIONAL_STYLE_NAME, RES_FRMATR_GRABBAG, RES_FRMATR_STYLE_NAME, RES_FRMMACRO, RES_FTN_AT_TXTEND, RES_GRFATR_CHANNELB, RES_GRFATR_CHANNELG, RES_GRFATR_CHANNELR, RES_GRFATR_CONTRAST, RES_GRFATR_CROPGRF, RES_GRFATR_DRAWMODE, RES_GRFATR_DUMMY1, RES_GRFATR_DUMMY2, RES_GRFATR_DUMMY3, RES_GRFATR_DUMMY4, RES_GRFATR_DUMMY5, RES_GRFATR_GAMMA, RES_GRFATR_INVERT, RES_GRFATR_LUMINANCE, RES_GRFATR_MIRRORGRF, RES_GRFATR_ROTATION, RES_GRFATR_TRANSPARENCY, RES_HEADER, RES_HEADER_FOOTER_EAT_SPACING, RES_HORI_ORIENT, RES_KEEP, RES_LAYOUT_SPLIT, RES_LINENUMBER, RES_LR_SPACE, RES_OPAQUE, RES_PAGEDESC, RES_PAPER_BIN, RES_PARATR_ADJUST, RES_PARATR_CONNECT_BORDER, RES_PARATR_DROP, RES_PARATR_FORBIDDEN_RULES, RES_PARATR_GRABBAG, RES_PARATR_HANGINGPUNCTUATION, RES_PARATR_HYPHENZONE, RES_PARATR_LINESPACING, RES_PARATR_LIST_AUTOFMT, RES_PARATR_LIST_ID, RES_PARATR_LIST_ISCOUNTED, RES_PARATR_LIST_ISRESTART, RES_PARATR_LIST_LEVEL, RES_PARATR_LIST_RESTARTVALUE, RES_PARATR_NUMRULE, RES_PARATR_ORPHANS, RES_PARATR_OUTLINELEVEL, RES_PARATR_REGISTER, RES_PARATR_RSID, RES_PARATR_SCRIPTSPACE, RES_PARATR_SNAPTOGRID, RES_PARATR_SPLIT, RES_PARATR_TABSTOP, RES_PARATR_VERTALIGN, RES_PARATR_WIDOWS, RES_PRINT, RES_PROTECT, RES_ROW_SPLIT, RES_SHADOW, RES_SURROUND, RES_TEXT_VERT_ADJUST, RES_TEXTGRID, RES_TXTATR_ANNOTATION, RES_TXTATR_AUTOFMT, RES_TXTATR_CHARFMT, RES_TXTATR_CJK_RUBY, RES_TXTATR_DUMMY1, RES_TXTATR_DUMMY2, RES_TXTATR_DUMMY3, RES_TXTATR_FIELD, RES_TXTATR_FLYCNT, RES_TXTATR_FTN, RES_TXTATR_INETFMT, RES_TXTATR_INPUTFIELD, RES_TXTATR_META, RES_TXTATR_METAFIELD, RES_TXTATR_REFMARK, RES_TXTATR_TOXMARK, RES_TXTATR_UNKNOWN_CONTAINER, RES_UL_SPACE, RES_UNKNOWNATR_CONTAINER, RES_URL, RES_VERT_ORIENT, RES_WRAP_INFLUENCE_ON_OBJPOS, SwSelPaintRects::s_pMapMode, SDRTEXTVERTADJUST_TOP, STRIKEOUT_NONE, SVX_TAB_DEFDIST, TextInit_(), and WEIGHT_NORMAL.

Referenced by SwDLL::SwDLL().

salhelper::SingletonRef<SwCalendarWrapper>* s_getCalendarWrapper ( )

Definition at line 449 of file init.cxx.

Referenced by QuickHelpData::FillStrArr().

Variable Documentation

sal_uInt16 const aBreakSetRange[]
sal_uInt16 const aCharAutoFormatSetRange[]
Initial value:
= {
0
}
#define RES_TXTATR_UNKNOWN_CONTAINER
Definition: hintids.hxx:145
#define RES_CHRATR_END
Definition: hintids.hxx:115
#define RES_CHRATR_BEGIN
Definition: hintids.hxx:69
#define RES_UNKNOWNATR_BEGIN
Definition: hintids.hxx:268
#define RES_UNKNOWNATR_END
Definition: hintids.hxx:270

Definition at line 252 of file init.cxx.

Referenced by SwpHints::BuildPortions(), SwXAutoStyleFamily::insertStyle(), and SwTextNode::SetAttr().

sal_uInt16 const aCharFormatSetRange[]
Initial value:
= {
0
}
#define RES_CHRATR_END
Definition: hintids.hxx:115
#define RES_CHRATR_BEGIN
Definition: hintids.hxx:69
#define RES_UNKNOWNATR_BEGIN
Definition: hintids.hxx:268
#define RES_UNKNOWNATR_END
Definition: hintids.hxx:270

Definition at line 245 of file init.cxx.

Referenced by SwTextNode::FormatToTextAttr(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwDontExpandItem::SaveDontExpandItems(), SwAutoCorrDoc::SetAttr(), and sw_JoinText().

sal_uInt16 const aFrameFormatSetRange[]
sal_uInt16 const aGrfFormatCollSetRange[]
Initial value:
= {
0
}
#define RES_GRFATR_END
Definition: hintids.hxx:260
#define RES_FRMATR_END
Definition: hintids.hxx:238
#define RES_UNKNOWNATR_BEGIN
Definition: hintids.hxx:268
#define RES_GRFATR_BEGIN
Definition: hintids.hxx:240
#define RES_UNKNOWNATR_END
Definition: hintids.hxx:270
#define RES_FRMATR_BEGIN
Definition: hintids.hxx:194

Definition at line 163 of file init.cxx.

sal_uInt16 const aNoTextNodeSetRange[]
Initial value:
= {
0
}
#define RES_GRFATR_END
Definition: hintids.hxx:260
#define RES_FRMATR_END
Definition: hintids.hxx:238
#define RES_UNKNOWNATR_BEGIN
Definition: hintids.hxx:268
#define RES_GRFATR_BEGIN
Definition: hintids.hxx:240
#define RES_UNKNOWNATR_END
Definition: hintids.hxx:270
#define RES_FRMATR_BEGIN
Definition: hintids.hxx:194

Definition at line 185 of file init.cxx.

Referenced by SwGrfShell::GetAttrState(), and SwNoTextNode::NewAttrSet().

sal_uInt16 const aPgFrameFormatSetRange[]
Initial value:
= {
0
}
#define RES_FRMATR_END
Definition: hintids.hxx:238
#define RES_UNKNOWNATR_BEGIN
Definition: hintids.hxx:268
#define RES_UNKNOWNATR_END
Definition: hintids.hxx:270
#define RES_FRMATR_BEGIN
Definition: hintids.hxx:194

Definition at line 260 of file init.cxx.

Referenced by sw::DocumentStylePoolManager::GetPageDescFromPool().

SfxItemInfo aSlotTab[]

Definition at line 269 of file init.cxx.

sal_uInt16 const aTableBoxSetRange[]
Initial value:
= {
0
}
#define RES_BOXATR_BEGIN
Definition: hintids.hxx:262
#define RES_FRM_SIZE
Definition: hintids.hxx:196
#define RES_FRMATR_GRABBAG
Definition: hintids.hxx:236
#define RES_SHADOW
Definition: hintids.hxx:214
#define RES_FRAMEDIR
Definition: hintids.hxx:227
#define RES_PROTECT
Definition: hintids.hxx:207
#define RES_UL_SPACE
Definition: hintids.hxx:199
#define RES_BACKGROUND
Definition: hintids.hxx:212
#define RES_FILL_ORDER
Definition: hintids.hxx:195
#define RES_VERT_ORIENT
Definition: hintids.hxx:209
#define RES_BOXATR_END
Definition: hintids.hxx:266
#define RES_UNKNOWNATR_BEGIN
Definition: hintids.hxx:268
#define RES_LR_SPACE
Definition: hintids.hxx:198
#define RES_UNKNOWNATR_END
Definition: hintids.hxx:270

Definition at line 220 of file init.cxx.

Referenced by SaveTable::AddFormat(), SwXMLItemSetStyleContext_Impl::CreateItemSetContext(), lcl_SetAFormatBox(), SwXMLItemSetStyleContext_Impl::ResolveDataStyleName(), and SwUndoTableNumFormat::SwUndoTableNumFormat().

sal_uInt16 const aTableLineSetRange[]
Initial value:
= {
0
}
#define RES_FRM_SIZE
Definition: hintids.hxx:196
#define RES_FRMATR_GRABBAG
Definition: hintids.hxx:236
#define RES_SHADOW
Definition: hintids.hxx:214
#define RES_PROTECT
Definition: hintids.hxx:207
#define RES_UL_SPACE
Definition: hintids.hxx:199
#define RES_ROW_SPLIT
Definition: hintids.hxx:229
#define RES_BACKGROUND
Definition: hintids.hxx:212
#define RES_FILL_ORDER
Definition: hintids.hxx:195
#define RES_VERT_ORIENT
Definition: hintids.hxx:209
#define RES_UNKNOWNATR_BEGIN
Definition: hintids.hxx:268
#define RES_LR_SPACE
Definition: hintids.hxx:198
#define RES_UNKNOWNATR_END
Definition: hintids.hxx:270

Definition at line 208 of file init.cxx.

Referenced by SaveTable::AddFormat(), and SwXMLItemSetStyleContext_Impl::CreateItemSetContext().

sal_uInt16 const aTableSetRange[]
Initial value:
= {
0
}
#define RES_FRM_SIZE
Definition: hintids.hxx:196
#define RES_HORI_ORIENT
Definition: hintids.hxx:210
#define RES_FRMATR_GRABBAG
Definition: hintids.hxx:236
#define RES_SHADOW
Definition: hintids.hxx:214
#define RES_FRAMEDIR
Definition: hintids.hxx:227
#define RES_BACKGROUND
Definition: hintids.hxx:212
#define RES_FILL_ORDER
Definition: hintids.hxx:195
#define RES_LAYOUT_SPLIT
Definition: hintids.hxx:220
#define RES_UNKNOWNATR_BEGIN
Definition: hintids.hxx:268
#define RES_LR_SPACE
Definition: hintids.hxx:198
#define RES_KEEP
Definition: hintids.hxx:217
#define RES_COLLAPSING_BORDERS
Definition: hintids.hxx:231
#define RES_UNKNOWNATR_END
Definition: hintids.hxx:270
#define RES_BREAK
Definition: hintids.hxx:201

Definition at line 192 of file init.cxx.

Referenced by SwXMLItemSetStyleContext_Impl::ConnectPageDesc(), SwXMLItemSetStyleContext_Impl::CreateItemSetContext(), and SwTableAutoFormat::RestoreTableProperties().

sal_uInt16 const aTextFormatCollSetRange[]
Initial value:
= {
0
}
#define RES_FRMATR_END
Definition: hintids.hxx:238
#define RES_CHRATR_END
Definition: hintids.hxx:115
#define XATTR_FILL_LAST
#define XATTR_FILL_FIRST
#define RES_PARATR_BEGIN
Definition: hintids.hxx:161
#define RES_CHRATR_BEGIN
Definition: hintids.hxx:69
#define RES_UNKNOWNATR_BEGIN
Definition: hintids.hxx:268
#define RES_UNKNOWNATR_END
Definition: hintids.hxx:270
#define RES_FRMATR_BEGIN
Definition: hintids.hxx:194
#define RES_PARATR_END
Definition: hintids.hxx:181

Definition at line 150 of file init.cxx.

Referenced by SwTextFrame::FillCursorPos(), SwTextShell::GetAttrState(), sw::DocumentStylePoolManager::GetTextCollFromPool(), and SwView::Replace().

sal_uInt16 const aTextNodeSetRange[]
Initial value:
= {
0
}
#define RES_FRMATR_END
Definition: hintids.hxx:238
#define RES_PARATR_LIST_END
Definition: hintids.hxx:192
#define RES_CHRATR_END
Definition: hintids.hxx:115
#define XATTR_FILL_LAST
#define XATTR_FILL_FIRST
#define RES_PARATR_BEGIN
Definition: hintids.hxx:161
#define RES_CHRATR_BEGIN
Definition: hintids.hxx:69
#define RES_UNKNOWNATR_BEGIN
Definition: hintids.hxx:268
#define RES_PARATR_LIST_BEGIN
Definition: hintids.hxx:185
#define RES_UNKNOWNATR_END
Definition: hintids.hxx:270
#define RES_FRMATR_BEGIN
Definition: hintids.hxx:194
#define RES_PARATR_END
Definition: hintids.hxx:181

Definition at line 171 of file init.cxx.

Referenced by SwAutoFormat::BuildEnum(), SwXAutoStyleFamily::insertStyle(), and SwTextNode::NewAttrSet().

CharClass* pAppCharClass = nullptr
static

Definition at line 444 of file init.cxx.

Referenced by FinitCore(), and GetAppCharClass().

CollatorWrapper * pCaseCollator = nullptr
static

Definition at line 447 of file init.cxx.

Referenced by FinitCore(), and GetAppCaseCollator().

SwCheckIt* pCheckIt = nullptr

Definition at line 443 of file init.cxx.

Referenced by FinitCore(), and SwEditWin::FlushInBuffer().

CollatorWrapper* pCollator = nullptr
static

Definition at line 446 of file init.cxx.

Referenced by FinitCore(), and GetAppCollator().

std::vector<SvGlobalName>* pGlobalOLEExcludeList = nullptr

Definition at line 439 of file init.cxx.

Referenced by FinitCore(), InitCore(), and SwDoc::PrtOLENotify().