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 ()
 
SvtAccessibilityOptionsGetAccessibilityOptions ()
 
SvtCTLOptionsGetCTLOptions ()
 
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)
 
OUString GetRedlineAuthorInfo ()
 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::unique_ptr< 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::unique_ptr< 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 (std::unique_ptr< SfxChildWinFactory >)
 
void RegisterStatusBarControl (const SfxStbCtrlFactory &)
 
virtual void Invalidate (sal_uInt16 nId=0) override
 
FieldUnit GetFieldUnit () const
 
SAL_DLLPRIVATE SfxTbxCtrlFactArr_ImplGetTbxCtrlFactories_Impl () const
 
SAL_DLLPRIVATE SfxStbCtrlFactArr_ImplGetStbCtrlFactories_Impl () const
 
SAL_DLLPRIVATE SfxChildWinFactArr_ImplGetChildWinFactories_Impl () const
 
- Public Member Functions inherited from SfxShell
virtual ~SfxShell () override
 
virtual SfxInterfaceGetInterface () const
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
SfxViewShellGetViewShell () const
 
void CallExec (SfxExecFunc pFunc, SfxRequest &rReq)
 
void CallState (SfxStateFunc pFunc, SfxItemSet &rSet)
 
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)
 
SfxRepeatTargetGetRepeatTarget () const
 
void SetRepeatTarget (SfxRepeatTarget *pTarget)
 
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
 
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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
- Public Member Functions inherited from utl::ConfigurationListener
virtual ~ConfigurationListener ()
 

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
 
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 75 of file swmodule.hxx.

Constructor & Destructor Documentation

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

Definition at line 152 of file swmodule.cxx.

SwModule::~SwModule ( )
overridevirtual

Member Function Documentation

void SwModule::ApplyDefaultPageMode ( bool  bIsSquaredPageMode)

Definition at line 673 of file swmodul1.cxx.

References GetUsrPref(), and m_pUsrPref.

Referenced by SwLoadOptPage::FillItemSet().

void SwModule::ApplyFieldUpdateFlags ( SwFieldUpdateFlags  eFieldFlags)

Definition at line 636 of file swmodul1.cxx.

References GetUsrPref(), and m_pUsrPref.

Referenced by SwLoadOptPage::FillItemSet().

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

Reimplemented from SfxShell.

Definition at line 226 of file appopt.cxx.

References SwFEShell::AlignAllFormulasToBaseline(), ApplyUsrPref(), SwDocDisplayItem::bManualBreak, SwDocDisplayItem::bParagraphEnd, SwDocDisplayItem::bSpace, SwDocDisplayItem::bTab, SwView::ChangeTabMetric(), SwView::ChangeVRulerMetric(), convertTwipToMm100(), SfxViewFrame::Current(), DestText, DestWeb, SwDocDisplayItem::FillViewOptions(), SwElemItem::FillViewOptions(), FN_HSCROLL_METRIC, FN_PARAM_ADDPRINTER, FN_PARAM_CRSR_IN_PROTECTED, FN_PARAM_DOCDISP, FN_PARAM_ELEM, FN_PARAM_SHADOWCURSOR, FN_SHADOWCURSOR, FN_VIEW_GRAPHIC, FN_VIEW_HIDDEN_PARA, FN_VIEW_META_CHARS, FN_VSCROLL_METRIC, SfxItemSet::Get(), IDocumentSettingAccess::get(), SfxViewFrame::GetBindings(), SvxBrushItem::GetColor(), SwViewOption::GetDivisionX(), SwViewOption::GetDivisionY(), SwViewShell::GetDoc(), SvxOptionsGrid::GetFieldDivisionX(), SvxOptionsGrid::GetFieldDivisionY(), SvxOptionsGrid::GetFieldDrawX(), SvxOptionsGrid::GetFieldDrawY(), SvxOptionsGrid::GetGridVisible(), SwDoc::getIDocumentSettingAccess(), SfxItemSet::GetItemState(), GetPrtOptions(), SwViewOption::GetSnapSize(), SvxOptionsGrid::GetSynchronize(), SvxOptionsGrid::GetUseGridSnap(), GetUsrPref(), SfxBoolItem::GetValue(), GetValue, CntUInt16Item::GetValue(), GetView(), SfxViewShell::GetViewFrame(), SwView::GetWrtShell(), SfxBindings::Invalidate(), SwViewOption::IsBlank(), SwViewOption::IsGridVisible(), SwDoc::IsInReading(), SwViewOption::IsLineBreak(), SwViewOption::IsParagraph(), SwViewOption::IsTab(), SwViewOption::IsViewMetaChars(), m_pUsrPref, m_pWebUsrPref, MakeDefTabs(), MATH_BASELINE_ALIGNMENT, SfxShell::PutItem(), RES_BACKGROUND, RES_PARATR_TABSTOP, 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(), SwMasterUsrPref::SetVScrollMetric(), and SfxGetpApp().

