TextFrameFormat

Overview

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

Contains the TextFrame’s formatting properties.

This class declares 38 methods for TextFrameFormat objects in Java programs. Available methods include: PVIObject, TextFrameFormat, asIPresentationComponent, getAnchoringType, getAutofitType, getCenterText, getColumnCount, getColumnSpacing, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, and 24 additional methods. 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/Write{@inheritDoc}
marginRightdoubleRead/Write{@inheritDoc}
marginTopdoubleRead/Write{@inheritDoc}
marginBottomdoubleRead/Write{@inheritDoc}
wrapTextNullableBoolRead/Write{@inheritDoc}
anchoringTypeTextAnchorTypeRead/Write{@inheritDoc}
centerTextNullableBoolRead/Write{@inheritDoc}
textVerticalTypeTextVerticalTypeRead/Write{@inheritDoc}
autofitTypeTextAutofitTypeRead/Write{@inheritDoc}
columnCountintRead/Write{@inheritDoc}
columnSpacingdoubleRead/Write{@inheritDoc}
rotationAngledoubleRead/Write{@inheritDoc}
transformTextShapeTypeRead/Write{@inheritDoc}
keepTextFlatbooleanRead/Write{@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.
PVIObject(parentSlide: IBaseSlide)Creates a PVIObject associated with the given slide.
getSlide() → IBaseSlideReturns the slide.

See Also

 English