TextFrameFormat

TextFrameFormat

Overview

TextFrameFormat is a class in Aspose.Slides FOSS for Java. Inherits from: PVIObject, ITextFrameFormat.

Contains the TextFrame’s formatting properties.

This class provides 37 methods for working with TextFrameFormat objects in Java programs. Available methods include: PVIObject, TextFrameFormat, asIPresentationComponent, getAnchoringType, getAutofitType, getCenterText, getColumnCount, getColumnSpacing, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, and 24 additional methods. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: anchoringType, autofitType, centerText, columnCount, columnSpacing, keepTextFlat, and 12 more.

Properties

NameTypeAccessDescription
txBodyElementElementReadReturns the underlying {@code <a:txBody>} XML element.
presentationIPresentationReadGets the presentation.
marginLeftdoubleRead{@inheritDoc}
marginRightdoubleRead{@inheritDoc}
marginTopdoubleRead{@inheritDoc}
marginBottomdoubleRead{@inheritDoc}
wrapTextNullableBoolRead{@inheritDoc}
anchoringTypeTextAnchorTypeRead{@inheritDoc}
centerTextNullableBoolRead{@inheritDoc}
textVerticalTypeTextVerticalTypeRead{@inheritDoc}
autofitTypeTextAutofitTypeRead{@inheritDoc}
columnCountintRead{@inheritDoc}
columnSpacingdoubleRead{@inheritDoc}
rotationAngledoubleRead{@inheritDoc}
transformTextShapeTypeRead{@inheritDoc}
keepTextFlatbooleanRead{@inheritDoc}
threeDFormatIThreeDFormatRead{@inheritDoc}
slideIBaseSlideReadGets the slide.

Methods

SignatureDescription
TextFrameFormat(txBodyElement: Element, saveCallback: Runnable)Creates a TextFrameFormat backed by the given text body element.
getTxBodyElement()ElementReturns 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)TextFrameFormatInitializes this format with the real XML element from a slide part.
getPresentation()IPresentationReturns the presentation.
asIPresentationComponent()IPresentationComponentReturns 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}
PVIObject()Creates a PVIObject with no parent slide.
getSlide()IBaseSlideReturns the slide.

See Also