LibreOffice Module sw (master)  1
Functions
swmodul1.cxx File Reference
#include <sal/config.h>
#include <cstddef>
#include <memory>
#include <boost/property_tree/json_parser.hpp>
#include <hintids.hxx>
#include <sfx2/request.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/childwin.hxx>
#include <unotools/useroptions.hxx>
#include <cppuhelper/weak.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 <svx/svxids.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 <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 <dbmgr.hxx>
#include <uinums.hxx>
#include <prtopt.hxx>
#include <navicfg.hxx>
#include <doc.hxx>
#include <cmdid.h>
#include <app.hrc>
#include <strings.hrc>
#include <IDocumentLayoutAccess.hxx>
#include <unomid.h>
#include <tools/color.hxx>
#include <PostItMgr.hxx>
Include dependency graph for swmodul1.cxx:

Go to the source code of this file.

Functions

static void lcl_SetUIPrefs (const SwViewOption &rPref, SwView *pView, SwViewShell *pSh)
 
SwWrtShellGetActiveWrtShell ()
 
SwViewGetActiveView ()
 
static Color lcl_GetAuthorColor (std::size_t nPos)
 
static boost::property_tree::ptree lcl_AuthorToJson (const OUString &rAuthor, std::size_t nIndex)
 Returns a JSON representation of a redline author. More...
 
static void lcl_FillAuthorAttr (std::size_t nAuthor, SfxItemSet &rSet, const AuthorCharAttr &rAttr)
 

Function Documentation

SwView* GetActiveView ( )

Definition at line 123 of file swmodul1.cxx.

References SfxViewShell::Current().

Referenced by SwFieldDlg::Activate(), SwRedlineAcceptDlg::Activate(), SwModelessRedlineAcceptDlg::Activate(), SwRedlineAcceptDlg::CalcDiff(), SwRedlineAcceptDlg::CallAcceptReject(), SwNumFormatBase::CallSelectHdl(), SwWrtShell::ChangeHeaderOrFooter(), SwTemplateControl::Command(), SwContentTree::CreateContextMenu(), SwTbxAutoTextCtrl::CreatePopupWindow(), 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(), sw_CharDialog(), SwCharURLPage::SwCharURLPage(), SwGetChartDialogPos(), SwInputWindow::SwInputWindow(), SwInsertChart(), SwMMResultSaveDialog::SwMMResultSaveDialog(), SwSyncChildWin::SwSyncChildWin(), SwTextGridPage::SwTextGridPage(), SwTitlePageDlg::SwTitlePageDlg(), and SwWordCountFloatDlg::UpdateCounts().

SwWrtShell* GetActiveWrtShell ( )
static boost::property_tree::ptree lcl_AuthorToJson ( const OUString &  rAuthor,
std::size_t  nIndex 
)
static

Returns a JSON representation of a redline author.

Definition at line 444 of file swmodul1.cxx.

References lcl_GetAuthorColor().

Referenced by SwModule::GetRedlineAuthorInfo().

static void lcl_FillAuthorAttr ( std::size_t  nAuthor,
SfxItemSet rSet,
const AuthorCharAttr rAttr 
)
static
static Color lcl_GetAuthorColor ( std::size_t  nPos)
static
static void lcl_SetUIPrefs ( const SwViewOption rPref,
SwView pView,
SwViewShell pSh 
)
static