void SwModule::ApplyLinkMode ( sal_Int32  nNewLinkMode)

Definition at line 643 of file swmodul1.cxx.

References GetUsrPref(), and m_pUsrPref.

Referenced by SwLoadOptPage::FillItemSet().

void SwModule::ApplyRulerMetric ( FieldUnit  eMetric,
bool  bHorizontal,
bool  bWeb 
)
void SwModule::ApplyUserCharUnit ( bool  bApplyChar,
bool  bWeb 
)
void SwModule::ApplyUserMetric ( FieldUnit  eMetric,
bool  bWeb 
)
void SwModule::ApplyUsrPref ( const SwViewOption rUsrPref,
SwView pActView,
SvViewOpt  nDest = SvViewOpt::DestView 
)
void SwModule::CallAutomationApplicationEventSinks ( const OUString &  Method,
css::uno::Sequence< css::uno::Any > &  Arguments 
)

Definition at line 436 of file swmodule.cxx.

References mxAutomationApplicationEventsCaller.

Referenced by ~SwModule().

void SwModule::CheckSpellChanges ( bool  bOnlineSpelling,
bool  bIsSpellWrongAgain,
bool  bIsSpellAllAgain,
bool  bSmartTags 
)
static
void SwModule::ConfigurationChanged ( utl::ConfigurationBroadcaster pBrdCst,
ConfigurationHints   
)
overrideprivatevirtual
std::unique_ptr< SfxItemSet > SwModule::CreateItemSet ( sal_uInt16  nId)
overridevirtual

Reimplemented from SfxShell.

Definition at line 76 of file appopt.cxx.

References Any, ASIAN, SfxPoolItem::CloneSetWhich(), COMPLEX, convertMm100ToTwip(), LanguageTag::convertToLanguageType(), SfxViewShell::Current(), SfxViewFrame::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, 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(), and Size::Width().

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

Reimplemented from SfxModule.

Definition at line 394 of file swmodule.cxx.

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

