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::shared_ptr< SwUnoCursorm_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_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 205 of file ww8par2.hxx.

Constructor & Destructor Documentation

◆ WW8TabDesc() [1/2]

WW8TabDesc::WW8TabDesc ( WW8TabDesc const &  )
privatedelete

◆ WW8TabDesc() [2/2]

WW8TabDesc::WW8TabDesc ( SwWW8ImplReader pIoClass,
WW8_CP  nStartCp 
)

Definition at line 1771 of file ww8par2.cxx.

References a, WW8SprmIter::advance(), WW8TabBandDesc::bCantSplit, CalcDefaults(), SwWW8ImplReader::ConstructApo(), wwSprmParser::DistanceToData(), WW8SprmIter::GetCurrentId(), WW8SprmIter::GetCurrentParams(), SwWW8ImplReader::GetFib(), WW8Fib::GetFIBVersion(), WW8PLCFx_Fc_FKP::GetPCDSprms(), WW8SprmIter::GetRemLen(), WW8SprmIter::GetSprms(), WW8PLCFx_Cp_FKP::GetSprms(), wwSprmParser::GetSprmSize(), GetTableSprm(), WW8PLCFx_Fc_FKP::HasFkp(), WW8PLCFx_Fc_FKP::HasSprm(), i, ww::IsSevenMinus(), LEFT, m_bClaimLineFormat, SwWW8ImplReader::m_bCurrentAND_fNumberAcross, m_bIsBiDi, m_bOk, m_eOri, m_nBands, SwWW8ImplReader::m_nInTable, m_nPercentWidth, m_nPreferredWidth, m_nRows, m_nRowsToRepeat, m_pActBand, m_pFirstBand, m_pIo, SwWW8ImplReader::m_xPlcxMan, ApoTestResults::mbStartApo, ApoTestResults::mbStopApo, WW8TabBandDesc::nCenter, WW8PLCFxDesc::nCpOfs, WW8PLCFxDesc::nEndPos, WW8TabBandDesc::nGapHalf, nId, WW8TabBandDesc::nLineHeight, SprmResult::nRemainingData, WW8TabBandDesc::nRows, WW8PLCFxDesc::nSprmsLen, WW8PLCFxDesc::nStartPos, WW8TabBandDesc::nWwCols, SwWW8ImplReader::ParseTabPos(), WW8PLCFxDesc::pMemPos, WW8TabBandDesc::pNextBand, WW8TabBandDesc::ProcessDirection(), WW8TabBandDesc::ProcessSpacing(), WW8TabBandDesc::ProcessSpecificSpacing(), WW8TabBandDesc::ProcessSprmTDelete(), WW8TabBandDesc::ProcessSprmTDxaCol(), WW8TabBandDesc::ProcessSprmTInsert(), WW8TabBandDesc::ProcessSprmTSetBRC(), WW8TabBandDesc::ProcessSprmTTableBorders(), SprmResult::pSprm, WW8TabBandDesc::ReadDef(), WW8TabBandDesc::ReadNewShd(), WW8TabBandDesc::ReadShd(), SAL_WARN, SwWW8ImplReader::SearchRowEnd(), WW8PLCFx_Cp_FKP::SeekPos(), WW8PLCFx::SetDirty(), WW8SprmIter::SetSprms(), NS_sprm::v6::sprmTDefTable, NS_sprm::v6::sprmTDefTableShd, NS_sprm::v6::sprmTDelete, NS_sprm::v6::sprmTDxaCol, NS_sprm::v6::sprmTDxaGapHalf, NS_sprm::v6::sprmTDxaLeft, NS_sprm::v6::sprmTDyaRowHeight, NS_sprm::v6::sprmTFCantSplit, NS_sprm::v6::sprmTInsert, NS_sprm::v6::sprmTJc, NS_sprm::v6::sprmTSetBrc, NS_sprm::v6::sprmTTableBorders, NS_sprm::v6::sprmTTableHeader, SwWW8ImplReader::TestApo(), text(), WW8PLCFx_Cp_FKP::Where(), and WW8_CP_MAX.

◆ ~WW8TabDesc()

WW8TabDesc::~WW8TabDesc ( )

Definition at line 2138 of file ww8par2.cxx.

References m_pFirstBand, m_pParentPos, and WW8TabBandDesc::pNextBand.

Member Function Documentation

◆ AdjustNewBand()

void WW8TabDesc::AdjustNewBand ( )
private

◆ CalcDefaults()

void WW8TabDesc::CalcDefaults ( )
private

