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

#include <ww8par2.hxx>

Inheritance diagram for WW8RStyle:
[legend]
Collaboration diagram for WW8RStyle:
[legend]

Public Member Functions

 WW8RStyle (WW8Fib &rFib, SwWW8ImplReader *pI)
 
void Import ()
 
void PostProcessStyles ()
 
SprmResult HasParaSprm (sal_uInt16 nId) const
 
- Public Member Functions inherited from WW8Style
 WW8Style (SvStream &rSt, WW8Fib &rFibPara)
 
std::unique_ptr< WW8_STDRead1STDFixed (sal_uInt16 &rSkip)
 
std::unique_ptr< WW8_STDRead1Style (sal_uInt16 &rSkip, OUString *pString)
 
sal_uInt16 GetCount () const
 

Private Member Functions

void ImportSprms (std::size_t nPosFc, short nLen, bool bPap)
 
void ImportSprms (sal_uInt8 *pSprms, short nLen, bool bPap)
 
void ImportGrupx (short nLen, bool bPara, bool bOdd)
 
short ImportUPX (short nLen, bool bPAP, bool bOdd)
 
void Set1StyleDefaults ()
 
void Import1Style (sal_uInt16 nNr, std::map< OUString, sal_Int32 > &rParaCollisions, std::map< OUString, sal_Int32 > &rCharCollisions)
 
void RecursiveReg (sal_uInt16 nNr)
 
void ImportNewFormatStyles ()
 
void ScanStyles ()
 
void ImportOldFormatStyles ()
 
bool PrepareStyle (SwWW8StyInf &rSI, ww::sti eSti, sal_uInt16 nThisStyle, sal_uInt16 nNextStyle, std::map< OUString, sal_Int32 > &rParaCollisions, std::map< OUString, sal_Int32 > &rCharCollisions)
 
void PostStyle (SwWW8StyInf const &rSI, bool bOldNoImp)
 
 WW8RStyle (const WW8RStyle &)=delete
 
WW8RStyleoperator= (const WW8RStyle &)=delete
 

Private Attributes

wwSprmParser maSprmParser
 
SwWW8ImplReadermpIo
 
SvStreammpStStrm
 
SwNumRulempStyRule
 
sal_uInt8mpParaSprms
 
sal_uInt16 mnSprmsLen
 
sal_uInt8 mnWwNumLevel
 
bool mbTextColChanged
 
bool mbFontChanged
 
bool mbCJKFontChanged
 
bool mbCTLFontChanged
 
bool mbFSizeChanged
 
bool mbFCTLSizeChanged
 
bool mbWidowsChanged
 
bool mbBidiChanged
 

Friends

class SwWW8ImplReader
 

Additional Inherited Members

- Protected Member Functions inherited from WW8Style
 WW8Style (const WW8Style &)
 
WW8Styleoperator= (const WW8Style &)
 
- Protected Attributes inherited from WW8Style
WW8Fibm_rFib
 
SvStreamm_rStream
 
sal_uInt16 m_cstd
 
sal_uInt16 m_cbSTDBaseInFile
 
sal_uInt16 m_fStdStylenamesWritten: 1
 
sal_uInt16 __pad0__: 15
 
sal_uInt16 m_stiMaxWhenSaved
 
sal_uInt16 m_istdMaxFixedWhenSaved
 
sal_uInt16 m_nVerBuiltInNamesWhenSaved
 
sal_uInt16 m_ftcAsci
 
sal_uInt16 m_ftcFE
 
sal_uInt16 m_ftcOther
 
sal_uInt16 m_ftcBi
 

Detailed Description

Definition at line 91 of file ww8par2.hxx.

Constructor & Destructor Documentation

◆ WW8RStyle() [1/2]

WW8RStyle::WW8RStyle ( const WW8RStyle )
privatedelete

◆ WW8RStyle() [2/2]

WW8RStyle::WW8RStyle ( WW8Fib rFib,
SwWW8ImplReader pI 
)

Definition at line 3694 of file ww8par2.cxx.

References WW8Style::m_cstd, SwWW8ImplReader::m_vColl, and mpIo.

Member Function Documentation

◆ HasParaSprm()

SprmResult WW8RStyle::HasParaSprm ( sal_uInt16  nId) const

◆ Import()

void WW8RStyle::Import ( )

◆ Import1Style()

void WW8RStyle::Import1Style ( sal_uInt16  nNr,
std::map< OUString, sal_Int32 > &  rParaCollisions,
std::map< OUString, sal_Int32 > &  rCharCollisions 
)
private

◆ ImportGrupx()

void WW8RStyle::ImportGrupx ( short  nLen,
bool  bPara,
bool  bOdd 
)
private

Definition at line 3680 of file ww8par2.cxx.

References ImportUPX(), mpStStrm, WW8SkipEven(), and WW8SkipOdd().

Referenced by Import1Style().

◆ ImportNewFormatStyles()

void WW8RStyle::ImportNewFormatStyles ( )
private

Definition at line 4486 of file ww8par2.cxx.

References i, Import1Style(), WW8Style::m_cstd, SwWW8ImplReader::m_vColl, mpIo, and ScanStyles().

