iText.StyledXmlParser.Css.CssContextNode implementation for page margin box contexts. More...
iText.StyledXmlParser.Css.CssContextNode implementation for page margin box contexts.
◆ PageMarginBoxContextNode()
| iText.StyledXmlParser.Css.Page.PageMarginBoxContextNode.PageMarginBoxContextNode |
( |
INode |
parentNode, |
|
|
String |
marginBoxName |
|
) |
|
|
|
inline |
Creates a new PageMarginBoxContextNode instance.
-
Parameters
-
| parentNode |
the parent node |
| marginBoxName |
the margin box name |
◆ GetContainingBlockForMarginBox()
| virtual Rectangle iText.StyledXmlParser.Css.Page.PageMarginBoxContextNode.GetContainingBlockForMarginBox |
( |
|
) |
|
|
inlinevirtual |
◆ GetMarginBoxName()
| virtual String iText.StyledXmlParser.Css.Page.PageMarginBoxContextNode.GetMarginBoxName |
( |
|
) |
|
|
inlinevirtual |
Gets the margin box name.
-
Returns
-
the margin box name
◆ GetPageMarginBoxRectangle()
| virtual Rectangle iText.StyledXmlParser.Css.Page.PageMarginBoxContextNode.GetPageMarginBoxRectangle |
( |
|
) |
|
|
inlinevirtual |
Gets the rectangle in which page margin box contents should be shown.
-
Returns
-
the iText.Kernel.Geom.Rectangle defining position and dimensions of the margin box content area
◆ SetContainingBlockForMarginBox()
| virtual void iText.StyledXmlParser.Css.Page.PageMarginBoxContextNode.SetContainingBlockForMarginBox |
( |
Rectangle |
containingBlockForMarginBox |
) |
|
|
inlinevirtual |
Sets the containing block rectangle for the margin box, which is used for calculating some of the margin box properties relative values.
-
Parameters
-
| containingBlockForMarginBox |
the iText.Kernel.Geom.Rectangle which is used as a reference for some margin box relative properties calculations. |
◆ SetPageMarginBoxRectangle()
| virtual void iText.StyledXmlParser.Css.Page.PageMarginBoxContextNode.SetPageMarginBoxRectangle |
( |
Rectangle |
pageMarginBoxRectangle |
) |
|
|
inlinevirtual |
Sets the rectangle in which page margin box contents are shown.
-
Parameters
-
◆ PAGE_MARGIN_BOX_TAG
| const String iText.StyledXmlParser.Css.Page.PageMarginBoxContextNode.PAGE_MARGIN_BOX_TAG = "_064ef03_page-margin-box" |
|
static |
The Constant PAGE_MARGIN_BOX_TAG.