|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.PageElement com.cete.dynamicpdf.pageelements.TaggablePageElement com.cete.dynamicpdf.pageelements.RotatingPageElement com.cete.dynamicpdf.pageelements.html.HtmlArea
public class HtmlArea
This class can be used to place HTML Area on a page.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
HtmlArea(java.lang.String text,
float x,
float y,
float width,
float height)
Creates a new instance of the HtmlArea class. |
|
HtmlArea(java.lang.String text,
float x,
float y,
java.net.URI baseHref,
float width,
float height)
Creates a new instance of HtmlArea class. |
|
HtmlArea(java.net.URI uri,
float x,
float y,
float width,
float height)
Creates a new instance of the HtmlArea class. |
|
HtmlArea(java.net.URI uri,
float x,
float y,
java.net.URI baseHref,
float width,
float height)
Creates a new instance of the HtmlArea class. |
Method Summary | |
---|---|
protected void |
drawRotated(PageWriter writer)
Draws the label to the given PageWriter object. |
float |
getHeight()
Gets the height of the HTML area. |
HtmlArea |
getOverflowHtmlArea()
Returns a new HtmlArea object containing the overflow html area. |
HtmlArea |
getOverflowHtmlArea(float x,
float y,
float height)
Returns a new HtmlArea object containing the overflow html area. |
float |
getRequiredHeight()
Returns the height required to fit html file. |
float |
getWidth()
Gets the width of the HTML area. |
void |
setHeight(float value)
Sets the height of the HTML area. |
void |
setWidth(float value)
Sets the width of the HTML area. |
Methods inherited from class com.cete.dynamicpdf.pageelements.RotatingPageElement |
---|
draw, getAngle, getX, getY, setAngle, setX, setY |
Methods inherited from class com.cete.dynamicpdf.pageelements.TaggablePageElement |
---|
getTag, getTagOrder, setTag, setTagOrder |
Methods inherited from class com.cete.dynamicpdf.PageElement |
---|
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.cete.dynamicpdf.pageelements.ICoordinate |
---|
getX, getY, setX, setY |
Constructor Detail |
---|
public HtmlArea(java.net.URI uri, float x, float y, float width, float height)
HtmlArea
class.
uri
- the URL representing physical file path of the HTML Area.x
- X coordinate of the HTML Area.y
- Y coordinate of the HTML Area.width
- Width of the HTML Area.height
- Height of the HTML Area.public HtmlArea(java.net.URI uri, float x, float y, java.net.URI baseHref, float width, float height)
HtmlArea
class.
uri
- the URL representing physical file path of the HTML Area.x
- X coordinate of the HTML Area.y
- Y coordinate of the HTML Area.baseHref
- Creates a new instance of the Uri class with the specified base href URL.width
- Width of the HTML Area.height
- Height of the HTML Area.public HtmlArea(java.lang.String text, float x, float y, float width, float height)
HtmlArea
class.
text
- the string representing Text to display in the HTML Area.x
- X coordinate of the HTML Area.y
- Y coordinate of the HTML Area.width
- Width of the HTML Area.height
- Height of the HTML Area.public HtmlArea(java.lang.String text, float x, float y, java.net.URI baseHref, float width, float height)
HtmlArea
class.
text
- the string representing Text to display in the HTML Area.x
- X coordinate of the HTML Area.y
- Y coordinate of the HTML Area.baseHref
- Creates a new instance of the Uri class with the specified base href URL.width
- Width of the HTML Area.height
- Height of the HTML Area.Method Detail |
---|
public float getHeight()
getHeight
in interface IArea
getHeight
in class RotatingPageElement
public void setHeight(float value)
setHeight
in interface IArea
setHeight
in class RotatingPageElement
value
- the height of the HTML area.public float getWidth()
getWidth
in interface IArea
public void setWidth(float value)
setWidth
in interface IArea
value
- the width of the HTML area.protected void drawRotated(PageWriter writer)
PageWriter
object.
drawRotated
in class RotatingPageElement
writer
- PageWriter
object to receive the label's
output.PageWriter
public HtmlArea getOverflowHtmlArea(float x, float y, float height)
HtmlArea
object containing the overflow html area.
View Example
x
- X coordinate of the new object.y
- Y coordinate of the new object.height
- Height of the new object.public HtmlArea getOverflowHtmlArea()
HtmlArea
object containing the overflow html area.
View Example
public float getRequiredHeight()
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |