TextFrameFormat
Overview
TextFrameFormat is a class in Aspose.Slides FOSS for Java.
Inherits from: PVIObject, ITextFrameFormat.
Contains the TextFrame’s formatting properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
txBodyElement | Element | Read | Returns the underlying {@code <a:txBody>} XML element. |
presentation | IPresentation | Read | |
marginLeft | double | Read | {@inheritDoc} |
marginRight | double | Read | {@inheritDoc} |
marginTop | double | Read | {@inheritDoc} |
marginBottom | double | Read | {@inheritDoc} |
wrapText | NullableBool | Read | {@inheritDoc} |
anchoringType | TextAnchorType | Read | {@inheritDoc} |
centerText | NullableBool | Read | {@inheritDoc} |
textVerticalType | TextVerticalType | Read | {@inheritDoc} |
autofitType | TextAutofitType | Read | {@inheritDoc} |
columnCount | int | Read | {@inheritDoc} |
columnSpacing | double | Read | {@inheritDoc} |
rotationAngle | double | Read | {@inheritDoc} |
transform | TextShapeType | Read | {@inheritDoc} |
keepTextFlat | boolean | Read | {@inheritDoc} |
threeDFormat | IThreeDFormat | Read | {@inheritDoc} |
Methods
| Signature | Description |
|---|---|
TextFrameFormat(txBodyElement: Element, saveCallback: Runnable) | Creates a TextFrameFormat backed by the given text body element. |
getTxBodyElement() → Element | Returns the underlying {@code <a:txBody>} XML element. |
TextFrameFormat() | Creates a new detached TextFrameFormat with a standalone {@code <a:txBody>} |
| containing an empty {@code <a:bodyPr>}. | |
initInternal(txBodyElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide) → TextFrameFormat | Initializes this format with the real XML element from a slide part. |
getPresentation() → IPresentation | Returns the IPresentation that owns this text frame |
asIPresentationComponent() → IPresentationComponent | Returns this object as an {@link IPresentationComponent}. |
getMarginLeft() → double | {@inheritDoc} |
setMarginLeft(value: double) | {@inheritDoc} |
getMarginRight() → double | {@inheritDoc} |
setMarginRight(value: double) | {@inheritDoc} |
getMarginTop() → double | {@inheritDoc} |
setMarginTop(value: double) | {@inheritDoc} |
getMarginBottom() → double | {@inheritDoc} |
setMarginBottom(value: double) | {@inheritDoc} |
getWrapText() → NullableBool | {@inheritDoc} |
setWrapText(value: NullableBool) | {@inheritDoc} |
getAnchoringType() → TextAnchorType | {@inheritDoc} |
setAnchoringType(value: TextAnchorType) | {@inheritDoc} |
getCenterText() → NullableBool | {@inheritDoc} |
setCenterText(value: NullableBool) | {@inheritDoc} |
getTextVerticalType() → TextVerticalType | {@inheritDoc} |
setTextVerticalType(value: TextVerticalType) | {@inheritDoc} |
getAutofitType() → TextAutofitType | {@inheritDoc} |
setAutofitType(value: TextAutofitType) | {@inheritDoc} |
getColumnCount() → int | {@inheritDoc} |
setColumnCount(value: int) | {@inheritDoc} |
getColumnSpacing() → double | {@inheritDoc} |
setColumnSpacing(value: double) | {@inheritDoc} |
getRotationAngle() → double | {@inheritDoc} |
setRotationAngle(value: double) | {@inheritDoc} |
getTransform() → TextShapeType | {@inheritDoc} |
setTransform(value: TextShapeType) | {@inheritDoc} |
isKeepTextFlat() → boolean | {@inheritDoc} |
setKeepTextFlat(value: boolean) | {@inheritDoc} |
getThreeDFormat() → IThreeDFormat | {@inheritDoc} |