20#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_WW8PAR2_HXX
21#define INCLUDED_SW_SOURCE_FILTER_WW8_WW8PAR2_HXX
63 css::text::WrapTextMode
79 const sal_uInt32 nWWPgTop,
80 const sal_uInt32 nPgWidth,
81 const sal_Int32 nIniFlyDx,
82 const sal_Int32 nIniFlyDy );
114 void ImportSprms(std::size_t nPosFc,
short nLen,
bool bPap);
116 void ImportGrupx(
short nLen,
bool bPara,
bool bOdd);
117 short ImportUPX(
short nLen,
bool bPAP,
bool bOdd);
121 std::map<OUString, sal_Int32>& rParaCollisions,
122 std::map<OUString, sal_Int32>& rCharCollisions);
130 std::map<OUString, sal_Int32>& rParaCollisions,
131 std::map<OUString, sal_Int32>& rCharCollisions);
160 std::vector<std::vector<SwTableBox*> >
m_vRows;
178 nResult += it.size();
190 if (iRow[0]->GetUpper() == pBox->
GetUpper())
192 iRow.push_back(pBox);
198 const size_t sz =
m_vRows.size();
PaM is Point and Mark: a selection of the document model.
SwTableBox is one table cell in the document model.
SwTableLine is one table row in the document model.
SwTable is one table in the document model, containing rows (which contain cells).
SfxItemSetFixed< RES_CHRATR_BEGIN, RES_CHRATR_END - 1 > m_aChrSet
SfxItemSetFixed< RES_CHRATR_BEGIN, RES_CHRATR_END - 1 > m_aParSet
WW8DupProperties & operator=(const WW8DupProperties &)=delete
WW8DupProperties(SwDoc &rDoc, SwWW8FltControlStack *pStack)
void Insert(const SwPosition &rPos)
WW8DupProperties(const WW8DupProperties &)=delete
SwWW8FltControlStack * m_pCtrlStck
FIB - the File Information Block.
WW8FlySet(SwWW8ImplReader &rReader, const WW8FlyPara *pFW, const WW8SwFlyPara *pFS, bool bGraf)
const WW8FlySet & operator=(const WW8FlySet &)=delete
void Init(const SwWW8ImplReader &rReader, const SwPaM *pPaM)
void ImportSprms(std::size_t nPosFc, short nLen, bool bPap)
WW8RStyle(const WW8RStyle &)=delete
wwSprmParser maSprmParser
void ImportGrupx(short nLen, bool bPara, bool bOdd)
bool PrepareStyle(SwWW8StyInf &rSI, ww::sti eSti, sal_uInt16 nThisStyle, sal_uInt16 nNextStyle, std::map< OUString, sal_Int32 > &rParaCollisions, std::map< OUString, sal_Int32 > &rCharCollisions)
void ImportNewFormatStyles()
void PostStyle(SwWW8StyInf const &rSI, bool bOldNoImp)
void RecursiveReg(sal_uInt16 nNr)
SprmResult HasParaSprm(sal_uInt16 nId) const
short ImportUPX(short nLen, bool bPAP, bool bOdd)
void ImportOldFormatStyles()
void Import1Style(sal_uInt16 nNr, std::map< OUString, sal_Int32 > &rParaCollisions, std::map< OUString, sal_Int32 > &rCharCollisions)
WW8RStyle & operator=(const WW8RStyle &)=delete
std::vector< std::vector< SwTableBox * > > m_vRows
void push_back(SwTableBox *pBox)
WW8SelBoxInfo & operator=(WW8SelBoxInfo const &)=delete
WW8SelBoxInfo(WW8SelBoxInfo const &)=delete
const std::vector< SwTableBox * > & row(size_t nIndex)
WW8SelBoxInfo(short nXCenter, short nWidth)
bool IsValidCell(short nCol) const
void SetTabDirection(SwTableBox *pBox, short nWwIdx)
void SetPamInCell(short nWwCol, bool bPam)
const SwTableLines * m_pTabLines
OUString GetNumRuleName() const
std::vector< OUString > m_aNumRuleNames
SwPosition * m_pParentPos
void SetTabShades(SwTableBox *pBox, short nWwIdx)
void SetTabVertAlign(SwTableBox *pBox, short nWwIdx)
void SetSizePosition(SwFrameFormat *pFrameFormat)
sal_uInt16 GetLogicalWWCol() const
sal_uInt16 m_nRowsToRepeat
std::shared_ptr< SwUnoCursor > m_xTmpPos
const WW8_TCell * GetCurrentWWCell() const
SwFlyFrameFormat * m_pFlyFormat
WW8TabBandDesc * m_pFirstBand
bool InFirstParaInCell() const
WW8TabDesc(WW8TabDesc const &)=delete
WW8_TCell * m_pCurrentWWCell
WW8TabDesc & operator=(WW8TabDesc const &)=delete
void UpdateTableMergeGroup(WW8_TCell const &rCell, WW8SelBoxInfo *pActGroup, SwTableBox *pActBox, sal_uInt16 nCol)
void SetTabBorders(SwTableBox *pBox, short nIdx)
void InsertCells(short nIns)
short GetCurrentCol() const
WW8TabBandDesc * m_pActBand
std::vector< std::unique_ptr< WW8SelBoxInfo > > m_MergeGroups
void SetNumRuleName(const OUString &rName)
WW8SelBoxInfo * FindMergeGroup(short nX1, short nWidth, bool bExact)
SwTableBoxes * m_pTabBoxes
sw::util::RedlineStack * getOldRedlineStack()
std::unique_ptr< sw::util::RedlineStack > mxOldRedlineStack
wwSprmParser knows how to take a sequence of bytes and split it up into sprms and their arguments
constexpr sal_uInt16 RES_CHRATR_END(46)
constexpr sal_uInt16 RES_CHRATR_BEGIN(HINT_BEGIN)
Marks a position 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)
static constexpr RndStdIds eAnchor
SwFlyFrameFormat * GetFlyFormat() const
void SetFlyFormat(SwFlyFrameFormat *pNewFlyFormat)
css::text::WrapTextMode eSurround
void BoxUpWidth(tools::Long nWidth)
std::shared_ptr< SwUnoCursor > xMainTextPos
std::unique_ptr< SwWW8FltAnchorStack > xOldAnchorStck
std::unique_ptr< FrameDeleteWatch > m_xFlyFormat
std::vector< SwTableBox * > SwTableBoxes
WW8LvlType GetNumType(sal_uInt8 nWwLevelNo)