GroupShape
Panoramica
GroupShape è una classe in Aspose.Slides FOSS per Java. Eredita da: Shape, IGroupShape.
Rappresenta un gruppo di forme su una diapositiva.
Questa classe fornisce 63 metodi per lavorare con oggetti GroupShape nei programmi Java. I metodi disponibili includono: GeometryShape, GroupShape, Shape, applyFrame, asIPresentationComponent, buildFrame, ensureSpPr, ensureXfrm, findPlaceholderXfrmInXml, findXfrmInElement, getAdjustments, getAlternativeText, e 50 metodi aggiuntivi. Tutti i membri pubblici sono accessibili da qualsiasi applicazione Java dopo l’installazione del pacchetto Aspose.Slides FOSS per Java. Proprietà: adjustments, alternativeText, alternativeTextTitle, asISlideComponent, cNvPr, connectionSiteCount, e 30 in più.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
shapes | IShapeCollection | Lettura | Ottiene le forme. |
spPr | Element | Lettura | Restituisce l’elemento {@code <p:spPr>} (o {@code <p:grpSpPr>}) per questa forma. |
cNvPr | Element | Lettura | Restituisce l’elemento {@code <p:cNvPr>} dalla forma XML. |
placeholderInfo | Optional<String[]> | Lettura | Restituisce le informazioni del placeholder per questa forma, se è un placeholder. |
inheritedXfrm | Element | Lettura | Scorre la catena layout → master per trovare un {@code <a:xfrm>} ereditato per le forme placeholder. |
xfrm | Element | Lettura | Restituisce l’elemento {@code <a:xfrm>} per questa forma. |
rawFrame | IShapeFrame | Lettura | Ottiene il frame grezzo. |
frame | IShapeFrame | Lettura | Ottiene il frame. |
slide | IBaseSlide | Lettura | Ottiene la diapositiva. |
presentation | IPresentation | Lettura | Ottiene la presentazione. |
x | double | Lettura | Ottiene l’x. |
y | double | Lettura | Ottiene il y. |
width | double | Lettura | Ottiene la larghezza. |
height | double | Lettura | Restituisce l’altezza. |
rotation | double | Lettura | Ottiene la rotazione. |
shapeStyle | IShapeStyle | Lettura | Ottiene lo stile della forma. |
shapeType | ShapeType | Lettura | Restituisce il tipo di forma. |
fillFormat | IFillFormat | Lettura | Ottiene il formato di riempimento. |
adjustments | IAdjustValueCollection | Lettura | Ottiene le regolazioni. |
textHolder | boolean | Lettura | Restituisce il contenitore di testo. |
placeholder | IPlaceholder | Lettura | Ottiene il segnaposto. |
customData | ICustomData | Lettura | Ottiene i dati personalizzati. |
lineFormat | ILineFormat | Lettura | Ottiene il formato della linea. |
threeDFormat | IThreeDFormat | Lettura | Ottiene il formato 3D. |
effectFormat | IEffectFormat | Lettura | Ottiene il formato dell’effetto. |
hidden | boolean | Lettura | Ottiene il valore hidden. |
zOrderPosition | int | Lettura | Ottiene la posizione dell’ordine z. |
connectionSiteCount | int | Lettura | Ottiene il conteggio dei punti di connessione. |
alternativeText | String | Lettura | Ottiene il testo alternativo. |
alternativeTextTitle | String | Lettura | Restituisce il titolo del testo alternativo. |
name | String | Lettura | Ottiene il nome. |
decorative | boolean | Lettura | Ottiene il decorativo. |
uniqueId | int | Lettura | Ottiene l’ID univoco. |
officeInteropShapeId | int | Lettura | Ottiene l’ID della forma interop di Office. |
grouped | boolean | Lettura | Ottiene il raggruppato. |
asISlideComponent | ISlideComponent | Lettura | Ottiene il componente as i slide. |
Metodi
| Firma | Descrizione |
|---|---|
GroupShape(xmlElement: Element, saveCallback: Runnable) | Crea un {@code GroupShape} basato sull’elemento XML fornito. |
GroupShape() | Crea un {@code GroupShape} senza elemento di supporto. |
getShapes() → IShapeCollection | Restituisce le forme. |
Shape(xmlElement: Element, saveCallback: Runnable) | Crea una Shape basata sull’elemento XML fornito. |
initInternal(xmlElement: Element, opcPackage: OpcPackage, layoutPartName: String, saveCallback: Runnable, parentSlide: IBaseSlide) | Inizializzazione interna con l’elemento XML, pacchetto OPC, parte layout e diapositiva genitore. |
buildFrame() → IShapeFrame | Crea un {@link ShapeFrame} dall’elemento {@code <a:xfrm>} corrente. |
applyFrame(value: IShapeFrame) | Applica i valori di {@link IShapeFrame} all’elemento {@code <a:xfrm>}. |
getSpPr() → Element | Restituisce l’elemento {@code <p:spPr>} (o {@code <p:grpSpPr>}) per questa forma. |
ensureSpPr() → Element | Restituisce o crea l’elemento {@code <p:spPr>} per questa forma. |
getCNvPr() → Element | Restituisce l’elemento {@code <p:cNvPr>} dalla forma XML. |
findXfrmInElement(shapeElement: Element) → Element | Trova l’elemento {@code <a:xfrm>} direttamente all’interno di un elemento shape XML. |
getPlaceholderInfo() → Optional<String[]> | Restituisce le informazioni del segnaposto per questa forma, se è un segnaposto. |
findPlaceholderXfrmInXml(root: Element, phType: String, phIdx: String) → Element | Trova il {@code <a:xfrm>} per un segnaposto corrispondente in un layout o nella radice XML del master. |
getInheritedXfrm() → Element | Scorre la catena layout → master per trovare un {@code <a:xfrm>} ereditato per le forme segnaposto. |
getXfrm() → Element | Restituisce l’elemento {@code <a:xfrm>} per questa forma. |
ensureXfrm() → Element | Restituisce o crea l’elemento {@code <a:xfrm>} per questa forma. |
getRawFrame() → IShapeFrame | Restituisce il frame grezzo. |
setRawFrame(value: IShapeFrame) | Imposta il valore grezzo del frame. |
getFrame() → IShapeFrame | Restituisce il frame. |
setFrame(value: IShapeFrame) | Imposta il valore del frame. |
getSlide() → IBaseSlide | Restituisce la diapositiva. |
getPresentation() → IPresentation | Restituisce la presentazione. |
asIPresentationComponent() → IPresentationComponent | |
setParentSlide(slide: IBaseSlide) | Imposta la diapositiva genitore per questa forma. |
GeometryShape(xmlElement: Element, saveCallback: Runnable) | Crea un GeometryShape supportato dall’elemento XML fornito. |
setParentShapes(shapes: Iterable<IShape>) | Imposta la raccolta di forme fratelli utilizzata per le ricerche di connessione. |
getX() → double | Restituisce x. |
setX(x: double) | Imposta il valore x. |
getY() → double | Restituisce y. |
setY(y: double) | Imposta il valore y. |
getWidth() → double | Restituisce la larghezza. |
setWidth(width: double) | Imposta il valore della larghezza. |
getHeight() → double | Restituisce l’altezza. |
setHeight(height: double) | Imposta il valore dell’altezza. |
getRotation() → double | Restituisce la rotazione. |
setRotation(rotation: double) | Imposta il valore di rotazione. |
getShapeStyle() → IShapeStyle | Restituisce lo stile della forma. |
getShapeType() → ShapeType | Restituisce il tipo di forma. |
setShapeType(value: ShapeType) | Imposta il valore del tipo di forma. |
getFillFormat() → IFillFormat | Restituisce il formato di riempimento. |
getAdjustments() → IAdjustValueCollection | Restituisce le regolazioni. |
isTextHolder() → boolean | Restituisce true se il contenitore di testo è impostato. |
getPlaceholder() → IPlaceholder | Restituisce il segnaposto. |
getCustomData() → ICustomData | Restituisce i dati personalizzati. |
getLineFormat() → ILineFormat | Restituisce il formato di riga. |
getThreeDFormat() → IThreeDFormat | Restituisce il formato 3D. |
getEffectFormat() → IEffectFormat | Restituisce il formato dell’effetto. |
isHidden() → boolean | Restituisce true se hidden è impostato. |
setHidden(value: boolean) | Imposta il valore nascosto. |
getZOrderPosition() → int | Restituisce la posizione dell’ordine z. |
getConnectionSiteCount() → int | Restituisce il conteggio dei siti di connessione. |
getAlternativeText() → String | Restituisce il testo alternativo. |
setAlternativeText(value: String) | Imposta il valore del testo alternativo. |
getAlternativeTextTitle() → String | Restituisce il titolo del testo alternativo. |
setAlternativeTextTitle(value: String) | Imposta il valore del titolo del testo alternativo. |
getName() → String | Restituisce il nome. |
setName(value: String) | Imposta il valore del nome. |
isDecorative() → boolean | Restituisce true se decorative è impostato. |
setDecorative(value: boolean) | Imposta il valore decorativo. |
getUniqueId() → int | Restituisce l’id univoco. |
getOfficeInteropShapeId() → int | Restituisce l’ID della forma interop di Office. |
isGrouped() → boolean | Restituisce true se grouped è impostato. |
getAsISlideComponent() → ISlideComponent | Restituisce il componente as i slide. |