|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.docx4j.org.xhtmlrenderer.pdf.ITextReplacedElementFactory
public class ITextReplacedElementFactory
| Constructor Summary | |
|---|---|
ITextReplacedElementFactory(ITextOutputDevice outputDevice)
|
|
| Method Summary | |
|---|---|
ReplacedElement |
createReplacedElement(LayoutContext c,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight)
NOTE: Only block equivalent elements can be replaced. |
List |
getRadioButtons(String name)
|
void |
remove(Element e)
Removes any reference to Element e. |
void |
remove(String fieldName)
|
void |
reset()
Instructs the ReplacedElementFactory to discard any cached
data (typically because a new page is about to be loaded). |
void |
setFormSubmissionListener(FormSubmissionListener listener)
Identifies the FSL which will be used for callbacks when a form submit action is executed; you can use a DefaultFormSubmissionListener if you don't want any action to be taken. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ITextReplacedElementFactory(ITextOutputDevice outputDevice)
| Method Detail |
|---|
public ReplacedElement createReplacedElement(LayoutContext c,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight)
ReplacedElementFactory
createReplacedElement in interface ReplacedElementFactorycssWidth - The CSS width of the element in dots (or -1 if
width is auto)cssHeight - The CSS height of the element in dots (or -1
if the height should be treated as auto)
ReplacedElement or null if no
ReplacedElement appliespublic void reset()
ReplacedElementFactoryReplacedElementFactory to discard any cached
data (typically because a new page is about to be loaded).
reset in interface ReplacedElementFactorypublic void remove(Element e)
ReplacedElementFactoryElement e.
remove in interface ReplacedElementFactorypublic void remove(String fieldName)
public List getRadioButtons(String name)
public void setFormSubmissionListener(FormSubmissionListener listener)
ReplacedElementFactoryDefaultFormSubmissionListener if you don't want any action to be taken.
setFormSubmissionListener in interface ReplacedElementFactorylistener - the listener instance to receive callbacks on form submission.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||