Table of Contents

Class ContinuousContainer

Namespace
iText.Layout.Properties
Assembly
itext.layout.dll

This class is used to store properties of the renderer that are needed to be removed/reapplied.

public sealed class ContinuousContainer
Inheritance
ContinuousContainer
Inherited Members

Remarks

This class is used to store properties of the renderer that are needed to be removed/reapplied. THis is used for processing continuous container property. This behavior is used when we want to simulate a continuous appearance over multiple pages. This means that only for the first and last page the margins, paddings and borders are applied. On the first page the top properties are applied and on the last page the bottom properties are applied.

Methods

ClearPropertiesFromOverFlowRenderer(IPropertyContainer)

Removes properties from the overflow renderer that are not needed for continuous container.

public static void ClearPropertiesFromOverFlowRenderer(IPropertyContainer overFlowRenderer)

Parameters

overFlowRenderer IPropertyContainer

the renderer that is used to remove properties from.

ReApplyProperties(AbstractRenderer)

Re adds the properties that were removed from the overflow renderer.

public void ReApplyProperties(AbstractRenderer blockRenderer)

Parameters

blockRenderer AbstractRenderer

the renderer that is used to reapply properties.

SetupContinuousContainerIfNeeded(AbstractRenderer)

Sets up the needed values in the model element of the renderer.

public static void SetupContinuousContainerIfNeeded(AbstractRenderer blockRenderer)

Parameters

blockRenderer AbstractRenderer

the renderer that is used to set up continuous container.

UpdateValueOfSavedProperty(int, object)

Updates values of the saved property.

public void UpdateValueOfSavedProperty(int property, object value)

Parameters

property int

the property to be updated

value object

the new value