public class ControlStyleHandler extends DefaultStyleHandler
isUseDefaultStyle, mDocument, mFamilyProperties, mGraphicProperties, mOdfElement, mParagraphProperties, mStyleElement, mTableCellProperties, mTableProperties, mTextProperties, mWritableGraphicProperties, mWritableParagraphProperties, mWritableStyleElement, mWritableTableCellProperties, mWritableTableProperties, mWritableTextProperties| Constructor and Description |
|---|
ControlStyleHandler(Control control) |
| Modifier and Type | Method and Description |
|---|---|
void |
setAchorType(StyleTypeDefinitions.AnchorType achorType)
Set how a form control is bound to a text document.
|
getGraphicPropertiesForRead, getGraphicPropertiesForWrite, getParagraphPropertiesForRead, getParagraphPropertiesForWrite, getReadableStyleElementByName, getStyleElementForRead, getStyleElementForWrite, getTableCellPropertiesForRead, getTableCellPropertiesForWrite, getTablePropertiesForRead, getTablePropertiesForWrite, getTextPropertiesForRead, getTextPropertiesForWrite, getUsedStyleName, getWritableStyleElementByNamepublic ControlStyleHandler(Control control)
public void setAchorType(StyleTypeDefinitions.AnchorType achorType)
If the document is not text document, nothing will happen.
achorType - - the point at which a form control is bound to a text documentCopyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.