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

#include <ww8par2.hxx>

Collaboration diagram for WW8TabDesc:
[legend]

Public Member Functions

bool IsValidCell (short nCol) const
 
bool InFirstParaInCell () const
 
 WW8TabDesc (SwWW8ImplReader *pIoClass, WW8_CP nStartCp)
 
bool Ok () const
 
void CreateSwTable ()
 
void UseSwTable ()
 
void SetSizePosition (SwFrameFormat *pFrameFormat)
 
void TableCellEnd ()
 
void MoveOutsideTable ()
 
void ParkPaM ()
 
void FinishSwTable ()
 
void MergeCells ()
 
short GetMinLeft () const
 
 ~WW8TabDesc ()
 
const WW8_TCellGetCurrentWWCell () const
 
short GetCurrentCol () const
 
OUString GetNumRuleName () const
 
void SetNumRuleName (const OUString &rName)
 
sw::util::RedlineStackgetOldRedlineStack ()
 

Public Attributes

const SwTablem_pTable
 
SwPositionm_pParentPos
 
SwFlyFrameFormatm_pFlyFormat
 
SfxItemSet m_aItemSet
 

Private Member Functions

sal_uInt16 GetLogicalWWCol () const
 
void SetTabBorders (SwTableBox *pBox, short nIdx)
 
void SetTabShades (SwTableBox *pBox, short nWwIdx)
 
void SetTabVertAlign (SwTableBox *pBox, short nWwIdx)
 
void SetTabDirection (SwTableBox *pBox, short nWwIdx)
 
void CalcDefaults ()
 
void SetPamInCell (short nWwCol, bool bPam)
 
void InsertCells (short nIns)
 
void AdjustNewBand ()
 
WW8SelBoxInfoFindMergeGroup (short nX1, short nWidth, bool bExact)
 
void UpdateTableMergeGroup (WW8_TCell const &rCell, WW8SelBoxInfo *pActGroup, SwTableBox *pActBox, sal_uInt16 nCol)
 
 WW8TabDesc (WW8TabDesc const &)=delete
 
WW8TabDescoperator= (WW8TabDesc const &)=delete
 

Private Attributes

std::vector< OUString > m_aNumRuleNames
 
std::unique_ptr< sw::util::RedlineStackmxOldRedlineStack
 
SwWW8ImplReaderm_pIo
 
WW8TabBandDescm_pFirstBand
 
WW8TabBandDescm_pActBand
 
std::unique_ptr< SwPositionm_xTmpPos
 
SwTableNodem_pTableNd
 
const SwTableLinesm_pTabLines
 
SwTableLinem_pTabLine
 
SwTableBoxesm_pTabBoxes
 
SwTableBoxm_pTabBox
 
std::vector< std::unique_ptr< WW8SelBoxInfo > > m_MergeGroups
 
WW8_TCellm_pCurrentWWCell
 
short m_nRows
 
short m_nDefaultSwCols
 
short m_nBands
 
short m_nMinLeft
 
short m_nConvertedLeft
 
short m_nMaxRight
 
short m_nSwWidth
 
short m_nPreferredWidth
 
short m_nPercentWidth
 
bool m_bOk
 
bool m_bClaimLineFormat
 
sal_Int16 m_eOri
 
bool m_bIsBiDi
 
short m_nCurrentRow
 
short m_nCurrentBandRow
 
short m_nCurrentCol
 
sal_uInt16 m_nRowsToRepeat
 

Detailed Description

Definition at line 196 of file ww8par2.hxx.

Constructor & Destructor Documentation

WW8TabDesc::WW8TabDesc ( WW8TabDesc const &  )
privatedelete
WW8TabDesc::WW8TabDesc ( SwWW8ImplReader pIoClass,
WW8_CP  nStartCp 
)

Definition at line 1755 of file ww8par2.cxx.

References m_rDoc, NONE, and text().

WW8TabDesc::~WW8TabDesc ( )

Definition at line 2112 of file ww8par2.cxx.

References m_pFirstBand, m_pParentPos, and WW8TabBandDesc::pNextBand.

Member Function Documentation

void WW8TabDesc::AdjustNewBand ( )
private
void WW8TabDesc::CalcDefaults ( )
private
void WW8TabDesc::CreateSwTable ( )
WW8SelBoxInfo * WW8TabDesc::FindMergeGroup ( short  nX1,
short  nWidth,
bool  bExact 
)
private
void WW8TabDesc::FinishSwTable ( )
short WW8TabDesc::GetCurrentCol ( ) const
inline

Definition at line 284 of file ww8par2.hxx.