◆ CreateSwTable()

void WW8TabDesc::CreateSwTable ( )

◆ FindMergeGroup()

WW8SelBoxInfo * WW8TabDesc::FindMergeGroup ( short  nX1,
short  nWidth,
bool  bExact 
)
private

◆ FinishSwTable()

void WW8TabDesc::FinishSwTable ( )

◆ GetCurrentCol()

short WW8TabDesc::GetCurrentCol ( ) const
inline

Definition at line 292 of file ww8par2.hxx.

References m_nCurrentCol.

Referenced by InFirstParaInCell().

◆ GetCurrentWWCell()

const WW8_TCell * WW8TabDesc::GetCurrentWWCell ( ) const
inline

Definition at line 291 of file ww8par2.hxx.

References m_pCurrentWWCell.

◆ GetLogicalWWCol()

sal_uInt16 WW8TabDesc::GetLogicalWWCol ( ) const
private

◆ GetMinLeft()

short WW8TabDesc::GetMinLeft ( ) const
inline

Definition at line 288 of file ww8par2.hxx.

References m_nMinLeft.

Referenced by CreateSwTable().

◆ GetNumRuleName()

OUString WW8TabDesc::GetNumRuleName ( ) const

Definition at line 3370 of file ww8par2.cxx.

References GetLogicalWWCol(), and m_aNumRuleNames.

◆ getOldRedlineStack()

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

Definition at line 297 of file ww8par2.hxx.

References mxOldRedlineStack.

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

◆ InFirstParaInCell()

bool WW8TabDesc::InFirstParaInCell ( ) const

◆ InsertCells()

void WW8TabDesc::InsertCells ( short  nIns)
private

◆ IsValidCell()

bool WW8TabDesc::IsValidCell ( short  nCol) const

◆ MergeCells()

void WW8TabDesc::MergeCells ( )

◆ MoveOutsideTable()

void WW8TabDesc::MoveOutsideTable ( )

Definition at line 2752 of file ww8par2.cxx.

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

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

◆ Ok()

bool WW8TabDesc::Ok ( ) const
inline

Definition at line 279 of file ww8par2.hxx.

References m_bOk.

◆ operator=()

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

◆ ParkPaM()

void WW8TabDesc::ParkPaM ( )

◆ SetNumRuleName()

void WW8TabDesc::SetNumRuleName ( const OUString &  rName)

Definition at line 3378 of file ww8par2.cxx.

References GetLogicalWWCol(), and m_aNumRuleNames.

◆ SetPamInCell()

void WW8TabDesc::SetPamInCell ( short  nWwCol,
bool  bPam 
)
private

◆ SetSizePosition()

void WW8TabDesc::SetSizePosition ( SwFrameFormat pFrameFormat)

◆ SetTabBorders()

void WW8TabDesc::SetTabBorders ( SwTableBox pBox,
short  nIdx 
)
private

◆ SetTabDirection()

void WW8TabDesc::SetTabDirection ( SwTableBox pBox,
short  nWwIdx 
)
private

◆ SetTabShades()

void WW8TabDesc::SetTabShades ( SwTableBox pBox,
short  nWwIdx 
)
private

◆ SetTabVertAlign()

void WW8TabDesc::SetTabVertAlign ( SwTableBox pBox,
short  nWwIdx 
)
private

◆ TableCellEnd()

void WW8TabDesc::TableCellEnd ( )

◆ UpdateTableMergeGroup()

void WW8TabDesc::UpdateTableMergeGroup ( WW8_TCell const &  rCell,
WW8SelBoxInfo pActGroup,
SwTableBox pActBox,
sal_uInt16  nCol 
)
private

◆ UseSwTable()

void WW8TabDesc::UseSwTable ( )

Member Data Documentation

◆ m_aItemSet

SfxItemSet WW8TabDesc::m_aItemSet

Definition at line 274 of file ww8par2.hxx.

Referenced by CreateSwTable(), and SetSizePosition().

◆ m_aNumRuleNames

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

Definition at line 207 of file ww8par2.hxx.

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

◆ m_bClaimLineFormat

bool WW8TabDesc::m_bClaimLineFormat
private

Definition at line 237 of file ww8par2.hxx.

Referenced by AdjustNewBand(), and WW8TabDesc().

◆ m_bIsBiDi

bool WW8TabDesc::m_bIsBiDi
private

Definition at line 239 of file ww8par2.hxx.

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

◆ m_bOk

bool WW8TabDesc::m_bOk
private

