iText 8.0.5 API
iText.Layout.Properties.ContinuousContainer Class Reference

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

Public Member Functions

void  ReApplyProperties (AbstractRenderer blockRenderer)
  Re adds the properties that were removed from the overflow renderer. More...
 
void  UpdateValueOfSavedProperty (int property, Object value)
  Updates values of the saved property. More...
 

Static Public Member Functions

static void  ClearPropertiesFromOverFlowRenderer (IPropertyContainer overFlowRenderer)
  Removes properties from the overflow renderer that are not needed for continuous container. More...
 
static void  SetupContinuousContainerIfNeeded (AbstractRenderer blockRenderer)
  Sets up the needed values in the model element of the renderer. More...
 

Detailed Description

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

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.

Member Function Documentation

◆ ClearPropertiesFromOverFlowRenderer()

static void iText.Layout.Properties.ContinuousContainer.ClearPropertiesFromOverFlowRenderer ( IPropertyContainer  overFlowRenderer )
inlinestatic

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

Parameters
overFlowRenderer the renderer that is used to remove properties from.

◆ ReApplyProperties()

void iText.Layout.Properties.ContinuousContainer.ReApplyProperties ( AbstractRenderer  blockRenderer )
inline

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

Parameters
blockRenderer the renderer that is used to reapply properties.

◆ SetupContinuousContainerIfNeeded()

static void iText.Layout.Properties.ContinuousContainer.SetupContinuousContainerIfNeeded ( AbstractRenderer  blockRenderer )
inlinestatic

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

Parameters
blockRenderer the renderer that is used to set up continuous container.

◆ UpdateValueOfSavedProperty()

void iText.Layout.Properties.ContinuousContainer.UpdateValueOfSavedProperty ( int  property,
Object  value 
)
inline

Updates values of the saved property.

Parameters
property the property to be updated
value the new value