std::unique_ptr< SfxTabPage > SwModule::CreateTabPage ( sal_uInt16  nId,
weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
overridevirtual
void SwModule::ExecOther ( SfxRequest rReq)
SvtAccessibilityOptions & SwModule::GetAccessibilityOptions ( )

Definition at line 1018 of file apphdl.cxx.

References m_pAccessibilityOptions.

SwChapterNumRules * SwModule::GetChapterNumRules ( )

Definition at line 366 of file swmodul1.cxx.

References m_pChapterNumRules.

svtools::ColorConfig & SwModule::GetColorConfig ( )

Definition at line 1007 of file apphdl.cxx.

References SwViewOption::ApplyColorConfigValues(), and m_pColorConfig.

SwCompareMode SwModule::GetCompareMode ( ) const

Definition at line 680 of file swmodul1.cxx.

References m_pModuleConfig.

SvtCTLOptions & SwModule::GetCTLOptions ( )

Definition at line 1028 of file apphdl.cxx.

References m_pCTLOptions.

SwDBConfig * SwModule::GetDBConfig ( )

Definition at line 1000 of file apphdl.cxx.

References m_pDBConfig.

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

Definition at line 546 of file swmodul1.cxx.

References lcl_FillAuthorAttr(), and m_pModuleConfig.

OUString const & SwModule::GetDocStatWordDelim ( ) const

Definition at line 597 of file swmodul1.cxx.

References m_pModuleConfig.

SwFieldUpdateFlags SwModule::GetFieldUpdateFlags ( ) const

Definition at line 629 of file swmodul1.cxx.

References GetUsrPref(), and m_pUsrPref.

SwView * SwModule::GetFirstView ( )
static
void SwModule::GetFormatAuthorAttr ( std::size_t  nAuthor,
SfxItemSet rSet 
)

Definition at line 552 of file swmodul1.cxx.

References lcl_FillAuthorAttr(), and m_pModuleConfig.

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

Definition at line 541 of file swmodul1.cxx.

References lcl_FillAuthorAttr(), and m_pModuleConfig.

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

Definition at line 210 of file swmodule.cxx.

References comphelper::getProcessComponentContext(), and m_xLanguageGuesser.

sal_uInt16 SwModule::GetLinkUpdMode ( ) const

Definition at line 622 of file swmodul1.cxx.

References GetUsrPref(), and m_pUsrPref.

FieldUnit SwModule::GetMetric ( bool  bWeb) const

Definition at line 603 of file swmodul1.cxx.

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

SwModuleOptions* SwModule::GetModuleConfig ( )
inline

Definition at line 170 of file swmodule.hxx.

SwNavigationConfig * SwModule::GetNavigationConfig ( )

Definition at line 343 of file swmodul1.cxx.

References m_pNavigationConfig.

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

Definition at line 695 of file swmodul1.cxx.

References m_pModuleConfig.

SwPrintOptions * SwModule::GetPrtOptions ( bool  bWeb)

Definition at line 352 of file swmodul1.cxx.

References m_pPrintOptions, and m_pWebPrintOptions.

Referenced by ApplyItemSet(), and CreateItemSet().

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

Definition at line 421 of file swmodul1.cxx.

References InsertRedlineAuthor(), and m_pAuthorNames.

OUString SwModule::GetRedlineAuthorInfo ( )
const Color & SwModule::GetRedlineMarkColor ( ) const

Definition at line 587 of file swmodul1.cxx.

References m_pModuleConfig.

sal_uInt16 SwModule::GetRedlineMarkPos ( ) const

Definition at line 557 of file swmodul1.cxx.

References m_pModuleConfig.

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

Definition at line 201 of file swmodule.cxx.

References comphelper::getProcessComponentContext(), and m_xScannerManager.

SwStdFontConfig* SwModule::GetStdFontConfig ( )
inline

Definition at line 173 of file swmodule.hxx.

Referenced by CreateItemSet().

SwToolbarConfigItem* SwModule::GetToolbarConfig ( )
inline

Definition at line 175 of file swmodule.hxx.

SvtUserOptions & SwModule::GetUserOptions ( )

Definition at line 1038 of file apphdl.cxx.

References m_pUserOptions.

Referenced by GetRedlineAuthor().

const SwMasterUsrPref * SwModule::GetUsrPref ( bool  bWeb) const
SwView* SwModule::GetView ( )
inline

Definition at line 147 of file swmodule.hxx.

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

const SwViewOption * SwModule::GetViewOption ( bool  bWeb)

Definition at line 592 of file swmodul1.cxx.

References GetUsrPref().

SwToolbarConfigItem* SwModule::GetWebToolbarConfig ( )
inline

Definition at line 176 of file swmodule.hxx.

void SwModule::InitAttrPool ( )

Definition at line 381 of file swmodule.cxx.

References m_pAttrPool, and SfxShell::SetPool().

void SwModule::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 96 of file apphdl.cxx.

References SFX_OBJECTBAR_APPLICATION.

void SwModule::InsertEnv ( SfxRequest rReq)
private

Definition at line 143 of file appenv.cxx.

References All, SfxFrame::Appear(), SfxRequest::AppendItem(), ATT_FIX_SIZE, ATT_VAR_SIZE, SwFEShell::ChgCurPageDesc(), SwPageDesc::ChgFooterShare(), SwPageDesc::ChgHeaderShare(), SwFEShell::ChgPageDesc(), utl::ConfigItem::Commit(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwEnvDlg(), CRSR_SKIP_CHARS, SfxObjectShell::Current(), SwWrtShell::DelRight(), ScopedVclPtr< 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(), FN_ENVELOP, SfxItemSet::Get(), SfxRequest::GetArg(), SwViewShell::GetAttrPool(), SwFlyFrameAttrMgr::GetAttrSet(), SfxViewFrame::GetBindings(), SwFEShell::GetCurPageDesc(), SwEditShell::GetDBData(), SfxViewFrame::GetFrame(), GetFrameWeld(), SwViewShell::getIDocumentDeviceAccess(), SwEnvCfgItem::GetItem(), IDocumentDeviceAccess::getJobsetup(), SwPageDesc::GetMaster(), SwFormat::GetName(), SwPageDesc::GetName(), SfxAbstractDialog::GetOutputItemSet(), 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, nPos, PAPER_A4, OutputDevice::PixelToLogic(), SfxItemSet::Put(), RES_BOX, RES_LR_SPACE, RES_PAPER_BIN, RES_POOLCOLL_JAKETADRESS, RES_POOLCOLL_SENDADRESS, RES_POOLPAGE_JAKET, RES_UL_SPACE, SwWrtShell::Right(), SET_CURR_SHELL, 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(), and Size::Width().

Referenced by ExecOther().

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

Definition at line 151 of file applab.cxx.

References All, SfxFrame::Appear(), ATT_FIX_SIZE, SwPageDesc::ChgFooterShare(), SwPageDesc::ChgHeaderShare(), SwFEShell::ChgPageDesc(), utl::ConfigItem::Commit(), CONTENT_SECTION, SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwLabDlg(), sfx2::cTokenSeparator, SwCursorShell::DeleteCurrent, SwCursorShell::DeleteStack, SfxViewFrame::DisplayNewDocument(), SfxObjectShell::DoInitNew(), SwEditShell::DoUndo(), SwEditShell::EndAllAction(), SwWrtShell::EndOfSection(), SfxDispatcher::Execute(), FILE_LINK_SECTION, FLYCNTTYPE_ALL, FN_SYNC_LABELS, SfxObjectShell::GetBaseModel(), AbstractSwLabDlg::GetBusinessCardStr(), 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(), SwFEShell::GetPageDesc(), Printer::GetPaperBin(), SfxShell::GetPool(), IDocumentDeviceAccess::getPrinter(), AbstractSwLabDlg::GetPrt(), 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(), RES_LR_SPACE, RES_PAPER_BIN, RES_POOLFRM_LABEL, RES_UL_SPACE, RET_OK, SET_CURR_SHELL, SwPageDesc::SetFollow(), SwFormat::SetFormatAttr(), IDocumentDeviceAccess::setJobsetup(), SwEditShell::SetLabelDoc(), SwPageDesc::SetLandscape(), SvxLRSpaceItem::SetLeft(), SvxULSpaceItem::SetLower(), SwCursorShell::SetMark(), SwEditShell::SetNewDoc(), SvxNumberType::SetNumberingType(), SwPageDesc::SetNumType(), 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().

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

Definition at line 469 of file swmodul1.cxx.

References m_pAuthorNames, and nPos.

Referenced by GetRedlineAuthor(), and SetRedlineAuthor().

bool SwModule::IsEmbeddedLoadSave ( ) const
inline

Definition at line 187 of file swmodule.hxx.

bool SwModule::IsIgnorePieces ( ) const

Definition at line 690 of file swmodul1.cxx.

References m_pModuleConfig.

bool SwModule::IsInsTableAlignNum ( bool  bHTML) const

Definition at line 572 of file swmodul1.cxx.

References m_pModuleConfig.

bool SwModule::IsInsTableChangeNumFormat ( bool  bHTML) const

Definition at line 567 of file swmodul1.cxx.

References m_pModuleConfig.

bool SwModule::IsInsTableFormatNum ( bool  bHTML) const

Definition at line 562 of file swmodul1.cxx.

References m_pModuleConfig.

Referenced by StateOther().

bool SwModule::IsSplitVerticalByDefault ( bool  bHTML) const

Definition at line 577 of file swmodul1.cxx.

References m_pModuleConfig.

bool SwModule::IsUseRsid ( ) const

Definition at line 685 of file swmodul1.cxx.

References m_pModuleConfig.

void SwModule::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual
void SwModule::RegisterAutomationApplicationEventsCaller ( css::uno::Reference< ooo::vba::XSinkCaller > const &  xCaller)

Definition at line 431 of file swmodule.cxx.

References mxAutomationApplicationEventsCaller.

void SwModule::RemoveAttrPool ( )

Definition at line 388 of file swmodule.cxx.

References SfxItemPool::Free(), m_pAttrPool, and SfxShell::SetPool().

void SwModule::SetEmbeddedLoadSave ( bool  bFlag)
inline

Definition at line 188 of file swmodule.hxx.

void SwModule::SetRedlineAuthor ( const OUString &  rAuthor)

Definition at line 414 of file swmodul1.cxx.

References InsertRedlineAuthor(), m_bAuthorInitialised, and m_sActAuthor.

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

Definition at line 582 of file swmodul1.cxx.

References m_pModuleConfig.

void SwModule::SetView ( SwView pVw)
inline

Definition at line 146 of file swmodule.hxx.

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

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

Member Data Documentation

bool SwModule::m_bAuthorInitialised
private

Definition at line 113 of file swmodule.hxx.

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

bool SwModule::m_bEmbeddedLoadSave
private

Definition at line 114 of file swmodule.hxx.

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

Definition at line 92 of file swmodule.hxx.

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

SwAttrPool* SwModule::m_pAttrPool
private

Definition at line 98 of file swmodule.hxx.

Referenced by InitAttrPool(), and RemoveAttrPool().

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

Definition at line 106 of file swmodule.hxx.

Referenced by GetRedlineAuthor(), GetRedlineAuthorInfo(), and InsertRedlineAuthor().

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

Definition at line 85 of file swmodule.hxx.

Referenced by GetChapterNumRules(), and Notify().

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

Definition at line 91 of file swmodule.hxx.

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

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

Definition at line 93 of file swmodule.hxx.

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

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

Definition at line 90 of file swmodule.hxx.

Referenced by GetDBConfig(), and Notify().

SwTransferable* SwModule::m_pDragDrop
std::unique_ptr<SfxErrorHandler> SwModule::m_pErrorHandler
private

Definition at line 96 of file swmodule.hxx.

Referenced by ~SwModule().

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

Definition at line 87 of file swmodule.hxx.

Referenced by GetNavigationConfig(), and Notify().

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

Definition at line 83 of file swmodule.hxx.

Referenced by GetPrtOptions(), and Notify().

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

Definition at line 86 of file swmodule.hxx.

Referenced by Notify().

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

Definition at line 88 of file swmodule.hxx.

Referenced by Notify().

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

Definition at line 94 of file swmodule.hxx.

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

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

Definition at line 103 of file swmodule.hxx.

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

Definition at line 84 of file swmodule.hxx.

Referenced by GetPrtOptions(), and Notify().

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

Definition at line 89 of file swmodule.hxx.

Referenced by Notify().

std::unique_ptr<SwMasterUsrPref, o3tl::default_delete<SwMasterUsrPref> > SwModule::m_pWebUsrPref
private
SwTransferable * SwModule::m_pXSelection
OUString SwModule::m_sActAuthor
private

Definition at line 77 of file swmodule.hxx.

Referenced by GetRedlineAuthor(), and SetRedlineAuthor().

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

Definition at line 111 of file swmodule.hxx.

Referenced by GetLanguageGuesser().

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

Definition at line 109 of file swmodule.hxx.

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

Definition at line 110 of file swmodule.hxx.

Referenced by GetScannerManager().

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

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