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

#include <ww8par.hxx>

Collaboration diagram for wwSectionManager:
[legend]

Classes

struct  wwULSpaceData
 

Public Member Functions

 wwSectionManager (SwWW8ImplReader &rReader)
 
void SetCurrentSectionHasFootnote ()
 
void SetCurrentSectionVerticalAdjustment (const css::drawing::TextVerticalAdjust nVA)
 
bool CurrentSectionIsVertical () const
 
bool CurrentSectionIsProtected () const
 
void PrependedInlineNode (const SwPosition &rPos, const SwNode &rNode)
 
sal_uInt16 CurrentSectionColCount () const
 
bool WillHavePageDescHere (const SwNodeIndex &rIdx) const
 
void CreateSep (const long nTextPos)
 
void InsertSegments ()
 
void JoinNode (const SwPosition &rPos, const SwNode &rNode)
 
sal_uInt32 GetPageLeft () const
 
sal_uInt32 GetPageRight () const
 
sal_uInt32 GetPageWidth () const
 
sal_uInt32 GetWWPageTopMargin () const
 
sal_uInt32 GetTextAreaWidth () const
 

Private Types

typedef std::deque< wwSection >::iterator mySegIter
 

Private Member Functions

void SetSegmentToPageDesc (const wwSection &rSection, bool bIgnoreCols)
 
void GetPageULData (const wwSection &rNewSection, wwULSpaceData &rData) const
 
void SetUseOn (wwSection &rSection)
 
void SetHdFt (wwSection const &rSection, int nSect, const wwSection *pPrevious)
 
SwSectionFormatInsertSection (SwPaM const &rMyPaM, wwSection &rSection)
 
bool SectionIsProtected (const wwSection &rSection) const
 
void SetLeftRight (wwSection &rSection)
 
SwFormatPageDesc SetSwFormatPageDesc (mySegIter const &rIter, mySegIter const &rStart, bool bIgnoreCols)
 Map a word section to a writer page descriptor. More...
 
 wwSectionManager (const wwSectionManager &)=delete
 
wwSectionManageroperator= (const wwSectionManager &)=delete
 

Static Private Member Functions

static void SetPageULSpaceItems (SwFrameFormat &rFormat, wwULSpaceData const &rData, const wwSection &rSection)
 
static void SetPage (SwPageDesc &rPageDesc, SwFrameFormat &rFormat, const wwSection &rSection, bool bIgnoreCols)
 
static void SetNumberingType (const wwSection &rNewSection, SwPageDesc &rPageDesc)
 
static bool SetCols (SwFrameFormat &rFormat, const wwSection &rSection, sal_uInt32 nNetWidth)
 

Private Attributes

SwWW8ImplReadermrReader
 
std::deque< wwSectionmaSegments
 
sal_uInt16 mnDesc
 

Detailed Description

Definition at line 819 of file ww8par.hxx.

Member Typedef Documentation

typedef std::deque<wwSection>::iterator wwSectionManager::mySegIter
private

Definition at line 827 of file ww8par.hxx.

Constructor & Destructor Documentation

wwSectionManager::wwSectionManager ( const wwSectionManager )
privatedelete
wwSectionManager::wwSectionManager ( SwWW8ImplReader rReader)
inlineexplicit

Definition at line 877 of file ww8par.hxx.

Member Function Documentation

void wwSectionManager::CreateSep ( const long  nTextPos)

Definition at line 839 of file ww8par6.cxx.

