LibreOffice Module sw (master) 1
Functions
docstyle.cxx File Reference
#include <memory>
#include <sal/config.h>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <cstdlib>
#include <hintids.hxx>
#include <rtl/ustrbuf.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 <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 <strings.hrc>
#include <paratr.hxx>
#include <SwStyleNameMapper.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
#include <unotools/intlwrapper.hxx>
#include <numrule.hxx>
#include <svx/xdef.hxx>
#include <SwRewriter.hxx>
#include <hints.hxx>
#include <frameformats.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/eeitem.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xflftrit.hxx>
#include <svx/drawitem.hxx>
Include dependency graph for docstyle.cxx:

Go to the source code of this file.

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, std::u16string_view rName, SwDocStyleSheet *pStyle)
 
static void lcl_SwFormatToFlatItemSet (SwFormat const *const pFormat, std::optional< SfxItemSet > &pRet)
 
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)
 

Function Documentation

◆ lcl_Contains()

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

Definition at line 1956 of file docstyle.cxx.

References p.

Referenced by lcl_DeleteInfoStyles().

◆ lcl_DeleteInfoStyles()

static void lcl_DeleteInfoStyles ( SfxStyleFamily  nFamily,
std::vector< void * > const &  rArr,
SwDoc rDoc 
)
static

◆ lcl_FindCellStyle()

static const SwBoxAutoFormat * lcl_FindCellStyle ( SwDoc rDoc,
std::u16string_view  rName,
SwDocStyleSheet pStyle 
)
static

◆ lcl_FindCharFormat()

static SwCharFormat * lcl_FindCharFormat ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static

◆ lcl_FindFrameFormat()

static SwFrameFormat * lcl_FindFrameFormat ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static

◆ lcl_FindNumRule()

static const SwNumRule * lcl_FindNumRule ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static

◆ lcl_FindPageDesc()

static const SwPageDesc * lcl_FindPageDesc ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static

◆ lcl_FindParaFormat()

static SwTextFormatColl * lcl_FindParaFormat ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static

◆ lcl_FindTableStyle()

static SwTableAutoFormat * lcl_FindTableStyle ( SwDoc rDoc,
const OUString &  rName,
SwDocStyleSheet pStyle = nullptr,
bool  bCreate = true 
)
static

◆ lcl_SaveStyles()

static void lcl_SaveStyles ( SfxStyleFamily  nFamily,
std::vector< void * > &  rArr,
SwDoc rDoc 
)
static

◆ lcl_SwFormatToFlatItemSet()

static void lcl_SwFormatToFlatItemSet ( SwFormat const *const  pFormat,
std::optional< SfxItemSet > &  pRet 
)
static