LibreOffice Module sw (master)  1
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
WW8ListManager Class Reference

#include <ww8par.hxx>

Collaboration diagram for WW8ListManager:
[legend]

Public Types

enum  ListLevel {
  nMinLevel =1,
  nMaxLevel =9
}
 

Public Member Functions

 WW8ListManager (SvStream &rSt_, SwWW8ImplReader &rReader_)
 
SwNumRuleGetNumRuleForActivation (sal_uInt16 nLFOPosition, const sal_uInt8 nLevel, std::vector< sal_uInt8 > &rParaSprms, SwTextNode *pNode=nullptr)
 
SwNumRuleCreateNextRule (bool bSimple)
 
 ~WW8ListManager () COVERITY_NOEXCEPT_FALSE
 
SwNumRuleGetNumRule (size_t i)
 
size_t GetWW8LSTInfoNum () const
 

Private Types

typedef std::unique_ptr< SfxItemSetWW8aISet[nMaxLevel]
 
typedef SwCharFormatWW8aCFormat[nMaxLevel]
 

Private Member Functions

SprmResult GrpprlHasSprm (sal_uInt16 nId, sal_uInt8 &rSprms, sal_uInt8 nLen)
 
WW8LSTInfoGetLSTByListId (sal_uInt32 nIdLst) const
 
bool ReadLVL (SwNumFormat &rNumFormat, std::unique_ptr< SfxItemSet > &rpItemSet, sal_uInt16 nLevelStyle, bool bSetStartNo, std::deque< bool > &rNotReallyThere, sal_uInt16 nLevel, ww::bytes &rParaSprms)
 
void AdjustLVL (sal_uInt8 nLevel, SwNumRule &rNumRule, WW8aISet const &rListItemSet, WW8aCFormat &aCharFormat, bool &bNewCharFormatCreated, const OUString &aPrefix=OUString())
 
 WW8ListManager (const WW8ListManager &)=delete
 
WW8ListManageroperator= (const WW8ListManager &)=delete
 

Private Attributes

wwSprmParser const maSprmParser
 
SwWW8ImplReaderrReader
 
SwDocrDoc
 
const WW8FibrFib
 
SvStreamrSt
 
std::vector< std::unique_ptr< WW8LSTInfo > > maLSTInfos
 
std::vector< std::unique_ptr< WW8LFOInfo > > m_LFOInfos
 
sal_uInt16 nUniqueList
 
sal_uInt16 nLastLFOPosition
 

Detailed Description

Definition at line 145 of file ww8par.hxx.

Member Typedef Documentation

typedef SwCharFormat* WW8ListManager::WW8aCFormat[nMaxLevel]
private

Definition at line 179 of file ww8par.hxx.

typedef std::unique_ptr<SfxItemSet> WW8ListManager::WW8aISet[nMaxLevel]
private

Definition at line 177 of file ww8par.hxx.

Member Enumeration Documentation

Enumerator
nMinLevel 
nMaxLevel 

Definition at line 150 of file ww8par.hxx.

Constructor & Destructor Documentation

WW8ListManager::WW8ListManager ( SvStream rSt_,
SwWW8ImplReader rReader_ 
)
WW8ListManager::~WW8ListManager ( )

Definition at line 1476 of file ww8par3.cxx.

References SwDoc::DelNumRule(), m_LFOInfos, maLSTInfos, and rDoc.

WW8ListManager::WW8ListManager ( const WW8ListManager )
privatedelete

Member Function Documentation

void WW8ListManager::AdjustLVL ( sal_uInt8  nLevel,
SwNumRule rNumRule,
WW8aISet const &  rListItemSet,
WW8aCFormat aCharFormat,
bool &  bNewCharFormatCreated,
const OUString &  aPrefix = OUString() 
)
private
SwNumRule * WW8ListManager::CreateNextRule ( bool  bSimple)
WW8LSTInfo * WW8ListManager::GetLSTByListId ( sal_uInt32  nIdLst) const
private

Definition at line 471 of file ww8par3.cxx.

References maLSTInfos.

Referenced by GetNumRuleForActivation(), and WW8ListManager().

SwNumRule * WW8ListManager::GetNumRule ( size_t  i)

Definition at line 1127 of file ww8par3.cxx.

References maLSTInfos.

SwNumRule * WW8ListManager::GetNumRuleForActivation ( sal_uInt16  nLFOPosition,
const sal_uInt8  nLevel,
std::vector< sal_uInt8 > &  rParaSprms,
SwTextNode pNode = nullptr 
)
size_t WW8ListManager::GetWW8LSTInfoNum ( ) const
inline

Definition at line 158 of file ww8par.hxx.

References maLSTInfos.

SprmResult WW8ListManager::GrpprlHasSprm ( sal_uInt16  nId,
sal_uInt8 rSprms,
sal_uInt8  nLen 
)
private

Definition at line 454 of file ww8par3.cxx.

References wwSprmParser::findSprmData(), and maSprmParser.

Referenced by ReadLVL().

WW8ListManager& WW8ListManager::operator= ( const WW8ListManager )
privatedelete
bool WW8ListManager::ReadLVL ( SwNumFormat rNumFormat,
std::unique_ptr< SfxItemSet > &  rpItemSet,
sal_uInt16  nLevelStyle,
bool  bSetStartNo,
std::deque< bool > &  rNotReallyThere,
sal_uInt16  nLevel,
ww::bytes rParaSprms 
)
private

Definition at line 518 of file ww8par3.cxx.

