LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwModule Class Referencefinal

#include <swmodule.hxx>

Inheritance diagram for SwModule:
[legend]
Collaboration diagram for SwModule:
[legend]

Public Member Functions

 SwModule (SfxObjectFactory *pFact, SfxObjectFactory *pWebFact, SfxObjectFactory *pGlobalFact)
 
virtual ~SwModule () override
 
void SetView (SwView *pVw)
 
SwViewGetView ()
 
void StateOther (SfxItemSet &)
 
void ExecOther (SfxRequest &)
 
const SwMasterUsrPrefGetUsrPref (bool bWeb) const
 
const SwViewOptionGetViewOption (bool bWeb)
 
void ApplyUsrPref (const SwViewOption &, SwView *, SvViewOpt nDest=SvViewOpt::DestView)
 
void ApplyUserMetric (FieldUnit eMetric, bool bWeb)
 
void ApplyRulerMetric (FieldUnit eMetric, bool bHorizontal, bool bWeb)
 
void ApplyFieldUpdateFlags (SwFieldUpdateFlags eFieldFlags)
 
void ApplyLinkMode (sal_Int32 nNewLinkMode)
 
void ApplyDefaultPageMode (bool bIsSquaredPageMode)
 
void ApplyUserCharUnit (bool bApplyChar, bool bWeb)
 
SwModuleOptionsGetModuleConfig ()
 
SwPrintOptionsGetPrtOptions (bool bWeb)
 
SwChapterNumRulesGetChapterNumRules ()
 
SwStdFontConfigGetStdFontConfig ()
 
SwNavigationConfigGetNavigationConfig ()
 
SwToolbarConfigItemGetToolbarConfig ()
 
SwToolbarConfigItemGetWebToolbarConfig ()
 
SwDBConfigGetDBConfig ()
 
svtools::ColorConfigGetColorConfig ()
 
SvtUserOptionsGetUserOptions ()
 
bool IsEmbeddedLoadSave () const
 
void SetEmbeddedLoadSave (bool bFlag)
 
bool IsInsTableFormatNum (bool bHTML) const
 
bool IsInsTableChangeNumFormat (bool bHTML) const
 
bool IsInsTableAlignNum (bool bHTML) const
 
bool IsSplitVerticalByDefault (bool bHTML) const
 
void SetSplitVerticalByDefault (bool bHTML, bool value)
 
std::size_t GetRedlineAuthor ()
 
OUString const & GetRedlineAuthor (std::size_t nPos)
 
void ClearRedlineAuthors ()
 
void GetRedlineAuthorInfo (tools::JsonWriter &rJsonWriter)
 See SwXTextDocument::getTrackedChangeAuthors(). More...
 
std::size_t InsertRedlineAuthor (const OUString &rAuthor)
 
void SetRedlineAuthor (const OUString &rAuthor)
 
void GetInsertAuthorAttr (std::size_t nAuthor, SfxItemSet &rSet)
 
void GetDeletedAuthorAttr (std::size_t nAuthor, SfxItemSet &rSet)
 
void GetFormatAuthorAttr (std::size_t nAuthor, SfxItemSet &rSet)
 
sal_uInt16 GetRedlineMarkPos () const
 
const ColorGetRedlineMarkColor () const
 
SwCompareMode GetCompareMode () const
 
bool IsUseRsid () const
 
bool IsIgnorePieces () const
 
sal_uInt16 GetPieceLen () const
 
OUString const & GetDocStatWordDelim () const
 
FieldUnit GetMetric (bool bWeb) const
 
sal_uInt16 GetLinkUpdMode () const
 
SwFieldUpdateFlags GetFieldUpdateFlags () const
 
virtual std::optional< SfxItemSetCreateItemSet (sal_uInt16 nId) override
 
virtual void ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) override
 
virtual std::unique_ptr< SfxTabPageCreateTabPage (sal_uInt16 nId, weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) override
 
virtual std::optional< SfxStyleFamiliesCreateStyleFamilies () override
 
void InitAttrPool ()
 
void RemoveAttrPool ()
 
css::uno::Reference< css::scanner::XScannerManager2 > const & GetScannerManager ()
 
css::uno::Reference< css::linguistic2::XLanguageGuessing > const & GetLanguageGuesser ()
 
void RegisterAutomationApplicationEventsCaller (css::uno::Reference< ooo::vba::XSinkCaller > const &xCaller)
 
void CallAutomationApplicationEventSinks (const OUString &Method, css::uno::Sequence< css::uno::Any > &Arguments)
 
- Public Member Functions inherited from SfxModule
 SfxModule (const OString &rResName, std::initializer_list< SfxObjectFactory * > pFactoryList)
 
virtual ~SfxModule () override
 
std::locale GetResLocale () const
 
SfxSlotPoolGetSlotPool () const
 
void RegisterToolBoxControl (const SfxTbxCtrlFactory &)
 
void RegisterChildWindow (const SfxChildWinFactory &)
 
void RegisterStatusBarControl (const SfxStbCtrlFactory &)
 
virtual std::unique_ptr< SfxTabPageCreateTabPage (sal_uInt16 nId, weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual void Invalidate (sal_uInt16 nId=0) override
 
virtual std::optional< SfxStyleFamiliesCreateStyleFamilies ()
 
FieldUnit GetFieldUnit () const
 
SAL_DLLPRIVATE SfxTbxCtrlFactoryGetTbxCtrlFactory (const std::type_info &rSlotType, sal_uInt16 nSlotID) const
 
SAL_DLLPRIVATE SfxStbCtrlFactoryGetStbCtrlFactory (const std::type_info &rSlotType, sal_uInt16 nSlotID) const
 
SAL_DLLPRIVATE SfxChildWinFactoryGetChildWinFactoryById (sal_uInt16 nId) const
 
- Public Member Functions inherited from SfxShell
virtual ~SfxShell () override
 
virtual SfxInterfaceGetInterface () const
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
SfxViewShellGetViewShell () const
 
const SfxPoolItemGetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr)
 
const SfxPoolItemExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr)
 
void ExecuteSlot (SfxRequest &rReq, bool bAsync)
 
SfxItemPoolGetPool () const
 
void SetPool (SfxItemPool *pNewPool)
 
virtual SfxUndoManagerGetUndoManager ()
 
void SetUndoManager (SfxUndoManager *pNewUndoMgr)
 
SfxRepeatTarget * GetRepeatTarget () const
 
void SetRepeatTarget (SfxRepeatTarget *pTarget)
 
virtual void Invalidate (sal_uInt16 nId=0)
 
virtual bool IsDesignMode () const
 
bool IsActive () const
 
virtual void Activate (bool bMDI)
 
virtual void Deactivate (bool bMDI)
 
SfxDispatcherGetDispatcher () const
 
SfxViewFrameGetFrame () const
 
virtual bool HasUIFeature (SfxShellFeature nFeature) const
 
void UIFeatureChanged ()
 
const SfxPoolItemGetItem (sal_uInt16 nSlotId) const
 
const T * GetItem (TypedWhichId< T > nWhich) const
 
void PutItem (const SfxPoolItem &rItem)
 
void SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs)
 
const css::uno::Sequence< css::embed::VerbDescriptor > & GetVerbs () const
 
void VerbExec (SfxRequest &)
 
SAL_DLLPRIVATE const SfxSlotGetVerbSlot_Impl (sal_uInt16 nId) const
 
virtual SfxObjectShellGetObjectShell ()
 
void SetDisableFlags (SfxDisableFlags nFlags)
 
SfxDisableFlags GetDisableFlags () const
 
virtual std::optional< SfxItemSetCreateItemSet (sal_uInt16 nId)
 
virtual void ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet)
 
void SetContextName (const OUString &rsContextName)
 
void BroadcastContextForActivation (const bool bIsActivated)
 
bool SetContextBroadcasterEnabled (const bool bIsEnabled)
 
SAL_DLLPRIVATE bool CanExecuteSlot_Impl (const SfxSlot &rSlot)
 
virtual bool IsConditionalFastCall (const SfxRequest &rReq)
 
SAL_DLLPRIVATE void DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI)
 
SAL_DLLPRIVATE void DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI)
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 
- Public Member Functions inherited from utl::ConfigurationListener
virtual ~ConfigurationListener ()
 
virtual void ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0
 

Static Public Member Functions

static SwViewGetFirstView ()
 
static SwViewGetNextView (SwView const *)
 
static void ShowDBObj (SwView const &rView, const SwDBData &rData)
 
static void CheckSpellChanges (bool bOnlineSpelling, bool bIsSpellWrongAgain, bool bIsSpellAllAgain, bool bSmartTags)
 
- Static Public Member Functions inherited from SfxModule
static SfxModuleGetActiveModule (SfxViewFrame *pFrame=nullptr)
 
static FieldUnit GetCurrentFieldUnit ()
 
static FieldUnit GetModuleFieldUnit (css::uno::Reference< css::frame::XFrame > const &i_frame)
 
- Static Public Member Functions inherited from SfxShell
static SfxInterfaceGetStaticInterface ()
 
static void EmptyExecStub (SfxShell *pShell, SfxRequest &)
 
static void EmptyStateStub (SfxShell *pShell, SfxItemSet &)
 
static void VerbState (SfxItemSet &)
 

Public Attributes

SwTransferablem_pDragDrop
 
SwTransferablem_pXSelection
 

Private Member Functions

virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void ConfigurationChanged (utl::ConfigurationBroadcaster *, ConfigurationHints) override
 
void InsertEnv (SfxRequest &)
 
void InsertLab (SfxRequest &, bool bLabel)
 

Static Private Member Functions

static void InitInterface_Impl ()
 SfxInterface initializer. More...
 

Private Attributes

OUString m_sActAuthor
 
std::unique_ptr< SwModuleOptions, o3tl::default_delete< SwModuleOptions > > m_pModuleConfig
 
std::unique_ptr< SwMasterUsrPref, o3tl::default_delete< SwMasterUsrPref > > m_pUsrPref
 
std::unique_ptr< SwMasterUsrPref, o3tl::default_delete< SwMasterUsrPref > > m_pWebUsrPref
 
std::unique_ptr< SwPrintOptionsm_pPrintOptions
 
std::unique_ptr< SwPrintOptionsm_pWebPrintOptions
 
std::unique_ptr< SwChapterNumRulesm_pChapterNumRules
 
std::unique_ptr< SwStdFontConfigm_pStdFontConfig
 
std::unique_ptr< SwNavigationConfigm_pNavigationConfig
 
std::unique_ptr< SwToolbarConfigItemm_pToolbarConfig
 
std::unique_ptr< SwToolbarConfigItemm_pWebToolbarConfig
 
std::unique_ptr< SwDBConfigm_pDBConfig
 
std::unique_ptr< svtools::ColorConfigm_pColorConfig
 
std::unique_ptr< SvtAccessibilityOptionsm_pAccessibilityOptions
 
std::unique_ptr< SvtCTLOptionsm_pCTLOptions
 
std::unique_ptr< SvtUserOptionsm_pUserOptions
 
std::unique_ptr< SfxErrorHandlerm_pErrorHandler
 
rtl::Reference< SwAttrPoolm_pAttrPool
 
SwViewm_pView
 
std::vector< OUString > m_pAuthorNames
 
css::uno::Reference< css::linguistic2::XLinguServiceEventListener > m_xLinguServiceEventListener
 
