31 bool tabPositionIsRelativeToParagraphIndent,
33: mIndexOfSectionNode(indexOfSectionNode),
34 mDefaultPageDescription(defaultPageDescription),
35 mTabPositionIsRelativeToParagraphIndent(tabPositionIsRelativeToParagraphIndent),
36 mTabStopReferencePolicy(referencePolicy)
52 if (SvxTabAdjust::End > aToken.
eTabAlign) {
113 targetNode.SwContentNode::GetAttr(
RES_PAGEDESC).GetPageDesc();
115 if (!pageDescription) {
127 return pageDescription == pageFrame->
GetPageDesc();
sal_Int16 CalcLineSpace(SvxBoxItemLine nLine, bool bEvenIfNoLine=false, bool bAllowNegative=false) const
short GetTextFirstLineOffset() const
tools::Long GetRight() const
tools::Long GetLeft() const
tools::Long GetWidth() const
tools::Long GetLeft(SvxFirstLineIndentItem const &rFirstLine) const
tools::Long GetTextLeft() const
SwContentFrame * getLayoutFrame(const SwRootFrame *, const SwPosition *pPos=nullptr, std::pair< Point, bool > const *pViewPosAndCalcFrame=nullptr) const
SwRect FindLayoutRect(const bool bPrtArea=false, const Point *pPoint=nullptr) const
Base class of the Writer layout elements.
SwPageFrame * FindPageFrame()
SwNodeOffset GetIndex() const
const SwPageDesc * FindPageDesc(SwNodeOffset *pPgDescNdIdx=nullptr) const
Search PageDesc with which this node is formatted.
SwFrameFormat & GetMaster()
A page of the document layout.
SwPageDesc * GetPageDesc()
Of course Writer needs its own rectangles.
void Width(tools::Long nNew)
The root element of a Writer document layout.
SwTextNode is a paragraph in the document model.
SwTextFormatColl * GetTextColl() const
@ TABSTOPS_RELATIVE_TO_INDENT
bool mTabPositionIsRelativeToParagraphIndent
static bool CanUseLayoutRectangle(const SwTextNode &targetNode, const SwRootFrame *currentLayout)
Test whether the page layout can be obtained by a layout rectangle.
TabStopReferencePolicy mTabStopReferencePolicy
DefaultToxTabStopTokenHandler(SwNodeOffset indexOfSectionNode, const SwPageDesc &defaultPageDescription, bool tabPositionIsRelativeToParagraphIndent, TabStopReferencePolicy referencePolicy)
SwNodeOffset mIndexOfSectionNode
ToxTabStopTokenHandler::HandledTabStopToken HandleTabStopToken(const SwFormToken &aToken, const SwTextNode &targetNode, const SwRootFrame *currentLayout) const override
Handle a tab stop token.
tools::Long CalculatePageMarginFromPageDescription(const SwTextNode &targetNode) const
Calculate the page margin from the page description.
const SwPageDesc & mDefaultPageDescription
constexpr TypedWhichId< SwFormatPageDesc > RES_PAGEDESC(99)
constexpr TypedWhichId< SvxTextLeftMarginItem > RES_MARGIN_TEXTLEFT(92)
tools::Long const nRightMargin
Dialog to specify the properties of date form field.
Return value of HandleTabStopToken.