References SwWW8ImplReader::AppendTextNode(), SwWW8ImplReader::ConvertFFileName(), ww::eWW2, ww::eWW6, ww::eWW7, ww::eWW8, FILE_LINK_SECTION, fnMoveBackward, WW8PLCFspecial::Get(), SwWW8ImplReader::GetFib(), WW8Fib::GetFIBVersion(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SvxPaperInfo::GetSloppyPaperDimension(), SwNode::GetTextNode(), GoInNode(), SwWW8ImplReader::HandleLineNumbering(), WW8PLCFx_SEPX::HasSprm(), SwWW8ImplReader::InLocalApo(), SwDoc::InsertSwSection(), lcl_ReadBorders(), lLetterHeight, lLetterWidth, SwWW8ImplReader::m_aLinkStringMap, SwWW8ImplReader::m_bTxbxFlySection, SwWW8ImplReader::m_nInTable, SwWW8ImplReader::m_pLastAnchorPos, SwWW8ImplReader::m_pPaM, SwWW8ImplReader::m_rDoc, SwWW8ImplReader::m_xHdFt, SwWW8ImplReader::m_xPlcxMan, SwWW8ImplReader::m_xWDop, SwWW8ImplReader::m_xWwFib, maSegments, MAX_NO_OF_SEP_COLUMNS, MM_200, MM_250, SwPaM::Move(), mrReader, SwPosition::nNode, SprmResult::nRemainingData, SprmResult::pSprm, ReadBSprm(), ReadSprm(), ReadUSprm(), WW8PLCFspecial::SeekPosExact(), SetLeftRight(), SwSectionData::SetLinkFileName(), SwSectionData::SetProtectFlag(), NS_sprm::v6::sprmSBkc, NS_sprm::sprmSBkc, NS_sprm::v6::sprmSBOrientation, NS_sprm::sprmSBOrientation, NS_sprm::v6::sprmSCcolumns, NS_sprm::sprmSCcolumns, NS_sprm::sprmSClm, NS_sprm::sprmScnsPgn, NS_sprm::v6::sprmSDmBinFirst, NS_sprm::sprmSDmBinFirst, NS_sprm::v6::sprmSDmBinOther, NS_sprm::sprmSDmBinOther, NS_sprm::v6::sprmSDxaColSpacing, NS_sprm::sprmSDxaColSpacing, NS_sprm::v6::sprmSDxaColumns, NS_sprm::sprmSDxaColumns, NS_sprm::v6::sprmSDxaColWidth, NS_sprm::sprmSDxaColWidth, NS_sprm::v6::sprmSDxaLeft, NS_sprm::sprmSDxaLeft, NS_sprm::v6::sprmSDxaLnn, NS_sprm::sprmSDxaLnn, NS_sprm::v6::sprmSDxaRight, NS_sprm::sprmSDxaRight, NS_sprm::sprmSDxtCharSpace, NS_sprm::v6::sprmSDyaBottom, NS_sprm::sprmSDyaBottom, NS_sprm::v6::sprmSDyaHdrBottom, NS_sprm::sprmSDyaHdrBottom, NS_sprm::v6::sprmSDyaHdrTop, NS_sprm::sprmSDyaHdrTop, NS_sprm::sprmSDyaLinePitch, NS_sprm::v6::sprmSDyaTop, NS_sprm::sprmSDyaTop, NS_sprm::v6::sprmSDzaGutter, NS_sprm::sprmSDzaGutter, NS_sprm::sprmSFBiDi, NS_sprm::v6::sprmSFEvenlySpaced, NS_sprm::sprmSFEvenlySpaced, NS_sprm::v6::sprmSFPgnRestart, NS_sprm::sprmSFPgnRestart, NS_sprm::v6::sprmSFProtected, NS_sprm::sprmSFProtected, NS_sprm::sprmSFRTLGutter, NS_sprm::v6::sprmSFTitlePage, NS_sprm::sprmSFTitlePage, NS_sprm::v6::sprmSiHeadingPgn, NS_sprm::sprmSiHeadingPgn, NS_sprm::v6::sprmSLBetween, NS_sprm::sprmSLBetween, NS_sprm::v6::sprmSLnc, NS_sprm::sprmSLnc, NS_sprm::v6::sprmSLnnMin, NS_sprm::sprmSLnnMin, NS_sprm::v6::sprmSNfcPgn, NS_sprm::sprmSNfcPgn, NS_sprm::v6::sprmSNLnnMod, NS_sprm::sprmSNLnnMod, NS_sprm::sprmSPgbProp, NS_sprm::v6::sprmSPgnStart, NS_sprm::sprmSPgnStart97, NS_sprm::v6::sprmSScnsPgn, NS_sprm::sprmSTextFlow, NS_sprm::v6::sprmSXaPage, NS_sprm::sprmSXaPage, NS_sprm::v6::sprmSYaPage, NS_sprm::sprmSYaPage, WW8PLCFspecial::Where(), nsHdFtFlags::WW8_FOOTER_EVEN, nsHdFtFlags::WW8_FOOTER_FIRST, nsHdFtFlags::WW8_FOOTER_ODD, nsHdFtFlags::WW8_HEADER_EVEN, nsHdFtFlags::WW8_HEADER_FIRST, and nsHdFtFlags::WW8_HEADER_ODD.

Referenced by SwWW8ImplReader::ReadTextAttr().

sal_uInt16 wwSectionManager::CurrentSectionColCount ( ) const

Definition at line 2885 of file ww8par5.cxx.

References maSegments.

Referenced by SwWW8ImplReader::FloatingTableConversion(), and SwWW8ImplReader::ReadChar().

bool wwSectionManager::CurrentSectionIsProtected ( ) const

Definition at line 140 of file ww8par2.cxx.

References maSegments, and SectionIsProtected().

Referenced by SwWW8ImplReader::Read_F_Tox().

bool wwSectionManager::CurrentSectionIsVertical ( ) const

Definition at line 131 of file ww8par2.cxx.

References maSegments.

Referenced by WW8FlySet::Init().

sal_uInt32 wwSectionManager::GetPageLeft ( ) const

Definition at line 149 of file ww8par2.cxx.

References maSegments.

Referenced by SwWW8ImplReader::ImportGraf().

sal_uInt32 wwSectionManager::GetPageRight ( ) const

Definition at line 154 of file ww8par2.cxx.

References maSegments.

Referenced by SwWW8ImplReader::ImportGraf().

void wwSectionManager::GetPageULData ( const wwSection rNewSection,
wwSectionManager::wwULSpaceData rData 
) const
private
sal_uInt32 wwSectionManager::GetPageWidth ( ) const

Definition at line 159 of file ww8par2.cxx.

References maSegments.

Referenced by SwWW8ImplReader::ImportGraf().

sal_uInt32 wwSectionManager::GetTextAreaWidth ( ) const
sal_uInt32 wwSectionManager::GetWWPageTopMargin ( ) const

Definition at line 169 of file ww8par2.cxx.

References maSegments.

Referenced by SwWW8ImplReader::StartApo(), and SwWW8ImplReader::StartTable().

SwSectionFormat * wwSectionManager::InsertSection ( SwPaM const &  rMyPaM,
wwSection rSection 
)
private
void wwSectionManager::InsertSegments ( )
void wwSectionManager::JoinNode ( const SwPosition rPos,
const SwNode rNode 
)

Definition at line 2497 of file ww8par6.cxx.

References maSegments, and SwPosition::nNode.

Referenced by SwWW8ImplReader::JoinNode().

wwSectionManager& wwSectionManager::operator= ( const wwSectionManager )
privatedelete
void wwSectionManager::PrependedInlineNode ( const SwPosition rPos,
const SwNode rNode 
)
bool wwSectionManager::SectionIsProtected ( const wwSection rSection) const
private
bool wwSectionManager::SetCols ( SwFrameFormat rFormat,
const wwSection rSection,
sal_uInt32  nNetWidth 
)
staticprivate
void wwSectionManager::SetCurrentSectionHasFootnote ( )

Definition at line 115 of file ww8par2.cxx.

References maSegments.

void wwSectionManager::SetCurrentSectionVerticalAdjustment ( const css::drawing::TextVerticalAdjust  nVA)

Definition at line 123 of file ww8par2.cxx.

References maSegments.

Referenced by SwWW8ImplReader::Read_TextVerticalAdjustment().

void wwSectionManager::SetHdFt ( wwSection const &  rSection,
int  nSect,
const wwSection pPrevious 
)
private
void wwSectionManager::SetLeftRight ( wwSection rSection)
private
void wwSectionManager::SetNumberingType ( const wwSection rNewSection,
SwPageDesc rPageDesc 
)
staticprivate
void wwSectionManager::SetPage ( SwPageDesc rPageDesc,
SwFrameFormat rFormat,
const wwSection rSection,
bool  bIgnoreCols 
)
staticprivate
void wwSectionManager::SetPageULSpaceItems ( SwFrameFormat rFormat,
wwSectionManager::wwULSpaceData const &  rData,
const wwSection rSection 
)
staticprivate
void wwSectionManager::SetSegmentToPageDesc ( const wwSection rSection,
bool  bIgnoreCols 
)
private
SwFormatPageDesc wwSectionManager::SetSwFormatPageDesc ( mySegIter const &  rIter,
mySegIter const &  rStart,
bool  bIgnoreCols 
)
private
void wwSectionManager::SetUseOn ( wwSection rSection)
private
bool wwSectionManager::WillHavePageDescHere ( const SwNodeIndex rIdx) const

Definition at line 2895 of file ww8par5.cxx.

References maSegments.

Referenced by SwWW8ImplReader::Read_F_Tox().

Member Data Documentation

std::deque<wwSection> wwSectionManager::maSegments
private
sal_uInt16 wwSectionManager::mnDesc
private

Definition at line 830 of file ww8par.hxx.

Referenced by SetSwFormatPageDesc().

SwWW8ImplReader& wwSectionManager::mrReader
private

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