|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Placeholder
com.aspose.slides.TextHolder
public final class TextHolder
Represents a text placeholder.
Method Summary | |
---|---|
void |
fitTextToShape()
Decreases Paragraph's SpaceWithin and/or FontHeight to fit text to a TextHolder's rectangle. |
int |
getAnchorText()
Returns or sets the anchor text in a TextHolder. |
EffectiveTabs |
getEffectiveTabs(int ParagraphNumber)
Returns the list of tabulations for a paragraph, including implicitly generated. |
boolean |
getFitShapeToText()
Determines whether the size of TextHolder should be fit to text size. |
int |
getFrameType()
|
int |
getHeight()
Returns or sets the height of a TextHolder. |
LinkCollection |
getLinks()
Returns the list of all links in a frame. |
double |
getMarginBottom()
Returns or sets the bottom margin (mm) of text in a TextHolder. |
double |
getMarginLeft()
Returns or sets the left margin (mm) of text in a TextHolder. |
double |
getMarginRight()
Returns or sets the right margin (mm) of text in a TextHolder. |
double |
getMarginTop()
Returns or sets the top margin (mm) of text in a TextHolder. |
com.aspose.slides.LevelStyle |
getMasterStyle(short depth)
|
ParagraphCollection |
getParagraphs()
Returns the list of all paragraphs in a frame. |
boolean |
getRotateTextBy90Degrees()
Determines whether the text should be rotated by 90 degree inside TextHolder. |
BaseSlide |
getSlide()
|
TabCollection |
getTabs()
Deprecated. |
java.lang.String |
getText()
Returns the plain text for a TextHolder. |
TextRuler |
getTextRuler()
Returns the TextRuler of a TextHolder. |
int |
getWidth()
Returns or sets the width of a TextHolder. |
boolean |
getWrapText()
Determines whether the text should be wrapped at TextHolder's margins. |
int |
getX()
Returns or sets the x-coordinate of the upper-left corner of a TextHolder. |
int |
getY()
Returns or sets the y-coordinate of the upper-left corner of a TextHolder. |
void |
setAnchorText(int value)
|
void |
setFitShapeToText(boolean value)
|
void |
setHeight(int value)
|
void |
setMarginBottom(double value)
|
void |
setMarginLeft(double value)
|
void |
setMarginRight(double value)
|
void |
setMarginTop(double value)
|
void |
setRotateTextBy90Degrees(boolean value)
|
void |
setText(java.lang.String value)
|
void |
setWidth(int value)
|
void |
setWrapText(boolean value)
|
void |
setX(int value)
|
void |
setY(int value)
|
void |
textChanged()
|
Methods inherited from class com.aspose.slides.Placeholder |
---|
getAlternativeText, getFillFormat, getLineFormat, getMasterShapeId, getParent, getParentSlide, getPlaceholderType, getShadowFormat, getShapeRef, getThreeDFormat, setAlternativeText |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getText()
Returns the plain text for a TextHolder.
Read-only string
.
public void setText(java.lang.String value)
public ParagraphCollection getParagraphs()
Returns the list of all paragraphs in a frame.
Read-only Aspose.Slides.Paragraphs
.
getParagraphs
in interface ITextBox
public LinkCollection getLinks()
Returns the list of all links in a frame.
Read-only Aspose.Slides.LinkCollection
.
@Deprecated public TabCollection getTabs()
Returns the list of tabulations defined for a frame.
Read-only Aspose.Slides.Tabs
.
public EffectiveTabs getEffectiveTabs(int ParagraphNumber)
Returns the list of tabulations for a paragraph, including implicitly generated.
ParagraphNumber
- Index of paragraph,
for which tabulation positions will be generated.
Aspose.Slides.EffectiveTabs
object.public int getX()
Returns or sets the x-coordinate of the upper-left corner of a TextHolder.
Read/write int
.
getX
in class Placeholder
public void setX(int value)
setX
in class Placeholder
public int getY()
Returns or sets the y-coordinate of the upper-left corner of a TextHolder.
Read/write int
.
getY
in class Placeholder
public void setY(int value)
setY
in class Placeholder
public int getWidth()
Returns or sets the width of a TextHolder.
Read/write int
.
getWidth
in class Placeholder
public void setWidth(int value)
setWidth
in class Placeholder
public int getHeight()
Returns or sets the height of a TextHolder.
Read/write int
.
getHeight
in class Placeholder
public void setHeight(int value)
setHeight
in class Placeholder
public double getMarginLeft()
Returns or sets the left margin (mm) of text in a TextHolder.
Read/write double
.
public void setMarginLeft(double value)
public double getMarginRight()
Returns or sets the right margin (mm) of text in a TextHolder.
Read/write double
.
public void setMarginRight(double value)
public double getMarginTop()
Returns or sets the top margin (mm) of text in a TextHolder.
Read/write double
.
public void setMarginTop(double value)
public double getMarginBottom()
Returns or sets the bottom margin (mm) of text in a TextHolder.
Read/write double
.
public void setMarginBottom(double value)
public int getAnchorText()
Returns or sets the anchor text in a TextHolder.
Read/write Aspose.Slides.AnchorText
.
public void setAnchorText(int value)
public boolean getWrapText()
Determines whether the text should be wrapped at TextHolder's margins.
Read/write bool
.
public void setWrapText(boolean value)
public boolean getFitShapeToText()
Determines whether the size of TextHolder should be fit to text size.
Read/write bool
.
public void setFitShapeToText(boolean value)
public boolean getRotateTextBy90Degrees()
Determines whether the text should be rotated by 90 degree inside TextHolder.
Read/write bool
.
public void setRotateTextBy90Degrees(boolean value)
public void fitTextToShape()
Decreases Paragraph's SpaceWithin and/or FontHeight to fit text to a TextHolder's rectangle. SpaceWithin decrement affects only line-based intervals and can decrease them down to 80 percent.
public TextRuler getTextRuler()
Returns the TextRuler of a TextHolder.
Read-only TextRuler
public BaseSlide getSlide()
public com.aspose.slides.LevelStyle getMasterStyle(short depth)
public int getFrameType()
public void textChanged()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |