DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class HeaderFooterHtmlLayoutElement

java.lang.Object
  extended by com.cete.dynamicpdf.HeaderFooterHtmlLayoutElement

public class HeaderFooterHtmlLayoutElement
extends java.lang.Object

This class can be used to place HeaderHtmlLayout and FooterHtmlLayout on a page. View Example


Method Summary
 boolean getHasPageNumbers()
          Get.
 boolean getShowOnFirstPage()
          Get.
 boolean getShowOnLastPage()
          Get.
 java.lang.String getText()
          Get the HTML text for the element.
 float getWidth()
          Gets width of the element.
 void setHasPageNumbers(boolean value)
          Set.
 void setShowOnFirstPage(boolean value)
          Set.
 void setShowOnLastPage(boolean value)
          Set.
 void setText(java.lang.String value)
          Set the HTML text for the element.
 void setWidth(float value)
          Sets width of the element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getText

public java.lang.String getText()
Get the HTML text for the element. Should share the CSS and styles of the body HTML.

Returns:
the HTML text for the element.

setText

public void setText(java.lang.String value)
Set the HTML text for the element. Should share the CSS and styles of the body HTML.

Parameters:
value - the HTML text for the element.

getShowOnFirstPage

public boolean getShowOnFirstPage()
Get. True by default. If false, the element will not show on the first page.

Returns:
boolean value of ShowOnFirstPage.

setShowOnFirstPage

public void setShowOnFirstPage(boolean value)
Set. True by default. If false, the element will not show on the first page.

Parameters:
value - boolean value of ShowOnFirstPage.

getShowOnLastPage

public boolean getShowOnLastPage()
Get. True by default. If false, the element will not show on the last page.

Returns:
boolean value of ShowOnLastPage.

setShowOnLastPage

public void setShowOnLastPage(boolean value)
Set. True by default. If false, the element will not show on the last page.

Parameters:
value - boolean value of ShowOnLastPage.

getHasPageNumbers

public boolean getHasPageNumbers()
Get. False by default.

Returns:
boolean value of HasPageNumbers.

setHasPageNumbers

public void setHasPageNumbers(boolean value)
Set. False by default.

Parameters:
value - boolean value of HasPageNumbers.

getWidth

public float getWidth()
Gets width of the element.

Returns:
width of the element.

setWidth

public void setWidth(float value)
Sets width of the element.

Parameters:
value - width of the element.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v11.02 for Java generated on Sep 02, 2021
© Copyright 2021, ceTe Software