LibreOffice Module sc (master) 1
Functions | Variables
patattr.cxx File Reference
#include <memory>
#include <utility>
#include <scitems.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/lineitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/charreliefitem.hxx>
#include <editeng/contouritem.hxx>
#include <svtools/colorcfg.hxx>
#include <editeng/colritem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/forbiddenruleitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/postitem.hxx>
#include <svx/rotmodit.hxx>
#include <editeng/scriptspaceitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/wrlmitem.hxx>
#include <editeng/justifyitem.hxx>
#include <svl/intitem.hxx>
#include <svl/numformat.hxx>
#include <svl/zforlist.hxx>
#include <vcl/outdev.hxx>
#include <tools/fract.hxx>
#include <tools/UnitConversion.hxx>
#include <osl/diagnose.h>
#include <attrib.hxx>
#include <patattr.hxx>
#include <docpool.hxx>
#include <stlsheet.hxx>
#include <stlpool.hxx>
#include <document.hxx>
#include <globstr.hrc>
#include <scresid.hxx>
#include <validat.hxx>
#include <scmod.hxx>
#include <fillinfo.hxx>
#include <boost/functional/hash.hpp>
Include dependency graph for patattr.cxx:

Go to the source code of this file.

Functions

static bool StrCmp (const OUString *pStr1, const OUString *pStr2)
 
static bool EqualPatternSets (const SfxItemSet &rSet1, const SfxItemSet &rSet2)
 
template<class T >
static void lcl_populate (std::unique_ptr< T > &rxItem, TypedWhichId< T > nWhich, const SfxItemSet &rSrcSet, const SfxItemSet *pCondSet)
 
static SfxStyleSheetBaselcl_CopyStyleToPool (SfxStyleSheetBase *pSrcStyle, SfxStyleSheetBasePool *pSrcPool, SfxStyleSheetBasePool *pDestPool, const SvNumberFormatterIndexTable *pFormatExchangeList)
 
static bool OneEqual (const SfxItemSet &rSet1, const SfxItemSet &rSet2, sal_uInt16 nId)
 

Variables

constexpr size_t compareSize = ATTR_PATTERN_END - ATTR_PATTERN_START + 1
 

Function Documentation

◆ EqualPatternSets()

static bool EqualPatternSets ( const SfxItemSet rSet1,
const SfxItemSet rSet2 
)
static

Definition at line 142 of file patattr.cxx.

References equal(), and ScPatternAttr::FastEqualPatternSets().

Referenced by ScPatternAttr::Lookup(), and ScPatternAttr::operator==().

◆ lcl_CopyStyleToPool()

static SfxStyleSheetBase * lcl_CopyStyleToPool ( SfxStyleSheetBase pSrcStyle,
SfxStyleSheetBasePool pSrcPool,
SfxStyleSheetBasePool pDestPool,
const SvNumberFormatterIndexTable pFormatExchangeList 
)
static

◆ lcl_populate()

template<class T >
static void lcl_populate ( std::unique_ptr< T > &  rxItem,
TypedWhichId< T >  nWhich,
const SfxItemSet rSrcSet,
const SfxItemSet pCondSet 
)
static

Definition at line 593 of file patattr.cxx.

References SfxItemSet::Get(), and SfxItemSet::GetItemIfSet().

Referenced by ScPatternAttr::FillToEditItemSet().

◆ OneEqual()

static bool OneEqual ( const SfxItemSet rSet1,
const SfxItemSet rSet2,
sal_uInt16  nId 
)
static

Definition at line 1186 of file patattr.cxx.

References SfxItemSet::Get(), and nId.

Referenced by ScPatternAttr::IsVisibleEqual().

◆ StrCmp()

static bool StrCmp ( const OUString *  pStr1,
const OUString *  pStr2 
)
static

Definition at line 109 of file patattr.cxx.

Referenced by ScPatternAttr::Lookup(), and ScPatternAttr::operator==().

Variable Documentation

◆ compareSize

constexpr size_t compareSize = ATTR_PATTERN_END - ATTR_PATTERN_START + 1
constexpr