References m_nCurrentCol.

Referenced by InFirstParaInCell().

const WW8_TCell* WW8TabDesc::GetCurrentWWCell ( ) const
inline

Definition at line 283 of file ww8par2.hxx.

References m_pCurrentWWCell.

sal_uInt16 WW8TabDesc::GetLogicalWWCol ( ) const
private
short WW8TabDesc::GetMinLeft ( ) const
inline

Definition at line 280 of file ww8par2.hxx.

References m_nConvertedLeft.

Referenced by CreateSwTable().

OUString WW8TabDesc::GetNumRuleName ( ) const

Definition at line 3359 of file ww8par2.cxx.

References GetLogicalWWCol(), and m_aNumRuleNames.

sw::util::RedlineStack* WW8TabDesc::getOldRedlineStack ( )
inline

Definition at line 289 of file ww8par2.hxx.

Referenced by sw::util::RedlineStack::close().

bool WW8TabDesc::InFirstParaInCell ( ) const
void WW8TabDesc::InsertCells ( short  nIns)
private
bool WW8TabDesc::IsValidCell ( short  nCol) const
void WW8TabDesc::MergeCells ( )
void WW8TabDesc::MoveOutsideTable ( )

Definition at line 2740 of file ww8par2.cxx.

References SwPaM::GetPoint(), m_pIo, SwWW8ImplReader::m_pPaM, and m_xTmpPos.

Referenced by FinishSwTable(), ParkPaM(), and SetPamInCell().

bool WW8TabDesc::Ok ( ) const
inline

Definition at line 271 of file ww8par2.hxx.

References m_bOk.

WW8TabDesc& WW8TabDesc::operator= ( WW8TabDesc const &  )
privatedelete
void WW8TabDesc::ParkPaM ( )
void WW8TabDesc::SetNumRuleName ( const OUString &  rName)

Definition at line 3367 of file ww8par2.cxx.

References GetLogicalWWCol(), and m_aNumRuleNames.

void WW8TabDesc::SetPamInCell ( short  nWwCol,
bool  bPam 
)
private
void WW8TabDesc::SetSizePosition ( SwFrameFormat pFrameFormat)
void WW8TabDesc::SetTabBorders ( SwTableBox pBox,
short  nIdx 
)
private
void WW8TabDesc::SetTabDirection ( SwTableBox pBox,
short  nWwIdx 
)
private
void WW8TabDesc::SetTabShades ( SwTableBox pBox,
short  nWwIdx 
)
private
void WW8TabDesc::SetTabVertAlign ( SwTableBox pBox,
short  nWwIdx 
)
private
void WW8TabDesc::TableCellEnd ( )
void WW8TabDesc::UpdateTableMergeGroup ( WW8_TCell const &  rCell,
WW8SelBoxInfo pActGroup,
SwTableBox pActBox,
sal_uInt16  nCol 
)
private
void WW8TabDesc::UseSwTable ( )

Member Data Documentation

SfxItemSet WW8TabDesc::m_aItemSet

Definition at line 266 of file ww8par2.hxx.

Referenced by CreateSwTable(), and SetSizePosition().

std::vector<OUString> WW8TabDesc::m_aNumRuleNames
private

Definition at line 198 of file ww8par2.hxx.

Referenced by GetNumRuleName(), SetNumRuleName(), and TableCellEnd().

bool WW8TabDesc::m_bClaimLineFormat
private

Definition at line 229 of file ww8par2.hxx.

Referenced by AdjustNewBand().

bool WW8TabDesc::m_bIsBiDi
private

Definition at line 231 of file ww8par2.hxx.

Referenced by CalcDefaults(), CreateSwTable(), and SetTabDirection().

bool WW8TabDesc::m_bOk
private

Definition at line 228 of file ww8par2.hxx.

Referenced by CalcDefaults(), and Ok().

sal_Int16 WW8TabDesc::m_eOri
private

Definition at line 230 of file ww8par2.hxx.

Referenced by CalcDefaults(), and CreateSwTable().

std::vector<std::unique_ptr<WW8SelBoxInfo> > WW8TabDesc::m_MergeGroups
private

Definition at line 214 of file ww8par2.hxx.

Referenced by FindMergeGroup(), FinishSwTable(), and MergeCells().

short WW8TabDesc::m_nBands
private

Definition at line 220 of file ww8par2.hxx.

Referenced by CreateSwTable().

short WW8TabDesc::m_nConvertedLeft
private

Definition at line 222 of file ww8par2.hxx.

Referenced by CalcDefaults(), and GetMinLeft().

short WW8TabDesc::m_nCurrentBandRow
private

