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 SwNode &) const
 
void CreateSep (const tools::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
 
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)
 
static void SetLeftRight (wwSection &rSection)
 

Private Attributes

SwWW8ImplReadermrReader
 
std::deque< wwSectionmaSegments
 
sal_uInt16 mnDesc
 

Detailed Description

Definition at line 822 of file ww8par.hxx.

Member Typedef Documentation

◆ mySegIter

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

Definition at line 830 of file ww8par.hxx.

Constructor & Destructor Documentation

◆ wwSectionManager() [1/2]

wwSectionManager::wwSectionManager ( const wwSectionManager )
privatedelete

◆ wwSectionManager() [2/2]

wwSectionManager::wwSectionManager ( SwWW8ImplReader rReader)
inlineexplicit

Definition at line 880 of file ww8par.hxx.

Member Function Documentation

◆ CreateSep()

void wwSectionManager::CreateSep ( const tools::Long  nTextPos)

Definition at line 861 of file ww8par6.cxx.

References SwWW8ImplReader::AppendTextNode(), SEPr::bkc, SEPr::ccolM1, SEPr::clm, SEPr::cnsPgn, SwWW8ImplReader::ConvertFFileName(), SEPr::dmBinFirst, SEPr::dmBinOther, SEPr::dmOrientPage, SEPr::dxaColumns, SEPr::dxaLeft, SEPr::dxaLnn, SEPr::dxaRight, SEPr::dxtCharSpace, SEPr::dyaBottom, SEPr::dyaHdrBottom, SEPr::dyaHdrTop, SEPr::dyaLinePitch, SEPr::dyaTop, SEPr::dzaGutter, ww::eWW2, ww::eWW6, ww::eWW7, ww::eWW8, SEPr::fBiDi, SEPr::fEvenlySpaced, FileLink, SEPr::fLBetween, fnMoveBackward, SEPr::fPgnRestart, SEPr::fRTLGutter, SEPr::fTitlePage, SEPr::fUnlocked, WW8PLCFspecial::Get(), SwWW8ImplReader::GetFib(), WW8Fib::GetFIBVersion(), SwPosition::GetNode(), SwPaM::GetPoint(), SvxPaperInfo::GetSloppyPaperDimension(), SwNode::GetTextNode(), GoInNode(), SEPr::grpfIhdt, SwWW8ImplReader::HandleLineNumbering(), WW8PLCFx_SEPX::HasSprm(), SEPr::iHeadingPgn, SwWW8ImplReader::InLocalApo(), SwDoc::InsertSwSection(), lcl_ReadBorders(), lLetterHeight, lLetterWidth, SEPr::lnc, SEPr::lnnMin, SwWW8ImplReader::m_aLinkStringMap, wwSection::m_brc, SwWW8ImplReader::m_bTxbxFlySection, SwWW8ImplReader::m_nInTable, wwSection::m_nPgWidth, SwWW8ImplReader::m_oLastAnchorPos, SwWW8ImplReader::m_pPaM, SwWW8ImplReader::m_rDoc, SwWW8ImplReader::m_xHdFt, SwWW8ImplReader::m_xPlcxMan, SwWW8ImplReader::m_xWDop, SwWW8ImplReader::m_xWwFib, maSegments, wwSection::maSep, MAX_NO_OF_SEP_COLUMNS, MM_200, MM_250, wwSection::mnBorders, SwPaM::Move(), mrReader, SEPr::nfcPgn, SEPr::nLnnMod, SprmResult::nRemainingData, pData, SEPr::pgbApplyTo, SEPr::pgbOffsetFrom, SEPr::pgbPageDepth, SEPr::pgnStart, SprmResult::pSprm, ReadBSprm(), ReadSprm(), ReadUSprm(), SEPr::rgdxaColumnWidthSpacing, WW8PLCFspecial::SeekPosExact(), wwSection::SetDirection(), SetLeftRight(), SwSectionData::SetLinkFileName(), SwSectionData::SetProtectFlag(), NS_sprm::v6::sprmSBkc, NS_sprm::v6::sprmSBOrientation, NS_sprm::v6::sprmSCcolumns, NS_sprm::v6::sprmSDmBinFirst, NS_sprm::v6::sprmSDmBinOther, NS_sprm::v6::sprmSDxaColSpacing, NS_sprm::v6::sprmSDxaColumns, NS_sprm::v6::sprmSDxaColWidth, NS_sprm::v6::sprmSDxaLeft, NS_sprm::v6::sprmSDxaLnn, NS_sprm::v6::sprmSDxaRight, NS_sprm::v6::sprmSDyaBottom, NS_sprm::v6::sprmSDyaHdrBottom, NS_sprm::v6::sprmSDyaHdrTop, NS_sprm::v6::sprmSDyaTop, NS_sprm::v6::sprmSDzaGutter, NS_sprm::v6::sprmSFEvenlySpaced, NS_sprm::v6::sprmSFPgnRestart, NS_sprm::v6::sprmSFProtected, NS_sprm::v6::sprmSFTitlePage, NS_sprm::v6::sprmSiHeadingPgn, NS_sprm::v6::sprmSLBetween, NS_sprm::v6::sprmSLnc, NS_sprm::v6::sprmSLnnMin, NS_sprm::v6::sprmSNfcPgn, NS_sprm::v6::sprmSNLnnMod, NS_sprm::v6::sprmSPgnStart, NS_sprm::v6::sprmSScnsPgn, NS_sprm::v6::sprmSXaPage, NS_sprm::v6::sprmSYaPage, NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val, WW8PLCFspecial::Where(), SEPr::wTextFlow, nsHdFtFlags::WW8_FOOTER_EVEN, nsHdFtFlags::WW8_FOOTER_FIRST, nsHdFtFlags::WW8_FOOTER_ODD, nsHdFtFlags::WW8_HEADER_EVEN, nsHdFtFlags::WW8_HEADER_FIRST, nsHdFtFlags::WW8_HEADER_ODD, SEPr::xaPage, and SEPr::yaPage.

