LibreOffice Module sw (master) 1
init.cxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#include <memory>
21#include <acmplwrd.hxx>
22#include <breakit.hxx>
23#include <cellatr.hxx>
24#include <checkit.hxx>
25#include <cmdid.h>
27#include <doc.hxx>
28#include <editeng/acorrcfg.hxx>
30#include <editeng/blinkitem.hxx>
31#include <editeng/boxitem.hxx>
32#include <editeng/brushitem.hxx>
38#include <editeng/cmapitem.hxx>
39#include <editeng/colritem.hxx>
44#include <editeng/fontitem.hxx>
45#include <editeng/fhgtitem.hxx>
50#include <editeng/keepitem.hxx>
51#include <editeng/kernitem.hxx>
52#include <editeng/langitem.hxx>
53#include <editeng/lrspitem.hxx>
54#include <editeng/lspcitem.hxx>
55#include <editeng/nhypitem.hxx>
56#include <editeng/opaqitem.hxx>
57#include <editeng/orphitem.hxx>
59#include <editeng/pbinitem.hxx>
60#include <editeng/pgrditem.hxx>
61#include <editeng/prntitem.hxx>
62#include <editeng/protitem.hxx>
65#include <svl/grabbagitem.hxx>
67#include <editeng/shaditem.hxx>
68#include <editeng/shdditem.hxx>
69#include <editeng/spltitem.hxx>
70#include <editeng/svxacorr.hxx>
71#include <editeng/swafopt.hxx>
72#include <editeng/tstpitem.hxx>
74#include <editeng/ulspitem.hxx>
75#include <editeng/udlnitem.hxx>
76#include <editeng/wghtitem.hxx>
77#include <editeng/widwitem.hxx>
78#include <editeng/wrlmitem.hxx>
79#include <editeng/xmlcnitm.hxx>
81#include <editsh.hxx>
82#include <fchrfmt.hxx>
83#include <fmtanchr.hxx>
84#include <fmtautofmt.hxx>
85#include <fmtclbl.hxx>
86#include <fmtclds.hxx>
87#include <fmtcnct.hxx>
88#include <fmtcntnt.hxx>
89#include <fmteiro.hxx>
90#include <fmtflcnt.hxx>
91#include <fmtfld.hxx>
92#include <fmtfollowtextflow.hxx>
93#include <fmtfordr.hxx>
94#include <fmtfsize.hxx>
95#include <fmtftn.hxx>
96#include <fmtftntx.hxx>
97#include <formatlinebreak.hxx>
98#include <fmthdft.hxx>
99#include <fmtinfmt.hxx>
100#include <fmtline.hxx>
101#include <fmtlsplt.hxx>
102#include <fmtmeta.hxx>
104#include <fmtornt.hxx>
105#include <fmtpdsc.hxx>
106#include <fmtrfmrk.hxx>
107#include <fmtrowsplt.hxx>
108#include <formatflysplit.hxx>
109#include <fmtruby.hxx>
110#include <fmtsrnd.hxx>
111#include <fmturl.hxx>
113#include <fntcache.hxx>
114#include <grfatr.hxx>
115#include <hfspacingitem.hxx>
116#include <hintids.hxx>
117#include <init.hxx>
118#include <paratr.hxx>
120#include <editeng/editids.hrc>
121#include <svl/macitem.hxx>
122#include <svx/sdtaitm.hxx>
123#include <swcalwrp.hxx>
124#include <SwStyleNameMapper.hxx>
125#include <tblafmt.hxx>
126#include <tgrditem.hxx>
127#include <tools/globname.hxx>
128#include <tox.hxx>
129#include <unotools/charclass.hxx>
130#include <unotools/configmgr.hxx>
133#include <vcl/mapmod.hxx>
134#include <vcl/svapp.hxx>
135#include <vcl/settings.hxx>
137#include <viscrs.hxx>
138
139using namespace ::com::sun::star;
140
141// some ranges for sets in collections/ nodes
142
143// AttrSet range for the 2 break attributes
146>);
147
148// AttrSet range for TextFormatColl
149// list attributes ( RES_PARATR_LIST_BEGIN - RES_PARATR_LIST_END ) are not
150// included in the paragraph style's itemset.
157
158 // FillAttribute support
159 XATTR_FILL_FIRST, XATTR_FILL_LAST
160
161>);
162
163// AttrSet range for GrfFormatColl
168>);
169
170// AttrSet range for TextNode
177
178 // FillAttribute support (paragraph FillStyle)
179 XATTR_FILL_FIRST, XATTR_FILL_LAST
180
181>);
182
183// AttrSet range for NoTextNode
188>);
189
198 // #i29550#
200 // <-- collapsing
203>);
204
207 // HasTextChangesOnly
216>);
217
228>);
229
230// AttrSet range for SwFrameFormat
234
235 // FillAttribute support (TextFrame, OLE, Writer GraphicObject)
236 XATTR_FILL_FIRST, XATTR_FILL_LAST
237
238>);
239
240// AttrSet range for SwCharFormat
244>);
245
246// AttrSet range for character autostyles
251>);
252
253// AttrSet range for SwPageDescFormat
257>);
258
259// create table for accessing default format attributes
261
263{
264 { SID_ATTR_CHAR_CASEMAP, true }, // RES_CHRATR_CASEMAP
265 { SID_ATTR_CHAR_CHARSETCOLOR, true }, // RES_CHRATR_CHARSETCOLOR
266 { SID_ATTR_CHAR_COLOR, true }, // RES_CHRATR_COLOR
267 { SID_ATTR_CHAR_CONTOUR, true }, // RES_CHRATR_CONTOUR
268 { SID_ATTR_CHAR_STRIKEOUT, true }, // RES_CHRATR_CROSSEDOUT
269 { SID_ATTR_CHAR_ESCAPEMENT, true }, // RES_CHRATR_ESCAPEMENT
270 { SID_ATTR_CHAR_FONT, true }, // RES_CHRATR_FONT
271 { SID_ATTR_CHAR_FONTHEIGHT, true }, // RES_CHRATR_FONTSIZE
272 { SID_ATTR_CHAR_KERNING, true }, // RES_CHRATR_KERNING
273 { SID_ATTR_CHAR_LANGUAGE, true }, // RES_CHRATR_LANGUAGE
274 { SID_ATTR_CHAR_POSTURE, true }, // RES_CHRATR_POSTURE
275 { 0, true }, // RES_CHRATR_UNUSED1
276 { SID_ATTR_CHAR_SHADOWED, true }, // RES_CHRATR_SHADOWED
277 { SID_ATTR_CHAR_UNDERLINE, true }, // RES_CHRATR_UNDERLINE
278 { SID_ATTR_CHAR_WEIGHT, true }, // RES_CHRATR_WEIGHT
279 { SID_ATTR_CHAR_WORDLINEMODE, true }, // RES_CHRATR_WORDLINEMODE
280 { SID_ATTR_CHAR_AUTOKERN, true }, // RES_CHRATR_AUTOKERN
281 { SID_ATTR_FLASH, true }, // RES_CHRATR_BLINK
282 { 0, true }, // RES_CHRATR_UNUSED2
283 { 0, true }, // RES_CHRATR_NOHYPHEN
284 { SID_ATTR_BRUSH_CHAR, true }, // RES_CHRATR_BACKGROUND
285 { SID_ATTR_CHAR_CJK_FONT, true }, // RES_CHRATR_CJK_FONT
286 { SID_ATTR_CHAR_CJK_FONTHEIGHT, true },// RES_CHRATR_CJK_FONTSIZE
287 { SID_ATTR_CHAR_CJK_LANGUAGE, true }, // RES_CHRATR_CJK_LANGUAGE
288 { SID_ATTR_CHAR_CJK_POSTURE, true }, // RES_CHRATR_CJK_POSTURE
289 { SID_ATTR_CHAR_CJK_WEIGHT, true }, // RES_CHRATR_CJK_WEIGHT
290 { SID_ATTR_CHAR_CTL_FONT, true }, // RES_CHRATR_CTL_FONT
291 { SID_ATTR_CHAR_CTL_FONTHEIGHT, true },// RES_CHRATR_CTL_FONTSIZE
292 { SID_ATTR_CHAR_CTL_LANGUAGE, true }, // RES_CHRATR_CTL_LANGUAGE
293 { SID_ATTR_CHAR_CTL_POSTURE, true }, // RES_CHRATR_CTL_POSTURE
294 { SID_ATTR_CHAR_CTL_WEIGHT, true }, // RES_CHRATR_CTL_WEIGHT
295 { SID_ATTR_CHAR_ROTATED, true }, // RES_CHRATR_ROTATE
296 { SID_ATTR_CHAR_EMPHASISMARK, true }, // RES_CHRATR_EMPHASIS_MARK
297 { SID_ATTR_CHAR_TWO_LINES, true }, // RES_CHRATR_TWO_LINES
298 { SID_ATTR_CHAR_SCALEWIDTH, true }, // RES_CHRATR_SCALEW
299 { SID_ATTR_CHAR_RELIEF, true }, // RES_CHRATR_RELIEF
300 { SID_ATTR_CHAR_HIDDEN, true }, // RES_CHRATR_HIDDEN
301 { SID_ATTR_CHAR_OVERLINE, true }, // RES_CHRATR_OVERLINE
302 { 0, true }, // RES_CHRATR_RSID
303 { SID_ATTR_CHAR_BOX, true }, // RES_CHRATR_BOX
304 { SID_ATTR_CHAR_SHADOW, true }, // RES_CHRATR_SHADOW
305 { 0, true }, // RES_CHRATR_HIGHLIGHT
306 { SID_ATTR_CHAR_GRABBAG, true }, // RES_CHRATR_GRABBAG
307 { 0, true }, // RES_CHRATR_BIDIRTL
308 { 0, true }, // RES_CHRATR_IDCTHINT
309
310 { 0, false }, // RES_TXTATR_REFMARK
311 { 0, false }, // RES_TXTATR_TOXMARK
312 { 0, false }, // RES_TXTATR_META
313 { 0, false }, // RES_TXTATR_METAFIELD
314 { 0, true }, // RES_TXTATR_AUTOFMT
315 { FN_TXTATR_INET, false }, // RES_TXTATR_INETFMT
316 { 0, false }, // RES_TXTATR_CHARFMT
317 { SID_ATTR_CHAR_CJK_RUBY, false }, // RES_TXTATR_CJK_RUBY
318 { 0, true }, // RES_TXTATR_UNKNOWN_CONTAINER
319 { 0, false }, // RES_TXTATR_INPUTFIELD
320 { 0, false }, // RES_TXTATR_CONTENTCONTROL
321
322 { 0, false }, // RES_TXTATR_FIELD
323 { 0, false }, // RES_TXTATR_FLYCNT
324 { 0, false }, // RES_TXTATR_FTN
325 { 0, false }, // RES_TXTATR_ANNOTATION
326 { 0, false }, // RES_TXTATR_LINEBREAK
327 { 0, true }, // RES_TXTATR_DUMMY1
328
329 { SID_ATTR_PARA_LINESPACE, true }, // RES_PARATR_LINESPACING
330 { SID_ATTR_PARA_ADJUST, true }, // RES_PARATR_ADJUST
331 { SID_ATTR_PARA_SPLIT, true }, // RES_PARATR_SPLIT
332 { SID_ATTR_PARA_ORPHANS, true }, // RES_PARATR_ORPHANS
333 { SID_ATTR_PARA_WIDOWS, true }, // RES_PARATR_WIDOWS
334 { SID_ATTR_TABSTOP, true }, // RES_PARATR_TABSTOP
335 { SID_ATTR_PARA_HYPHENZONE, true }, // RES_PARATR_HYPHENZONE
336 { FN_FORMAT_DROPCAPS, false }, // RES_PARATR_DROP
337 { SID_ATTR_PARA_REGISTER, true }, // RES_PARATR_REGISTER
338 { SID_ATTR_PARA_NUMRULE, true }, // RES_PARATR_NUMRULE
339 { SID_ATTR_PARA_SCRIPTSPACE, true }, // RES_PARATR_SCRIPTSPACE
340 { SID_ATTR_PARA_HANGPUNCTUATION, true },// RES_PARATR_HANGINGPUNCTUATION
341
342 { SID_ATTR_PARA_FORBIDDEN_RULES, true },// RES_PARATR_FORBIDDEN_RULES
343 { SID_PARA_VERTALIGN, true }, // RES_PARATR_VERTALIGN
344 { SID_ATTR_PARA_SNAPTOGRID, true }, // RES_PARATR_SNAPTOGRID
345 { SID_ATTR_BORDER_CONNECT, true }, // RES_PARATR_CONNECT_BORDER
346
347 { SID_ATTR_PARA_OUTLINE_LEVEL, true }, // RES_PARATR_OUTLINELEVEL //#outline level
348 { 0, true }, // RES_PARATR_RSID
349 { SID_ATTR_PARA_GRABBAG, true }, // RES_PARATR_GRABBAG
350 { 0, true }, // RES_PARATR_LIST_ID
351 { 0, true }, // RES_PARATR_LIST_LEVEL
352 { 0, true }, // RES_PARATR_LIST_ISRESTART
353 { 0, true }, // RES_PARATR_LIST_RESTARTVALUE
354 { 0, true }, // RES_PARATR_LIST_ISCOUNTED
355 { 0, true }, // RES_PARATR_LIST_AUTOFMT
356
357 { 0, true }, // RES_FILL_ORDER
358 { 0, true }, // RES_FRM_SIZE
359 { SID_ATTR_PAGE_PAPERBIN, true }, // RES_PAPER_BIN
360 { SID_ATTR_PARA_FIRSTLINESPACE, true }, // RES_MARGIN_FIRSTLINE
361 { SID_ATTR_PARA_LEFTSPACE, true }, // RES_MARGIN_TEXTLEFT
362 { SID_ATTR_PARA_RIGHTSPACE, true }, // RES_MARGIN_RIGHT
363 { 0, true }, // RES_MARGIN_LEFT
364 { 0, true }, // RES_MARGIN_GUTTER
365 { 0, true }, // RES_MARGIN_GUTTER_RIGHT
366 { SID_ATTR_LRSPACE, true }, // RES_LR_SPACE
367 { SID_ATTR_ULSPACE, true }, // RES_UL_SPACE
368 { 0, false }, // RES_PAGEDESC
369 { SID_ATTR_PARA_PAGEBREAK, true }, // RES_BREAK
370 { 0, false }, // RES_CNTNT
371 { 0, true }, // RES_HEADER
372 { 0, true }, // RES_FOOTER
373 { 0, true }, // RES_PRINT
374 { FN_OPAQUE, true }, // RES_OPAQUE
375 { FN_SET_PROTECT, true }, // RES_PROTECT
376 { FN_SURROUND, true }, // RES_SURROUND
377 { FN_VERT_ORIENT, true }, // RES_VERT_ORIENT
378 { FN_HORI_ORIENT, true }, // RES_HORI_ORIENT
379 { 0, false }, // RES_ANCHOR
380 { SID_ATTR_BRUSH, true }, // RES_BACKGROUND
381 { SID_ATTR_BORDER_OUTER, true }, // RES_BOX
382 { SID_ATTR_BORDER_SHADOW, true }, // RES_SHADOW
383 { SID_ATTR_MACROITEM, true }, // RES_FRMMACRO
384 { FN_ATTR_COLUMNS, true }, // RES_COL
385 { SID_ATTR_PARA_KEEP, true }, // RES_KEEP
386 { 0, true }, // RES_URL
387 { 0, true }, // RES_EDIT_IN_READONLY
388
389 { 0, true }, // RES_LAYOUT_SPLIT
390 { 0, false }, // RES_CHAIN
391 { 0, true }, // RES_TEXTGRID
392 { FN_FORMAT_LINENUMBER, true }, // RES_LINENUMBER
393 { 0, true }, // RES_FTN_AT_TXTEND
394 { 0, true }, // RES_END_AT_TXTEND
395 { 0, true }, // RES_COLUMNBALANCE
396
397 { SID_ATTR_FRAMEDIRECTION, true }, // RES_FRAMEDIR
398
399 { SID_ATTR_HDFT_DYNAMIC_SPACING, true },// RES_HEADER_FOOTER_EAT_SPACING
400 { FN_TABLE_ROW_SPLIT, true }, // RES_ROW_SPLIT
401 { 0, true } , // RES_FLY_SPLIT
402 // #i18732# - use slot-id define in svx
403 { SID_SW_FOLLOW_TEXT_FLOW, true }, // RES_FOLLOW_TEXT_FLOW
404 // #i29550#
405 { SID_SW_COLLAPSING_BORDERS, true }, // RES_COLLAPSING_BORDERS
406 // #i28701#
407 { SID_SW_WRAP_INFLUENCE_ON_OBJPOS, true },// RES_WRAP_INFLUENCE_ON_OBJPOS
408 { 0, false }, // RES_AUTO_STYLE
409 { 0, true }, // RES_FRMATR_STYLE_NAME
410 { 0, true }, // RES_FRMATR_CONDITIONAL_STYLE_NAME
411 { 0, true }, // RES_FRMATR_GRABBAG
412 { 0, true }, // RES_TEXT_VERT_ADJUST
413 { 0, true }, // RES_BACKGROUND_FULL_SIZE
414 { 0, true }, // RES_RTL_GUTTER
415 { 0, true }, // RES_DECORATIVE
416
417 { 0, true }, // RES_GRFATR_MIRRORGRF
418 { SID_ATTR_GRAF_CROP, true }, // RES_GRFATR_CROPGRF
419 { 0, true }, // RES_GRFATR_ROTATION,
420 { 0, true }, // RES_GRFATR_LUMINANCE,
421 { 0, true }, // RES_GRFATR_CONTRAST,
422 { 0, true }, // RES_GRFATR_CHANNELR,
423 { 0, true }, // RES_GRFATR_CHANNELG,
424 { 0, true }, // RES_GRFATR_CHANNELB,
425 { 0, true }, // RES_GRFATR_GAMMA,
426 { 0, true }, // RES_GRFATR_INVERT,
427 { 0, true }, // RES_GRFATR_TRANSPARENCY,
428 { 0, true }, // RES_GRFATR_DUMMY3,
429 { 0, true }, // RES_GRFATR_DUMMY4,
430 { 0, true }, // RES_GRFATR_DUMMY5,
431 { 0, true }, // RES_GRFATR_DUMMY6,
432
433 { 0, true }, // RES_BOXATR_FORMAT
434 { 0, false }, // RES_BOXATR_FORMULA,
435 { 0, true }, // RES_BOXATR_VALUE
436
437 { 0, true } // RES_UNKNOWNATR_CONTAINER
438};
439
440std::vector<SvGlobalName> *pGlobalOLEExcludeList = nullptr;
441
443SwDoc* SwDoc::s_pLast = nullptr;
444
446static CharClass* pAppCharClass = nullptr;
447
448static CollatorWrapper* pCollator = nullptr,
449 *pCaseCollator = nullptr;
450
452{
453 static SwCalendarWrapper aCalendarWrapper;
454 return aCalendarWrapper;
455}
456
458{
459 SfxPoolItem* pItem;
460
468
484
485 // CJK-Attributes
491
492 // CTL-Attributes
498
510
511// CharacterAttr - MSWord weak char direction/script override emulation
514
520 aAttrTab[ RES_TXTATR_INETFMT - POOLATTR_BEGIN ] = new SwFormatINetFormat( OUString(), OUString() );
526
532
533// TextAttr - Dummies
535
542
543 pItem = new SvxHyphenZoneItem( false, RES_PARATR_HYPHENZONE );
544 static_cast<SvxHyphenZoneItem*>(pItem)->GetMaxHyphens() = 0; // Default: 0
546
550
557
561
567 aAttrTab[ RES_PARATR_LIST_AUTOFMT - POOLATTR_BEGIN ] = new SwFormatAutoFormat(RES_PARATR_LIST_AUTOFMT);//new SfxSetItem(RES_PARATR_LIST_AUTOFMT, std::make_unique<SfxItemSet>(aCharAutoFormatSetRange));
568
608 aAttrTab[ RES_FRAMEDIR - POOLATTR_BEGIN ] = new SvxFrameDirectionItem( SvxFrameDirection::Environment, RES_FRAMEDIR );
611
612 // #i18732#
614 // collapsing borders #i29550#
616 // #i28701#
617 // #i35017# - constant name has changed
618 aAttrTab[ RES_WRAP_INFLUENCE_ON_OBJPOS - POOLATTR_BEGIN ] = new SwFormatWrapInfluenceOnObjPos( text::WrapInfluenceOnPosition::ONCE_CONCURRENT );
619
628
641
642// GraphicAttr - Dummies
646
650
653
654 // get the correct fonts:
655 ::GetDefaultFonts( (aAttrTab[ RES_CHRATR_FONT- POOLATTR_BEGIN ])->StaticWhichCast(RES_CHRATR_FONT),
658
659 SwBreakIt::Create_( ::comphelper::getProcessComponentContext() );
660 pCheckIt = nullptr;
661
662 FrameInit();
663 TextInit_();
664
667
668 pGlobalOLEExcludeList = new std::vector<SvGlobalName>;
669
671 {
674 rAFlags.nAutoCmpltWordLen );
675 }
676 else
677 {
679 }
680}
681
683{
684 FrameFinit();
685 TextFinit();
686
689 delete pCheckIt;
690 delete pAppCharClass;
691 delete pCollator;
692 delete pCaseCollator;
693
694 // destroy default TableAutoFormat
696
698 delete SwFntObj::s_pPixMap;
699
701
702#if OSL_DEBUG_LEVEL > 0
703 // free defaults to prevent assertions
704 if ( aAttrTab[0]->GetRefCount() )
706#endif
708
709 // delete all default attributes
710 for(SfxPoolItem* pHt : aAttrTab)
711 {
712 delete pHt;
713 }
714
716}
717
718// returns the APP - CharClass instance - used for all ToUpper/ToLower/...
720{
721 if ( !pAppCharClass )
722 {
724 ::comphelper::getProcessComponentContext(),
725 SwBreakIt::Get()->GetLanguageTag( GetAppLanguageTag() ));
726 }
727 return *pAppCharClass;
728}
729
731{
732 if( eLang != m_nLang )
733 {
734 m_nLang = eLang;
736 }
737}
738
740{
743 return LANGUAGE_ENGLISH_US;
744}
745
747{
749}
750
752{
753 if( !pCollator )
754 {
755 const lang::Locale& rLcl = g_pBreakIt->GetLocale( GetAppLanguage() );
756
757 pCollator = new CollatorWrapper( ::comphelper::getProcessComponentContext() );
759 }
760 return *pCollator;
761}
762
764{
765 if( !pCaseCollator )
766 {
767 const lang::Locale& rLcl = g_pBreakIt->GetLocale( GetAppLanguage() );
768
769 pCaseCollator = new CollatorWrapper( ::comphelper::getProcessComponentContext() );
771 }
772 return *pCaseCollator;
773}
774
775namespace
776{
777 class TransWrp
778 {
779 private:
780 std::unique_ptr<utl::TransliterationWrapper> m_xTransWrp;
781 public:
782 TransWrp()
783 {
784 uno::Reference< uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext();
785
786 m_xTransWrp.reset(new ::utl::TransliterationWrapper( xContext,
787 TransliterationFlags::IGNORE_CASE |
788 TransliterationFlags::IGNORE_KANA |
789 TransliterationFlags::IGNORE_WIDTH ));
790
791 m_xTransWrp->loadModuleIfNeeded( GetAppLanguage() );
792 }
793 const ::utl::TransliterationWrapper& getTransliterationWrapper() const
794 {
795 return *m_xTransWrp;
796 }
797 };
798}
799
800const ::utl::TransliterationWrapper& GetAppCmpStrIgnore()
801{
802 static TransWrp theTransWrp;
803 return theTransWrp.getTransliterationWrapper();
804}
805
806/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SwBreakIt * g_pBreakIt
Definition: breakit.cxx:34
const LanguageTag & GetLanguageTag() const
static const AllSettings & GetSettings()
void loadDefaultCalendar(const css::lang::Locale &rLocale, bool bTimeZoneUTC=true)
sal_Int32 loadDefaultCollator(const css::lang::Locale &rLocale, sal_Int32 nOption)
LanguageType getLanguageType(bool bResolveSystem=true) const
static css::lang::Locale convertToLocale(LanguageType nLangID, bool bResolveSystem=true)
void ReleaseDefaults(bool bDelete=false)
SvxAutoCorrect * GetAutoCorrect()
static SvxAutoCorrCfg & Get()
SvxSwAutoFormatFlags & GetSwFlags()
static void Delete_()
Definition: breakit.cxx:42
static SwBreakIt * Get()
Definition: breakit.cxx:48
static void Create_(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
Definition: breakit.cxx:36
const css::lang::Locale & GetLocale(const LanguageType aLang)
Definition: breakit.hxx:68
LanguageType m_nLang
Definition: swcalwrp.hxx:29
void LoadDefaultCalendar(LanguageType nLang)
Definition: init.cxx:730
Definition: doc.hxx:195
static SwAutoCompleteWord * s_pAutoCompleteWords
Definition: doc.hxx:339
static SwDoc * s_pLast
The last, still alive SwDoc instance, for debugging.
Definition: doc.hxx:341
static SvxSwAutoFormatFlags * s_pAutoFormatFlags
Definition: editsh.hxx:141
static MapMode * s_pPixMap
Definition: fntcache.hxx:84
FlyAnchors.
Definition: fmtanchr.hxx:37
Connection (text flow) between two FlyFrames.
Definition: fmtcnct.hxx:32
SfxPoolItem subclass that wraps an SwContentControl.
Content, content of frame (header, footer, fly).
Definition: fmtcntnt.hxx:32
If SwFormatDrop is a Client, it is the CharFormat that describes the font for the DropCaps.
Definition: paratr.hxx:72
Format of a fly content.
Definition: fmtflcnt.hxx:33
Determines if a fly frame can be split across multiple pages.
Footer, for pageformats Client of FrameFormat describing the footer.
Definition: fmthdft.hxx:65
Header, for PageFormats Client of FrameFormat describing the header.
Definition: fmthdft.hxx:34
Defines the horizontal position of a fly frame.
Definition: fmtornt.hxx:73
SfxPoolItem subclass that wraps an SwLineBreakClear.
static SwFormatMeta * CreatePoolDefault(const sal_uInt16 i_nWhich)
Definition: fmtatr2.cxx:540
If text in multi-column sections should be evenly distributed.
Definition: fmtclbl.hxx:29
Pagedescriptor Client of SwPageDesc that is "described" by the attribute.
Definition: fmtpdsc.hxx:36
Defines the vertical position of a fly frame.
Definition: fmtornt.hxx:37
Allows positioning of floating screen objects without considering their own wrapping type and the wra...
static MapMode * s_pMapMode
Definition: viscrs.hxx:85
static SwBoxAutoFormat * s_pDefaultBoxAutoFormat
Definition: tblafmt.hxx:154
static bool IsFuzzing()
#define FN_FORMAT_DROPCAPS
Definition: cmdid.h:349
#define FN_FORMAT_LINENUMBER
Definition: cmdid.h:495
#define FN_HORI_ORIENT
Definition: cmdid.h:884
#define FN_TXTATR_INET
Definition: cmdid.h:768
#define FN_TABLE_ROW_SPLIT
Definition: cmdid.h:505
#define FN_ATTR_COLUMNS
Definition: cmdid.h:136
#define FN_SET_PROTECT
Definition: cmdid.h:881
#define FN_VERT_ORIENT
Definition: cmdid.h:883
#define FN_OPAQUE
Definition: cmdid.h:880
#define FN_SURROUND
Definition: cmdid.h:882
LINESTYLE_NONE
STRIKEOUT_NONE
ITALIC_NONE
WEIGHT_NORMAL
constexpr TypedWhichId< SfxStringItem > RES_FRMATR_STYLE_NAME(134)
constexpr TypedWhichId< SvxFrameDirectionItem > RES_FRAMEDIR(126)
constexpr TypedWhichId< SwFormatEndAtTextEnd > RES_END_AT_TXTEND(124)
constexpr sal_uInt16 RES_FRMATR_BEGIN(RES_PARATR_LIST_END)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CTL_FONTSIZE(28)
constexpr TypedWhichId< SvxCrossedOutItem > RES_CHRATR_CROSSEDOUT(5)
std::vector< SfxPoolItem * > SwDfltAttrTab
Definition: hintids.hxx:530
constexpr TypedWhichId< SvxFormatKeepItem > RES_KEEP(116)
constexpr TypedWhichId< SfxStringItem > RES_PARATR_LIST_ID(RES_PARATR_LIST_BEGIN)
constexpr sal_uInt16 POOLATTR_BEGIN(HINT_BEGIN)
constexpr sal_uInt16 RES_BOXATR_END(159)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SwFormatFootnoteAtTextEnd > RES_FTN_AT_TXTEND(123)
constexpr TypedWhichId< SwFormatURL > RES_URL(117)
constexpr TypedWhichId< SwLuminanceGrf > RES_GRFATR_LUMINANCE(144)
constexpr TypedWhichId< SwFormatFootnote > RES_TXTATR_FTN(59)
constexpr TypedWhichId< SvxUnderlineItem > RES_CHRATR_UNDERLINE(14)
constexpr TypedWhichId< SvxLeftMarginItem > RES_MARGIN_LEFT(94)
constexpr TypedWhichId< SvxAutoKernItem > RES_CHRATR_AUTOKERN(17)
constexpr TypedWhichId< SvxShadowItem > RES_CHRATR_SHADOW(41)
constexpr sal_uInt16 RES_CHRATR_END(46)
constexpr TypedWhichId< SvxForbiddenRuleItem > RES_PARATR_FORBIDDEN_RULES(75)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
constexpr TypedWhichId< SwFormatRowSplit > RES_ROW_SPLIT(128)
constexpr TypedWhichId< SfxVoidItem > RES_CHRATR_UNUSED1(12)
constexpr TypedWhichId< SfxVoidItem > RES_CHRATR_UNUSED2(20)
constexpr TypedWhichId< SwTableBoxValue > RES_BOXATR_VALUE(158)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr sal_uInt16 RES_PARATR_BEGIN(RES_TXTATR_END)
constexpr TypedWhichId< SvxFirstLineIndentItem > RES_MARGIN_FIRSTLINE(91)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_WEIGHT(15)
constexpr sal_uInt16 RES_UNKNOWNATR_END(160)
constexpr TypedWhichId< SwTransparencyGrf > RES_GRFATR_TRANSPARENCY(151)
constexpr TypedWhichId< SvxShadowedItem > RES_CHRATR_SHADOWED(13)
constexpr TypedWhichId< SwFormatHeader > RES_HEADER(102)
constexpr TypedWhichId< SwFormatFrameSize > RES_FRM_SIZE(89)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CTL_LANGUAGE(29)
constexpr sal_uInt16 RES_GRFATR_BEGIN(RES_FRMATR_END)
constexpr TypedWhichId< SwFormatCol > RES_COL(115)
constexpr TypedWhichId< SwFormatHoriOrient > RES_HORI_ORIENT(109)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CJK_FONTSIZE(23)
constexpr TypedWhichId< SwChannelRGrf > RES_GRFATR_CHANNELR(146)
constexpr TypedWhichId< SvxShadowItem > RES_SHADOW(113)
constexpr TypedWhichId< SfxInt16Item > RES_PARATR_LIST_LEVEL(83)
constexpr TypedWhichId< SwFormatVertOrient > RES_VERT_ORIENT(108)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CTL_FONT(27)
constexpr TypedWhichId< SfxBoolItem > RES_RTL_GUTTER(139)
constexpr TypedWhichId< SwContrastGrf > RES_GRFATR_CONTRAST(145)
constexpr TypedWhichId< SvXMLAttrContainerItem > RES_UNKNOWNATR_CONTAINER(RES_UNKNOWNATR_BEGIN)
constexpr TypedWhichId< SwFormatAutoFormat > RES_TXTATR_AUTOFMT(50)
constexpr TypedWhichId< SwFormatLayoutSplit > RES_LAYOUT_SPLIT(119)
constexpr sal_uInt16 RES_FRMATR_END(141)
constexpr TypedWhichId< SwFormatEditInReadonly > RES_EDIT_IN_READONLY(118)
constexpr TypedWhichId< SfxStringItem > RES_FRMATR_CONDITIONAL_STYLE_NAME(135)
constexpr TypedWhichId< SfxInt16Item > RES_PARATR_LIST_RESTARTVALUE(85)
constexpr TypedWhichId< SwFormatINetFormat > RES_TXTATR_INETFMT(51)
constexpr TypedWhichId< SfxInt16Item > RES_CHRATR_BIDIRTL(44)
constexpr TypedWhichId< SwFormatPageDesc > RES_PAGEDESC(99)
constexpr TypedWhichId< SvxBrushItem > RES_CHRATR_HIGHLIGHT(42)
constexpr TypedWhichId< SvxBrushItem > RES_BACKGROUND(111)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CTL_WEIGHT(31)
constexpr TypedWhichId< SvxHyphenZoneItem > RES_PARATR_HYPHENZONE(69)
constexpr TypedWhichId< SwDrawModeGrf > RES_GRFATR_DRAWMODE(152)
constexpr TypedWhichId< SvxAdjustItem > RES_PARATR_ADJUST(64)
constexpr TypedWhichId< SvxContourItem > RES_CHRATR_CONTOUR(4)
constexpr TypedWhichId< SvxCharReliefItem > RES_CHRATR_RELIEF(36)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CJK_LANGUAGE(24)
constexpr TypedWhichId< SvxGutterRightMarginItem > RES_MARGIN_GUTTER_RIGHT(96)
constexpr sal_uInt16 RES_PARATR_END(82)
constexpr TypedWhichId< SvxCharHiddenItem > RES_CHRATR_HIDDEN(37)
constexpr TypedWhichId< SwTableBoxFormula > RES_BOXATR_FORMULA(157)
constexpr TypedWhichId< SwChannelBGrf > RES_GRFATR_CHANNELB(148)
constexpr TypedWhichId< SvxEscapementItem > RES_CHRATR_ESCAPEMENT(6)
constexpr TypedWhichId< SvxColorItem > RES_CHRATR_CHARSETCOLOR(2)
constexpr TypedWhichId< SwInvertGrf > RES_GRFATR_INVERT(150)
constexpr TypedWhichId< SvxTabStopItem > RES_PARATR_TABSTOP(68)
constexpr TypedWhichId< SwFormatFillOrder > RES_FILL_ORDER(RES_FRMATR_BEGIN)
constexpr TypedWhichId< SwTextGridItem > RES_TEXTGRID(121)
constexpr TypedWhichId< SvxCharScaleWidthItem > RES_CHRATR_SCALEW(35)
constexpr sal_uInt16 RES_BOXATR_BEGIN(RES_GRFATR_END)
constexpr TypedWhichId< SvxBrushItem > RES_CHRATR_BACKGROUND(21)
constexpr TypedWhichId< SvxCaseMapItem > RES_CHRATR_CASEMAP(RES_CHRATR_BEGIN)
constexpr TypedWhichId< SvxLineSpacingItem > RES_PARATR_LINESPACING(RES_PARATR_BEGIN)
constexpr TypedWhichId< SvxGutterLeftMarginItem > RES_MARGIN_GUTTER(95)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CTL_POSTURE(30)
constexpr TypedWhichId< SwFormatNoBalancedColumns > RES_COLUMNBALANCE(125)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_ANNOTATION(60)
constexpr TypedWhichId< SwHeaderAndFooterEatSpacingItem > RES_HEADER_FOOTER_EAT_SPACING(127)
constexpr TypedWhichId< SfxBoolItem > RES_COLLAPSING_BORDERS(131)
constexpr TypedWhichId< SvxOrphansItem > RES_PARATR_ORPHANS(66)
constexpr TypedWhichId< SvxOpaqueItem > RES_OPAQUE(105)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY5(155)
constexpr sal_uInt16 RES_CHRATR_BEGIN(HINT_BEGIN)
constexpr sal_uInt16 RES_PARATR_LIST_BEGIN(RES_PARATR_END)
constexpr TypedWhichId< SwFormatWrapInfluenceOnObjPos > RES_WRAP_INFLUENCE_ON_OBJPOS(132)
constexpr TypedWhichId< SvxEmphasisMarkItem > RES_CHRATR_EMPHASIS_MARK(33)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_POSTURE(11)
constexpr TypedWhichId< SwFormatLineNumber > RES_LINENUMBER(122)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY3(153)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY4(154)
constexpr TypedWhichId< SwFormatFooter > RES_FOOTER(103)
constexpr TypedWhichId< SvxProtectItem > RES_PROTECT(106)
constexpr TypedWhichId< SwNumRuleItem > RES_PARATR_NUMRULE(72)
constexpr TypedWhichId< SwFormatContentControl > RES_TXTATR_CONTENTCONTROL(56)
constexpr TypedWhichId< SfxGrabBagItem > RES_FRMATR_GRABBAG(136)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_FIELD(RES_TXTATR_NOEND_BEGIN)
constexpr TypedWhichId< SvxHangingPunctuationItem > RES_PARATR_HANGINGPUNCTUATION(74)
constexpr TypedWhichId< SwFormatCharFormat > RES_TXTATR_CHARFMT(52)
constexpr TypedWhichId< SwMirrorGrf > RES_GRFATR_MIRRORGRF(RES_GRFATR_BEGIN)
constexpr TypedWhichId< SfxInt16Item > RES_CHRATR_IDCTHINT(45)
constexpr TypedWhichId< SvxBlinkItem > RES_CHRATR_BLINK(18)
constexpr TypedWhichId< SvxOverlineItem > RES_CHRATR_OVERLINE(38)
constexpr TypedWhichId< SwTableBoxNumFormat > RES_BOXATR_FORMAT(RES_BOXATR_BEGIN)
constexpr TypedWhichId< SwChannelGGrf > RES_GRFATR_CHANNELG(147)
constexpr TypedWhichId< SvxMacroItem > RES_FRMMACRO(114)
constexpr sal_uInt16 RES_UNKNOWNATR_BEGIN(RES_BOXATR_END)
constexpr TypedWhichId< SvxParaVertAlignItem > RES_PARATR_VERTALIGN(76)
constexpr TypedWhichId< SvxWidowsItem > RES_PARATR_WIDOWS(67)
constexpr TypedWhichId< SwFormatFlyCnt > RES_TXTATR_FLYCNT(58)
constexpr TypedWhichId< SvxParaGridItem > RES_PARATR_SNAPTOGRID(77)
constexpr TypedWhichId< SwFormatAutoFormat > RES_AUTO_STYLE(133)
constexpr TypedWhichId< SvxCharRotateItem > RES_CHRATR_ROTATE(32)
constexpr TypedWhichId< SwFormatAnchor > RES_ANCHOR(110)
constexpr TypedWhichId< SwFormatLineBreak > RES_TXTATR_LINEBREAK(61)
constexpr TypedWhichId< SvxBoxItem > RES_BOX(112)
constexpr TypedWhichId< SfxBoolItem > RES_DECORATIVE(140)
constexpr TypedWhichId< SvxRsidItem > RES_CHRATR_RSID(39)
constexpr sal_uInt16 RES_PARATR_LIST_END(88)
constexpr TypedWhichId< SwFormatAutoFormat > RES_PARATR_LIST_AUTOFMT(87)
constexpr TypedWhichId< SvxFormatBreakItem > RES_BREAK(100)
constexpr TypedWhichId< SwRotationGrf > RES_GRFATR_ROTATION(143)
constexpr TypedWhichId< SdrTextVertAdjustItem > RES_TEXT_VERT_ADJUST(137)
constexpr TypedWhichId< SwFormatDrop > RES_PARATR_DROP(70)
constexpr TypedWhichId< SfxBoolItem > RES_TXTATR_DUMMY1(62)
constexpr TypedWhichId< SfxGrabBagItem > RES_CHRATR_GRABBAG(43)
constexpr TypedWhichId< SwFormatChain > RES_CHAIN(120)
constexpr TypedWhichId< SvxRightMarginItem > RES_MARGIN_RIGHT(93)
constexpr TypedWhichId< SvxTextLeftMarginItem > RES_MARGIN_TEXTLEFT(92)
constexpr TypedWhichId< SvxScriptSpaceItem > RES_PARATR_SCRIPTSPACE(73)
constexpr TypedWhichId< SwFormatMeta > RES_TXTATR_METAFIELD(49)
constexpr TypedWhichId< SvXMLAttrContainerItem > RES_TXTATR_UNKNOWN_CONTAINER(54)
constexpr TypedWhichId< SvxWordLineModeItem > RES_CHRATR_WORDLINEMODE(16)
constexpr TypedWhichId< SwParaConnectBorderItem > RES_PARATR_CONNECT_BORDER(78)
constexpr TypedWhichId< SwFormatFlySplit > RES_FLY_SPLIT(129)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CJK_WEIGHT(26)
constexpr TypedWhichId< SfxGrabBagItem > RES_PARATR_GRABBAG(81)
constexpr TypedWhichId< SwFormatRefMark > RES_TXTATR_REFMARK(RES_TXTATR_WITHEND_BEGIN)
constexpr TypedWhichId< SvxKerningItem > RES_CHRATR_KERNING(9)
constexpr TypedWhichId< SwFormatMeta > RES_TXTATR_META(48)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
constexpr TypedWhichId< SfxUInt16Item > RES_PARATR_OUTLINELEVEL(79)
constexpr TypedWhichId< SwFormatSurround > RES_SURROUND(107)
constexpr TypedWhichId< SfxBoolItem > RES_PARATR_LIST_ISCOUNTED(86)
constexpr TypedWhichId< SvxTwoLinesItem > RES_CHRATR_TWO_LINES(34)
constexpr TypedWhichId< SwFormatFollowTextFlow > RES_FOLLOW_TEXT_FLOW(130)
constexpr TypedWhichId< SvxFormatSplitItem > RES_PARATR_SPLIT(65)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CJK_POSTURE(25)
constexpr TypedWhichId< SwRegisterItem > RES_PARATR_REGISTER(71)
constexpr TypedWhichId< SwCropGrf > RES_GRFATR_CROPGRF(142)
constexpr TypedWhichId< SfxBoolItem > RES_PARATR_LIST_ISRESTART(84)
constexpr TypedWhichId< SvxPaperBinItem > RES_PAPER_BIN(90)
constexpr TypedWhichId< SvxRsidItem > RES_PARATR_RSID(80)
constexpr TypedWhichId< SwTOXMark > RES_TXTATR_TOXMARK(47)
constexpr TypedWhichId< SvxBoxItem > RES_CHRATR_BOX(40)
constexpr TypedWhichId< SwFormatContent > RES_CNTNT(101)
constexpr TypedWhichId< SwFormatRuby > RES_TXTATR_CJK_RUBY(53)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_INPUTFIELD(55)
constexpr sal_uInt16 RES_GRFATR_END(156)
constexpr TypedWhichId< SvxColorItem > RES_CHRATR_COLOR(3)
constexpr TypedWhichId< SwGammaGrf > RES_GRFATR_GAMMA(149)
constexpr TypedWhichId< SvxLRSpaceItem > RES_LR_SPACE(97)
constexpr TypedWhichId< SvxULSpaceItem > RES_UL_SPACE(98)
constexpr TypedWhichId< SfxBoolItem > RES_BACKGROUND_FULL_SIZE(138)
constexpr sal_uInt16 POOLATTR_END(RES_UNKNOWNATR_END)
constexpr TypedWhichId< SvxNoHyphenItem > RES_CHRATR_NOHYPHEN(19)
constexpr TypedWhichId< SvxPrintItem > RES_PRINT(104)
SwCheckIt * pCheckIt
Definition: init.cxx:445
WhichRangesContainer const aCharFormatSetRange(svl::Items< RES_CHRATR_BEGIN, RES_CHRATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
WhichRangesContainer const aTableSetRange(svl::Items< RES_FILL_ORDER, RES_FRM_SIZE, RES_LR_SPACE, RES_BREAK, RES_HORI_ORIENT, RES_HORI_ORIENT, RES_BACKGROUND, RES_SHADOW, RES_KEEP, RES_KEEP, RES_LAYOUT_SPLIT, RES_LAYOUT_SPLIT, RES_FRAMEDIR, RES_FRAMEDIR, RES_COLLAPSING_BORDERS, RES_COLLAPSING_BORDERS, RES_FRMATR_GRABBAG, RES_FRMATR_GRABBAG, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
SwCalendarWrapper & s_getCalendarWrapper()
Definition: init.cxx:451
WhichRangesContainer const aTableLineSetRange(svl::Items< RES_FILL_ORDER, RES_FRM_SIZE, RES_LR_SPACE, RES_UL_SPACE, RES_PRINT, RES_PRINT, RES_PROTECT, RES_PROTECT, RES_VERT_ORIENT, RES_VERT_ORIENT, RES_BACKGROUND, RES_SHADOW, RES_ROW_SPLIT, RES_ROW_SPLIT, RES_FRMATR_GRABBAG, RES_FRMATR_GRABBAG, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
WhichRangesContainer const aPgFrameFormatSetRange(svl::Items< RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
static CollatorWrapper * pCaseCollator
Definition: init.cxx:449
WhichRangesContainer const aTableBoxSetRange(svl::Items< RES_FILL_ORDER, RES_FRM_SIZE, RES_LR_SPACE, RES_UL_SPACE, RES_PROTECT, RES_PROTECT, RES_VERT_ORIENT, RES_VERT_ORIENT, RES_BACKGROUND, RES_SHADOW, RES_FRAMEDIR, RES_FRAMEDIR, RES_FRMATR_GRABBAG, RES_FRMATR_GRABBAG, RES_BOXATR_BEGIN, RES_BOXATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
const LanguageTag & GetAppLanguageTag()
Definition: init.cxx:746
WhichRangesContainer const aGrfFormatCollSetRange(svl::Items< RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_GRFATR_BEGIN, RES_GRFATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
const ::utl::TransliterationWrapper & GetAppCmpStrIgnore()
Definition: init.cxx:800
SwDfltAttrTab aAttrTab(POOLATTR_END - POOLATTR_BEGIN, nullptr)
std::vector< SvGlobalName > * pGlobalOLEExcludeList
Definition: init.cxx:440
CharClass & GetAppCharClass()
Definition: init.cxx:719
static CollatorWrapper * pCollator
Definition: init.cxx:448
void InitCore()
Definition: init.cxx:457
SfxItemInfo aSlotTab[]
Definition: init.cxx:262
void FinitCore()
Definition: init.cxx:682
CollatorWrapper & GetAppCaseCollator()
Definition: init.cxx:763
WhichRangesContainer const aNoTextNodeSetRange(svl::Items< RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_GRFATR_BEGIN, RES_GRFATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
WhichRangesContainer const aTextFormatCollSetRange(svl::Items< RES_CHRATR_BEGIN, RES_CHRATR_END-1, RES_PARATR_BEGIN, RES_PARATR_END-1, RES_PARATR_LIST_LEVEL, RES_PARATR_LIST_LEVEL, RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1, XATTR_FILL_FIRST, XATTR_FILL_LAST >)
static CharClass * pAppCharClass
Definition: init.cxx:446
WhichRangesContainer const aFrameFormatSetRange(svl::Items< RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1, XATTR_FILL_FIRST, XATTR_FILL_LAST >)
LanguageType GetAppLanguage()
Definition: init.cxx:739
WhichRangesContainer const aCharAutoFormatSetRange(svl::Items< RES_CHRATR_BEGIN, RES_CHRATR_END-1, RES_TXTATR_UNKNOWN_CONTAINER, RES_TXTATR_UNKNOWN_CONTAINER, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
CollatorWrapper & GetAppCollator()
Definition: init.cxx:751
WhichRangesContainer const aTextNodeSetRange(svl::Items< RES_CHRATR_BEGIN, RES_CHRATR_END-1, RES_PARATR_BEGIN, RES_PARATR_END-1, RES_PARATR_LIST_BEGIN, RES_PARATR_LIST_END-1, RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1, XATTR_FILL_FIRST, XATTR_FILL_LAST >)
WhichRangesContainer const aBreakSetRange(svl::Items< RES_PAGEDESC, RES_BREAK >)
#define LANGUAGE_DONTKNOW
#define LANGUAGE_ENGLISH_US
#define LINE_SPACE_DEFAULT_HEIGHT
static constexpr auto Items
void FrameInit()
Definition: newfrm.cxx:296
void FrameFinit()
Definition: newfrm.cxx:307
SDRTEXTVERTADJUST_TOP
sal_uInt16 nAutoCmpltWordLen
sal_uInt16 nAutoCmpltListLen
#define SW_COLLATOR_IGNORES
Definition: swtypes.hxx:194
#define SVX_TAB_DEFDIST
void TextFinit()
Definition: txtinit.cxx:50
void TextInit_()
Definition: txtinit.cxx:37