LibreOffice Module sw (master)  1
Classes | Macros | Functions
docstyle.cxx File Reference
#include <memory>
#include <sal/config.h>
#include <sal/log.hxx>
#include <cstdlib>
#include <hintids.hxx>
#include <svl/itemiter.hxx>
#include <svl/eitem.hxx>
#include <unotools/syslocale.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/numitem.hxx>
#include <editeng/lrspitem.hxx>
#include <drawdoc.hxx>
#include <fmtcol.hxx>
#include <uitool.hxx>
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <docsh.hxx>
#include <frmfmt.hxx>
#include <charfmt.hxx>
#include <tblafmt.hxx>
#include <poolfmt.hxx>
#include <pagedesc.hxx>
#include <docstyle.hxx>
#include <docary.hxx>
#include <ccoll.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentState.hxx>
#include <cmdid.h>
#include <app.hrc>
#include <strings.hrc>
#include <paratr.hxx>
#include <SwStyleNameMapper.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
#include <unotools/localedatawrapper.hxx>
#include <unotools/intlwrapper.hxx>
#include <numrule.hxx>
#include <fmthdft.hxx>
#include <svx/svxids.hrc>
#include <svx/xdef.hxx>
#include <SwRewriter.hxx>
#include <hints.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xflftrit.hxx>
#include <svx/svdmodel.hxx>
#include <svx/drawitem.hxx>
Include dependency graph for docstyle.cxx:

Go to the source code of this file.

Classes

class  SwImplShellAction
 

Macros

#define cCHAR   u'c'
 
#define cPARA   u'p'
 
#define cFRAME   u'f'
 
#define cPAGE   u'g'
 
#define cNUMRULE   u'n'
 
#define cTABSTYLE   u't'
 
#define cCELLSTYLE   u'b'
 

Functions

static SwCharFormatlcl_FindCharFormat (SwDoc &rDoc, const OUString &rName, SwDocStyleSheet *pStyle=nullptr, bool bCreate=true)
 
static SwTextFormatColllcl_FindParaFormat (SwDoc &rDoc, const OUString &rName, SwDocStyleSheet *pStyle=nullptr, bool bCreate=true)
 
static SwFrameFormatlcl_FindFrameFormat (SwDoc &rDoc, const OUString &rName, SwDocStyleSheet *pStyle=nullptr, bool bCreate=true)
 
static const SwPageDesclcl_FindPageDesc (SwDoc &rDoc, const OUString &rName, SwDocStyleSheet *pStyle=nullptr, bool bCreate=true)
 
static const SwNumRulelcl_FindNumRule (SwDoc &rDoc, const OUString &rName, SwDocStyleSheet *pStyle=nullptr, bool bCreate=true)
 
static SwTableAutoFormatlcl_FindTableStyle (SwDoc &rDoc, const OUString &rName, SwDocStyleSheet *pStyle=nullptr, bool bCreate=true)
 
static const SwBoxAutoFormatlcl_FindCellStyle (SwDoc &rDoc, const OUString &rName, SwDocStyleSheet *pStyle)
 
static std::unique_ptr< SfxItemSetlcl_SwFormatToFlatItemSet (SwFormat const *const pFormat)
 
static void lcl_SaveStyles (SfxStyleFamily nFamily, std::vector< void * > &rArr, SwDoc &rDoc)
 
static bool lcl_Contains (const std::vector< void * > &rArr, const void *p)
 
static void lcl_DeleteInfoStyles (SfxStyleFamily nFamily, std::vector< void * > const &rArr, SwDoc &rDoc)
 

Macro Definition Documentation

#define cCELLSTYLE   u'b'
#define cCHAR   u'c'
#define cFRAME   u'f'
#define cNUMRULE   u'n'
#define cPAGE   u'g'
#define cPARA   u'p'
#define cTABSTYLE   u't'

Function Documentation

static bool lcl_Contains ( const std::vector< void * > &  rArr,
const void p 
)
static

Definition at line 1774 of file docstyle.cxx.

Referenced by lcl_DeleteInfoStyles().

static void lcl_DeleteInfoStyles ( SfxStyleFamily  nFamily,
std::vector< void * > const &  rArr,
SwDoc rDoc 
)
static
static const SwBoxAutoFormat* lcl_FindCellStyle ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle 
)
static
static SwCharFormat* lcl_FindCharFormat ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static
static SwFrameFormat* lcl_FindFrameFormat ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static
static const SwNumRule* lcl_FindNumRule ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static
static const SwPageDesc* lcl_FindPageDesc ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static
static SwTextFormatColl* lcl_FindParaFormat ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static
static SwTableAutoFormat* lcl_FindTableStyle ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static
static void lcl_SaveStyles ( SfxStyleFamily  nFamily,
std::vector< void * > &  rArr,
SwDoc rDoc 
)
static
static std::unique_ptr<SfxItemSet> lcl_SwFormatToFlatItemSet ( SwFormat const *const  pFormat)
static