ITable
Panoramica
ITable è un’interfaccia in Aspose.Slides FOSS per Java. Eredita da: IGraphicalObject, IBulkTextFormattable.
Rappresenta una tabella su una diapositiva.
Questa interfaccia fornisce 66 metodi per lavorare con gli oggetti ITable nei programmi Java. I metodi disponibili includono: asIBulkTextFormattable, asIGraphicalObject, asIPresentationComponent, getAlternativeText, getAlternativeTextTitle, getAsISlideComponent, getCNvPr, getColumns, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat e 54 metodi aggiuntivi. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Java dopo l’installazione del pacchetto Aspose.Slides FOSS per Java. Proprietà: alternativeText, alternativeTextTitle, asISlideComponent, cNvPr, columns, connectionSiteCount e altre 35.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
rows | IRowCollection | Lettura | Restituisce la raccolta di righe. |
columns | IColumnCollection | Lettura | Restituisce la raccolta di colonne. |
tableFormat | ITableFormat | Lettura | Restituisce la formattazione della tabella. |
stylePreset | TableStylePreset | Lettura | Restituisce il preset di stile della tabella. |
rightToLeft | boolean | Lettura | Determina se la tabella ha ordine di lettura da destra a sinistra. |
firstRow | boolean | Lettura | Determina se la prima riga ha una formattazione speciale. |
firstCol | boolean | Lettura | Determina se la prima colonna ha una formattazione speciale. |
lastRow | boolean | Lettura | Determina se l’ultima riga ha una formattazione speciale. |
lastCol | boolean | Lettura | Determina se l’ultima colonna ha una formattazione speciale. |
horizontalBanding | boolean | Lettura | Determina se la tabella ha bande orizzontali. |
verticalBanding | boolean | Lettura | Determina se la tabella ha bande verticali. |
graphicalObjectLock | IGraphicalObjectLock | Lettura | Restituisce i blocchi della forma. |
textHolder | boolean | Lettura | Determina se la forma è un contenitore di testo. |
placeholder | IPlaceholder | Lettura | Restituisce il placeholder per questa forma. |
customData | ICustomData | Lettura | Restituisce i custom data della forma. |
rawFrame | IShapeFrame | Lettura | Restituisce le proprietà raw del frame della forma. |
frame | IShapeFrame | Lettura | Restituisce le proprietà del frame della forma. |
lineFormat | ILineFormat | Lettura | Restituisce il formato della linea per questa forma. |
threeDFormat | IThreeDFormat | Lettura | Restituisce il formato 3-D per questa forma. |
effectFormat | IEffectFormat | Lettura | Restituisce il formato dell’effetto per questa forma. |
fillFormat | IFillFormat | Lettura | Restituisce il formato di riempimento per questa forma. |
hidden | boolean | Lettura | Determina se la forma è nascosta. |
zOrderPosition | int | Lettura | Restituisce la posizione di una forma nell’ordine Z. |
connectionSiteCount | int | Lettura | Restituisce il numero di siti di connessione sulla forma. |
rotation | double | Lettura | Restituisce l’angolo di rotazione della forma in gradi. |
x | double | Lettura | Restituisce la coordinata x dell’angolo superiore sinistro della forma, in punti. |
y | double | Lettura | Restituisce la coordinata y dell’angolo superiore sinistro della forma, in punti. |
width | double | Lettura | Ottiene la larghezza della forma, in punti. |
height | double | Lettura | Ottiene l’altezza della forma, in punti. |
alternativeText | String | Lettura | Restituisce o imposta il testo alternativo associato a una forma. |
alternativeTextTitle | String | Lettura | Restituisce o imposta il titolo del testo alternativo associato a una forma. |
name | String | Lettura | Restituisce o imposta il nome di una forma. |
decorative | boolean | Lettura | Ottiene o imposta l’opzione Mark as decorative. |
uniqueId | int | Lettura | Restituisce un identificatore interno, limitato alla presentazione. |
officeInteropShapeId | int | Lettura | Restituisce un identificatore univoco a livello di diapositiva che rimane costante per tutta la durata della forma. |
grouped | boolean | Lettura | Determina se la forma è raggruppata. |
asISlideComponent | ISlideComponent | Lettura | Consente di ottenere l’interfaccia di base {@link ISlideComponent}. |
shapeType | ShapeType | Lettura | Ottiene il tipo AutoShape. |
cNvPr | Element | Lettura | Restituisce l’elemento {@code cNvPr} per questa forma, o {@code null}. |
slide | IBaseSlide | Lettura | Restituisce la diapositiva genitore. |
presentation | IPresentation | Lettura | Restituisce la presentazione contenente questo componente. |
Metodi
| Firma | Descrizione |
|---|---|
getRows() → IRowCollection | Restituisce la collezione di righe. |
getColumns() → IColumnCollection | Restituisce la collezione di colonne. |
getTableFormat() → ITableFormat | Restituisce la formattazione della tabella. |
getStylePreset() → TableStylePreset | Restituisce il preset di stile della tabella. |
setStylePreset(value: TableStylePreset) | Imposta il preset di stile della tabella. |
isRightToLeft() → boolean | Determina se la tabella ha ordine di lettura da destra a sinistra. |
setRightToLeft(value: boolean) | Imposta l’ordine di lettura da destra a sinistra. |
isFirstRow() → boolean | Determina se la prima riga ha una formattazione speciale. |
setFirstRow(value: boolean) | Imposta se la prima riga ha una formattazione speciale. |
isFirstCol() → boolean | Determina se la prima colonna ha una formattazione speciale. |
setFirstCol(value: boolean) | Imposta se la prima colonna ha una formattazione speciale. |
isLastRow() → boolean | Determina se l’ultima riga ha una formattazione speciale. |
setLastRow(value: boolean) | Imposta se l’ultima riga ha una formattazione speciale. |
isLastCol() → boolean | Determina se l’ultima colonna ha una formattazione speciale. |
setLastCol(value: boolean) | Imposta se l’ultima colonna ha una formattazione speciale. |
isHorizontalBanding() → boolean | Determina se la tabella ha bande orizzontali. |
setHorizontalBanding(value: boolean) | Imposta se la tabella ha bande orizzontali. |
isVerticalBanding() → boolean | Determina se la tabella ha bande verticali. |
setVerticalBanding(value: boolean) | Imposta se la tabella ha bande verticali. |
mergeCells(cell1: ICell, cell2: ICell, allowSplitting: boolean) → ICell | Unisce le celle adiacenti. |
asIGraphicalObject() → IGraphicalObject | Restituisce questa tabella come un {@link IGraphicalObject}. |
asIBulkTextFormattable() → IBulkTextFormattable | Restituisce questa tabella come un {@link IBulkTextFormattable}. |
getGraphicalObjectLock() → IGraphicalObjectLock | Restituisce i blocchi della forma. |
isTextHolder() → boolean | Determina se la forma è un contenitore di testo. |
getPlaceholder() → IPlaceholder | Restituisce il placeholder per questa forma. |
getCustomData() → ICustomData | Restituisce i dati personalizzati della forma. |
getRawFrame() → IShapeFrame | Restituisce le proprietà grezze del frame della forma. |
setRawFrame(value: IShapeFrame) | Imposta le proprietà del frame della forma grezza. |
getFrame() → IShapeFrame | Restituisce le proprietà del frame della forma. |
setFrame(value: IShapeFrame) | Imposta le proprietà del frame della forma. |
getLineFormat() → ILineFormat | Restituisce il formato di linea per questa forma. |
getThreeDFormat() → IThreeDFormat | Restituisce il formato 3-D per questa forma. |
getEffectFormat() → IEffectFormat | Restituisce il formato dell’effetto per questa forma. |
getFillFormat() → IFillFormat | Restituisce il formato di riempimento per questa forma. |
isHidden() → boolean | Determina se la forma è nascosta. |
setHidden(value: boolean) | Imposta se la forma è nascosta. |
getZOrderPosition() → int | Restituisce la posizione di una forma nell’ordine z. |
getConnectionSiteCount() → int | Restituisce il numero di siti di connessione sulla forma. |
getRotation() → double | Restituisce l’angolo di rotazione della forma in gradi. |
setRotation(rotation: double) | Imposta l’angolo di rotazione della forma in gradi. |
getX() → double | Restituisce la coordinata x dell’angolo in alto a sinistra della forma, in punti. |
setX(x: double) | Imposta la coordinata x dell’angolo superiore sinistro della forma, in punti. |
getY() → double | Ottiene la coordinata y dell’angolo superiore sinistro della forma, in punti. |
setY(y: double) | Imposta la coordinata y dell’angolo superiore sinistro della forma, in punti. |
getWidth() → double | Restituisce la larghezza della forma, in punti. |
setWidth(width: double) | Imposta la larghezza della forma, in punti. |
getHeight() → double | Restituisce l’altezza della forma, in punti. |
setHeight(height: double) | Imposta l’altezza della forma, in punti. |
getAlternativeText() → String | Restituisce o imposta il testo alternativo associato a una forma. |
setAlternativeText(value: String) | Imposta il testo alternativo associato a una forma. |
getAlternativeTextTitle() → String | Restituisce o imposta il titolo del testo alternativo associato a una forma. |
setAlternativeTextTitle(value: String) | Imposta il titolo del testo alternativo associato a una forma. |
getName() → String | Restituisce o imposta il nome di una forma. |
setName(value: String) | Imposta il nome di una forma. |
isDecorative() → boolean | Ottiene o imposta l’opzione Mark as decorative. |
setDecorative(value: boolean) | Imposta l’opzione Mark as decorative. |
getUniqueId() → int | Restituisce un identificatore interno, limitato alla presentazione. |
getOfficeInteropShapeId() → int | Restituisce un identificatore univoco limitato alla diapositiva che rimane costante per tutta la durata della forma. |
isGrouped() → boolean | Determina se la forma è raggruppata. |
getAsISlideComponent() → ISlideComponent | Consente di ottenere l’interfaccia base {@link ISlideComponent}. |
getShapeType() → ShapeType | Ottiene il tipo AutoShape. |
getCNvPr() → Element | Restituisce l’elemento {@code cNvPr} per questa forma, oppure {@code null}. |
getSlide() → IBaseSlide | Restituisce la slide genitore. |
asIPresentationComponent() → IPresentationComponent | Restituisce l’interfaccia base {@link IPresentationComponent}. |
getPresentation() → IPresentation | Restituisce la presentazione che contiene questo componente. |
setTextFormat(source: Object) | Imposta il formato del testo per tutti gli elementi di testo figlio. |