org.odftoolkit.simple.draw
Class ControlStyleHandler
java.lang.Object
org.odftoolkit.simple.style.DefaultStyleHandler
org.odftoolkit.simple.draw.ControlStyleHandler
public class ControlStyleHandler
- extends DefaultStyleHandler
This class provides functions to handle the style of a form control.
- Since:
- 0.8
Fields inherited from class org.odftoolkit.simple.style.DefaultStyleHandler |
isUseDefaultStyle, mDocument, mFamilyProperties, mGraphicProperties, mOdfElement, mParagraphProperties, mStyleElement, mTableCellProperties, mTableProperties, mTextProperties, mWritableGraphicProperties, mWritableParagraphProperties, mWritableStyleElement, mWritableTableCellProperties, mWritableTableProperties, mWritableTextProperties |
Methods inherited from class org.odftoolkit.simple.style.DefaultStyleHandler |
getGraphicPropertiesForRead, getGraphicPropertiesForWrite, getParagraphPropertiesForRead, getParagraphPropertiesForWrite, getReadableStyleElementByName, getStyleElementForRead, getStyleElementForWrite, getTableCellPropertiesForRead, getTableCellPropertiesForWrite, getTablePropertiesForRead, getTablePropertiesForWrite, getTextPropertiesForRead, getTextPropertiesForWrite, getUsedStyleName, getWritableStyleElementByName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControlStyleHandler
public ControlStyleHandler(Control control)
setAchorType
public void setAchorType(StyleTypeDefinitions.AnchorType achorType)
- Set how a form control is bound to a text document. Default position
relative and alignment will be set.
If the document is not text document, nothing will happen.
- Parameters:
achorType
- - the point at which a form control is bound to a text
document
Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.