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>
29 #include <editeng/autokernitem.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>
40 #include <editeng/contouritem.hxx>
44 #include <editeng/fontitem.hxx>
45 #include <editeng/fhgtitem.hxx>
47 #include <editeng/frmdiritem.hxx>
48 #include <editeng/hngpnctitem.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>
63 #include <editeng/postitem.hxx>
64 #include <editeng/rsiditem.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>
73 #include <editeng/twolinesitem.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>
80 #include <editsh.hxx>
81 #include <fchrfmt.hxx>
82 #include <fmtanchr.hxx>
83 #include <fmtautofmt.hxx>
84 #include <fmtclbl.hxx>
85 #include <fmtclds.hxx>
86 #include <fmtcnct.hxx>
87 #include <fmtcntnt.hxx>
88 #include <fmteiro.hxx>
89 #include <fmtflcnt.hxx>
90 #include <fmtfld.hxx>
91 #include <fmtfollowtextflow.hxx>
92 #include <fmtfordr.hxx>
93 #include <fmtfsize.hxx>
94 #include <fmtftn.hxx>
95 #include <fmtftntx.hxx>
96 #include <fmthdft.hxx>
97 #include <fmtinfmt.hxx>
98 #include <fmtline.hxx>
99 #include <fmtlsplt.hxx>
100 #include <fmtmeta.hxx>
101 #include <fmtornt.hxx>
102 #include <fmtpdsc.hxx>
103 #include <fmtrfmrk.hxx>
104 #include <fmtrowsplt.hxx>
105 #include <fmtruby.hxx>
106 #include <fmtsrnd.hxx>
107 #include <fmturl.hxx>
109 #include <fntcache.hxx>
110 #include <grfatr.hxx>
111 #include <hfspacingitem.hxx>
112 #include <hintids.hxx>
113 #include <init.hxx>
114 #include <paratr.hxx>
115 #include <proofreadingiterator.hxx>
116 #include <editeng/editids.hrc>
117 #include <rtl/instance.hxx>
118 #include <svl/macitem.hxx>
119 #include <svx/sdtaitm.hxx>
120 #include <swcalwrp.hxx>
121 #include <SwStyleNameMapper.hxx>
122 #include <tblafmt.hxx>
123 #include <tgrditem.hxx>
124 #include <tools/globname.hxx>
125 #include <tox.hxx>
126 #include <unotools/charclass.hxx>
127 #include <unotools/configmgr.hxx>
130 #include <vcl/mapmod.hxx>
131 #include <vcl/svapp.hxx>
132 #include <vcl/settings.hxx>
134 #include <viscrs.hxx>
135 
136 using namespace ::com::sun::star;
137 
138 // some ranges for sets in collections/ nodes
139 
140 // AttrSet range for the 2 break attributes
143 >);
144 
145 // AttrSet range for TextFormatColl
146 // list attributes ( RES_PARATR_LIST_BEGIN - RES_PARATR_LIST_END ) are not
147 // included in the paragraph style's itemset.
154 
155  // FillAttribute support
156  XATTR_FILL_FIRST, XATTR_FILL_LAST
157 
158 >);
159 
160 // AttrSet range for GrfFormatColl
165 >);
166 
167 // AttrSet range for TextNode
174 
175  // FillAttribute support (paragraph FillStyle)
176  XATTR_FILL_FIRST, XATTR_FILL_LAST
177 
178 >);
179 
180 // AttrSet range for NoTextNode
185 >);
186 
195  // #i29550#
197  // <-- collapsing
200 >);
201 
204  // HasTextChangesOnly
213 >);
214 
225 >);
226 
227 // AttrSet range for SwFrameFormat
231 
232  // FillAttribute support (TextFrame, OLE, Writer GraphicObject)
233  XATTR_FILL_FIRST, XATTR_FILL_LAST
234 
235 >);
236 
237 // AttrSet range for SwCharFormat
241 >);
242 
243 // AttrSet range for character autostyles
248 >);
249 
250 // AttrSet range for SwPageDescFormat
254 >);
255 
256 // create table for accessing default format attributes
258 
260 {
261  { SID_ATTR_CHAR_CASEMAP, true }, // RES_CHRATR_CASEMAP
262  { SID_ATTR_CHAR_CHARSETCOLOR, true }, // RES_CHRATR_CHARSETCOLOR
263  { SID_ATTR_CHAR_COLOR, true }, // RES_CHRATR_COLOR
264  { SID_ATTR_CHAR_CONTOUR, true }, // RES_CHRATR_CONTOUR
265  { SID_ATTR_CHAR_STRIKEOUT, true }, // RES_CHRATR_CROSSEDOUT
266  { SID_ATTR_CHAR_ESCAPEMENT, true }, // RES_CHRATR_ESCAPEMENT
267  { SID_ATTR_CHAR_FONT, true }, // RES_CHRATR_FONT
268  { SID_ATTR_CHAR_FONTHEIGHT, true }, // RES_CHRATR_FONTSIZE
269  { SID_ATTR_CHAR_KERNING, true }, // RES_CHRATR_KERNING
270  { SID_ATTR_CHAR_LANGUAGE, true }, // RES_CHRATR_LANGUAGE
271  { SID_ATTR_CHAR_POSTURE, true }, // RES_CHRATR_POSTURE
272  { 0, true }, // RES_CHRATR_UNUSED1
273  { SID_ATTR_CHAR_SHADOWED, true }, // RES_CHRATR_SHADOWED
274  { SID_ATTR_CHAR_UNDERLINE, true }, // RES_CHRATR_UNDERLINE
275  { SID_ATTR_CHAR_WEIGHT, true }, // RES_CHRATR_WEIGHT
276  { SID_ATTR_CHAR_WORDLINEMODE, true }, // RES_CHRATR_WORDLINEMODE
277  { SID_ATTR_CHAR_AUTOKERN, true }, // RES_CHRATR_AUTOKERN
278  { SID_ATTR_FLASH, true }, // RES_CHRATR_BLINK
279  { 0, true }, // RES_CHRATR_UNUSED2
280  { 0, true }, // RES_CHRATR_NOHYPHEN
281  { SID_ATTR_BRUSH_CHAR, true }, // RES_CHRATR_BACKGROUND
282  { SID_ATTR_CHAR_CJK_FONT, true }, // RES_CHRATR_CJK_FONT
283  { SID_ATTR_CHAR_CJK_FONTHEIGHT, true },// RES_CHRATR_CJK_FONTSIZE
284  { SID_ATTR_CHAR_CJK_LANGUAGE, true }, // RES_CHRATR_CJK_LANGUAGE
285  { SID_ATTR_CHAR_CJK_POSTURE, true }, // RES_CHRATR_CJK_POSTURE
286  { SID_ATTR_CHAR_CJK_WEIGHT, true }, // RES_CHRATR_CJK_WEIGHT
287  { SID_ATTR_CHAR_CTL_FONT, true }, // RES_CHRATR_CTL_FONT
288  { SID_ATTR_CHAR_CTL_FONTHEIGHT, true },// RES_CHRATR_CTL_FONTSIZE
289  { SID_ATTR_CHAR_CTL_LANGUAGE, true }, // RES_CHRATR_CTL_LANGUAGE
290  { SID_ATTR_CHAR_CTL_POSTURE, true }, // RES_CHRATR_CTL_POSTURE
291  { SID_ATTR_CHAR_CTL_WEIGHT, true }, // RES_CHRATR_CTL_WEIGHT
292  { SID_ATTR_CHAR_ROTATED, true }, // RES_CHRATR_ROTATE
293  { SID_ATTR_CHAR_EMPHASISMARK, true }, // RES_CHRATR_EMPHASIS_MARK
294  { SID_ATTR_CHAR_TWO_LINES, true }, // RES_CHRATR_TWO_LINES
295  { SID_ATTR_CHAR_SCALEWIDTH, true }, // RES_CHRATR_SCALEW
296  { SID_ATTR_CHAR_RELIEF, true }, // RES_CHRATR_RELIEF
297  { SID_ATTR_CHAR_HIDDEN, true }, // RES_CHRATR_HIDDEN
298  { SID_ATTR_CHAR_OVERLINE, true }, // RES_CHRATR_OVERLINE
299  { 0, true }, // RES_CHRATR_RSID
300  { SID_ATTR_CHAR_BOX, true }, // RES_CHRATR_BOX
301  { SID_ATTR_CHAR_SHADOW, true }, // RES_CHRATR_SHADOW
302  { 0, true }, // RES_CHRATR_HIGHLIGHT
303  { SID_ATTR_CHAR_GRABBAG, true }, // RES_CHRATR_GRABBAG
304  { 0, true }, // RES_CHRATR_BIDIRTL
305  { 0, true }, // RES_CHRATR_IDCTHINT
306 
307  { 0, false }, // RES_TXTATR_REFMARK
308  { 0, false }, // RES_TXTATR_TOXMARK
309  { 0, false }, // RES_TXTATR_META
310  { 0, false }, // RES_TXTATR_METAFIELD
311  { 0, true }, // RES_TXTATR_AUTOFMT
312  { FN_TXTATR_INET, false }, // RES_TXTATR_INETFMT
313  { 0, false }, // RES_TXTATR_CHARFMT
314  { SID_ATTR_CHAR_CJK_RUBY, false }, // RES_TXTATR_CJK_RUBY
315  { 0, true }, // RES_TXTATR_UNKNOWN_CONTAINER
316  { 0, false }, // RES_TXTATR_INPUTFIELD
317 
318  { 0, false }, // RES_TXTATR_FIELD
319  { 0, false }, // RES_TXTATR_FLYCNT
320  { 0, false }, // RES_TXTATR_FTN
321  { 0, false }, // RES_TXTATR_ANNOTATION
322  { 0, true }, // RES_TXTATR_DUMMY3
323  { 0, true }, // RES_TXTATR_DUMMY1
324  { 0, true }, // RES_TXTATR_DUMMY2
325 
326  { SID_ATTR_PARA_LINESPACE, true }, // RES_PARATR_LINESPACING
327  { SID_ATTR_PARA_ADJUST, true }, // RES_PARATR_ADJUST
328  { SID_ATTR_PARA_SPLIT, true }, // RES_PARATR_SPLIT
329  { SID_ATTR_PARA_ORPHANS, true }, // RES_PARATR_ORPHANS
330  { SID_ATTR_PARA_WIDOWS, true }, // RES_PARATR_WIDOWS
331  { SID_ATTR_TABSTOP, true }, // RES_PARATR_TABSTOP
332  { SID_ATTR_PARA_HYPHENZONE, true }, // RES_PARATR_HYPHENZONE
333  { FN_FORMAT_DROPCAPS, false }, // RES_PARATR_DROP
334  { SID_ATTR_PARA_REGISTER, true }, // RES_PARATR_REGISTER
335  { SID_ATTR_PARA_NUMRULE, true }, // RES_PARATR_NUMRULE
336  { SID_ATTR_PARA_SCRIPTSPACE, true }, // RES_PARATR_SCRIPTSPACE
337  { SID_ATTR_PARA_HANGPUNCTUATION, true },// RES_PARATR_HANGINGPUNCTUATION
338 
339  { SID_ATTR_PARA_FORBIDDEN_RULES, true },// RES_PARATR_FORBIDDEN_RULES
340  { SID_PARA_VERTALIGN, true }, // RES_PARATR_VERTALIGN
341  { SID_ATTR_PARA_SNAPTOGRID, true }, // RES_PARATR_SNAPTOGRID
342  { SID_ATTR_BORDER_CONNECT, true }, // RES_PARATR_CONNECT_BORDER
343 
344  { SID_ATTR_PARA_OUTLINE_LEVEL, true }, // RES_PARATR_OUTLINELEVEL //#outline level
345  { 0, true }, // RES_PARATR_RSID
346  { SID_ATTR_PARA_GRABBAG, true }, // RES_PARATR_GRABBAG
347  { 0, true }, // RES_PARATR_LIST_ID
348  { 0, true }, // RES_PARATR_LIST_LEVEL
349  { 0, true }, // RES_PARATR_LIST_ISRESTART
350  { 0, true }, // RES_PARATR_LIST_RESTARTVALUE
351  { 0, true }, // RES_PARATR_LIST_ISCOUNTED
352  { 0, true }, // RES_PARATR_LIST_AUTOFMT
353 
354  { 0, true }, // RES_FILL_ORDER
355  { 0, true }, // RES_FRM_SIZE
356  { SID_ATTR_PAGE_PAPERBIN, true }, // RES_PAPER_BIN
357  { SID_ATTR_LRSPACE, true }, // RES_LR_SPACE
358  { SID_ATTR_ULSPACE, true }, // RES_UL_SPACE
359  { 0, false }, // RES_PAGEDESC
360  { SID_ATTR_PARA_PAGEBREAK, true }, // RES_BREAK
361  { 0, false }, // RES_CNTNT
362  { 0, true }, // RES_HEADER
363  { 0, true }, // RES_FOOTER
364  { 0, true }, // RES_PRINT
365  { FN_OPAQUE, true }, // RES_OPAQUE
366  { FN_SET_PROTECT, true }, // RES_PROTECT
367  { FN_SURROUND, true }, // RES_SURROUND
368  { FN_VERT_ORIENT, true }, // RES_VERT_ORIENT
369  { FN_HORI_ORIENT, true }, // RES_HORI_ORIENT
370  { 0, false }, // RES_ANCHOR
371  { SID_ATTR_BRUSH, true }, // RES_BACKGROUND
372  { SID_ATTR_BORDER_OUTER, true }, // RES_BOX
373  { SID_ATTR_BORDER_SHADOW, true }, // RES_SHADOW
374  { SID_ATTR_MACROITEM, true }, // RES_FRMMACRO
375  { FN_ATTR_COLUMNS, true }, // RES_COL
376  { SID_ATTR_PARA_KEEP, true }, // RES_KEEP
377  { 0, true }, // RES_URL
378  { 0, true }, // RES_EDIT_IN_READONLY
379 
380  { 0, true }, // RES_LAYOUT_SPLIT
381  { 0, false }, // RES_CHAIN
382  { 0, true }, // RES_TEXTGRID
383  { FN_FORMAT_LINENUMBER, true }, // RES_LINENUMBER
384  { 0, true }, // RES_FTN_AT_TXTEND
385  { 0, true }, // RES_END_AT_TXTEND
386  { 0, true }, // RES_COLUMNBALANCE
387 
388  { SID_ATTR_FRAMEDIRECTION, true }, // RES_FRAMEDIR
389 
390  { SID_ATTR_HDFT_DYNAMIC_SPACING, true },// RES_HEADER_FOOTER_EAT_SPACING
391  { FN_TABLE_ROW_SPLIT, true }, // RES_ROW_SPLIT
392  // #i18732# - use slot-id define in svx
393  { SID_SW_FOLLOW_TEXT_FLOW, true }, // RES_FOLLOW_TEXT_FLOW
394  // #i29550#
395  { SID_SW_COLLAPSING_BORDERS, true }, // RES_COLLAPSING_BORDERS
396  // #i28701#
397  { SID_SW_WRAP_INFLUENCE_ON_OBJPOS, true },// RES_WRAP_INFLUENCE_ON_OBJPOS
398  { 0, false }, // RES_AUTO_STYLE
399  { 0, true }, // RES_FRMATR_STYLE_NAME
400  { 0, true }, // RES_FRMATR_CONDITIONAL_STYLE_NAME
401  { 0, true }, // RES_FRMATR_GRABBAG
402  { 0, true }, // RES_TEXT_VERT_ADJUST
403  { 0, true }, // RES_BACKGROUND_FULL_SIZE
404  { 0, true }, // RES_RTL_GUTTER
405 
406  { 0, true }, // RES_GRFATR_MIRRORGRF
407  { SID_ATTR_GRAF_CROP, true }, // RES_GRFATR_CROPGRF
408  { 0, true }, // RES_GRFATR_ROTATION,
409  { 0, true }, // RES_GRFATR_LUMINANCE,
410  { 0, true }, // RES_GRFATR_CONTRAST,
411  { 0, true }, // RES_GRFATR_CHANNELR,
412  { 0, true }, // RES_GRFATR_CHANNELG,
413  { 0, true }, // RES_GRFATR_CHANNELB,
414  { 0, true }, // RES_GRFATR_GAMMA,
415  { 0, true }, // RES_GRFATR_INVERT,
416  { 0, true }, // RES_GRFATR_TRANSPARENCY,
417  { 0, true }, // RES_GRFATR_DUMMY1,
418  { 0, true }, // RES_GRFATR_DUMMY2,
419  { 0, true }, // RES_GRFATR_DUMMY3,
420  { 0, true }, // RES_GRFATR_DUMMY4,
421  { 0, true }, // RES_GRFATR_DUMMY5,
422  { 0, true }, // RES_GRFATR_DUMMY6,
423 
424  { 0, true }, // RES_BOXATR_FORMAT
425  { 0, false }, // RES_BOXATR_FORMULA,
426  { 0, true }, // RES_BOXATR_VALUE
427 
428  { 0, true } // RES_UNKNOWNATR_CONTAINER
429 };
430 
431 std::vector<SvGlobalName> *pGlobalOLEExcludeList = nullptr;
432 
434 
435 SwCheckIt* pCheckIt = nullptr;
436 static CharClass* pAppCharClass = nullptr;
437 
438 static CollatorWrapper* pCollator = nullptr,
439  *pCaseCollator = nullptr;
440 
442 {
443  static salhelper::SingletonRef<SwCalendarWrapper> aCalendarWrapper;
444  return &aCalendarWrapper;
445 }
446 
447 void InitCore()
448 {
449  SfxPoolItem* pItem;
450 
458 
474 
475  // CJK-Attributes
481 
482  // CTL-Attributes
488 
500 
501 // CharacterAttr - MSWord weak char direction/script override emulation
504 
510  aAttrTab[ RES_TXTATR_INETFMT - POOLATTR_BEGIN ] = new SwFormatINetFormat( OUString(), OUString() );
512  aAttrTab[ RES_TXTATR_CJK_RUBY - POOLATTR_BEGIN ] = new SwFormatRuby( OUString() );
515 
520 
521 // TextAttr - Dummies
525 
532 
533  pItem = new SvxHyphenZoneItem( false, RES_PARATR_HYPHENZONE );
534  static_cast<SvxHyphenZoneItem*>(pItem)->GetMaxHyphens() = 0; // Default: 0
536 
539  aAttrTab[ RES_PARATR_NUMRULE - POOLATTR_BEGIN ] = new SwNumRuleItem( OUString() );
540 
547 
551 
557  aAttrTab[ RES_PARATR_LIST_AUTOFMT - POOLATTR_BEGIN ] = new SwFormatAutoFormat(RES_PARATR_LIST_AUTOFMT);//new SfxSetItem(RES_PARATR_LIST_AUTOFMT, std::make_unique<SfxItemSet>(aCharAutoFormatSetRange));
558 
565  aAttrTab[ RES_BREAK- POOLATTR_BEGIN ] = new SvxFormatBreakItem( SvxBreak::NONE, RES_BREAK);
592  aAttrTab[ RES_FRAMEDIR - POOLATTR_BEGIN ] = new SvxFrameDirectionItem( SvxFrameDirection::Environment, RES_FRAMEDIR );
594 
595  // #i18732#
597  // collapsing borders #i29550#
599  // #i28701#
600  // #i35017# - constant name has changed
601  aAttrTab[ RES_WRAP_INFLUENCE_ON_OBJPOS - POOLATTR_BEGIN ] = new SwFormatWrapInfluenceOnObjPos( text::WrapInfluenceOnPosition::ONCE_CONCURRENT );
602 
610 
623 
624 // GraphicAttr - Dummies
630 
634 
637 
638  // get the correct fonts:
639  ::GetDefaultFonts( (aAttrTab[ RES_CHRATR_FONT- POOLATTR_BEGIN ])->StaticWhichCast(RES_CHRATR_FONT),
642 
644  pCheckIt = nullptr;
645 
646  FrameInit();
647  TextInit_();
648 
651 
652  pGlobalOLEExcludeList = new std::vector<SvGlobalName>;
653 
655  {
657  SwDoc::s_pAutoCompleteWords = new SwAutoCompleteWord( rAFlags.nAutoCmpltListLen,
658  rAFlags.nAutoCmpltWordLen );
659  }
660  else
661  {
662  SwDoc::s_pAutoCompleteWords = new SwAutoCompleteWord( 0, 0 );
663  }
664 }
665 
666 void FinitCore()
667 {
668  FrameFinit();
669  TextFinit();
670 
673  delete pCheckIt;
674  delete pAppCharClass;
675  delete pCollator;
676  delete pCaseCollator;
677 
678  // destroy default TableAutoFormat
680 
682  delete SwFntObj::s_pPixMap;
683 
685 
686 #if OSL_DEBUG_LEVEL > 0
687  // free defaults to prevent assertions
688  if ( aAttrTab[0]->GetRefCount() )
690 #endif
692 
693  // delete all default attributes
694  for(SfxPoolItem* pHt : aAttrTab)
695  {
696  delete pHt;
697  }
698 
699  delete pGlobalOLEExcludeList;
700 }
701 
702 // returns the APP - CharClass instance - used for all ToUpper/ToLower/...
704 {
705  if ( !pAppCharClass )
706  {
707  pAppCharClass = new CharClass(
709  SwBreakIt::Get()->GetLanguageTag( GetAppLanguageTag() ));
710  }
711  return *pAppCharClass;
712 }
713 
715 {
716  if( eLang != m_nLang )
717  {
718  m_nLang = eLang;
720  }
721 }
722 
724 {
727  return LANGUAGE_ENGLISH_US;
728 }
729 
731 {
733 }
734 
736 {
737  if( !pCollator )
738  {
739  const lang::Locale& rLcl = g_pBreakIt->GetLocale( GetAppLanguage() );
740 
742  pCollator->loadDefaultCollator( rLcl, SW_COLLATOR_IGNORES );
743  }
744  return *pCollator;
745 }
746 
748 {
749  if( !pCaseCollator )
750  {
751  const lang::Locale& rLcl = g_pBreakIt->GetLocale( GetAppLanguage() );
752 
755  }
756  return *pCaseCollator;
757 }
758 
759 namespace
760 {
761  class TransWrp
762  {
763  private:
764  std::unique_ptr<utl::TransliterationWrapper> m_xTransWrp;
765  public:
766  TransWrp()
767  {
768  uno::Reference< uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext();
769 
770  m_xTransWrp.reset(new ::utl::TransliterationWrapper( xContext,
771  TransliterationFlags::IGNORE_CASE |
772  TransliterationFlags::IGNORE_KANA |
773  TransliterationFlags::IGNORE_WIDTH ));
774 
775  m_xTransWrp->loadModuleIfNeeded( GetAppLanguage() );
776  }
777  const ::utl::TransliterationWrapper& getTransliterationWrapper() const
778  {
779  return *m_xTransWrp;
780  }
781  };
782 
783  class theTransWrp : public rtl::Static<TransWrp, theTransWrp> {};
784 }
785 
786 const ::utl::TransliterationWrapper& GetAppCmpStrIgnore()
787 {
788  return theTransWrp::get().getTransliterationWrapper();
789 }
790 
791 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
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 >)
constexpr TypedWhichId< SvxProtectItem > RES_PROTECT(100)
constexpr TypedWhichId< SvxFrameDirectionItem > RES_FRAMEDIR(120)
constexpr TypedWhichId< SvxBlinkItem > RES_CHRATR_BLINK(18)
const ::utl::TransliterationWrapper & GetAppCmpStrIgnore()
Definition: init.cxx:786
#define FN_HORI_ORIENT
Definition: cmdid.h:854
constexpr TypedWhichId< SwFormatEndAtTextEnd > RES_END_AT_TXTEND(118)
constexpr TypedWhichId< SwFormatPageDesc > RES_PAGEDESC(93)
constexpr TypedWhichId< SvXMLAttrContainerItem > RES_UNKNOWNATR_CONTAINER(RES_UNKNOWNATR_BEGIN)
constexpr TypedWhichId< SvxCrossedOutItem > RES_CHRATR_CROSSEDOUT(5)
static SwFormatMeta * CreatePoolDefault(const sal_uInt16 i_nWhich)
Definition: fmtatr2.cxx:528
constexpr TypedWhichId< SwFormatSurround > RES_SURROUND(101)
constexpr TypedWhichId< SwFormatFillOrder > RES_FILL_ORDER(RES_FRMATR_BEGIN)
constexpr TypedWhichId< SfxInt16Item > RES_CHRATR_BIDIRTL(44)
SDRTEXTVERTADJUST_TOP
constexpr TypedWhichId< SwHeaderAndFooterEatSpacingItem > RES_HEADER_FOOTER_EAT_SPACING(121)
constexpr TypedWhichId< SfxInt16Item > RES_CHRATR_IDCTHINT(45)
void TextFinit()
Definition: txtinit.cxx:50
void LoadDefaultCalendar(LanguageType nLang)
Definition: init.cxx:714
static SvxAutoCorrCfg & Get()
SwDfltAttrTab aAttrTab(POOLATTR_END-POOLATTR_BEGIN, nullptr)
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 >)
constexpr TypedWhichId< SvxTabStopItem > RES_PARATR_TABSTOP(68)
#define FN_FORMAT_LINENUMBER
Definition: cmdid.h:465
constexpr TypedWhichId< SvxParaGridItem > RES_PARATR_SNAPTOGRID(77)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CTL_FONT(27)
constexpr TypedWhichId< SvxEscapementItem > RES_CHRATR_ESCAPEMENT(6)
constexpr TypedWhichId< SvxPrintItem > RES_PRINT(98)
Pagedescriptor Client of SwPageDesc that is "described" by the attribute.
Definition: fmtpdsc.hxx:35
#define LINE_SPACE_DEFAULT_HEIGHT
constexpr TypedWhichId< SwFormatMeta > RES_TXTATR_METAFIELD(49)
void FrameFinit()
Definition: newfrm.cxx:306
constexpr TypedWhichId< SwTableBoxNumFormat > RES_BOXATR_FORMAT(RES_BOXATR_BEGIN)
#define LANGUAGE_ENGLISH_US
static constexpr auto Items
constexpr TypedWhichId< SwFormatHeader > RES_HEADER(96)
constexpr TypedWhichId< SwFormatEditInReadonly > RES_EDIT_IN_READONLY(112)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY3(147)
constexpr TypedWhichId< SwFormatCol > RES_COL(109)
constexpr TypedWhichId< SwFormatMeta > RES_TXTATR_META(48)
constexpr TypedWhichId< SvxFormatKeepItem > RES_KEEP(110)
LanguageType getLanguageType(bool bResolveSystem=true) const
static CharClass * pAppCharClass
Definition: init.cxx:436
constexpr TypedWhichId< SwFormatFrameSize > RES_FRM_SIZE(89)
void FrameInit()
Definition: newfrm.cxx:295
constexpr TypedWhichId< SdrTextVertAdjustItem > RES_TEXT_VERT_ADJUST(130)
constexpr TypedWhichId< SwTransparencyGrf > RES_GRFATR_TRANSPARENCY(143)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr TypedWhichId< SwNumRuleItem > RES_PARATR_NUMRULE(72)
static const AllSettings & GetSettings()
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
constexpr TypedWhichId< SvxPaperBinItem > RES_PAPER_BIN(90)
constexpr TypedWhichId< SwRegisterItem > RES_PARATR_REGISTER(71)
constexpr TypedWhichId< SfxInt16Item > RES_PARATR_LIST_RESTARTVALUE(85)
If text in multi-column sections should be evenly distributed.
Definition: fmtclbl.hxx:28
constexpr sal_uInt16 RES_FRMATR_END(133)
constexpr TypedWhichId< SfxStringItem > RES_FRMATR_CONDITIONAL_STYLE_NAME(128)
void TextInit_()
Definition: txtinit.cxx:37
constexpr sal_uInt16 RES_BOXATR_END(153)
constexpr TypedWhichId< SwChannelRGrf > RES_GRFATR_CHANNELR(138)
constexpr TypedWhichId< SwFormatAutoFormat > RES_AUTO_STYLE(126)
constexpr TypedWhichId< SwFormatFlyCnt > RES_TXTATR_FLYCNT(57)
static CollatorWrapper * pCaseCollator
Definition: init.cxx:439
constexpr TypedWhichId< SvxFormatBreakItem > RES_BREAK(94)
constexpr TypedWhichId< SvxUnderlineItem > RES_CHRATR_UNDERLINE(14)
constexpr TypedWhichId< SvxAutoKernItem > RES_CHRATR_AUTOKERN(17)
constexpr TypedWhichId< SvxHangingPunctuationItem > RES_PARATR_HANGINGPUNCTUATION(74)
Content, content of frame (header, footer, fly).
Definition: fmtcntnt.hxx:31
constexpr TypedWhichId< SvxOpaqueItem > RES_OPAQUE(99)
constexpr TypedWhichId< SwContrastGrf > RES_GRFATR_CONTRAST(137)
constexpr TypedWhichId< SvxBoxItem > RES_CHRATR_BOX(40)
constexpr TypedWhichId< SwTableBoxValue > RES_BOXATR_VALUE(152)
constexpr TypedWhichId< SfxGrabBagItem > RES_CHRATR_GRABBAG(43)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_ANNOTATION(59)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CJK_POSTURE(25)
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 >)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
static void Delete_()
Definition: breakit.cxx:41
constexpr TypedWhichId< SvxTwoLinesItem > RES_CHRATR_TWO_LINES(34)
constexpr TypedWhichId< SwLuminanceGrf > RES_GRFATR_LUMINANCE(136)
constexpr TypedWhichId< SfxBoolItem > RES_PARATR_LIST_ISRESTART(84)
constexpr TypedWhichId< SwFormatLayoutSplit > RES_LAYOUT_SPLIT(113)
std::vector< SvGlobalName > * pGlobalOLEExcludeList
Definition: init.cxx:431
constexpr TypedWhichId< SvxCaseMapItem > RES_CHRATR_CASEMAP(RES_CHRATR_BEGIN)
#define FN_VERT_ORIENT
Definition: cmdid.h:853
void ReleaseDefaults(bool bDelete=false)
constexpr TypedWhichId< SwFormatVertOrient > RES_VERT_ORIENT(102)
static SwAutoCompleteWord * s_pAutoCompleteWords
Definition: doc.hxx:330
salhelper::SingletonRef< SwCalendarWrapper > * s_getCalendarWrapper()
Definition: init.cxx:441
constexpr sal_uInt16 RES_PARATR_BEGIN(RES_TXTATR_END)
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 >)
constexpr sal_uInt16 RES_GRFATR_END(150)
constexpr TypedWhichId< SwFormatHoriOrient > RES_HORI_ORIENT(103)
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 >)
LINESTYLE_NONE
constexpr TypedWhichId< SvxShadowItem > RES_CHRATR_SHADOW(41)
constexpr TypedWhichId< SfxInt16Item > RES_PARATR_LIST_LEVEL(83)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CTL_LANGUAGE(29)
constexpr TypedWhichId< SwFormatDrop > RES_PARATR_DROP(70)
SwBreakIt * g_pBreakIt
Definition: breakit.cxx:33
static bool IsFuzzing()
Footer, for pageformats Client of FrameFormat describing the footer.
Definition: fmthdft.hxx:64
constexpr sal_uInt16 POOLATTR_BEGIN(HINT_BEGIN)
constexpr TypedWhichId< SfxUInt16Item > RES_PARATR_OUTLINELEVEL(79)
constexpr TypedWhichId< SfxBoolItem > RES_RTL_GUTTER(132)
SvxSwAutoFormatFlags & GetSwFlags()
constexpr TypedWhichId< SwFormatRuby > RES_TXTATR_CJK_RUBY(53)
constexpr TypedWhichId< SfxGrabBagItem > RES_PARATR_GRABBAG(81)
constexpr TypedWhichId< SwFormatCharFormat > RES_TXTATR_CHARFMT(52)
constexpr TypedWhichId< SvxCharReliefItem > RES_CHRATR_RELIEF(36)
LanguageType m_nLang
Definition: swcalwrp.hxx:34
constexpr TypedWhichId< SwFormatAutoFormat > RES_TXTATR_AUTOFMT(50)
constexpr TypedWhichId< SwFormatFootnote > RES_TXTATR_FTN(58)
constexpr TypedWhichId< SwFormatWrapInfluenceOnObjPos > RES_WRAP_INFLUENCE_ON_OBJPOS(125)
constexpr TypedWhichId< SwFormatINetFormat > RES_TXTATR_INETFMT(51)
constexpr TypedWhichId< SfxBoolItem > RES_TXTATR_DUMMY2(62)
constexpr TypedWhichId< SvxHyphenZoneItem > RES_PARATR_HYPHENZONE(69)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_WEIGHT(15)
const LanguageTag & GetLanguageTag() const
constexpr TypedWhichId< SvxParaVertAlignItem > RES_PARATR_VERTALIGN(76)
constexpr TypedWhichId< SwChannelBGrf > RES_GRFATR_CHANNELB(140)
constexpr TypedWhichId< SwFormatRowSplit > RES_ROW_SPLIT(122)
constexpr TypedWhichId< SvxRsidItem > RES_PARATR_RSID(80)
static MapMode * s_pMapMode
Definition: viscrs.hxx:74
constexpr TypedWhichId< SwRotationGrf > RES_GRFATR_ROTATION(135)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_FIELD(RES_TXTATR_NOEND_BEGIN)
sal_uInt16 nAutoCmpltWordLen
constexpr TypedWhichId< SfxBoolItem > RES_TXTATR_DUMMY1(61)
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 >)
constexpr TypedWhichId< SfxBoolItem > RES_BACKGROUND_FULL_SIZE(131)
constexpr TypedWhichId< SfxStringItem > RES_FRMATR_STYLE_NAME(127)
constexpr sal_uInt16 RES_PARATR_LIST_END(88)
sal_uInt16 nAutoCmpltListLen
constexpr TypedWhichId< SvxMacroItem > RES_FRMMACRO(108)
constexpr TypedWhichId< SwFormatURL > RES_URL(111)
WhichRangesContainer const aCharFormatSetRange(svl::Items< RES_CHRATR_BEGIN, RES_CHRATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY1(145)
void FinitCore()
Definition: init.cxx:666
SvxAutoCorrect * GetAutoCorrect()
constexpr TypedWhichId< SwCropGrf > RES_GRFATR_CROPGRF(134)
FlyAnchors.
Definition: fmtanchr.hxx:34
#define FN_SET_PROTECT
Definition: cmdid.h:851
static MapMode * s_pPixMap
Definition: fntcache.hxx:117
constexpr TypedWhichId< SvxShadowedItem > RES_CHRATR_SHADOWED(13)
constexpr TypedWhichId< SfxVoidItem > RES_CHRATR_UNUSED1(12)
sal_Int32 loadDefaultCollator(const css::lang::Locale &rLocale, sal_Int32 nOption)
constexpr TypedWhichId< SfxBoolItem > RES_COLLAPSING_BORDERS(124)
WEIGHT_NORMAL
WhichRangesContainer const aBreakSetRange(svl::Items< RES_PAGEDESC, RES_BREAK >)
#define FN_SURROUND
Definition: cmdid.h:852
#define LANGUAGE_DONTKNOW
static CollatorWrapper * pCollator
Definition: init.cxx:438
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY4(148)
constexpr TypedWhichId< SvxLineSpacingItem > RES_PARATR_LINESPACING(RES_PARATR_BEGIN)
constexpr sal_uInt16 RES_BOXATR_BEGIN(RES_GRFATR_END)
Connection (text flow) between two FlyFrames.
Definition: fmtcnct.hxx:31
constexpr sal_uInt16 RES_UNKNOWNATR_END(154)
constexpr TypedWhichId< SvxOverlineItem > RES_CHRATR_OVERLINE(38)
ITALIC_NONE
constexpr TypedWhichId< SvxEmphasisMarkItem > RES_CHRATR_EMPHASIS_MARK(33)
constexpr TypedWhichId< SfxVoidItem > RES_CHRATR_UNUSED2(20)
constexpr TypedWhichId< SwFormatContent > RES_CNTNT(95)
constexpr sal_uInt16 POOLATTR_END(RES_UNKNOWNATR_END)
constexpr TypedWhichId< SvxCharScaleWidthItem > RES_CHRATR_SCALEW(35)
constexpr TypedWhichId< SvxCharHiddenItem > RES_CHRATR_HIDDEN(37)
static SvxSwAutoFormatFlags * s_pAutoFormatFlags
Definition: editsh.hxx:140
constexpr TypedWhichId< SvxRsidItem > RES_CHRATR_RSID(39)
constexpr sal_uInt16 RES_UNKNOWNATR_BEGIN(RES_BOXATR_END)
SwCheckIt * pCheckIt
Definition: init.cxx:435
const LanguageTag & GetAppLanguageTag()
Definition: init.cxx:730
constexpr TypedWhichId< SvxColorItem > RES_CHRATR_COLOR(3)
constexpr TypedWhichId< SvxScriptSpaceItem > RES_PARATR_SCRIPTSPACE(73)
constexpr TypedWhichId< SfxGrabBagItem > RES_FRMATR_GRABBAG(129)
const css::lang::Locale & GetLocale(const LanguageType aLang)
Definition: breakit.hxx:67
constexpr TypedWhichId< SwMirrorGrf > RES_GRFATR_MIRRORGRF(RES_GRFATR_BEGIN)
constexpr TypedWhichId< SvxBrushItem > RES_CHRATR_BACKGROUND(21)
void InitCore()
Definition: init.cxx:447
constexpr TypedWhichId< SwFormatChain > RES_CHAIN(114)
#define FN_TABLE_ROW_SPLIT
Definition: cmdid.h:475
constexpr TypedWhichId< SwTextGridItem > RES_TEXTGRID(115)
#define FN_ATTR_COLUMNS
Definition: cmdid.h:131
constexpr TypedWhichId< SvxOrphansItem > RES_PARATR_ORPHANS(66)
SfxItemInfo aSlotTab[]
Definition: init.cxx:259
constexpr sal_uInt16 RES_CHRATR_BEGIN(HINT_BEGIN)
constexpr TypedWhichId< SvxBrushItem > RES_BACKGROUND(105)
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 >)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CJK_WEIGHT(26)
constexpr TypedWhichId< SvxFormatSplitItem > RES_PARATR_SPLIT(65)
constexpr TypedWhichId< SfxBoolItem > RES_TXTATR_DUMMY3(60)
constexpr TypedWhichId< SwChannelGGrf > RES_GRFATR_CHANNELG(139)
constexpr TypedWhichId< SvxWordLineModeItem > RES_CHRATR_WORDLINEMODE(16)
constexpr TypedWhichId< SwInvertGrf > RES_GRFATR_INVERT(142)
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 >)
constexpr sal_uInt16 RES_GRFATR_BEGIN(RES_FRMATR_END)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CTL_WEIGHT(31)
constexpr TypedWhichId< SvxForbiddenRuleItem > RES_PARATR_FORBIDDEN_RULES(75)
constexpr TypedWhichId< SwFormatNoBalancedColumns > RES_COLUMNBALANCE(119)
#define SVX_TAB_DEFDIST
constexpr TypedWhichId< SwDrawModeGrf > RES_GRFATR_DRAWMODE(144)
LanguageType GetAppLanguage()
Definition: init.cxx:723
constexpr TypedWhichId< SfxBoolItem > RES_PARATR_LIST_ISCOUNTED(86)
constexpr sal_uInt16 RES_PARATR_LIST_BEGIN(RES_PARATR_END)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SwTableBoxFormula > RES_BOXATR_FORMULA(151)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CTL_POSTURE(30)
constexpr sal_uInt16 RES_PARATR_END(82)
constexpr TypedWhichId< SvxColorItem > RES_CHRATR_CHARSETCOLOR(2)
Reference< XComponentContext > getProcessComponentContext()
constexpr TypedWhichId< SwTOXMark > RES_TXTATR_TOXMARK(47)
constexpr TypedWhichId< SvxLRSpaceItem > RES_LR_SPACE(91)
Header, for PageFormats Client of FrameFormat describing the header.
Definition: fmthdft.hxx:33
constexpr TypedWhichId< SwFormatField > RES_TXTATR_INPUTFIELD(55)
constexpr sal_uInt16 RES_CHRATR_END(46)
constexpr TypedWhichId< SvxBoxItem > RES_BOX(106)
Format of a fly content.
Definition: fmtflcnt.hxx:32
#define FN_TXTATR_INET
Definition: cmdid.h:734
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 >)
void loadDefaultCalendar(const css::lang::Locale &rLocale, bool bTimeZoneUTC=true)
constexpr TypedWhichId< SwFormatAutoFormat > RES_PARATR_LIST_AUTOFMT(87)
constexpr TypedWhichId< SwFormatFooter > RES_FOOTER(97)
constexpr TypedWhichId< SwFormatLineNumber > RES_LINENUMBER(116)
std::vector< SfxPoolItem * > SwDfltAttrTab
Definition: hintids.hxx:528
constexpr TypedWhichId< SvxCharRotateItem > RES_CHRATR_ROTATE(32)
static SwBoxAutoFormat * s_pDefaultBoxAutoFormat
Definition: tblafmt.hxx:156
constexpr TypedWhichId< SvxNoHyphenItem > RES_CHRATR_NOHYPHEN(19)
static void Create_(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
Definition: breakit.cxx:35
constexpr TypedWhichId< SwFormatRefMark > RES_TXTATR_REFMARK(RES_TXTATR_WITHEND_BEGIN)
If SwFormatDrop is a Client, it is the CharFormat that describes the font for the DropCaps...
Definition: paratr.hxx:62
STRIKEOUT_NONE
constexpr TypedWhichId< SwFormatFollowTextFlow > RES_FOLLOW_TEXT_FLOW(123)
constexpr TypedWhichId< SwParaConnectBorderItem > RES_PARATR_CONNECT_BORDER(78)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CTL_FONTSIZE(28)
CharClass & GetAppCharClass()
Definition: init.cxx:703
constexpr TypedWhichId< SvxBrushItem > RES_CHRATR_HIGHLIGHT(42)
#define FN_OPAQUE
Definition: cmdid.h:850
CollatorWrapper & GetAppCaseCollator()
Definition: init.cxx:747
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CJK_FONTSIZE(23)
constexpr TypedWhichId< SvxKerningItem > RES_CHRATR_KERNING(9)
static SwBreakIt * Get()
Definition: breakit.cxx:47
constexpr sal_uInt16 RES_FRMATR_BEGIN(RES_PARATR_LIST_END)
constexpr TypedWhichId< SwFormatFootnoteAtTextEnd > RES_FTN_AT_TXTEND(117)
constexpr TypedWhichId< SvxULSpaceItem > RES_UL_SPACE(92)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_POSTURE(11)
constexpr TypedWhichId< SvxAdjustItem > RES_PARATR_ADJUST(64)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CJK_LANGUAGE(24)
#define SW_COLLATOR_IGNORES
Definition: swtypes.hxx:183
constexpr TypedWhichId< SvxShadowItem > RES_SHADOW(107)
constexpr TypedWhichId< SfxStringItem > RES_PARATR_LIST_ID(RES_PARATR_LIST_BEGIN)
constexpr TypedWhichId< SvxWidowsItem > RES_PARATR_WIDOWS(67)
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY2(146)
constexpr TypedWhichId< SvXMLAttrContainerItem > RES_TXTATR_UNKNOWN_CONTAINER(54)
constexpr TypedWhichId< SwFormatAnchor > RES_ANCHOR(104)
#define FN_FORMAT_DROPCAPS
Definition: cmdid.h:319
constexpr TypedWhichId< SfxBoolItem > RES_GRFATR_DUMMY5(149)
CollatorWrapper & GetAppCollator()
Definition: init.cxx:735
WhichRangesContainer const aPgFrameFormatSetRange(svl::Items< RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
static css::lang::Locale convertToLocale(LanguageType nLangID, bool bResolveSystem=true)
constexpr TypedWhichId< SvxContourItem > RES_CHRATR_CONTOUR(4)
constexpr TypedWhichId< SwGammaGrf > RES_GRFATR_GAMMA(141)