css::uno::Reference< css::scanner::XScannerManager2 > m_xScannerManager
 
css::uno::Reference< css::linguistic2::XLanguageGuessing > m_xLanguageGuesser
 
bool m_bAuthorInitialised: 1
 
bool m_bEmbeddedLoadSave: 1
 
css::uno::Reference< ooo::vba::XSinkCaller > mxAutomationApplicationEventsCaller
 

Additional Inherited Members

- Protected Member Functions inherited from SfxShell
 SfxShell ()
 
 SfxShell (SfxViewShell *pViewSh)
 
void SetViewShell_Impl (SfxViewShell *pView)
 
SAL_DLLPRIVATE void Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId)
 
- Static Protected Member Functions inherited from SfxShell
static void HandleOpenXmlFilterSettings (SfxRequest &)
 

Detailed Description

Definition at line 74 of file swmodule.hxx.

Constructor & Destructor Documentation

◆ SwModule()

SwModule::SwModule ( SfxObjectFactory pFact,
SfxObjectFactory pWebFact,
SfxObjectFactory pGlobalFact 
)

Definition at line 128 of file swmodule.cxx.

◆ ~SwModule()

SwModule::~SwModule ( )
overridevirtual

Member Function Documentation

◆ ApplyDefaultPageMode()

void SwModule::ApplyDefaultPageMode ( bool  bIsSquaredPageMode)

Definition at line 665 of file swmodul1.cxx.

References GetUsrPref(), and m_pUsrPref.

Referenced by SwLoadOptPage::FillItemSet().

◆ ApplyFieldUpdateFlags()

void SwModule::ApplyFieldUpdateFlags ( SwFieldUpdateFlags  eFieldFlags)

Definition at line 626 of file swmodul1.cxx.

References GetUsrPref(), and m_pUsrPref.

Referenced by SwLoadOptPage::FillItemSet().

◆ ApplyItemSet()

void SwModule::ApplyItemSet ( sal_uInt16  nId,
const SfxItemSet rSet 
)
overridevirtual

Reimplemented from SfxShell.

Definition at line 214 of file appopt.cxx.

References SwFEShell::AlignAllFormulasToBaseline(), ApplyUsrPref(), SwView::ChangeTabMetric(), SwView::ChangeVRulerMetric(), convertTwipToMm100(), SfxViewFrame::Current(), DestText, DestWeb, FN_HSCROLL_METRIC, FN_PARAM_ADDPRINTER, FN_PARAM_CRSR_IN_PROTECTED, FN_PARAM_DOCDISP, FN_PARAM_ELEM, FN_PARAM_SHADOWCURSOR, FN_SHADOWCURSOR, FN_SHOW_OUTLINECONTENTVISIBILITYBUTTON, FN_VIEW_GRAPHIC, FN_VIEW_HIDDEN_PARA, FN_VIEW_META_CHARS, FN_VSCROLL_METRIC, IDocumentSettingAccess::get(), SfxItemSet::Get(), GetActiveWrtShell(), SfxViewFrame::GetBindings(), SvxBrushItem::GetColor(), SwViewOption::GetDivisionX(), SwViewOption::GetDivisionY(), SwViewShell::GetDoc(), SwDoc::getIDocumentSettingAccess(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), GetPrtOptions(), SwViewOption::GetSnapSize(), GetUsrPref(), GetView(), SfxViewShell::GetViewFrame(), SwView::GetWrtShell(), SfxBindings::Invalidate(), SwViewOption::IsBlank(), SwViewOption::IsGridVisible(), SwDoc::IsInReading(), SwViewOption::IsLineBreak(), SwViewOption::IsParagraph(), SwViewOption::IsShowBookmarks(), SwViewOption::IsShowOutlineContentVisibilityButton(), SwViewOption::IsTab(), SwViewOption::IsTreatSubOutlineLevelsAsContent(), SwViewOption::IsViewMetaChars(), m_pUsrPref, m_pWebUsrPref, MakeDefTabs(), MATH_BASELINE_ALIGNMENT, nId, SfxShell::PutItem(), RES_BACKGROUND(), RES_PARATR_TABSTOP(), rSet, SwMasterUsrPref::SetAlignMathObjectsToBaseline(), SetApplyCharUnit(), SwViewOption::SetCursorInProtectedArea(), SwEditShell::SetDefault(), SwMasterUsrPref::SetDefTabInMm100(), SetDfltMetric(), SwViewOption::SetDivisionX(), SwViewOption::SetDivisionY(), SwViewOption::SetGridVisible(), SwMasterUsrPref::SetHScrollMetric(), SfxApplication::SetOptions(), SwViewOption::SetRetoucheColor(), SwViewOption::SetSnap(), SwViewOption::SetSnapSize(), SwViewOption::SetSynchronize(), SwViewOption::SetViewMetaChars(), and SwMasterUsrPref::SetVScrollMetric().

◆ ApplyLinkMode()

void SwModule::ApplyLinkMode ( sal_Int32  nNewLinkMode)

Definition at line 634 of file swmodul1.cxx.

References GetUsrPref(), and m_pUsrPref.

Referenced by SwLoadOptPage::FillItemSet().

◆ ApplyRulerMetric()

void SwModule::ApplyRulerMetric ( FieldUnit  eMetric,
bool  bHorizontal,
bool  bWeb 
)

◆ ApplyUserCharUnit()

void SwModule::ApplyUserCharUnit ( bool  bApplyChar,
bool  bWeb 
)

◆ ApplyUserMetric()

void SwModule::ApplyUserMetric ( FieldUnit  eMetric,
bool  bWeb 
)

◆ ApplyUsrPref()

void SwModule::ApplyUsrPref ( const SwViewOption rUsrPref,
SwView pActView,
SvViewOpt  nDest = SvViewOpt::DestView 
)