Definition at line 234 of file ww8par2.hxx.

Referenced by CalcDefaults(), TableCellEnd(), and UseSwTable().

short WW8TabDesc::m_nCurrentCol
private

Definition at line 236 of file ww8par2.hxx.

Referenced by GetCurrentCol(), GetLogicalWWCol(), TableCellEnd(), and UseSwTable().

short WW8TabDesc::m_nCurrentRow
private

Definition at line 233 of file ww8par2.hxx.

Referenced by InsertCells(), IsValidCell(), ParkPaM(), SetPamInCell(), TableCellEnd(), and UseSwTable().

short WW8TabDesc::m_nDefaultSwCols
private

Definition at line 219 of file ww8par2.hxx.

Referenced by AdjustNewBand(), CalcDefaults(), and CreateSwTable().

short WW8TabDesc::m_nMaxRight
private

Definition at line 223 of file ww8par2.hxx.

Referenced by AdjustNewBand(), CalcDefaults(), and CreateSwTable().

short WW8TabDesc::m_nMinLeft
private

Definition at line 221 of file ww8par2.hxx.

Referenced by AdjustNewBand(), CalcDefaults(), and CreateSwTable().

short WW8TabDesc::m_nPercentWidth
private

Definition at line 226 of file ww8par2.hxx.

Referenced by CreateSwTable().

short WW8TabDesc::m_nPreferredWidth
private

Definition at line 225 of file ww8par2.hxx.

Referenced by CreateSwTable().

short WW8TabDesc::m_nRows
private

Definition at line 218 of file ww8par2.hxx.

Referenced by TableCellEnd(), and UseSwTable().

sal_uInt16 WW8TabDesc::m_nRowsToRepeat
private

Definition at line 238 of file ww8par2.hxx.

Referenced by UseSwTable().

short WW8TabDesc::m_nSwWidth
private

Definition at line 224 of file ww8par2.hxx.

Referenced by CalcDefaults(), and CreateSwTable().

WW8TabBandDesc* WW8TabDesc::m_pActBand
private
WW8_TCell* WW8TabDesc::m_pCurrentWWCell
private

Definition at line 216 of file ww8par2.hxx.

Referenced by GetCurrentWWCell(), and SetPamInCell().

WW8TabBandDesc* WW8TabDesc::m_pFirstBand
private

Definition at line 203 of file ww8par2.hxx.

Referenced by CalcDefaults(), MergeCells(), and ~WW8TabDesc().

SwFlyFrameFormat* WW8TabDesc::m_pFlyFormat

Definition at line 265 of file ww8par2.hxx.

SwWW8ImplReader* WW8TabDesc::m_pIo
private
SwPosition* WW8TabDesc::m_pParentPos

Definition at line 264 of file ww8par2.hxx.

Referenced by ~WW8TabDesc().

SwTableBox* WW8TabDesc::m_pTabBox
private

Definition at line 212 of file ww8par2.hxx.

Referenced by InFirstParaInCell(), InsertCells(), MergeCells(), and SetPamInCell().

SwTableBoxes* WW8TabDesc::m_pTabBoxes
private

Definition at line 211 of file ww8par2.hxx.

Referenced by AdjustNewBand(), InsertCells(), MergeCells(), and SetPamInCell().

const SwTable* WW8TabDesc::m_pTable

Definition at line 263 of file ww8par2.hxx.

Referenced by AdjustNewBand(), CreateSwTable(), SetSizePosition(), and UseSwTable().

SwTableNode* WW8TabDesc::m_pTableNd
private

Definition at line 208 of file ww8par2.hxx.

Referenced by FinishSwTable(), InsertCells(), and UseSwTable().

SwTableLine* WW8TabDesc::m_pTabLine
private

Definition at line 210 of file ww8par2.hxx.

Referenced by AdjustNewBand(), InsertCells(), MergeCells(), and SetPamInCell().

const SwTableLines* WW8TabDesc::m_pTabLines
private

Definition at line 209 of file ww8par2.hxx.

Referenced by AdjustNewBand(), IsValidCell(), MergeCells(), ParkPaM(), SetPamInCell(), and UseSwTable().

std::unique_ptr<SwPosition> WW8TabDesc::m_xTmpPos
private

Definition at line 206 of file ww8par2.hxx.

Referenced by CreateSwTable(), FinishSwTable(), and MoveOutsideTable().

std::unique_ptr<sw::util::RedlineStack> WW8TabDesc::mxOldRedlineStack
private

Definition at line 199 of file ww8par2.hxx.

Referenced by CreateSwTable(), and FinishSwTable().


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