LibreOffice Module sw (master)
1
|
#include <sal/config.h>
#include <cstddef>
#include <o3tl/deleter.hxx>
#include <tools/fldunit.hxx>
#include <svl/lstner.hxx>
#include <unotools/options.hxx>
#include <sfx2/module.hxx>
#include <sfx2/app.hxx>
#include "swdllapi.h"
#include "shellid.hxx"
#include "fldupde.hxx"
Go to the source code of this file.
Classes | |
class | SwModule |
Namespaces | |
svtools | |
tools | |
com::sun::star::scanner | |
com::sun::star::linguistic2 | |
ooo::vba | |
sw | |
Dialog to specify the properties of date form field. | |
Macros | |
#define | SW_MOD() ( static_cast<SwModule*>(SfxApplication::GetModule(SfxToolsModule::Writer))) |
Enumerations | |
enum | SvViewOpt { SvViewOpt::DestView, SvViewOpt::DestText, SvViewOpt::DestWeb, SvViewOpt::DestViewOnly } |
Functions | |
SW_DLLPUBLIC SwView * | GetActiveView () |
SW_DLLPUBLIC SwWrtShell * | GetActiveWrtShell () |
Color * | sw::GetActiveRetoucheColor () |
Variables | |
bool | g_bNoInterrupt |
#define SW_MOD | ( | ) | ( static_cast<SwModule*>(SfxApplication::GetModule(SfxToolsModule::Writer))) |
Definition at line 255 of file swmodule.hxx.
Referenced by SwAccessibleParagraph::_correctValues(), SwXViewSettings::_getSingleValue(), SwXViewSettings::_postSetValues(), SwXPrintSettings::_preGetValues(), SwXViewSettings::_preGetValues(), SwXPrintSettings::_preSetValues(), SwXViewSettings::_preSetValues(), SwEditWin::AcceptDrop(), SwRedlineAcceptDlg::Activate(), SwView::Activate(), SwFieldDBPage::ActivateMailMergeAddress(), WW8Export::AddRedlineAuthor(), SwVbaApplication::AddSink(), SwTransferable::AddSupportedFormats(), SwView::AutoCaption(), sw::annotation::SwAnnotationWin::CheckMetaText(), SwTransferable::ClearSelection(), SwEditWin::Command(), SwDoc::CompareDoc(), SwDocShell::ConvertFrom(), SwDocShell::ConvertTo(), SwTransferable::CreateSelection(), SwTextFormatInfo::CtorInitTextFormatInfo(), SwTextSizeInfo::CtorInitTextSizeInfo(), SwInsertDBColAutoPilot::DataToDoc(), SwUnoModule::dispatchWithNotification(), SwCursor::DoSetBidiLevelLeftRight(), DocxAttributeOutput::DoWriteMoveRangeTagStart(), SwDocShell::Draw(), SwRangeRedline::dumpAsXml(), SwDocShell::Edit(), EndProgress(), SwDrawTextShell::ExecFontWork(), SwTextShell::ExecInsert(), SwView::ExecSearch(), SwBaseShell::ExecTextCtrl(), SwFrameShell::Execute(), SwDrawShell::Execute(), SwTableShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), SwTextShell::Execute(), SwDrawTextShell::Execute(), SwReadOnlyPopup::Execute(), SwEditWin::ExecuteDrop(), SwView::ExecutePrint(), SwView_Impl::ExecuteScan(), SwView::ExecViewOptions(), SwAuthorFieldType::Expand(), SwExtUserFieldType::Expand(), SwXMLExport::exportDoc(), SwRedlineItr::FillHints(), SwLoadOptPage::FillItemSet(), SwStdFontTabPage::FillItemSet(), SwCaptionOptPage::FillItemSet(), SwTableOptionsTabPage::FillItemSet(), SwRedlineOptionsTabPage::FillItemSet(), SwCompareOptionsTabPage::FillItemSet(), SwEditWin::FlushInBuffer(), SwDBManager::GetAddressDBName(), SwTextShell::GetAttrState(), SwRangeRedline::GetAuthorString(), SwAccessibleDocument::getBackground(), GetDfltMetric(), sw::DocumentSettingManager::getFieldUpdateFlags(), sw::DocumentSettingManager::getLinkUpdateMode(), SwXTextDocument::getPropertyValue(), sw::DocumentRedlineManager::GetRedlineAuthor(), SwView::GetState(), GetTableChgDefaultMode(), SwXTextDocument::getTrackedChangeAuthors(), HasCharUnit(), SwSrcEditWindow::ImpDoHighlight(), IMPL_LINK(), IMPL_LINK_NOARG(), SwPagePreview::Init(), SwDocShell::Init_Impl(), sw::sidebar::TableEditPanel::InitColumnWidthToolitem(), sw::annotation::SwAnnotationWin::InitControls(), SwDocShell::InitNew(), sw::InitPrintOptionsFromApplication(), sw::sidebar::TableEditPanel::InitRowHeightToolitem(), SwWrtShell::InsertObject(), SwRedlineAcceptDlg::InsertParents(), SwWrtShell::InsertPostIt(), sw::DocumentRedlineManager::InsertRedlineAuthor(), SwBaseShell::InsertTable(), IsExtraData(), SwEditWin::IsInputSequenceCheckingRequired(), SwDoc::IsInsTableAlignNum(), SwDoc::IsInsTableChangeNumFormat(), SwDoc::IsInsTableFormatNum(), SwDoc::IsSplitVerticalByDefault(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_IsOwnDocument(), lcl_MaskRedlinesAndHiddenText(), lcl_setRedlineAttr(), SwDocShell::Load(), MakeSender(), SwDBManager::MergeMailFiles(), SwEditWin::MouseMove(), SwTextFormatter::NewFootnoteNumPortion(), SwDocShell::Notify(), SwTransferable::ObjectReleased(), AutoFormatPreview::Paint(), SwOneExampleFrame::Paint(), SwTextFrame::PaintExtraData(), SwTransferable::PasteData(), SwDocShell::PrepareClose(), SwUnoModule::queryDispatch(), SwView::ReadUserDataSequence(), RtfAttributeOutput::Redline(), DocxAttributeOutput::Redline(), SwLayoutFrame::RefreshExtraData(), SwPageFrame::RefreshExtraData(), SwDLL::RegisterControls(), SwDLL::RegisterInterfaces(), SwEditWin::RequestHelp(), RescheduleProgress(), SwLoadOptPage::Reset(), SwCaptionOptPage::Reset(), SwTableOptionsTabPage::Reset(), SwRedlineOptionsTabPage::Reset(), SwCompareOptionsTabPage::Reset(), SwDocShell::Save(), SwDocShell::SaveAs(), SwView::ScannerEventHdl(), SwWebView::SelectShell(), SwView::SelectShell(), SetApplyCharUnit(), SetDfltMetric(), SwColumnPage::SetInSection(), SwCaptionOptPage::SetOptions(), SwPagePreviewWin::SetPagePreview(), SetPrinter(), SetProgressState(), SwXTextDocument::setPropertyValue(), SwDoc::SetSplitVerticalByDefault(), SwDocShell::SetView(), SwView::SetViewLayout(), SwView::SetZoom_(), SwRangeRedline::Show(), SwTransferable::StartDrag(), StartProgress(), DocxAttributeOutput::StartRedline(), SwDocShell::SubInitNew(), sw_CharDialog(), SwCalc::SwCalc(), SwCondCollPage::SwCondCollPage(), SwConvertTableDlg::SwConvertTableDlg(), SwDigitModeModifier::SwDigitModeModifier(), SwFormatTablePage::SwFormatTablePage(), SwInsTableDlg::SwInsTableDlg(), SwLabCfgItem::SwLabCfgItem(), SwLineNumberingDlg::SwLineNumberingDlg(), SwMailMergeDlg::SwMailMergeDlg(), SwMultiTOXTabDialog::SwMultiTOXTabDialog(), SwNavigatorWin::SwNavigatorWin(), SwPagePreviewWin::SwPagePreviewWin(), SwPostItMgr::SwPostItMgr(), SwReadOnlyPopup::SwReadOnlyPopup(), SwRedlineAcceptPanel::SwRedlineAcceptPanel(), SwResId(), SwTableHeightDlg::SwTableHeightDlg(), SwTableWidthDlg::SwTableWidthDlg(), SwView::SwView(), SwViewGlueDocShell::SwViewGlueDocShell(), SwViewOption::SwViewOption(), DocxAttributeOutput::TableCellRedline(), DocxAttributeOutput::TableRowRedline(), SwDoc::UpdateParRsid(), SwDoc::UpdateRsid(), RtfExport::WriteRevTab(), SwHTMLWriter::WriteStream(), SwDLL::~SwDLL(), SwMultiTOXTabDialog::~SwMultiTOXTabDialog(), SwTransferable::~SwTransferable(), and SwViewGlueDocShell::~SwViewGlueDocShell().
|
strong |
Enumerator | |
---|---|
DestView | |
DestText | |
DestWeb | |
DestViewOnly |
Definition at line 62 of file swmodule.hxx.
SW_DLLPUBLIC SwView* GetActiveView | ( | ) |
Definition at line 116 of file swmodul1.cxx.
References SfxViewShell::Current().
Referenced by SwFieldDlg::Activate(), SwRedlineAcceptDlg::Activate(), SwModelessRedlineAcceptDlg::Activate(), SwInputWindow::ApplyFormula(), SwRedlineAcceptDlg::CalcDiff(), SwRedlineAcceptDlg::CallAcceptReject(), SwNumFormatBase::CallSelectHdl(), SwInputWindow::CancelFormula(), SwWrtShell::ChangeHeaderOrFooter(), SwTemplateControl::Command(), SwTbxAutoTextCtrl::CreatePopupWindow(), SwTextFrame::DestroyImpl(), SwFieldDlg::EnableInsert(), SwBaseShell::ExecDlg(), SwModule::ExecOther(), SwTableShell::Execute(), SwTextShell::Execute(), SwNavigationPI::ExecuteDrop(), SwMMResultEmailDialog::FillInEmailSettings(), SwMMResultPrintDialog::FillInPrinterSettings(), SwTextGridPage::FillItemSet(), SwContentTree::FillTransferData(), GetActiveWrtShell(), SwRedlineAcceptDlg::GetRedlinePos(), SwGlossaryList::GetShortName(), IMPL_LINK(), IMPL_LINK_NOARG(), IMPL_STATIC_LINK(), SwNumFormatBase::Init(), SwRedlineAcceptDlg::Init(), SwRedlineAcceptDlg::InitAuthors(), SwFieldPage::InsertField(), SwRedlineAcceptDlg::InsertParents(), SwGlossaryList::Invoke(), SwFieldMgr::IsDBNumeric(), lcl_GetShell(), SwTemplateDlgController::PageCreated(), SwTextGridPage::PutGridItem(), SwFieldDlg::ReInitDlg(), SwRedlineAcceptDlg::RemoveParents(), SwNumFormatBase::SetDefFormat(), SwNumFormatBase::SetFormatType(), SwModule::StateOther(), NavElementToolBoxControl::statusChanged(), sw_CharDialog(), SwCharURLPage::SwCharURLPage(), SwGetChartDialogPos(), SwInputWindow::SwInputWindow(), SwInsertChart::SwInsertChart(), SwMMResultSaveDialog::SwMMResultSaveDialog(), SwSyncChildWin::SwSyncChildWin(), and SwWordCountFloatDlg::UpdateCounts().
SW_DLLPUBLIC SwWrtShell* GetActiveWrtShell | ( | ) |
Definition at line 108 of file swmodul1.cxx.
References GetActiveView(), and SwView::GetWrtShell().
Referenced by SwWrapTabPage::ActivatePage(), SwModule::ApplyItemSet(), SwFieldDBPage::CheckAndGetWrtShell(), SwBookmarkControl::Command(), SwFramePage::DeactivatePage(), SwFieldVarPage::FillItemSet(), SwFieldRefPage::FillItemSet(), SwFramePage::FillItemSet(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFieldPage::Init(), SwCaptionOptPage::InvalidatePreview(), lcl_GetScrollToolTip(), SwTemplateDlgController::PageCreated(), SwFramePage::RangeModifyHdl(), SwFieldDokPage::Reset(), SwFieldVarPage::Reset(), SwFieldRefPage::Reset(), SwFramePage::Reset(), SwFieldVarPage::SubTypeHdl(), SwFieldRefPage::SubTypeHdl(), SwAuthMarkFloatDlg::SwAuthMarkFloatDlg(), SwCaptionOptPage::SwCaptionOptPage(), SwIndexMarkFloatDlg::SwIndexMarkFloatDlg(), SwCaptionOptPage::UpdateEntry(), and SwFieldRefPage::UpdateSubType().
bool g_bNoInterrupt |
Definition at line 114 of file swmodule.cxx.
Referenced by SwEditWin::Command(), SwDrawBase::Deactivate(), SwWrtShell::DrawSelChanged(), SwEditWin::DropCleanup(), SwTextShell::ExecField(), IMPL_LINK_NOARG(), lcl_GrabCursor(), SwDocShell::LoadStyles_(), ConstFormControl::MouseButtonDown(), SwDrawBase::MouseButtonDown(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MoveCursor(), SwEditWin::RstMBDownFlags(), and SwView::SwView().