◆ CallAutomationApplicationEventSinks()

void SwModule::CallAutomationApplicationEventSinks ( const OUString &  Method,
css::uno::Sequence< css::uno::Any > &  Arguments 
)

Definition at line 395 of file swmodule.cxx.

References Method, and mxAutomationApplicationEventsCaller.

Referenced by ~SwModule().

◆ CheckSpellChanges()

void SwModule::CheckSpellChanges ( bool  bOnlineSpelling,
bool  bIsSpellWrongAgain,
bool  bIsSpellAllAgain,
bool  bSmartTags 
)
static

◆ ClearRedlineAuthors()

void SwModule::ClearRedlineAuthors ( )

Definition at line 426 of file swmodul1.cxx.

References m_pAuthorNames.

◆ ConfigurationChanged()

void SwModule::ConfigurationChanged ( utl::ConfigurationBroadcaster pBrdCst,
ConfigurationHints   
)
overrideprivatevirtual

◆ CreateItemSet()

std::optional< SfxItemSet > SwModule::CreateItemSet ( sal_uInt16  nId)
overridevirtual

Reimplemented from SfxShell.

Definition at line 64 of file appopt.cxx.

References Any, ASIAN, SfxPoolItem::CloneSetWhich(), COMPLEX, LanguageTag::convertToLanguageType(), SfxViewFrame::Current(), SfxViewShell::Current(), FN_HSCROLL_METRIC, FN_PARAM_ADDPRINTER, FN_PARAM_CRSR_IN_PROTECTED, FN_PARAM_DOCDISP, FN_PARAM_ELEM, FN_PARAM_PRINTER, FN_PARAM_SHADOWCURSOR, FN_PARAM_STDFONTS, FN_PARAM_WRTSHELL, FN_VSCROLL_METRIC, SwEditShell::GetDefault(), SwMasterUsrPref::GetDefTabInMm100(), SwViewOption::GetDivisionX(), SwViewOption::GetDivisionY(), SwView::GetHRulerMetric(), SwMasterUsrPref::GetHScrollMetric(), SwViewShell::getIDocumentDeviceAccess(), SwMasterUsrPref::GetMetric(), SfxShell::GetPool(), IDocumentDeviceAccess::getPrinter(), SvtLinguConfig::GetProperty(), GetPrtOptions(), SwViewOption::GetRetoucheColor(), SwViewOption::GetSnapSize(), GetStdFontConfig(), GetTabDist(), GetUsrPref(), GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwView::GetVRulerMetric(), SwMasterUsrPref::GetVScrollMetric(), SwView::GetWrtShell(), Size::Height(), HTMLMODE_ON, SwMasterUsrPref::IsApplyCharUnit(), SwViewOption::IsCursorInProtectedArea(), SwViewOption::IsGridVisible(), SwViewOption::IsSnap(), SwViewOption::IsSynchronize(), LATIN, m_pUsrPref, m_pWebUsrPref, o3tl::mm100, nId, nLang, RES_BACKGROUND(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_LANGUAGE(), RES_PARATR_TABSTOP(), MsLangId::resolveSystemLanguageByScriptType(), SvxOptionsGrid::SetFieldDivisionX(), SvxOptionsGrid::SetFieldDivisionY(), SvxOptionsGrid::SetFieldDrawX(), SvxOptionsGrid::SetFieldDrawY(), SvxOptionsGrid::SetGridVisible(), SvxOptionsGrid::SetSynchronize(), SvxOptionsGrid::SetUseGridSnap(), o3tl::toTwips(), u, Size::Width(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().

◆ CreateStyleFamilies()

std::optional< SfxStyleFamilies > SwModule::CreateStyleFamilies ( )
overridevirtual

Reimplemented from SfxModule.

Definition at line 353 of file swmodule.cxx.

References SfxModule::GetResLocale(), and SwResId().

◆ CreateTabPage()

std::unique_ptr< SfxTabPage > SwModule::CreateTabPage ( sal_uInt16  nId,
weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
overridevirtual

◆ ExecOther()

void SwModule::ExecOther ( SfxRequest rReq)

◆ GetChapterNumRules()

SwChapterNumRules * SwModule::GetChapterNumRules ( )

Definition at line 360 of file swmodul1.cxx.

References m_pChapterNumRules.

◆ GetColorConfig()

svtools::ColorConfig & SwModule::GetColorConfig ( )

Definition at line 1055 of file apphdl.cxx.

References m_pColorConfig, and SwViewOption::SetInitialColorConfig().

◆ GetCompareMode()

SwCompareMode SwModule::GetCompareMode ( ) const

Definition at line 673 of file swmodul1.cxx.

References m_pModuleConfig.

◆ GetDBConfig()

SwDBConfig * SwModule::GetDBConfig ( )

Definition at line 1048 of file apphdl.cxx.

References m_pDBConfig.

◆ GetDeletedAuthorAttr()

void SwModule::GetDeletedAuthorAttr ( std::size_t  nAuthor,
SfxItemSet rSet 
)

Definition at line 533 of file swmodul1.cxx.

References lcl_FillAuthorAttr(), m_pModuleConfig, and rSet.

◆ GetDocStatWordDelim()

OUString const & SwModule::GetDocStatWordDelim ( ) const

Definition at line 584 of file swmodul1.cxx.

References m_pModuleConfig.

◆ GetFieldUpdateFlags()

SwFieldUpdateFlags SwModule::GetFieldUpdateFlags ( ) const

Definition at line 618 of file swmodul1.cxx.

References GetUsrPref(), and m_pUsrPref.

◆ GetFirstView()

SwView * SwModule::GetFirstView ( )
static

◆ GetFormatAuthorAttr()

void SwModule::GetFormatAuthorAttr ( std::size_t  nAuthor,
SfxItemSet rSet 
)

Definition at line 539 of file swmodul1.cxx.

References lcl_FillAuthorAttr(), m_pModuleConfig, and rSet.

◆ GetInsertAuthorAttr()

void SwModule::GetInsertAuthorAttr ( std::size_t  nAuthor,
SfxItemSet rSet 
)

Definition at line 528 of file swmodul1.cxx.

References lcl_FillAuthorAttr(), m_pModuleConfig, and rSet.

◆ GetLanguageGuesser()

uno::Reference< linguistic2::XLanguageGuessing > const & SwModule::GetLanguageGuesser ( )

Definition at line 193 of file swmodule.cxx.

References comphelper::getProcessComponentContext(), and m_xLanguageGuesser.

◆ GetLinkUpdMode()

sal_uInt16 SwModule::GetLinkUpdMode ( ) const

Definition at line 610 of file swmodul1.cxx.

References GetUsrPref(), and m_pUsrPref.

◆ GetMetric()

FieldUnit SwModule::GetMetric ( bool  bWeb) const

Definition at line 590 of file swmodul1.cxx.

References SwMasterUsrPref::GetMetric(), GetUsrPref(), m_pUsrPref, and m_pWebUsrPref.

◆ GetModuleConfig()

SwModuleOptions * SwModule::GetModuleConfig ( )
inline

Definition at line 169 of file swmodule.hxx.

◆ GetNavigationConfig()

SwNavigationConfig * SwModule::GetNavigationConfig ( )

Definition at line 337 of file swmodul1.cxx.

References m_pNavigationConfig.

◆ GetNextView()

SwView * SwModule::GetNextView ( SwView const *  pView)
static

◆ GetPieceLen()

sal_uInt16 SwModule::GetPieceLen ( ) const

Definition at line 688 of file swmodul1.cxx.

References m_pModuleConfig.

◆ GetPrtOptions()

SwPrintOptions * SwModule::GetPrtOptions ( bool  bWeb)

Definition at line 346 of file swmodul1.cxx.

References m_pPrintOptions, and m_pWebPrintOptions.

Referenced by ApplyItemSet(), and CreateItemSet().

◆ GetRedlineAuthor() [1/2]

std::size_t SwModule::GetRedlineAuthor ( )

◆ GetRedlineAuthor() [2/2]

OUString const & SwModule::GetRedlineAuthor ( std::size_t  nPos)

Definition at line 416 of file swmodul1.cxx.

References InsertRedlineAuthor(), m_pAuthorNames, and nPos.

◆ GetRedlineAuthorInfo()

void SwModule::GetRedlineAuthorInfo ( tools::JsonWriter rJsonWriter)

◆ GetRedlineMarkColor()

const Color & SwModule::GetRedlineMarkColor ( ) const

Definition at line 574 of file swmodul1.cxx.

References m_pModuleConfig.

◆ GetRedlineMarkPos()

sal_uInt16 SwModule::GetRedlineMarkPos ( ) const

Definition at line 544 of file swmodul1.cxx.

References m_pModuleConfig.

◆ GetScannerManager()

uno::Reference< scanner::XScannerManager2 > const & SwModule::GetScannerManager ( )

Definition at line 179 of file swmodule.cxx.

References comphelper::getProcessComponentContext(), and m_xScannerManager.

◆ GetStdFontConfig()

SwStdFontConfig * SwModule::GetStdFontConfig ( )
inline

Definition at line 172 of file swmodule.hxx.

Referenced by CreateItemSet().

◆ GetToolbarConfig()

SwToolbarConfigItem * SwModule::GetToolbarConfig ( )
inline

Definition at line 174 of file swmodule.hxx.

◆ GetUserOptions()

SvtUserOptions & SwModule::GetUserOptions ( )

Definition at line 1066 of file apphdl.cxx.

References m_pUserOptions.

Referenced by GetRedlineAuthor().

◆ GetUsrPref()

const SwMasterUsrPref * SwModule::GetUsrPref ( bool  bWeb) const

◆ GetView()

SwView * SwModule::GetView ( )
inline

Definition at line 146 of file swmodule.hxx.

Referenced by ApplyItemSet(), CreateItemSet(), and CreateTabPage().

◆ GetViewOption()

const SwViewOption * SwModule::GetViewOption ( bool  bWeb)

Definition at line 579 of file swmodul1.cxx.

References GetUsrPref().

◆ GetWebToolbarConfig()

SwToolbarConfigItem * SwModule::GetWebToolbarConfig ( )
inline

Definition at line 175 of file swmodule.hxx.

◆ InitAttrPool()

void SwModule::InitAttrPool ( )

Definition at line 340 of file swmodule.cxx.

References m_pAttrPool, and SfxShell::SetPool().

Referenced by SwDLL::SwDLL().

◆ InitInterface_Impl()

void SwModule::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 101 of file apphdl.cxx.

References SFX_OBJECTBAR_APPLICATION.

◆ InsertEnv()

void SwModule::InsertEnv ( SfxRequest rReq)
private

Definition at line 131 of file appenv.cxx.

References All, SfxFrame::Appear(), SfxRequest::AppendItem(), Chars, SwFEShell::ChgCurPageDesc(), SwPageDesc::ChgFooterShare(), SwPageDesc::ChgHeaderShare(), SwFEShell::ChgPageDesc(), utl::ConfigItem::Commit(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwEnvDlg(), SfxObjectShell::Current(), SwWrtShell::DelRight(), ScopedVclPtr< class reference_type >::disposeAndReset(), SfxObjectShell::DoClose(), SfxObjectShell::DoInitNew(), SfxRequest::Done(), SwEditShell::DoUndo(), SwEditShell::EndAllAction(), SwWrtShell::EndPg(), SwEditShell::EndUndo(), SwWrtShell::EnterSelFrameMode(), SwWrtShell::EnterStdMode(), ENV_HOR_CNTR, ENV_HOR_LEFT, ENV_HOR_RGHT, ENV_INSERT, ENV_NEWDOC, ENV_VER_CNTR, ENV_VER_LEFT, ENV_VER_RGHT, ENVELP, SwStyleNameMapper::FillUIName(), SwFEShell::FindPageDescByName(), Fixed, FN_ENVELOP, SfxRequest::GetArg(), SwViewShell::GetAttrPool(), SwFlyFrameAttrMgr::GetAttrSet(), SfxViewFrame::GetBindings(), SwFEShell::GetCurPageDesc(), SwEditShell::GetDBData(), SwPageDesc::GetFollow(), SfxViewFrame::GetFrame(), GetFrameWeld(), SwViewShell::getIDocumentDeviceAccess(), SwEnvCfgItem::GetItem(), IDocumentDeviceAccess::getJobsetup(), SwPageDesc::GetMaster(), SwFormat::GetName(), SwPageDesc::GetName(), SwFEShell::GetPageDesc(), SwEditShell::GetPageDescFromPool(), SwFEShell::GetPageObjs(), SwFormat::GetPaperBin(), SvxPaperInfo::GetPaperSize(), Printer::GetPaperSizePixel(), SfxShell::GetPool(), IDocumentDeviceAccess::getPrinter(), SwEditShell::GetTextCollFromPool(), SfxBoolItem::GetValue(), SwWrtShell::GetView(), SfxShell::GetViewShell(), SwDocShell::GetWrtShell(), SwView::GetWrtShellPtr(), SwWrtShell::GotoFly(), Size::Height(), SfxRequest::Ignore(), SwFlyFrameAttrMgr::InsertFlyFrame(), InsertLabEnvText(), SwWrtShell::InsertPageBreak(), SfxBindings::Invalidate(), SwCursorShell::IsCursorInTable(), lcl_CopyCollAttr(), SwWrtShell::LeaveSelFrameMode(), SfxViewFrame::LoadHiddenDocument(), SwEnvItem::m_aAddrText, SwEnvItem::m_aSendText, SwEnvItem::m_bSend, SwEnvItem::m_eAlign, SwEnvItem::m_nAddrFromLeft, SwEnvItem::m_nAddrFromTop, SwEnvItem::m_nHeight, SwEnvItem::m_nSendFromLeft, SwEnvItem::m_nSendFromTop, SwEnvItem::m_nShiftDown, SwEnvItem::m_nShiftRight, SwEnvItem::m_nWidth, min(), nPos, PAPER_A4, OutputDevice::PixelToLogic(), SfxItemSet::Put(), RES_BOX(), RES_LR_SPACE(), RES_PAPER_BIN(), RES_POOLCOLL_ENVELOPE_ADDRESS, RES_POOLCOLL_SEND_ADDRESS, RES_POOLPAGE_ENVELOPE, RES_UL_SPACE(), SwWrtShell::Right(), SwFEShell::SetFlyName(), SwPageDesc::SetFollow(), SwFormat::SetFormatAttr(), SwFlyFrameAttrMgr::SetHeightSizeType(), IDocumentDeviceAccess::setJobsetup(), SwPageDesc::SetLandscape(), SvxLRSpaceItem::SetLeft(), SvxULSpaceItem::SetLower(), SwFlyFrameAttrMgr::SetLRSpace(), SwEditShell::SetNewDoc(), SvxNumberType::SetNumberingType(), SwPageDesc::SetNumType(), SwFEShell::SetPageObjsNewPage(), SvxLRSpaceItem::SetRight(), SwFEShell::SetTableAttr(), SwEditShell::SetTextFormatColl(), SfxObjectShell::SetTitle(), SwFlyFrameAttrMgr::SetULSpace(), SvxULSpaceItem::SetUpper(), SwPageDesc::SetUseOn(), SetView(), SFX_INTERFACE_NONE, ShowDBObj(), SwWrtShell::SplitNode(), SwEditShell::StartAllAction(), SwEditShell::StartUndo(), SwCursorShell::SttEndDoc(), SwWrtShell::SttNxtPg(), SVX_NUM_NUMBER_NONE, Swap(), SwResId(), UI_INSERT_ENVELOPE, SwWrtShell::UnSelectFrame(), SwFlyFrameAttrMgr::UpdateAttrMgr(), Variable, and Size::Width().

Referenced by ExecOther().

◆ InsertLab()

void SwModule::InsertLab ( SfxRequest rReq,
bool  bLabel 
)
private

Definition at line 135 of file applab.cxx.

References All, SfxFrame::Appear(), SwPageDesc::ChgFooterShare(), SwPageDesc::ChgHeaderShare(), SwFEShell::ChgPageDesc(), utl::ConfigItem::Commit(), Content, SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwLabDlg(), sfx2::cTokenSeparator, SwCursorShell::DeleteCurrent, SwCursorShell::DeleteStack, SfxViewFrame::DisplayNewDocument(), SfxObjectShell::DoInitNew(), SwEditShell::DoUndo(), SwEditShell::EndAllAction(), SwWrtShell::EndOfSection(), SfxDispatcher::Execute(), FileLink, Fixed, FLYCNTTYPE_ALL, FN_SYNC_LABELS, SfxItemSet::Get(), SfxObjectShell::GetBaseModel(), SwFEShell::GetCurPageDesc(), SwEditShell::GetDBData(), SfxViewFrame::GetDispatcher(), SwView::GetDocShell(), SfxViewFrame::GetFrame(), SwEditShell::GetFrameFormatFromPool(), SfxRequest::GetFrameWeld(), SwDocShell::getIDocumentDeviceAccess(), SwViewShell::getIDocumentDeviceAccess(), SwLabCfgItem::GetItem(), Printer::GetJobSetup(), SwPageDesc::GetMaster(), SwFormat::GetName(), GetOutputItemSet(), SwFEShell::GetPageDesc(), Printer::GetPaperBin(), SfxShell::GetPool(), IDocumentDeviceAccess::getPrinter(), SwAbstractDialogFactory::GetSwLabDlgStaticMethod(), SwEditShell::GetUniqueSectionName(), SwFormat::GetVertOrient(), SwWrtShell::GetView(), SfxShell::GetViewShell(), SwView::GetWrtShellPtr(), SwWrtShell::GotoFly(), i, SwWrtShell::Insert(), SwEditShell::InsertSection(), SwEditShell::IsAnyDatabaseFieldInDoc(), lcl_InsertBCText(), lcl_InsertLabText(), SwLabItem::m_aWriting, SwLabItem::m_bPage, SwLabItem::m_bSynchron, SwLabItem::m_lHDist, SwLabItem::m_lHeight, SwLabItem::m_lLeft, SwLabItem::m_lPHeight, SwLabItem::m_lPWidth, SwLabItem::m_lUpper, SwLabItem::m_lVDist, SwLabItem::m_lWidth, SwLabItem::m_nCol, SwLabItem::m_nCols, SwLabItem::m_nRow, SwLabItem::m_nRows, MASTER_LABEL, MINLAY, NULL, SwWrtShell::Pop(), SwCursorShell::Push(), SfxItemSet::Put(), RES_LR_SPACE(), RES_PAPER_BIN(), RES_POOLFRM_LABEL, RES_UL_SPACE(), RET_OK, SwPageDesc::SetFollow(), SwFormat::SetFormatAttr(), IDocumentDeviceAccess::setJobsetup(), SwEditShell::SetLabelDoc(), SwPageDesc::SetLandscape(), SvxLRSpaceItem::SetLeft(), SwSectionData::SetLinkFileName(), SvxULSpaceItem::SetLower(), SwCursorShell::SetMark(), SwEditShell::SetNewDoc(), SvxNumberType::SetNumberingType(), SwPageDesc::SetNumType(), SwSectionData::SetProtectFlag(), SfxRequest::SetReturnValue(), SvxLRSpaceItem::SetRight(), SfxObjectShell::SetTitle(), SvxULSpaceItem::SetUpper(), SwPageDesc::SetUseOn(), SwFormatVertOrient::SetVertOrient(), ShowDBObj(), SwView::ShowUIElement(), SwEditShell::StartAllAction(), SwWrtShell::StartOfSection(), SVX_NUM_NUMBER_NONE, SwResId(), SwFEShell::WizardGetFly(), and xModel.

Referenced by ExecOther().

◆ InsertRedlineAuthor()

std::size_t SwModule::InsertRedlineAuthor ( const OUString &  rAuthor)

Definition at line 456 of file swmodul1.cxx.

References m_pAuthorNames, and nPos.

Referenced by GetRedlineAuthor(), and SetRedlineAuthor().

◆ IsEmbeddedLoadSave()

bool SwModule::IsEmbeddedLoadSave ( ) const
inline

Definition at line 184 of file swmodule.hxx.

◆ IsIgnorePieces()

bool SwModule::IsIgnorePieces ( ) const

Definition at line 683 of file swmodul1.cxx.

References m_pModuleConfig.

◆ IsInsTableAlignNum()

bool SwModule::IsInsTableAlignNum ( bool  bHTML) const

Definition at line 559 of file swmodul1.cxx.

References m_pModuleConfig.

◆ IsInsTableChangeNumFormat()

bool SwModule::IsInsTableChangeNumFormat ( bool  bHTML) const

Definition at line 554 of file swmodul1.cxx.

References m_pModuleConfig.

◆ IsInsTableFormatNum()

bool SwModule::IsInsTableFormatNum ( bool  bHTML) const

Definition at line 549 of file swmodul1.cxx.

References m_pModuleConfig.

Referenced by StateOther().

◆ IsSplitVerticalByDefault()

bool SwModule::IsSplitVerticalByDefault ( bool  bHTML) const

Definition at line 564 of file swmodul1.cxx.

References m_pModuleConfig.

◆ IsUseRsid()

bool SwModule::IsUseRsid ( ) const

Definition at line 678 of file swmodul1.cxx.

References m_pModuleConfig.

◆ Notify()

void SwModule::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual

◆ RegisterAutomationApplicationEventsCaller()

void SwModule::RegisterAutomationApplicationEventsCaller ( css::uno::Reference< ooo::vba::XSinkCaller > const &  xCaller)

Definition at line 390 of file swmodule.cxx.

References mxAutomationApplicationEventsCaller.

◆ RemoveAttrPool()

void SwModule::RemoveAttrPool ( )

Definition at line 347 of file swmodule.cxx.

References m_pAttrPool, and SfxShell::SetPool().

◆ SetEmbeddedLoadSave()

void SwModule::SetEmbeddedLoadSave ( bool  bFlag)
inline

Definition at line 185 of file swmodule.hxx.

◆ SetRedlineAuthor()

void SwModule::SetRedlineAuthor ( const OUString &  rAuthor)

Definition at line 409 of file swmodul1.cxx.

References InsertRedlineAuthor(), m_bAuthorInitialised, and m_sActAuthor.

◆ SetSplitVerticalByDefault()

void SwModule::SetSplitVerticalByDefault ( bool  bHTML,
bool  value 
)

Definition at line 569 of file swmodul1.cxx.

References m_pModuleConfig, and value.

◆ SetView()

void SwModule::SetView ( SwView pVw)
inline

Definition at line 145 of file swmodule.hxx.

Referenced by SwView::Activate(), and InsertEnv().

◆ ShowDBObj()

void SwModule::ShowDBObj ( SwView const &  rView,
const SwDBData rData 
)
static

◆ StateOther()

void SwModule::StateOther ( SfxItemSet rSet)

Member Data Documentation

◆ m_bAuthorInitialised

bool SwModule::m_bAuthorInitialised
private

Definition at line 112 of file swmodule.hxx.

Referenced by ConfigurationChanged(), GetRedlineAuthor(), and SetRedlineAuthor().

◆ m_bEmbeddedLoadSave

bool SwModule::m_bEmbeddedLoadSave
private

Definition at line 113 of file swmodule.hxx.

◆ m_pAccessibilityOptions

std::unique_ptr<SvtAccessibilityOptions> SwModule::m_pAccessibilityOptions
private

Definition at line 91 of file swmodule.hxx.

Referenced by ConfigurationChanged(), and Notify().

◆ m_pAttrPool

rtl::Reference<SwAttrPool> SwModule::m_pAttrPool
private

Definition at line 97 of file swmodule.hxx.

Referenced by InitAttrPool(), and RemoveAttrPool().

◆ m_pAuthorNames

std::vector<OUString> SwModule::m_pAuthorNames
private

◆ m_pChapterNumRules

std::unique_ptr<SwChapterNumRules> SwModule::m_pChapterNumRules
private

Definition at line 84 of file swmodule.hxx.

Referenced by GetChapterNumRules(), and Notify().

◆ m_pColorConfig

std::unique_ptr<svtools::ColorConfig> SwModule::m_pColorConfig
private

Definition at line 90 of file swmodule.hxx.

Referenced by ConfigurationChanged(), GetColorConfig(), and Notify().

◆ m_pCTLOptions

std::unique_ptr<SvtCTLOptions> SwModule::m_pCTLOptions
private

Definition at line 92 of file swmodule.hxx.

Referenced by ConfigurationChanged(), and Notify().

◆ m_pDBConfig

std::unique_ptr<SwDBConfig> SwModule::m_pDBConfig
private

Definition at line 89 of file swmodule.hxx.

Referenced by GetDBConfig(), and Notify().

◆ m_pDragDrop

SwTransferable* SwModule::m_pDragDrop

◆ m_pErrorHandler

std::unique_ptr<SfxErrorHandler> SwModule::m_pErrorHandler
private

Definition at line 95 of file swmodule.hxx.

Referenced by ~SwModule().

◆ m_pModuleConfig

std::unique_ptr<SwModuleOptions, o3tl::default_delete<SwModuleOptions> > SwModule::m_pModuleConfig
private

◆ m_pNavigationConfig

std::unique_ptr<SwNavigationConfig> SwModule::m_pNavigationConfig
private

Definition at line 86 of file swmodule.hxx.

Referenced by GetNavigationConfig(), and Notify().

◆ m_pPrintOptions

std::unique_ptr<SwPrintOptions> SwModule::m_pPrintOptions
private

Definition at line 82 of file swmodule.hxx.

Referenced by GetPrtOptions(), and Notify().

◆ m_pStdFontConfig

std::unique_ptr<SwStdFontConfig> SwModule::m_pStdFontConfig
private

Definition at line 85 of file swmodule.hxx.

Referenced by Notify().

◆ m_pToolbarConfig

std::unique_ptr<SwToolbarConfigItem> SwModule::m_pToolbarConfig
private

Definition at line 87 of file swmodule.hxx.

Referenced by Notify().

◆ m_pUserOptions

std::unique_ptr<SvtUserOptions> SwModule::m_pUserOptions
private

Definition at line 93 of file swmodule.hxx.

Referenced by ConfigurationChanged(), GetUserOptions(), and Notify().

◆ m_pUsrPref

std::unique_ptr<SwMasterUsrPref, o3tl::default_delete<SwMasterUsrPref> > SwModule::m_pUsrPref
private

◆ m_pView

SwView* SwModule::m_pView
private

Definition at line 102 of file swmodule.hxx.

◆ m_pWebPrintOptions

std::unique_ptr<SwPrintOptions> SwModule::m_pWebPrintOptions
private

Definition at line 83 of file swmodule.hxx.

Referenced by GetPrtOptions(), and Notify().

◆ m_pWebToolbarConfig

std::unique_ptr<SwToolbarConfigItem> SwModule::m_pWebToolbarConfig
private

Definition at line 88 of file swmodule.hxx.

Referenced by Notify().

◆ m_pWebUsrPref

std::unique_ptr<SwMasterUsrPref, o3tl::default_delete<SwMasterUsrPref> > SwModule::m_pWebUsrPref
private

◆ m_pXSelection

SwTransferable * SwModule::m_pXSelection

◆ m_sActAuthor

OUString SwModule::m_sActAuthor
private

Definition at line 76 of file swmodule.hxx.

Referenced by GetRedlineAuthor(), and SetRedlineAuthor().

◆ m_xLanguageGuesser

css::uno::Reference< css::linguistic2::XLanguageGuessing > SwModule::m_xLanguageGuesser
private

Definition at line 110 of file swmodule.hxx.

Referenced by GetLanguageGuesser().

◆ m_xLinguServiceEventListener

css::uno::Reference< css::linguistic2::XLinguServiceEventListener > SwModule::m_xLinguServiceEventListener
private

Definition at line 108 of file swmodule.hxx.

◆ m_xScannerManager

css::uno::Reference< css::scanner::XScannerManager2 > SwModule::m_xScannerManager
private

Definition at line 109 of file swmodule.hxx.

Referenced by GetScannerManager().

◆ mxAutomationApplicationEventsCaller

css::uno::Reference< ooo::vba::XSinkCaller > SwModule::mxAutomationApplicationEventsCaller
private

The documentation for this class was generated from the following files: