LibreOffice Module sw (master) 1
|
#include <sal/config.h>
#include <memory>
#include <hintids.hxx>
#include <sfx2/request.hxx>
#include <unotools/useroptions.hxx>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <svx/colorwindow.hxx>
#include <svx/dataaccessdescriptor.hxx>
#include <editeng/editids.hrc>
#include <editeng/wghtitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/brushitem.hxx>
#include <svl/cjkoptions.hxx>
#include <osl/diagnose.h>
#include <swmodule.hxx>
#include <swtypes.hxx>
#include <usrpref.hxx>
#include <modcfg.hxx>
#include <view.hxx>
#include <pview.hxx>
#include <wview.hxx>
#include <wrtsh.hxx>
#include <docsh.hxx>
#include <uinums.hxx>
#include <prtopt.hxx>
#include <navicfg.hxx>
#include <doc.hxx>
#include <strings.hrc>
#include <IDocumentLayoutAccess.hxx>
#include <tools/color.hxx>
#include <tools/json_writer.hxx>
#include <PostItMgr.hxx>
Go to the source code of this file.
Functions | |
static void | lcl_SetUIPrefs (const SwViewOption &rPref, SwView *pView, SwViewShell *pSh) |
SwWrtShell * | GetActiveWrtShell () |
SwView * | GetActiveView () |
static Color | lcl_GetAuthorColor (std::size_t nPos) |
static void | lcl_FillAuthorAttr (std::size_t nAuthor, SfxItemSet &rSet, const AuthorCharAttr &rAttr) |
SwView * GetActiveView | ( | ) |
Definition at line 115 of file swmodul1.cxx.
References SfxViewShell::Current().
Referenced by SwRedlineAcceptDlg::Activate(), SwFieldDlg::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(), SwDropCapsPage::FillSet(), SwContentTree::FillTransferData(), GetActiveWrtShell(), SwDropCapsPict::GetFontSettings(), 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(), SwDropCapsPage::ModifyEntry(), SwTemplateDlgController::PageCreated(), SwTextGridPage::PutGridItem(), SwFieldDlg::ReInitDlg(), SwRedlineAcceptDlg::RemoveParents(), SwDropCapsPage::Reset(), SwCondCollPage::Reset(), SwCondCollPage::SelectHdl(), SwNumFormatBase::SetDefFormat(), SwNumFormatBase::SetFormatType(), SwModule::StateOther(), NavElementToolBoxControl::statusChanged(), sw_CharDialog(), SwCharURLPage::SwCharURLPage(), SwContentTree::SwContentTree(), SwGetChartDialogPos(), SwInputWindow::SwInputWindow(), SwInsertChart::SwInsertChart(), SwMMResultSaveDialog::SwMMResultSaveDialog(), SwSyncChildWin::SwSyncChildWin(), SwTitlePageDlg::SwTitlePageDlg(), SwWordCountFloatDlg::UpdateCounts(), SwDropCapsPict::UpdatePaintSettings(), and SwContentTree::~SwContentTree().
SwWrtShell * GetActiveWrtShell | ( | ) |
Definition at line 108 of file swmodul1.cxx.
References GetActiveView().
Referenced by SwWrapTabPage::ActivatePage(), SwModule::ApplyItemSet(), SwFieldDBPage::CheckAndGetWrtShell(), SwBookmarkControl::Command(), SwFramePage::DeactivatePage(), SwFieldRefPage::FillItemSet(), SwFieldVarPage::FillItemSet(), SwFramePage::FillItemSet(), IMPL_LINK(), IMPL_LINK_NOARG(), SwCaptionOptPage::InvalidatePreview(), lcl_GetScrollToolTip(), SwTemplateDlgController::PageCreated(), SwFramePage::RangeModifyHdl(), SwFieldDokPage::Reset(), SwFieldRefPage::Reset(), SwFieldVarPage::Reset(), SwFramePage::Reset(), SwFieldRefPage::SubTypeHdl(), SwFieldVarPage::SubTypeHdl(), SwAuthMarkFloatDlg::SwAuthMarkFloatDlg(), SwCaptionOptPage::SwCaptionOptPage(), SwIndexMarkFloatDlg::SwIndexMarkFloatDlg(), SwCaptionOptPage::UpdateEntry(), and SwFieldRefPage::UpdateSubType().
|
static |
Definition at line 469 of file swmodul1.cxx.
References COL_NONE_COLOR, COL_TRANSPARENT(), lcl_GetAuthorColor(), AuthorCharAttr::m_nAttr, AuthorCharAttr::m_nColor, AuthorCharAttr::m_nItemId, SfxItemSet::Put(), RES_CHRATR_BACKGROUND(), RES_CHRATR_CASEMAP(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_COLOR(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_POSTURE(), RES_CHRATR_UNDERLINE(), RES_CHRATR_WEIGHT(), and rSet.
Referenced by SwModule::GetDeletedAuthorAttr(), SwModule::GetFormatAuthorAttr(), and SwModule::GetInsertAuthorAttr().
|
static |
Definition at line 431 of file swmodul1.cxx.
References COL_AUTHOR1_DARK(), COL_AUTHOR2_DARK(), COL_AUTHOR3_DARK(), COL_AUTHOR4_DARK(), COL_AUTHOR5_DARK(), COL_AUTHOR6_DARK(), COL_AUTHOR7_DARK(), COL_AUTHOR8_DARK(), COL_AUTHOR9_DARK(), nPos, and SAL_N_ELEMENTS.
Referenced by SwModule::GetRedlineAuthorInfo(), and lcl_FillAuthorAttr().
|
static |
Definition at line 70 of file swmodul1.cxx.
References SwView::CreateTab(), SwView::CreateVRuler(), SwView::EnableHScrollbar(), SwView::EnableVScrollbar(), SwViewOption::getBrowseMode(), SwView::GetPostItMgr(), SwViewShell::GetViewOptions(), SfxViewShell::InvalidateBorder(), SwViewOption::IsViewHRuler(), SwViewOption::IsViewHScrollBar(), SwViewOption::IsViewVRuler(), SwViewOption::IsViewVScrollBar(), SwViewOption::IsVRulerRight(), SwView::KillTab(), SwView::KillVRuler(), SwPostItMgr::PrepareView(), and SwViewShell::SetUIOptions().
Referenced by SwModule::ApplyUsrPref().