Definition at line 236 of file ww8par2.hxx.

Referenced by CalcDefaults(), Ok(), and WW8TabDesc().

◆ m_eOri

sal_Int16 WW8TabDesc::m_eOri
private

Definition at line 238 of file ww8par2.hxx.

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

◆ m_MergeGroups

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

Definition at line 223 of file ww8par2.hxx.

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

◆ m_nBands

short WW8TabDesc::m_nBands
private

Definition at line 229 of file ww8par2.hxx.

Referenced by CreateSwTable(), and WW8TabDesc().

◆ m_nCurrentBandRow

short WW8TabDesc::m_nCurrentBandRow
private

Definition at line 242 of file ww8par2.hxx.

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

◆ m_nCurrentCol

short WW8TabDesc::m_nCurrentCol
private

Definition at line 244 of file ww8par2.hxx.

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

◆ m_nCurrentRow

short WW8TabDesc::m_nCurrentRow
private

Definition at line 241 of file ww8par2.hxx.

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

◆ m_nDefaultSwCols

short WW8TabDesc::m_nDefaultSwCols
private

Definition at line 228 of file ww8par2.hxx.

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

◆ m_nMaxRight

short WW8TabDesc::m_nMaxRight
private

Definition at line 231 of file ww8par2.hxx.

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

◆ m_nMinLeft

short WW8TabDesc::m_nMinLeft
private

Definition at line 230 of file ww8par2.hxx.

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

◆ m_nPercentWidth

short WW8TabDesc::m_nPercentWidth
private

Definition at line 234 of file ww8par2.hxx.

Referenced by CreateSwTable(), and WW8TabDesc().

◆ m_nPreferredWidth

short WW8TabDesc::m_nPreferredWidth
private

Definition at line 233 of file ww8par2.hxx.

Referenced by CreateSwTable(), and WW8TabDesc().

◆ m_nRows

short WW8TabDesc::m_nRows
private

Definition at line 227 of file ww8par2.hxx.

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

◆ m_nRowsToRepeat

sal_uInt16 WW8TabDesc::m_nRowsToRepeat
private

Definition at line 246 of file ww8par2.hxx.

Referenced by UseSwTable(), and WW8TabDesc().

◆ m_nSwWidth

short WW8TabDesc::m_nSwWidth
private

Definition at line 232 of file ww8par2.hxx.

Referenced by CalcDefaults(), and CreateSwTable().

◆ m_pActBand

WW8TabBandDesc* WW8TabDesc::m_pActBand
private

◆ m_pCurrentWWCell

WW8_TCell* WW8TabDesc::m_pCurrentWWCell
private

Definition at line 225 of file ww8par2.hxx.

Referenced by GetCurrentWWCell(), and SetPamInCell().

◆ m_pFirstBand

WW8TabBandDesc* WW8TabDesc::m_pFirstBand
private

Definition at line 212 of file ww8par2.hxx.

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

◆ m_pFlyFormat

SwFlyFrameFormat* WW8TabDesc::m_pFlyFormat

Definition at line 273 of file ww8par2.hxx.

◆ m_pIo

SwWW8ImplReader* WW8TabDesc::m_pIo
private

◆ m_pParentPos

SwPosition* WW8TabDesc::m_pParentPos

Definition at line 272 of file ww8par2.hxx.

Referenced by ~WW8TabDesc().

◆ m_pTabBox

SwTableBox* WW8TabDesc::m_pTabBox
private

Definition at line 221 of file ww8par2.hxx.

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

◆ m_pTabBoxes

SwTableBoxes* WW8TabDesc::m_pTabBoxes
private

Definition at line 220 of file ww8par2.hxx.

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

◆ m_pTable

const SwTable* WW8TabDesc::m_pTable

Definition at line 271 of file ww8par2.hxx.

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

◆ m_pTableNd

SwTableNode* WW8TabDesc::m_pTableNd
private

Definition at line 217 of file ww8par2.hxx.

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

◆ m_pTabLine

SwTableLine* WW8TabDesc::m_pTabLine
private

Definition at line 219 of file ww8par2.hxx.

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

◆ m_pTabLines

const SwTableLines* WW8TabDesc::m_pTabLines
private

Definition at line 218 of file ww8par2.hxx.

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

◆ m_xTmpPos

std::shared_ptr<SwUnoCursor> WW8TabDesc::m_xTmpPos
private

Definition at line 215 of file ww8par2.hxx.

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

◆ mxOldRedlineStack

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

Definition at line 208 of file ww8par2.hxx.

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


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