References WW8SprmIter::advance(), WW8LVL::aOfsNumsXCH, sw::sidebar::BITMAP, WW8LVL::bV6, WW8LVL::bV6Prev, WW8LVL::bV6PrSp, ERRCODE_NONE, SwDoc::GetAttrPool(), SwWW8ImplReader::GetCurrentColl(), WW8SprmIter::GetCurrentId(), SvStream::GetError(), SvxNumberFormat::GetPositionAndSpaceMode(), WW8SprmIter::GetRemLen(), WW8SprmIter::GetSprms(), SwWW8ImplReader::GetToggleAttrFlags(), SwWW8ImplReader::GetToggleBiDiAttrFlags(), GrpprlHasSprm(), i, SwWW8ImplReader::ImportSprm(), SvxNumberFormat::LABEL_WIDTH_AND_POSITION, lcl_CopyGreaterEight(), SvxNumberFormat::LISTTAB, maSprmParser, WW8LVL::nAlign, WW8LVL::nDxaLeft, WW8LVL::nDxaLeft1, WW8LVL::nLenGrpprlChpx, WW8LVL::nLenGrpprlPapx, nMaxLevel, WW8LVL::nNFC, SvxNumberFormat::NOTHING, nPos, SprmResult::nRemainingData, WW8LVL::nStartAt, nType, WW8LVL::nV6DxaSpace, WW8LVL::nV6Indent, SprmResult::pSprm, rDoc, read_uInt16_PascalString(), SvStream::ReadBytes(), SvStream::ReadInt32(), SvStream::ReadUChar(), RES_CHRATR_BEGIN, RES_CHRATR_END, rReader, rSt, SAL_MAX_INT32, sanitizeString(), SvStream::SeekRel(), SvxNumberFormat::SetAbsLSpace(), SvxNumberFormat::SetBulletChar(), SvxNumberFormat::SetCharTextDistance(), SwWW8ImplReader::SetCurrentItemSet(), SvxNumberFormat::SetFirstLineIndent(), SvxNumberFormat::SetFirstLineOffset(), SwNumFormat::SetGrfBulletCP(), SvxNumberFormat::SetIncludeUpperLevels(), SvxNumberFormat::SetIndentAt(), SvxNumberFormat::SetLabelFollowedBy(), SvxNumberFormat::SetListtabPos(), SwWW8ImplReader::SetNCurrentColl(), SvxNumberFormat::SetNumAdjust(), SvxNumberType::SetNumberingType(), SvxNumberFormat::SetPrefix(), SvxNumberFormat::SetStart(), SvxNumberFormat::SetSuffix(), SwWW8ImplReader::SetToggleAttrFlags(), SwWW8ImplReader::SetToggleBiDiAttrFlags(), SvxNumberFormat::SPACE, NS_sprm::sprmCPbiGrf, NS_sprm::sprmCPbiIBullet, ww::stiNil, SVX_NUM_AIU_FULLWIDTH_JA, SVX_NUM_AIU_HALFWIDTH_JA, SVX_NUM_ARABIC, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_CHARS_LOWER_LETTER_N, SVX_NUM_CHARS_UPPER_LETTER_N, SVX_NUM_DI_ZI_ZH, SVX_NUM_FULL_WIDTH_ARABIC, SVX_NUM_HANGUL_JAMO_KO, SVX_NUM_HANGUL_SYLLABLE_KO, SVX_NUM_IROHA_FULLWIDTH_JA, SVX_NUM_IROHA_HALFWIDTH_JA, SVX_NUM_NUMBER_HANGUL_KO, SVX_NUM_NUMBER_LOWER_ZH, SVX_NUM_NUMBER_NONE, SVX_NUM_NUMBER_TRADITIONAL_JA, SVX_NUM_NUMBER_UPPER_KO, SVX_NUM_NUMBER_UPPER_ZH, SVX_NUM_NUMBER_UPPER_ZH_TW, SVX_NUM_ROMAN_LOWER, SVX_NUM_ROMAN_UPPER, SVX_NUM_TIAN_GAN_ZH, and USHRT_MAX.

Referenced by WW8ListManager().

Member Data Documentation

std::vector<std::unique_ptr<WW8LFOInfo> > WW8ListManager::m_LFOInfos
private

Definition at line 166 of file ww8par.hxx.

Referenced by GetNumRuleForActivation(), WW8ListManager(), and ~WW8ListManager().

std::vector<std::unique_ptr<WW8LSTInfo> > WW8ListManager::maLSTInfos
private
wwSprmParser const WW8ListManager::maSprmParser
private

Definition at line 160 of file ww8par.hxx.

Referenced by GrpprlHasSprm(), and ReadLVL().

sal_uInt16 WW8ListManager::nLastLFOPosition
private

Definition at line 187 of file ww8par.hxx.

Referenced by GetNumRuleForActivation().

sal_uInt16 WW8ListManager::nUniqueList
private

Definition at line 167 of file ww8par.hxx.

Referenced by CreateNextRule().

SwDoc& WW8ListManager::rDoc
private

Definition at line 162 of file ww8par.hxx.

Referenced by AdjustLVL(), CreateNextRule(), ReadLVL(), WW8ListManager(), and ~WW8ListManager().

const WW8Fib& WW8ListManager::rFib
private

Definition at line 163 of file ww8par.hxx.

Referenced by WW8ListManager().

SwWW8ImplReader& WW8ListManager::rReader
private

Definition at line 161 of file ww8par.hxx.

Referenced by GetNumRuleForActivation(), ReadLVL(), and WW8ListManager().

SvStream& WW8ListManager::rSt
private

Definition at line 164 of file ww8par.hxx.

Referenced by ReadLVL(), and WW8ListManager().


The documentation for this class was generated from the following files: