|
| |
ColumnDocumentRenderer (Document document, Rectangle[] columns) |
| |
Creates a ColumnDocumentRenderer. More...
|
| |
| |
ColumnDocumentRenderer (Document document, bool immediateFlush, Rectangle[] columns) |
| |
Creates a ColumnDocumentRenderer whose elements need not be flushed immediately. More...
|
| |
| virtual int |
GetNextAreaNumber () |
| |
Gets the array index of the next area that will be written on after the current one is full (overflowed). More...
|
| |
| override IRenderer |
GetNextRenderer () |
| |
Gets a new instance of this class to be used as a next renderer, after this renderer is used, if Layout(iText.Layout.Layout.LayoutContext) is called more than once. More...
|
| |
| |
DocumentRenderer (Document document) |
| |
| |
DocumentRenderer (Document document, bool immediateFlush) |
| |
| override LayoutArea |
GetOccupiedArea () |
| |
Gets the resultant occupied area after the last call to the Layout(iText.Layout.Layout.LayoutContext) method. More...
|
| |
| override IRenderer |
GetNextRenderer () |
| |
For DocumentRenderer , this has a meaning of the renderer that will be used for relayout. More...
|
| |
| override void |
AddChild (IRenderer renderer) |
| |
Adds a child to the current renderer More...
|
| |
| virtual void |
Flush () |
| |
Draws (flushes) the content. More...
|
| |
| virtual void |
Close () |
| |
This method correctly closes the RootRenderer instance. There might be hanging elements, like in case of iText.Layout.Properties.Property.KEEP_WITH_NEXT is set to true and when no consequent element has been added. This method addresses such situations. More...
|
| |
| override LayoutResult |
Layout (LayoutContext layoutContext) |
| |
This method simulates positioning of the renderer, including all of its children, and returns the iText.Layout.Layout.LayoutResult , representing the layout result, including occupied area, status, i.e. if there was enough place to fit the renderer subtree, etc. iText.Layout.Layout.LayoutResult can be extended to return custom layout results for custom elements, e.g. TextRenderer uses iText.Layout.Layout.TextLayoutResult as its result. This method can be called standalone to learn how much area the renderer subtree needs, or can be called before Draw(DrawContext) , to prepare the renderer to be flushed to the output stream. More...
|
| |
| virtual LayoutArea |
GetCurrentArea () |
| |
| virtual IPropertyContainer |
GetModelElement () |
| |
Gets the model element associated with this renderer. More...
|
| |
| virtual IList< IRenderer > |
GetChildRenderers () |
| |
Gets the child IRenderer s. More...
|
| |
| virtual bool |
HasProperty (int property) |
| |
Checks if this entity has the specified property. More...
|
| |
| virtual bool |
HasOwnProperty (int property) |
| |
Checks if this entity has the specified property, i.e. More...
|
| |
| virtual bool |
HasOwnOrModelProperty (int property) |
| |
Checks if this renderer or its model element have the specified property, i.e. More...
|
| |
| virtual void |
DeleteOwnProperty (int property) |
| |
Deletes the own property of this entity. More...
|
| |
| virtual void |
DeleteProperty (int property) |
| |
Deletes property from this very renderer, or in case the property is specified on its model element, the property of the model element is deleted More...
|
| |
| virtual T1 |
GetProperty< T1 > (int key) |
| |
Gets the property from this entity. More...
|
| |
| virtual T1 |
GetOwnProperty< T1 > (int property) |
| |
Gets own property from this entity. More...
|
| |
| virtual T1 |
GetProperty< T1 > (int property, T1 defaultValue) |
| |
Gets a property from this entity or one of its hierarchical parents. More...
|
| |
| virtual void |
SetProperty (int property, Object value) |
| |
Sets a property for this entity. More...
|
| |
| virtual T1 |
GetDefaultProperty< T1 > (int property) |
| |
Gets the default property from this entity. More...
|
| |
| virtual PdfFont |
GetPropertyAsFont (int property) |
| |
Returns a property with a certain key, as a font object. More...
|
| |
| virtual Color |
GetPropertyAsColor (int property) |
| |
Returns a property with a certain key, as a color. More...
|
| |
| virtual TransparentColor |
GetPropertyAsTransparentColor (int property) |
| |
Returns a property with a certain key, as a iText.Layout.Properties.TransparentColor More...
|
| |
| virtual ? float |
GetPropertyAsFloat (int property) |
| |
Returns a property with a certain key, as a floating point value. More...
|
| |
| virtual ? float |
GetPropertyAsFloat (int property, float? defaultValue) |
| |
Returns a property with a certain key, as a floating point value. More...
|
| |
| virtual ? bool |
GetPropertyAsBoolean (int property) |
| |
Returns a property with a certain key, as a boolean value. More...
|
| |
| virtual UnitValue |
GetPropertyAsUnitValue (int property) |
| |
Returns a property with a certain key, as a unit value. More...
|
| |
| virtual ? int |
GetPropertyAsInteger (int property) |
| |
Returns a property with a certain key, as an integer value. More...
|
| |
| override String |
ToString () |
| |
Returns a string representation of the renderer. More...
|
| |
| virtual void |
Draw (DrawContext drawContext) |
| |
Flushes the renderer subtree contents, i.e. More...
|
| |
| virtual void |
DrawBackground (DrawContext drawContext) |
| |
Draws a background layer if it is defined by a key iText.Layout.Properties.Property.BACKGROUND in either the layout element or this IRenderer itself. More...
|
| |
| virtual void |
DrawChildren (DrawContext drawContext) |
| |
Performs the drawing operation for all children of this renderer. More...
|
| |
| virtual void |
DrawBorder (DrawContext drawContext) |
| |
Performs the drawing operation for the border of this renderer, if defined by any of the iText.Layout.Properties.Property.BORDER values in either the layout element or this IRenderer itself. More...
|
| |
| virtual bool |
IsFlushed () |
| |
Indicates whether this renderer is flushed or not, i.e. More...
|
| |
| virtual IRenderer |
SetParent (IRenderer parent) |
| |
Explicitly sets this object as the child of another IRenderer in the renderer hierarchy. Some implementations also use this method internally to create a consistent hierarchy tree. More...
|
| |
| virtual IRenderer |
GetParent () |
| |
Gets the parent IRenderer . More...
|
| |
| virtual void |
Move (float dxRight, float dyUp) |
| |
Moves the renderer subtree by the specified offset. More...
|
| |
| virtual IList< Rectangle > |
InitElementAreas (LayoutArea area) |
| |
Gets all rectangles that this IRenderer can draw upon in the given area. More...
|
| |
| virtual Rectangle |
GetOccupiedAreaBBox () |
| |
Gets the bounding box that contains all content written to the DrawContext by this IRenderer More...
|
| |
| virtual Rectangle |
GetBorderAreaBBox () |
| |
Gets the border box of a renderer. More...
|
| |
| virtual Rectangle |
GetInnerAreaBBox () |
| |
| virtual Rectangle |
ApplyMargins (Rectangle rect, bool reverse) |
| |
Applies margins of the renderer on the given rectangle More...
|
| |
| virtual Rectangle |
ApplyBorderBox (Rectangle rect, bool reverse) |
| |
Applies the border box of the renderer on the given rectangle If the border of a certain side is null, the side will remain as it was. More...
|
| |
| virtual Rectangle |
ApplyPaddings (Rectangle rect, bool reverse) |
| |
Applies paddings of the renderer on the given rectangle More...
|
| |
| virtual bool |
IsFirstOnRootArea () |
| |
| virtual MinMaxWidth |
GetMinMaxWidth () |
| |