Referenced by Import().

◆ ImportOldFormatStyles()

void WW8RStyle::ImportOldFormatStyles ( )
private

◆ ImportSprms() [1/2]

void WW8RStyle::ImportSprms ( sal_uInt8 pSprms,
short  nLen,
bool  bPap 
)
private

◆ ImportSprms() [2/2]

void WW8RStyle::ImportSprms ( std::size_t  nPosFc,
short  nLen,
bool  bPap 
)
private

Definition at line 3603 of file ww8par2.cxx.

References checkSeek(), ImportSprms(), mpStStrm, and SvStream::ReadBytes().

Referenced by ImportOldFormatStyles(), ImportSprms(), and ImportUPX().

◆ ImportUPX()

short WW8RStyle::ImportUPX ( short  nLen,
bool  bPAP,
bool  bOdd 
)
private

◆ operator=()

WW8RStyle & WW8RStyle::operator= ( const WW8RStyle )
privatedelete

◆ PostProcessStyles()

void WW8RStyle::PostProcessStyles ( )

Definition at line 3958 of file ww8par2.cxx.

References i, WW8Style::m_cstd, SwWW8ImplReader::m_vColl, mpIo, and RecursiveReg().

◆ PostStyle()

void WW8RStyle::PostStyle ( SwWW8StyInf const &  rSI,
bool  bOldNoImp 
)
private

◆ PrepareStyle()

bool WW8RStyle::PrepareStyle ( SwWW8StyInf rSI,
ww::sti  eSti,
sal_uInt16  nThisStyle,
sal_uInt16  nNextStyle,
std::map< OUString, sal_Int32 > &  rParaCollisions,
std::map< OUString, sal_Int32 > &  rCharCollisions 
)
private

◆ RecursiveReg()

void WW8RStyle::RecursiveReg ( sal_uInt16  nNr)
private

◆ ScanStyles()

void WW8RStyle::ScanStyles ( )
private

◆ Set1StyleDefaults()

void WW8RStyle::Set1StyleDefaults ( )
private

Friends And Related Function Documentation

◆ SwWW8ImplReader

friend class SwWW8ImplReader
friend

Definition at line 93 of file ww8par2.hxx.

Member Data Documentation

◆ maSprmParser

wwSprmParser WW8RStyle::maSprmParser
private

Definition at line 94 of file ww8par2.hxx.

Referenced by HasParaSprm(), and ImportSprms().

◆ mbBidiChanged

bool WW8RStyle::mbBidiChanged
private

Definition at line 112 of file ww8par2.hxx.

Referenced by Set1StyleDefaults().

◆ mbCJKFontChanged

bool WW8RStyle::mbCJKFontChanged
private

Definition at line 107 of file ww8par2.hxx.

Referenced by PrepareStyle(), and Set1StyleDefaults().

◆ mbCTLFontChanged

bool WW8RStyle::mbCTLFontChanged
private

Definition at line 108 of file ww8par2.hxx.

Referenced by PrepareStyle(), and Set1StyleDefaults().

◆ mbFCTLSizeChanged

bool WW8RStyle::mbFCTLSizeChanged
private

Definition at line 110 of file ww8par2.hxx.

Referenced by PrepareStyle(), and Set1StyleDefaults().

◆ mbFontChanged

bool WW8RStyle::mbFontChanged
private

Definition at line 106 of file ww8par2.hxx.

Referenced by PrepareStyle(), and Set1StyleDefaults().

◆ mbFSizeChanged

bool WW8RStyle::mbFSizeChanged
private

Definition at line 109 of file ww8par2.hxx.

Referenced by PrepareStyle(), and Set1StyleDefaults().

◆ mbTextColChanged

bool WW8RStyle::mbTextColChanged
private

Definition at line 105 of file ww8par2.hxx.

Referenced by PrepareStyle(), and Set1StyleDefaults().

◆ mbWidowsChanged

bool WW8RStyle::mbWidowsChanged
private

Definition at line 111 of file ww8par2.hxx.

Referenced by PrepareStyle(), and Set1StyleDefaults().

◆ mnSprmsLen

sal_uInt16 WW8RStyle::mnSprmsLen
private

Definition at line 101 of file ww8par2.hxx.

Referenced by HasParaSprm(), and ImportSprms().

◆ mnWwNumLevel

sal_uInt8 WW8RStyle::mnWwNumLevel
private

Definition at line 103 of file ww8par2.hxx.

◆ mpIo

SwWW8ImplReader* WW8RStyle::mpIo
private

◆ mpParaSprms

sal_uInt8* WW8RStyle::mpParaSprms
private

Definition at line 100 of file ww8par2.hxx.

Referenced by HasParaSprm(), and ImportSprms().

◆ mpStStrm

SvStream* WW8RStyle::mpStStrm
private

Definition at line 96 of file ww8par2.hxx.

Referenced by Import1Style(), ImportGrupx(), ImportSprms(), ImportUPX(), and ScanStyles().

◆ mpStyRule

SwNumRule* WW8RStyle::mpStyRule
private

Definition at line 98 of file ww8par2.hxx.

Referenced by PostStyle(), and PrepareStyle().


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