ITextFrame
Panoramica
ITextFrame è un’interfaccia in Aspose.Slides FOSS per Java. Eredita da: ISlideComponent, IPresentationComponent.
Rappresenta un TextFrame.
Questa interfaccia fornisce 10 metodi per lavorare con oggetti ITextFrame nei programmi Java. I metodi disponibili includono: asIPresentationComponent, asISlideComponent, getParagraphs, getParentCell, getParentShape, getPresentation, getSlide, getText, getTextFrameFormat, setText. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Java dopo aver installato il pacchetto Aspose.Slides FOSS per Java. Proprietà: paragraphs, parentCell, parentShape, presentation, slide, text, e 1 in più.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
paragraphs | IParagraphCollection | Lettura | Restituisce la lista di tutti i paragrafi in un frame. |
text | String | Lettura | Ottiene il testo semplice per un TextFrame. |
textFrameFormat | ITextFrameFormat | Lettura | Restituisce l’oggetto di formattazione per questo oggetto TextFrame. |
parentShape | IShape | Lettura | Restituisce la forma genitore, o {@code null} se l’oggetto genitore non implementa l’interfaccia {@link IShape}. |
parentCell | ICell | Lettura | Restituisce la cella genitore, o {@code null} se l’oggetto genitore non implementa l’interfaccia {@link ICell}. |
slide | IBaseSlide | Lettura | Restituisce la diapositiva genitore. |
presentation | IPresentation | Lettura | Restituisce la presentazione che contiene questo componente. |
Metodi
| Firma | Descrizione |
|---|---|
getParagraphs() → IParagraphCollection | Restituisce l’elenco di tutti i paragrafi in un frame. |
getText() → String | Ottiene il testo semplice per un TextFrame. |
setText(value: String) | Imposta il testo semplice per un TextFrame. |
getTextFrameFormat() → ITextFrameFormat | Restituisce l’oggetto di formattazione per questo oggetto TextFrame. |
getParentShape() → IShape | Restituisce la forma padre, o {@code null} se l’oggetto genitore non implementa l’interfaccia {@link IShape}. |
getParentCell() → ICell | Restituisce la cella padre, o {@code null} se l’oggetto genitore non implementa l’interfaccia {@link ICell}. |
asISlideComponent() → ISlideComponent | Restituisce l’interfaccia {@link ISlideComponent} di base. |
getSlide() → IBaseSlide | Restituisce la slide genitore. |
asIPresentationComponent() → IPresentationComponent | Restituisce l’interfaccia base {@link IPresentationComponent}. |
getPresentation() → IPresentation | Restituisce la presentazione che contiene questo componente. |