LibreOffice Module sw (master)
1
|
#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 <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>
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 () |
CharClass & | GetAppCharClass () |
LanguageType | GetAppLanguage () |
const LanguageTag & | GetAppLanguageTag () |
CollatorWrapper & | GetAppCollator () |
CollatorWrapper & | GetAppCaseCollator () |
const ::utl::TransliterationWrapper & | GetAppCmpStrIgnore () |
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 |
SwCheckIt * | pCheckIt = nullptr |
static CharClass * | pAppCharClass = nullptr |
static CollatorWrapper * | pCollator = nullptr |
static CollatorWrapper * | pCaseCollator = nullptr |
SwDfltAttrTab aAttrTab | ( | POOLATTR_END- | POOLATTR_BEGIN, |
nullptr | |||
) |
Referenced by FinitCore(), and InitCore().
void FinitCore | ( | ) |
Definition at line 671 of file init.cxx.
References aAttrTab(), SwBreakIt::Delete_(), sw::proofreadingiterator::dispose(), FrameFinit(), pAppCharClass, pCaseCollator, pCheckIt, pCollator, pGlobalOLEExcludeList, SwFntObj::pPixMap, SfxItemPool::ReleaseDefaults(), SwDoc::s_pAutoCompleteWords, SwEditShell::s_pAutoFormatFlags, SwTableAutoFormat::s_pDefaultBoxAutoFormat, SwSelPaintRects::s_pMapMode, and TextFinit().
Referenced by SwDLL::~SwDLL().
CollatorWrapper& GetAppCaseCollator | ( | ) |
Definition at line 752 of file init.cxx.
References g_pBreakIt, GetAppLanguage(), SwBreakIt::GetLocale(), comphelper::getProcessComponentContext(), CollatorWrapper::loadDefaultCollator(), and pCaseCollator.
Referenced by InsertStringSorted(), and SwSeqFieldList::SeekEntry().
CharClass& GetAppCharClass | ( | ) |
Definition at line 708 of file init.cxx.
References SwBreakIt::Get(), GetAppLanguageTag(), comphelper::getProcessComponentContext(), and pAppCharClass.
Referenced by SwAutoFormat::AutoCorrect(), SwTextBlocks::BeginPutDoc(), SwTextFormatter::BuildPortions(), SwEditShell::Calculate(), SwUndoInsert::CanGrouping(), SwUndoOverwrite::CanGrouping(), SwUndoDelete::CanGrouping(), sw::DocumentLinksAdministrationManager::CreateLinkSource(), SwDBManager::FillCalcWithMergeData(), QuickHelpData::FillStrArr(), SwDoc::FindUsedDBs(), SwHTMLWriter::GetCSS1Selector(), sw::DocumentLinksAdministrationManager::GetData(), SwImpBlocks::GetIndex(), SwTextGuess::Guess(), IMPL_LINK_NOARG(), SwWrtShell::InsertByWord(), SwDocUpdateField::InsertFieldType(), sw::DocumentContentOperationsManager::InsertString(), SwWrtShell::IntelligentCut(), SwScriptInfo::IsArabicText(), SwCursor::IsInWordWT(), SwCalc::IsValidVarName(), SwEditWin::KeyInput(), lcl_isNonDefaultLanguage(), SwFieldRefPage::MatchSubstring(), SwScanner::NextWord(), SwTextBlocks::PutText(), SwDocUpdateField::RemoveFieldType(), SwEditShell::RemoveFieldType(), SwTextBlocks::Rename(), SwDoc::ReplaceUsedDBs(), SwSeqFieldList::SeekEntry(), SwDoc::SelectNextRubyChars(), sw::DocumentLinksAdministrationManager::SelectServerObj(), sw::DocumentLinksAdministrationManager::SetData(), SwUndoRedlineDelete::SwUndoRedlineDelete(), and SwCalc::~SwCalc().
const ::utl::TransliterationWrapper& GetAppCmpStrIgnore | ( | ) |
Definition at line 791 of file init.cxx.
References sw::proofreadingiterator::get().
Referenced by SwDoc::AddUsedDBToList(), SwGlossaryHdl::Expand(), SwGlossaries::FindGroupName(), sw::DocumentFieldsManager::GetFieldType(), SwGlossaryList::HasLongName(), IMPL_LINK_NOARG(), SwDBField::InitContent(), sw::DocumentFieldsManager::InsDeletedFieldType(), sw::DocumentFieldsManager::InsertFieldType(), SwDoc::IsNameInArray(), and SwTransferable::PasteDDE().
CollatorWrapper& GetAppCollator | ( | ) |
Definition at line 740 of file init.cxx.
References g_pBreakIt, GetAppLanguage(), SwBreakIt::GetLocale(), comphelper::getProcessComponentContext(), CollatorWrapper::loadDefaultCollator(), pCollator, and SW_COLLATOR_IGNORES.
Referenced by SwUnoCursorHelper::CreateSortDescriptor(), SwSortDlg::LanguageHdl(), SwInsDBColumn::operator<(), and SwSeqFieldList::SeekEntry().
LanguageType GetAppLanguage | ( | ) |
Definition at line 728 of file init.cxx.
References AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), Application::GetSettings(), utl::ConfigManager::IsFuzzing(), and LANGUAGE_ENGLISH_US.
Referenced by SwAutoCorrDoc::ChgAutoCorrWord(), GetAppCaseCollator(), GetAppCollator(), MSWordExportBase::GetDefaultFrameDirection(), GetDocAppScriptLang(), SwTextNode::GetLang(), SwAutoCorrDoc::GetLanguage(), SwAnnotationShell::GetLinguState(), SwBreakIt::GetRealScriptOfText(), SwEditShell::GetScriptType(), SwDrawTextShell::GetState(), sw::DocumentStylePoolManager::GetTextCollFromPool(), GetWhichOfScript(), IMPL_LINK_NOARG(), SwInsertDBColAutoPilot::ImplCommit(), SwSortElement::Init(), SwDocShell::InitNew(), SwScriptInfo::InitScriptInfo(), SwTextShell::InsertSymbol(), SwDrawTextShell::InsertSymbol(), SwAnnotationShell::InsertSymbol(), lcl_GetLanguageOfFormat(), SwBoxAutoFormat::Load(), SwDoc::MakePageDesc(), NumberingPreview::Paint(), SwScriptInfo::ScriptType(), SwSubFont::SetLanguage(), SwXTextCellStyle::setPropertyValue(), SwView::StartThesaurus(), SwAsciiFilterDlg::SwAsciiFilterDlg(), SwDigitModeModifier::SwDigitModeModifier(), SwEnhancedPDFExportHelper::SwEnhancedPDFExportHelper(), SwPageFootnoteInfo::SwPageFootnoteInfo(), SwSortDlg::SwSortDlg(), SwAutoCorrDoc::TransliterateRTLWord(), SwTableAutoFormat::UpdateFromSet(), and SwHTMLWriter::WriteStream().
const LanguageTag& GetAppLanguageTag | ( | ) |
Definition at line 735 of file init.cxx.
References AllSettings::GetLanguageTag(), and Application::GetSettings().
Referenced by SwXTextSearch::FillSearchOptions(), SwView::FUNC_Search(), GetAppCharClass(), SwTextShell::GetState(), lcl_SelectSameStrings(), and SwSrcView::StartSearchAndReplace().
void InitCore | ( | ) |
Definition at line 454 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 448 of file init.cxx.
Referenced by QuickHelpData::FillStrArr().
sal_uInt16 const aBreakSetRange[] |
Definition at line 141 of file init.cxx.
Referenced by SwTextNode::CopyCollFormat(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw_JoinText(), SwUndoInsSection::SwUndoInsSection(), and SwTOXBaseSection::Update().
sal_uInt16 const aCharAutoFormatSetRange[] |
Definition at line 251 of file init.cxx.
Referenced by SwpHints::BuildPortions(), SwXAutoStyleFamily::insertStyle(), and SwTextNode::SetAttr().
sal_uInt16 const aCharFormatSetRange[] |
Definition at line 244 of file init.cxx.
Referenced by SwTextNode::FormatToTextAttr(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwDontExpandItem::SaveDontExpandItems(), SwAutoCorrDoc::SetAttr(), and sw_JoinText().
sal_uInt16 const aFrameFormatSetRange[] |
Definition at line 233 of file init.cxx.
Referenced by SwFEShell::Copy(), SwFEShell::CopyDrawSel(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwFEShell::InsertDrawObj(), wwSectionManager::InsertSection(), lcl_SetFlyFrameAttr(), SwDocShell::MakeByExample(), SwUndoSetFlyFormat::RedoImpl(), SwFEShell::SetFrameFormat(), SwXFrame::setPropertyValue(), SwTextFrame::SwClientNotify(), SwTextBoxHelper::syncFlyFrameAttr(), and SwDocShell::UpdateStyle().
sal_uInt16 const aGrfFormatCollSetRange[] |
sal_uInt16 const aNoTextNodeSetRange[] |
Definition at line 184 of file init.cxx.
Referenced by SwGrfShell::GetAttrState(), and SwNoTextNode::NewAttrSet().
sal_uInt16 const aPgFrameFormatSetRange[] |
Definition at line 259 of file init.cxx.
Referenced by sw::DocumentStylePoolManager::GetPageDescFromPool().
SfxItemInfo aSlotTab[] |
sal_uInt16 const aTableBoxSetRange[] |
Definition at line 219 of file init.cxx.
Referenced by SaveTable::AddFormat(), lcl_SetAFormatBox(), and SwUndoTableNumFormat::SwUndoTableNumFormat().
sal_uInt16 const aTableLineSetRange[] |
Definition at line 207 of file init.cxx.
Referenced by SaveTable::AddFormat().
sal_uInt16 const aTableSetRange[] |
Definition at line 191 of file init.cxx.
Referenced by SwTableAutoFormat::RestoreTableProperties().
sal_uInt16 const aTextFormatCollSetRange[] |
Definition at line 149 of file init.cxx.
Referenced by SwTextFrame::FillCursorPos(), SwTextShell::GetAttrState(), sw::DocumentStylePoolManager::GetTextCollFromPool(), and SwView::Replace().
sal_uInt16 const aTextNodeSetRange[] |
Definition at line 170 of file init.cxx.
Referenced by SwAutoFormat::BuildEnum(), SwXAutoStyleFamily::insertStyle(), and SwTextNode::NewAttrSet().
|
static |
Definition at line 443 of file init.cxx.
Referenced by FinitCore(), and GetAppCharClass().
|
static |
Definition at line 446 of file init.cxx.
Referenced by FinitCore(), and GetAppCaseCollator().
SwCheckIt* pCheckIt = nullptr |
Definition at line 442 of file init.cxx.
Referenced by FinitCore(), and SwEditWin::FlushInBuffer().
|
static |
Definition at line 445 of file init.cxx.
Referenced by FinitCore(), and GetAppCollator().
std::vector<SvGlobalName>* pGlobalOLEExcludeList = nullptr |
Definition at line 438 of file init.cxx.
Referenced by FinitCore(), InitCore(), and SwDoc::PrtOLENotify().