Referenced by SwWW8ImplReader::ReadTextAttr().

◆ CurrentSectionColCount()

sal_uInt16 wwSectionManager::CurrentSectionColCount ( ) const

Definition at line 2978 of file ww8par5.cxx.

References maSegments.

Referenced by SwWW8ImplReader::ReadChar().

◆ CurrentSectionIsProtected()

bool wwSectionManager::CurrentSectionIsProtected ( ) const

Definition at line 136 of file ww8par2.cxx.

Referenced by SwWW8ImplReader::Read_F_Tox().

◆ CurrentSectionIsVertical()

bool wwSectionManager::CurrentSectionIsVertical ( ) const

Definition at line 127 of file ww8par2.cxx.

Referenced by WW8FlySet::Init(), and SwWW8ImplReader::ProcessEscherAlign().

◆ GetPageLeft()

sal_uInt32 wwSectionManager::GetPageLeft ( ) const

◆ GetPageRight()

sal_uInt32 wwSectionManager::GetPageRight ( ) const

◆ GetPageULData()

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

◆ GetPageWidth()

sal_uInt32 wwSectionManager::GetPageWidth ( ) const

◆ GetTextAreaWidth()

sal_uInt32 wwSectionManager::GetTextAreaWidth ( ) const

◆ GetWWPageTopMargin()

sal_uInt32 wwSectionManager::GetWWPageTopMargin ( ) const

Definition at line 165 of file ww8par2.cxx.

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

◆ InsertSection()

SwSectionFormat * wwSectionManager::InsertSection ( SwPaM const &  rMyPaM,
wwSection rSection 
)
private

◆ InsertSegments()

void wwSectionManager::InsertSegments ( )

◆ JoinNode()

void wwSectionManager::JoinNode ( const SwPosition rPos,
const SwNode rNode 
)

Definition at line 2583 of file ww8par6.cxx.

References SwPosition::GetNode(), and maSegments.

Referenced by SwWW8ImplReader::JoinNode().

◆ operator=()

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

◆ PrependedInlineNode()

void wwSectionManager::PrependedInlineNode ( const SwPosition rPos,
const SwNode rNode 
)

◆ SectionIsProtected()

bool wwSectionManager::SectionIsProtected ( const wwSection rSection) const
private

Definition at line 2452 of file ww8par.cxx.

References wwSection::IsNotProtected(), SwWW8ImplReader::m_xWDop, and mrReader.

Referenced by InsertSection(), and InsertSegments().

◆ SetCols()

bool wwSectionManager::SetCols ( SwFrameFormat rFormat,
const wwSection rSection,
sal_uInt32  nNetWidth 
)
staticprivate

◆ SetCurrentSectionHasFootnote()

void wwSectionManager::SetCurrentSectionHasFootnote ( )

Definition at line 111 of file ww8par2.cxx.

◆ SetCurrentSectionVerticalAdjustment()

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

Definition at line 119 of file ww8par2.cxx.

Referenced by SwWW8ImplReader::Read_TextVerticalAdjustment().

◆ SetHdFt()

void wwSectionManager::SetHdFt ( wwSection const &  rSection,
int  nSect,
const wwSection pPrevious 
)
private

◆ SetLeftRight()

void wwSectionManager::SetLeftRight ( wwSection rSection)
staticprivate

◆ SetNumberingType()

void wwSectionManager::SetNumberingType ( const wwSection rNewSection,
SwPageDesc rPageDesc 
)
staticprivate

◆ SetPage()

void wwSectionManager::SetPage ( SwPageDesc rPageDesc,
SwFrameFormat rFormat,
const wwSection rSection,
bool  bIgnoreCols 
)
staticprivate

◆ SetPageULSpaceItems()

void wwSectionManager::SetPageULSpaceItems ( SwFrameFormat rFormat,
wwSectionManager::wwULSpaceData const &  rData,
const wwSection rSection 
)
staticprivate

◆ SetSegmentToPageDesc()

void wwSectionManager::SetSegmentToPageDesc ( const wwSection rSection,
bool  bIgnoreCols 
)
private

◆ SetSwFormatPageDesc()

SwFormatPageDesc wwSectionManager::SetSwFormatPageDesc ( mySegIter const &  rIter,
mySegIter const &  rStart,
bool  bIgnoreCols 
)
private

◆ SetUseOn()

void wwSectionManager::SetUseOn ( wwSection rSection)
private

◆ WillHavePageDescHere()

bool wwSectionManager::WillHavePageDescHere ( const SwNode rNd) const

Definition at line 2988 of file ww8par5.cxx.

References maSegments.

Referenced by SwWW8ImplReader::Read_F_Tox().

Member Data Documentation

◆ maSegments

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

◆ mnDesc

sal_uInt16 wwSectionManager::mnDesc
private

Definition at line 833 of file ww8par.hxx.

Referenced by SetSwFormatPageDesc().

◆ mrReader

SwWW8ImplReader& wwSectionManager::mrReader
private

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