20 #ifndef INCLUDED_SW_SOURCE_FILTER_WW8_WW8PAR2_HXX
21 #define INCLUDED_SW_SOURCE_FILTER_WW8_WW8PAR2_HXX
62 css::text::WrapTextMode
78 const sal_uInt32 nWWPgTop,
79 const sal_uInt32 nPgWidth,
80 const sal_Int32 nIniFlyDx,
81 const sal_Int32 nIniFlyDy );
110 void ImportSprms(std::size_t nPosFc,
short nLen,
bool bPap);
112 void ImportGrupx(
short nLen,
bool bPara,
bool bOdd);
113 short ImportUPX(
short nLen,
bool bPAP,
bool bOdd);
152 std::vector<std::vector<SwTableBox*> >
m_vRows;
163 : nGroupXStart( nXCenter ), nGroupWidth( nWidth ), bGroupLocked(false)
169 for (
auto& it : m_vRows)
170 nResult += it.size();
176 const std::vector<SwTableBox*>&
row(
size_t nIndex ) {
return m_vRows[nIndex]; }
181 for (
auto& iRow : m_vRows)
182 if (iRow[0]->GetUpper() == pBox->
GetUpper())
184 iRow.push_back(pBox);
190 const size_t sz = m_vRows.size();
191 m_vRows.resize(sz+1);
192 m_vRows[sz].push_back(pBox);
static constexpr RndStdIds eAnchor
Marks a position in the document model.
void SetTabBorders(SwTableBox *pBox, short nIdx)
sw::util::RedlineStack * getOldRedlineStack()
void Init(const SwWW8ImplReader &rReader, const SwPaM *pPaM)
css::text::WrapTextMode eSurround
std::unique_ptr< sw::util::RedlineStack > mxOldRedlineStack
WW8SelBoxInfo & operator=(WW8SelBoxInfo const &)=delete
SwFlyFrameFormat * m_pFlyFormat
WW8RStyle & operator=(const WW8RStyle &)=delete
void SetTabShades(SwTableBox *pBox, short nWwIdx)
SwTableLine is one table row in the document model.
WW8SwFlyPara(SwPaM &rPaM, SwWW8ImplReader &rIo, WW8FlyPara &rWW, const sal_uInt32 nWWPgTop, const sal_uInt32 nPgWidth, const sal_Int32 nIniFlyDx, const sal_Int32 nIniFlyDy)
SwWW8FltControlStack * pCtrlStck
void SetTabDirection(SwTableBox *pBox, short nWwIdx)
WW8TabBandDesc * m_pActBand
bool PrepareStyle(SwWW8StyInf &rSI, ww::sti eSti, sal_uInt16 nThisStyle, sal_uInt16 nNextStyle)
void ImportOldFormatStyles()
WW8TabBandDesc * m_pFirstBand
const SwTableLines * m_pTabLines
WW8TabDesc & operator=(WW8TabDesc const &)=delete
short GetCurrentCol() const
SwFlyFrameFormat * pFlyFormat
WW8TabDesc(WW8TabDesc const &)=delete
void SetPamInCell(short nWwCol, bool bPam)
std::vector< std::vector< SwTableBox * > > m_vRows
void Insert(const SwPosition &rPos)
SwTableBoxes * m_pTabBoxes
std::unique_ptr< SwWW8FltAnchorStack > xOldAnchorStck
bool IsValidCell(short nCol) const
void ImportGrupx(short nLen, bool bPara, bool bOdd)
WW8DupProperties(SwDoc &rDoc, SwWW8FltControlStack *pStack)
PaM is Point and Mark: a selection of the document model.
void ImportNewFormatStyles()
void UpdateTableMergeGroup(WW8_TCell const &rCell, WW8SelBoxInfo *pActGroup, SwTableBox *pActBox, sal_uInt16 nCol)
void SetNumRuleName(const OUString &rName)
WW8SelBoxInfo(WW8SelBoxInfo const &)=delete
sal_uInt16 GetLogicalWWCol() const
const WW8FlySet & operator=(const WW8FlySet &)=delete
std::unique_ptr< SwPosition > m_xTmpPos
WW8SelBoxInfo(short nXCenter, short nWidth)
SwTable is one table in the document model, containing rows (which contain cells).
std::vector< std::unique_ptr< WW8SelBoxInfo > > m_MergeGroups
std::vector< OUString > m_aNumRuleNames
std::unique_ptr< SwPosition > xMainTextPos
wwSprmParser maSprmParser
SprmResult HasParaSprm(sal_uInt16 nId) const
short ImportUPX(short nLen, bool bPAP, bool bOdd)
std::vector< SwTableBox * > SwTableBoxes
const std::vector< SwTableBox * > & row(size_t nIndex)
bool InFirstParaInCell() const
void BoxUpWidth(tools::Long nWidth)
wwSprmParser knows how to take a sequence of bytes and split it up into sprms and their arguments ...
WW8_TCell * m_pCurrentWWCell
SwTableBox is one table cell in the document model.
FIB - the File Information Block.
WW8LvlType GetNumType(sal_uInt8 nWwLevelNo)
sal_uInt16 m_nRowsToRepeat
SwPosition * m_pParentPos
void Import1Style(sal_uInt16 nNr)
void SetTabVertAlign(SwTableBox *pBox, short nWwIdx)
void PostStyle(SwWW8StyInf const &rSI, bool bOldNoImp)
void ImportSprms(std::size_t nPosFc, short nLen, bool bPap)
OUString GetNumRuleName() const
void SetSizePosition(SwFrameFormat *pFrameFormat)
const WW8_TCell * GetCurrentWWCell() const
void RecursiveReg(sal_uInt16 nNr)
void push_back(SwTableBox *pBox)
WW8SelBoxInfo * FindMergeGroup(short nX1, short nWidth, bool bExact)
WW8FlySet(SwWW8ImplReader &rReader, const WW8FlyPara *pFW, const WW8SwFlyPara *pFS, bool bGraf)
WW8DupProperties & operator=(const WW8DupProperties &)=delete
void InsertCells(short nIns)
WW8RStyle(const WW8RStyle &)=delete