public class AcroFormLayout extends FormLayout implements FormInstanceManager.InstanceListener
Like the other xfalayout structures, the AcroFormLayout object encapsulates the following information: i) what type of object to render (form node) ii) what page the object resides iii) object's (x,y) position on a given page iv) interactive properties pertaining to whether node has changed It does so by storing an array of node trees, with each tree representing the layout of a new page. However unlike it's parent class xfaformlayout the xfaacroformlayout trees are comprised of AcroFormLayoutNode objects. These nodes contain the extra information needed for functionlity specific to incremental relayout within the Acrobat 7 xfa plugin, something that conventional form layout cannot do.
| Constructor and Description |
|---|
AcroFormLayout(FontService oFontService,
Service oImageService,
HrefService oHrefService,
AppModel oAppModel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enableLayoutNodePooling() |
void |
enableLayoutNodePooling(boolean bEnable) |
boolean |
isUnrepairable()
Return true if this layout is not incrementally repairable
|
int |
newID() |
void |
postAddInstance(Node wasAdded) |
void |
postMoveInstance(Node wasMoved) |
void |
postRemoveInstance(Node wasRemoved) |
void |
preAddInstance() |
void |
preMoveInstance(Node toBeMoved) |
void |
preRemoveInstance(Node toBeRemoved) |
void |
setUnrepairable()
Make this layout unrepairable by incremental relayout.
|
layout, needsSecondPass, setNeedsSecondPassgetAppModel, getLayoutEnv, getTemplateModel, ranOutOfPagespublic AcroFormLayout(FontService oFontService, Service oImageService, HrefService oHrefService, AppModel oAppModel)
public void setUnrepairable()
public boolean isUnrepairable()
public int newID()
public void enableLayoutNodePooling(boolean bEnable)
public boolean enableLayoutNodePooling()
public void preAddInstance()
preAddInstance in interface FormInstanceManager.InstanceListenerpublic void preRemoveInstance(Node toBeRemoved)
preRemoveInstance in interface FormInstanceManager.InstanceListenerpublic void preMoveInstance(Node toBeMoved)
preMoveInstance in interface FormInstanceManager.InstanceListenerpublic void postAddInstance(Node wasAdded)
postAddInstance in interface FormInstanceManager.InstanceListenerpublic void postRemoveInstance(Node wasRemoved)
postRemoveInstance in interface FormInstanceManager.InstanceListenerpublic void postMoveInstance(Node wasMoved)
postMoveInstance in interface FormInstanceManager.InstanceListenerCopyright © 2010 - 2020 Adobe. All Rights Reserved