LibreOffice Module sw (master)
1
|
#include <swmodule.hxx>
Static Public Member Functions | |
static SwView * | GetFirstView () |
static SwView * | GetNextView (SwView const *) |
static void | ShowDBObj (SwView const &rView, const SwDBData &rData) |
static void | CheckSpellChanges (bool bOnlineSpelling, bool bIsSpellWrongAgain, bool bIsSpellAllAgain, bool bSmartTags) |
![]() | |
static SfxModule * | GetActiveModule (SfxViewFrame *pFrame=nullptr) |
static FieldUnit | GetCurrentFieldUnit () |
static FieldUnit | GetModuleFieldUnit (css::uno::Reference< css::frame::XFrame > const &i_frame) |
![]() | |
static SfxInterface * | GetStaticInterface () |
static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
static void | VerbState (SfxItemSet &) |
Public Attributes | |
SwTransferable * | m_pDragDrop |
SwTransferable * | m_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... | |
Additional Inherited Members | |
![]() | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
![]() | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 74 of file swmodule.hxx.
SwModule::SwModule | ( | SfxObjectFactory * | pFact, |
SfxObjectFactory * | pWebFact, | ||
SfxObjectFactory * | pGlobalFact | ||
) |
Definition at line 127 of file swmodule.cxx.
|
overridevirtual |
Definition at line 198 of file swmodule.cxx.
References CallAutomationApplicationEventSinks(), SfxListener::EndListening(), m_pErrorHandler, and SfxGetpApp().
void SwModule::ApplyDefaultPageMode | ( | bool | bIsSquaredPageMode | ) |
Definition at line 661 of file swmodul1.cxx.
References GetUsrPref(), and m_pUsrPref.
Referenced by SwLoadOptPage::FillItemSet().
void SwModule::ApplyFieldUpdateFlags | ( | SwFieldUpdateFlags | eFieldFlags | ) |
Definition at line 622 of file swmodul1.cxx.
References GetUsrPref(), and m_pUsrPref.
Referenced by SwLoadOptPage::FillItemSet().
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 212 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_VIEW_GRAPHIC, FN_VIEW_HIDDEN_PARA, FN_VIEW_META_CHARS, FN_VSCROLL_METRIC, SfxItemSet::Get(), IDocumentSettingAccess::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(), SwViewShell::GetViewOptions(), 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, SwWrtShell::MakeAllFoldedOutlineContentVisible(), 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 630 of file swmodul1.cxx.
References GetUsrPref(), and m_pUsrPref.
Referenced by SwLoadOptPage::FillItemSet().
Definition at line 242 of file swmodul1.cxx.
References SwView::ChangeTabMetric(), SwView::ChangeVRulerMetric(), GetFirstView(), GetNextView(), GetUsrPref(), m_pUsrPref, m_pWebUsrPref, SwMasterUsrPref::SetHScrollMetric(), and SwMasterUsrPref::SetVScrollMetric().
void SwModule::ApplyUserCharUnit | ( | bool | bApplyChar, |
bool | bWeb | ||
) |
Definition at line 279 of file swmodul1.cxx.
References SwView::ChangeTabMetric(), SwView::ChangeVRulerMetric(), GetFirstView(), SwMasterUsrPref::GetHScrollMetric(), SwMasterUsrPref::GetMetric(), GetNextView(), GetUsrPref(), SwMasterUsrPref::GetVScrollMetric(), SwMasterUsrPref::IsApplyCharUnit(), SvtCJKOptions::IsAsianTypographyEnabled(), SwMasterUsrPref::IsHScrollMetric(), SwMasterUsrPref::IsVScrollMetric(), m_pUsrPref, m_pWebUsrPref, and SwMasterUsrPref::SetApplyCharUnit().
Definition at line 205 of file swmodul1.cxx.
References SwView::ChangeTabMetric(), SwView::ChangeVRulerMetric(), GetFirstView(), SwMasterUsrPref::GetHScrollMetric(), SwMasterUsrPref::GetMetric(), GetNextView(), GetUsrPref(), SwMasterUsrPref::GetVScrollMetric(), SwMasterUsrPref::IsHScrollMetric(), SwMasterUsrPref::IsVScrollMetric(), m_pUsrPref, m_pWebUsrPref, and SwMasterUsrPref::SetMetric().
void SwModule::ApplyUsrPref | ( | const SwViewOption & | rUsrPref, |
SwView * | pActView, | ||
SvViewOpt | nDest = SvViewOpt::DestView |
||
) |
Definition at line 137 of file swmodul1.cxx.
References SwViewShell::ApplyViewOptions(), SfxViewShell::Current(), DestText, DestViewOnly, DestWeb, SwPagePreview::EnableHScrollbar(), SwPagePreview::EnableVScrollbar(), SwViewShell::EndAction(), SwView::GetDocShell(), SwViewOption::GetPagePrevCol(), SwViewOption::GetPagePrevRow(), GetUsrPref(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), SfxObjectShell::IsReadOnly(), SwViewOption::IsReadonly(), SwViewOption::IsViewHScrollBar(), SwViewOption::IsViewVScrollBar(), lcl_SetUIPrefs(), SwViewOption::SetIdle(), SwMasterUsrPref::SetModified(), SwViewOption::SetPagePrevCol(), SwViewOption::SetPagePrevRow(), SwViewShell::SetReadonlyOption(), SwViewOption::SetUIOptions(), SwMasterUsrPref::SetUsrPref(), and SwViewShell::StartAction().
Referenced by ApplyItemSet(), and SwView::ExecViewOptions().
void SwModule::CallAutomationApplicationEventSinks | ( | const OUString & | Method, |
css::uno::Sequence< css::uno::Any > & | Arguments | ||
) |
Definition at line 390 of file swmodule.cxx.
References mxAutomationApplicationEventsCaller.
Referenced by ~SwModule().
|
static |
Definition at line 638 of file swmodul1.cxx.
References IDocumentLayoutAccess::GetCurrentViewShell(), SfxObjectShell::GetFirst(), SwDoc::getIDocumentLayoutAccess(), SfxObjectShell::GetNext(), SwViewShell::GetWin(), vcl::Window::Invalidate(), and SwDoc::SpellItAgainSam().
Referenced by SwSmartTagMgr::changesOccurred(), SwDocShell::Execute(), SwView::ExecViewOptions(), SwSmartTagMgr::modified(), and SwLinguServiceEventListener::processLinguServiceEvent().
|
overrideprivatevirtual |
Implements utl::ConfigurationListener.
Definition at line 964 of file apphdl.cxx.
References SwPagePreview::ApplyAccessibilityOptions(), SwViewOption::ApplyColorConfigValues(), SwViewShell::ChgNumberDigits(), IDocumentLayoutAccess::GetCurrentViewShell(), SfxViewShell::GetFirst(), SfxObjectShell::GetFirst(), SwDoc::getIDocumentLayoutAccess(), SfxViewShell::GetNext(), SfxObjectShell::GetNext(), SfxViewShell::GetWindow(), vcl::Window::Invalidate(), m_bAuthorInitialised, m_pAccessibilityOptions, m_pColorConfig, m_pCTLOptions, and m_pUserOptions.
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 62 of file appopt.cxx.
References Any, ASIAN, SfxPoolItem::CloneSetWhich(), COMPLEX, 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, o3tl::mm100, 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().
|
overridevirtual |
Reimplemented from SfxModule.
Definition at line 348 of file swmodule.cxx.
References SfxModule::GetResLocale(), and SwResId().
|
overridevirtual |
Reimplemented from SfxModule.
Definition at line 393 of file appopt.cxx.
References SvxGridTabPage::Create(), SfxAbstractDialogFactory::Create(), SwAbstractDialogFactory::Create(), FONT_GROUP_CJK, FONT_GROUP_CTL, SfxItemSet::GetPool(), SfxAbstractDialogFactory::GetTabPageCreatorFunc(), SwAbstractDialogFactory::GetTabPageCreatorFunc(), GetView(), SwView::GetWrtShellPtr(), SfxItemSet::Put(), and SAL_WARN.
void SwModule::ExecOther | ( | SfxRequest & | rReq | ) |
Definition at line 682 of file apphdl.cxx.
References SwAbstractDialogFactory::Create(), DBMGR_MERGE, SwAbstractDialogFactory::ExecuteMMResultEmailDialog(), SwAbstractDialogFactory::ExecuteMMResultPrintDialog(), SwAbstractDialogFactory::ExecuteMMResultSaveDialog(), FN_ENVELOP, FN_MAILMERGE_CREATE_DOCUMENTS, FN_MAILMERGE_CURRENT_ENTRY, FN_MAILMERGE_EMAIL_DOCUMENTS, FN_MAILMERGE_EXCLUDE_ENTRY, FN_MAILMERGE_FIRST_ENTRY, FN_MAILMERGE_LAST_ENTRY, FN_MAILMERGE_NEXT_ENTRY, FN_MAILMERGE_PREV_ENTRY, FN_MAILMERGE_PRINT_DOCUMENTS, FN_MAILMERGE_SAVE_DOCUMENTS, FN_MAILMERGE_WIZARD, FN_SET_MODOPT_TBLNUMFMT, GetActiveView(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), SfxRequest::GetFrameWeld(), SfxItemSet::GetItemState(), SwView::GetMailMergeConfigItem(), SfxRequest::GetSlot(), GetValue, SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwView::GetWrtShell(), comphelper::InitPropertySequence(), InsertEnv(), InsertLab(), SfxBindings::Invalidate(), m_pModuleConfig, SwDBData::nCommandType, NewXForms(), nPos, SwDBManager::PerformMailMerge(), SwDBData::sCommand, SwDBData::sDataSource, SetDfltMetric(), and SfxBindings::Update().
SvtAccessibilityOptions & SwModule::GetAccessibilityOptions | ( | ) |
Definition at line 1053 of file apphdl.cxx.
References m_pAccessibilityOptions.
SwChapterNumRules * SwModule::GetChapterNumRules | ( | ) |
Definition at line 361 of file swmodul1.cxx.
References m_pChapterNumRules.
svtools::ColorConfig & SwModule::GetColorConfig | ( | ) |
Definition at line 1042 of file apphdl.cxx.
References SwViewOption::ApplyColorConfigValues(), and m_pColorConfig.
SwCompareMode SwModule::GetCompareMode | ( | ) | const |
Definition at line 669 of file swmodul1.cxx.
References m_pModuleConfig.
SvtCTLOptions & SwModule::GetCTLOptions | ( | ) |
Definition at line 1063 of file apphdl.cxx.
References m_pCTLOptions.
SwDBConfig * SwModule::GetDBConfig | ( | ) |
Definition at line 1035 of file apphdl.cxx.
References m_pDBConfig.
void SwModule::GetDeletedAuthorAttr | ( | std::size_t | nAuthor, |
SfxItemSet & | rSet | ||
) |
Definition at line 529 of file swmodul1.cxx.
References lcl_FillAuthorAttr(), and m_pModuleConfig.
OUString const & SwModule::GetDocStatWordDelim | ( | ) | const |
Definition at line 580 of file swmodul1.cxx.
References m_pModuleConfig.
SwFieldUpdateFlags SwModule::GetFieldUpdateFlags | ( | ) | const |
Definition at line 614 of file swmodul1.cxx.
References GetUsrPref(), and m_pUsrPref.
|
static |
Definition at line 122 of file swmodul1.cxx.
References SfxViewShell::GetFirst().
Referenced by ApplyRulerMetric(), ApplyUserCharUnit(), ApplyUserMetric(), SwContentTree::ExecuteContextMenuAction(), SwGotoPageDlg::GetCreateView(), SwNavigationPI::GetCreateView(), IMPL_LINK(), SwLinguServiceEventListener::processLinguServiceEvent(), and SwNavigationPI::UpdateListBox().
void SwModule::GetFormatAuthorAttr | ( | std::size_t | nAuthor, |
SfxItemSet & | rSet | ||
) |
Definition at line 535 of file swmodul1.cxx.
References lcl_FillAuthorAttr(), and m_pModuleConfig.
void SwModule::GetInsertAuthorAttr | ( | std::size_t | nAuthor, |
SfxItemSet & | rSet | ||
) |
Definition at line 524 of file swmodul1.cxx.
References lcl_FillAuthorAttr(), and m_pModuleConfig.
uno::Reference< linguistic2::XLanguageGuessing > const & SwModule::GetLanguageGuesser | ( | ) |
Definition at line 189 of file swmodule.cxx.
References comphelper::getProcessComponentContext(), and m_xLanguageGuesser.
sal_uInt16 SwModule::GetLinkUpdMode | ( | ) | const |
Definition at line 606 of file swmodul1.cxx.
References GetUsrPref(), and m_pUsrPref.
FieldUnit SwModule::GetMetric | ( | bool | bWeb | ) | const |
Definition at line 586 of file swmodul1.cxx.
References SwMasterUsrPref::GetMetric(), GetUsrPref(), m_pUsrPref, and m_pWebUsrPref.
|
inline |
Definition at line 169 of file swmodule.hxx.
SwNavigationConfig * SwModule::GetNavigationConfig | ( | ) |
Definition at line 338 of file swmodul1.cxx.
References m_pNavigationConfig.
Definition at line 129 of file swmodul1.cxx.
References SfxViewShell::GetNext().
Referenced by ApplyRulerMetric(), ApplyUserCharUnit(), ApplyUserMetric(), SwContentTree::ExecuteContextMenuAction(), SwGotoPageDlg::GetCreateView(), SwNavigationPI::GetCreateView(), IMPL_LINK(), SwLinguServiceEventListener::processLinguServiceEvent(), and SwNavigationPI::UpdateListBox().
sal_uInt16 SwModule::GetPieceLen | ( | ) | const |
Definition at line 684 of file swmodul1.cxx.
References m_pModuleConfig.
SwPrintOptions * SwModule::GetPrtOptions | ( | bool | bWeb | ) |
Definition at line 347 of file swmodul1.cxx.
References m_pPrintOptions, and m_pWebPrintOptions.
Referenced by ApplyItemSet(), and CreateItemSet().
std::size_t SwModule::GetRedlineAuthor | ( | ) |
Definition at line 393 of file swmodul1.cxx.
References SvtUserOptions::GetFullName(), SvtUserOptions::GetID(), GetUserOptions(), InsertRedlineAuthor(), m_bAuthorInitialised, m_sActAuthor, and SwResId().
OUString const & SwModule::GetRedlineAuthor | ( | std::size_t | nPos | ) |
Definition at line 417 of file swmodul1.cxx.
References InsertRedlineAuthor(), and m_pAuthorNames.
void SwModule::GetRedlineAuthorInfo | ( | tools::JsonWriter & | rJsonWriter | ) |
See SwXTextDocument::getTrackedChangeAuthors().
Returns a JSON representation of a redline author.
Definition at line 440 of file swmodul1.cxx.
References lcl_GetAuthorColor(), m_pAuthorNames, tools::JsonWriter::put(), tools::JsonWriter::startArray(), and tools::JsonWriter::startStruct().
const Color & SwModule::GetRedlineMarkColor | ( | ) | const |
Definition at line 570 of file swmodul1.cxx.
References m_pModuleConfig.
sal_uInt16 SwModule::GetRedlineMarkPos | ( | ) | const |
Definition at line 540 of file swmodul1.cxx.
References m_pModuleConfig.
uno::Reference< scanner::XScannerManager2 > const & SwModule::GetScannerManager | ( | ) |
Definition at line 175 of file swmodule.cxx.
References comphelper::getProcessComponentContext(), and m_xScannerManager.
|
inline |
Definition at line 172 of file swmodule.hxx.
Referenced by CreateItemSet().
|
inline |
Definition at line 174 of file swmodule.hxx.
SvtUserOptions & SwModule::GetUserOptions | ( | ) |
Definition at line 1073 of file apphdl.cxx.
References m_pUserOptions.
Referenced by GetRedlineAuthor().
const SwMasterUsrPref * SwModule::GetUsrPref | ( | bool | bWeb | ) | const |
Definition at line 1083 of file apphdl.cxx.
References m_pUsrPref, and m_pWebUsrPref.
Referenced by ApplyDefaultPageMode(), ApplyFieldUpdateFlags(), ApplyItemSet(), ApplyLinkMode(), ApplyRulerMetric(), ApplyUserCharUnit(), ApplyUserMetric(), ApplyUsrPref(), CreateItemSet(), SwView::ExecViewOptions(), GetFieldUpdateFlags(), GetLinkUpdMode(), GetMetric(), and GetViewOption().
|
inline |
Definition at line 146 of file swmodule.hxx.
Referenced by ApplyItemSet(), CreateItemSet(), and CreateTabPage().
const SwViewOption * SwModule::GetViewOption | ( | bool | bWeb | ) |
Definition at line 575 of file swmodul1.cxx.
References GetUsrPref().
|
inline |
Definition at line 175 of file swmodule.hxx.
void SwModule::InitAttrPool | ( | ) |
Definition at line 335 of file swmodule.cxx.
References m_pAttrPool, and SfxShell::SetPool().
|
staticprivate |
SfxInterface initializer.
Definition at line 100 of file apphdl.cxx.
References SFX_OBJECTBAR_APPLICATION.
|
private |
Definition at line 131 of file appenv.cxx.
References All, SfxFrame::Appear(), SfxRequest::AppendItem(), 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(), Fixed, 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, min(), nPos, PAPER_A4, OutputDevice::PixelToLogic(), Point, 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().
|
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(), 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(), GetOutputItemSet(), 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(), 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(), 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 452 of file swmodul1.cxx.
References m_pAuthorNames, and nPos.
Referenced by GetRedlineAuthor(), and SetRedlineAuthor().
|
inline |
Definition at line 186 of file swmodule.hxx.
bool SwModule::IsIgnorePieces | ( | ) | const |
Definition at line 679 of file swmodul1.cxx.
References m_pModuleConfig.
bool SwModule::IsInsTableAlignNum | ( | bool | bHTML | ) | const |
Definition at line 555 of file swmodul1.cxx.
References m_pModuleConfig.
bool SwModule::IsInsTableChangeNumFormat | ( | bool | bHTML | ) | const |
Definition at line 550 of file swmodul1.cxx.
References m_pModuleConfig.
bool SwModule::IsInsTableFormatNum | ( | bool | bHTML | ) | const |
Definition at line 545 of file swmodul1.cxx.
References m_pModuleConfig.
Referenced by StateOther().
bool SwModule::IsSplitVerticalByDefault | ( | bool | bHTML | ) | const |
Definition at line 560 of file swmodul1.cxx.
References m_pModuleConfig.
bool SwModule::IsUseRsid | ( | ) | const |
Definition at line 674 of file swmodul1.cxx.
References m_pModuleConfig.
|
overrideprivatevirtual |
Reimplemented from SfxListener.
Definition at line 862 of file apphdl.cxx.
References comphelper::dispatchCommand(), SwDoc::GetAllUsedDB(), SwDocShell::GetDoc(), GetGlossaries(), GetGlossaryList(), SfxHint::GetId(), SwDoc::getIDocumentFieldsAccess(), SfxMedium::GetItemSet(), SfxObjectShell::GetMedium(), CntUInt16Item::GetValue(), SfxBoolItem::GetValue(), SwWrtShell::GetView(), SwDocShell::GetWrtShell(), Task::IsActive(), m_pAccessibilityOptions, m_pChapterNumRules, m_pColorConfig, m_pCTLOptions, m_pDBConfig, m_pModuleConfig, m_pNavigationConfig, m_pPrintOptions, m_pStdFontConfig, m_pToolbarConfig, m_pUserOptions, m_pUsrPref, m_pWebPrintOptions, m_pWebToolbarConfig, m_pWebUsrPref, IDocumentFieldsAccess::SetFixFields(), ShowDBObj(), SwGlossaryList::Update(), and SwGlossaries::UpdateGlosPath().
void SwModule::RegisterAutomationApplicationEventsCaller | ( | css::uno::Reference< ooo::vba::XSinkCaller > const & | xCaller | ) |
Definition at line 385 of file swmodule.cxx.
References mxAutomationApplicationEventsCaller.
void SwModule::RemoveAttrPool | ( | ) |
Definition at line 342 of file swmodule.cxx.
References m_pAttrPool, and SfxShell::SetPool().
|
inline |
Definition at line 187 of file swmodule.hxx.
void SwModule::SetRedlineAuthor | ( | const OUString & | rAuthor | ) |
Definition at line 410 of file swmodul1.cxx.
References InsertRedlineAuthor(), m_bAuthorInitialised, and m_sActAuthor.
void SwModule::SetSplitVerticalByDefault | ( | bool | bHTML, |
bool | value | ||
) |
Definition at line 565 of file swmodul1.cxx.
References m_pModuleConfig.
Definition at line 145 of file swmodule.hxx.
Referenced by SwView::Activate(), and InsertEnv().
Definition at line 368 of file swmodul1.cxx.
References Any, SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SfxViewShell::GetViewFrame(), SwDBData::nCommandType, SwDBData::sCommand, SwDBData::sDataSource, xController, and xFrame.
Referenced by SwView::Execute(), InsertEnv(), InsertLab(), Notify(), and SwView::SwView().
void SwModule::StateOther | ( | SfxItemSet & | rSet | ) |
Definition at line 110 of file apphdl.cxx.
References SfxViewShell::Current(), SfxObjectShell::Current(), SfxItemSet::DisableItem(), SwView::EnsureMailMergeConfigItem(), SfxWhichIter::FirstWhich(), FN_EDIT_FORMULA, FN_ENVELOP, FN_MAILMERGE_CREATE_DOCUMENTS, FN_MAILMERGE_CURRENT_ENTRY, FN_MAILMERGE_EMAIL_DOCUMENTS, FN_MAILMERGE_EXCLUDE_ENTRY, FN_MAILMERGE_FIRST_ENTRY, FN_MAILMERGE_LAST_ENTRY, FN_MAILMERGE_NEXT_ENTRY, FN_MAILMERGE_PREV_ENTRY, FN_MAILMERGE_PRINT_DOCUMENTS, FN_MAILMERGE_SAVE_DOCUMENTS, FN_MAILMERGE_WIZARD, FN_SET_MODOPT_TBLNUMFMT, GetActiveView(), SfxObjectShell::GetCreateMode(), GetDfltMetric(), MiscSettings::GetDisablePrinting(), SwView::GetMailMergeConfigItem(), AllSettings::GetMiscSettings(), SfxShell::GetObjectShell(), SwWrtShell::GetSelectionType(), Application::GetSettings(), SwView::GetWrtShell(), SwWrtShell::HasSelection(), SfxItemSet::InvalidateItem(), SfxObjectShell::isExportLocked(), IsInsTableFormatNum(), SfxObjectShell::IsReadOnly(), m_pModuleConfig, SfxWhichIter::NextWhich(), NONE, SfxItemSet::Put(), Table, and Text.
|
private |
Definition at line 112 of file swmodule.hxx.
Referenced by ConfigurationChanged(), GetRedlineAuthor(), and SetRedlineAuthor().
|
private |
Definition at line 113 of file swmodule.hxx.
|
private |
Definition at line 91 of file swmodule.hxx.
Referenced by ConfigurationChanged(), GetAccessibilityOptions(), and Notify().
|
private |
Definition at line 97 of file swmodule.hxx.
Referenced by InitAttrPool(), and RemoveAttrPool().
|
private |
Definition at line 105 of file swmodule.hxx.
Referenced by GetRedlineAuthor(), GetRedlineAuthorInfo(), and InsertRedlineAuthor().
|
private |
Definition at line 84 of file swmodule.hxx.
Referenced by GetChapterNumRules(), and Notify().
|
private |
Definition at line 90 of file swmodule.hxx.
Referenced by ConfigurationChanged(), GetColorConfig(), and Notify().
|
private |
Definition at line 92 of file swmodule.hxx.
Referenced by ConfigurationChanged(), GetCTLOptions(), and Notify().
|
private |
Definition at line 89 of file swmodule.hxx.
Referenced by GetDBConfig(), and Notify().
SwTransferable* SwModule::m_pDragDrop |
Definition at line 128 of file swmodule.hxx.
Referenced by SwEditWin::AcceptDrop(), SwTransferable::ObjectReleased(), SwTransferable::PasteData(), and SwTransferable::~SwTransferable().
|
private |
Definition at line 95 of file swmodule.hxx.
Referenced by ~SwModule().
|
private |
Definition at line 79 of file swmodule.hxx.
Referenced by ExecOther(), GetCompareMode(), GetDeletedAuthorAttr(), GetDocStatWordDelim(), GetFormatAuthorAttr(), GetInsertAuthorAttr(), GetPieceLen(), GetRedlineMarkColor(), GetRedlineMarkPos(), IsIgnorePieces(), IsInsTableAlignNum(), IsInsTableChangeNumFormat(), IsInsTableFormatNum(), IsSplitVerticalByDefault(), IsUseRsid(), Notify(), SetSplitVerticalByDefault(), and StateOther().
|
private |
Definition at line 86 of file swmodule.hxx.
Referenced by GetNavigationConfig(), and Notify().
|
private |
Definition at line 82 of file swmodule.hxx.
Referenced by GetPrtOptions(), and Notify().
|
private |
Definition at line 85 of file swmodule.hxx.
Referenced by Notify().
|
private |
Definition at line 87 of file swmodule.hxx.
Referenced by Notify().
|
private |
Definition at line 93 of file swmodule.hxx.
Referenced by ConfigurationChanged(), GetUserOptions(), and Notify().
|
private |
Definition at line 80 of file swmodule.hxx.
Referenced by ApplyDefaultPageMode(), ApplyFieldUpdateFlags(), ApplyItemSet(), ApplyLinkMode(), ApplyRulerMetric(), ApplyUserCharUnit(), ApplyUserMetric(), CreateItemSet(), GetFieldUpdateFlags(), GetLinkUpdMode(), GetMetric(), GetUsrPref(), and Notify().
|
private |
Definition at line 102 of file swmodule.hxx.
|
private |
Definition at line 83 of file swmodule.hxx.
Referenced by GetPrtOptions(), and Notify().
|
private |
Definition at line 88 of file swmodule.hxx.
Referenced by Notify().
|
private |
Definition at line 81 of file swmodule.hxx.
Referenced by ApplyItemSet(), ApplyRulerMetric(), ApplyUserCharUnit(), ApplyUserMetric(), CreateItemSet(), GetMetric(), GetUsrPref(), and Notify().
SwTransferable * SwModule::m_pXSelection |
Definition at line 128 of file swmodule.hxx.
Referenced by SwTransferable::AddSupportedFormats(), SwTransferable::ClearSelection(), SwTransferable::CreateSelection(), SwTransferable::ObjectReleased(), SwTransferable::PasteData(), and SwTransferable::~SwTransferable().
|
private |
Definition at line 76 of file swmodule.hxx.
Referenced by GetRedlineAuthor(), and SetRedlineAuthor().
|
private |
Definition at line 110 of file swmodule.hxx.
Referenced by GetLanguageGuesser().
|
private |
Definition at line 108 of file swmodule.hxx.
|
private |
Definition at line 109 of file swmodule.hxx.
Referenced by GetScannerManager().
|
private |
Definition at line 124 of file swmodule.hxx.
Referenced by CallAutomationApplicationEventSinks(), and RegisterAutomationApplicationEventsCaller().