TextFrame
סקירה
TextFrame היא מחלקה ב-Aspose.Slides FOSS עבור Java. יורשת מ: ITextFrame.
מייצגת מסגרת טקסט שמכילה פסקאות.
מחלקה זו מספקת 12 שיטות לעבודה עם עצמים של TextFrame בתוכניות Java. השיטות הזמינות כוללות: TextFrame, asIPresentationComponent, asISlideComponent, getParagraphs, getParentCell, getParentShape, getPresentation, getSlide, getText, getTextFrameFormat, setText. כל החברים הציבוריים נגישים לכל יישום Java לאחר התקנת חבילת Aspose.Slides FOSS עבור Java. מאפיינים: paragraphs, parentCell, parentShape, presentation, slide, text, ועוד 1.
מאפיינים
| שם | סוג | Access | תיאור |
|---|---|---|---|
paragraphs | IParagraphCollection | Read | מחזיר את אוסף הפסקאות. |
textFrameFormat | ITextFrameFormat | Read | מחזיר את פורמט מסגרת הטקסט. |
text | String | קרא | מקבל את הטקסט. |
slide | IBaseSlide | קרא | Gets the slide. |
presentation | IPresentation | קרא | מקבל את המצגת. |
parentShape | IShape | קרא | מקבל את הצורה ההורה. |
parentCell | ICell | בבקשה ספק את הטק | Gets the parent cell. |
שיטות
| Signature | Description |
|---|---|
TextFrame(txBodyElement: Element, saveCallback: Runnable) | יוצר TextFrame הנתמך על ידי אלמנט גוף הטקסט הנתון. |
TextFrame(txBodyElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide, parentShape: IShape) | Creates a TextFrame backed by the given text body element with parent context. |
getParagraphs() → IParagraphCollection | מחזיר את אוסף הפסקאות. |
getTextFrameFormat() → ITextFrameFormat | Returns the text frame format. |
getText() → String | מחזיר את הטקסט. |
setText(text: String) | Sets the text value. |
getSlide() → IBaseSlide | Returns the slide. |
getPresentation() → IPresentation | Returns the presentation. |
asIPresentationComponent() → IPresentationComponent | ממיר את מסגרת הטקסט ל-IPresentationComponent |
getParentShape() → IShape | מחזיר את הצורה ההורה. |
getParentCell() → ICell | מחזיר את התא ההורה. |
asISlideComponent() → ISlideComponent | ממיר את מסגרת הטקסט ל-ISlideComponent |