GroupShape

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à

NomeTipoAccessoDescrizione
shapesIShapeCollectionLetturaOttiene le forme.
spPrElementLetturaRestituisce l’elemento {@code <p:spPr>} (o {@code <p:grpSpPr>}) per questa forma.
cNvPrElementLetturaRestituisce l’elemento {@code <p:cNvPr>} dalla forma XML.
placeholderInfoOptional<String[]>LetturaRestituisce le informazioni del placeholder per questa forma, se è un placeholder.
inheritedXfrmElementLetturaScorre la catena layout → master per trovare un {@code <a:xfrm>} ereditato per le forme placeholder.
xfrmElementLetturaRestituisce l’elemento {@code <a:xfrm>} per questa forma.
rawFrameIShapeFrameLetturaOttiene il frame grezzo.
frameIShapeFrameLetturaOttiene il frame.
slideIBaseSlideLetturaOttiene la diapositiva.
presentationIPresentationLetturaOttiene la presentazione.
xdoubleLetturaOttiene l’x.
ydoubleLetturaOttiene il y.
widthdoubleLetturaOttiene la larghezza.
heightdoubleLetturaRestituisce l’altezza.
rotationdoubleLetturaOttiene la rotazione.
shapeStyleIShapeStyleLetturaOttiene lo stile della forma.
shapeTypeShapeTypeLetturaRestituisce il tipo di forma.
fillFormatIFillFormatLetturaOttiene il formato di riempimento.
adjustmentsIAdjustValueCollectionLetturaOttiene le regolazioni.
textHolderbooleanLetturaRestituisce il contenitore di testo.
placeholderIPlaceholderLetturaOttiene il segnaposto.
customDataICustomDataLetturaOttiene i dati personalizzati.
lineFormatILineFormatLetturaOttiene il formato della linea.
threeDFormatIThreeDFormatLetturaOttiene il formato 3D.
effectFormatIEffectFormatLetturaOttiene il formato dell’effetto.
hiddenbooleanLetturaOttiene il valore hidden.
zOrderPositionintLetturaOttiene la posizione dell’ordine z.
connectionSiteCountintLetturaOttiene il conteggio dei punti di connessione.
alternativeTextStringLetturaOttiene il testo alternativo.
alternativeTextTitleStringLetturaRestituisce il titolo del testo alternativo.
nameStringLetturaOttiene il nome.
decorativebooleanLetturaOttiene il decorativo.
uniqueIdintLetturaOttiene l’ID univoco.
officeInteropShapeIdintLetturaOttiene l’ID della forma interop di Office.
groupedbooleanLetturaOttiene il raggruppato.
asISlideComponentISlideComponentLetturaOttiene il componente as i slide.

Metodi

FirmaDescrizione
GroupShape(xmlElement: Element, saveCallback: Runnable)Crea un {@code GroupShape} basato sull’elemento XML fornito.
GroupShape()Crea un {@code GroupShape} senza elemento di supporto.
getShapes() → IShapeCollectionRestituisce 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() → IShapeFrameCrea un {@link ShapeFrame} dall’elemento {@code <a:xfrm>} corrente.
applyFrame(value: IShapeFrame)Applica i valori di {@link IShapeFrame} all’elemento {@code <a:xfrm>}.
getSpPr() → ElementRestituisce l’elemento {@code <p:spPr>} (o {@code <p:grpSpPr>}) per questa forma.
ensureSpPr() → ElementRestituisce o crea l’elemento {@code <p:spPr>} per questa forma.
getCNvPr() → ElementRestituisce l’elemento {@code <p:cNvPr>} dalla forma XML.
findXfrmInElement(shapeElement: Element) → ElementTrova 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) → ElementTrova il {@code <a:xfrm>} per un segnaposto corrispondente in un layout o nella radice XML del master.
getInheritedXfrm() → ElementScorre la catena layout → master per trovare un {@code <a:xfrm>} ereditato per le forme segnaposto.
getXfrm() → ElementRestituisce l’elemento {@code <a:xfrm>} per questa forma.
ensureXfrm() → ElementRestituisce o crea l’elemento {@code <a:xfrm>} per questa forma.
getRawFrame() → IShapeFrameRestituisce il frame grezzo.
setRawFrame(value: IShapeFrame)Imposta il valore grezzo del frame.
getFrame() → IShapeFrameRestituisce il frame.
setFrame(value: IShapeFrame)Imposta il valore del frame.
getSlide() → IBaseSlideRestituisce la diapositiva.
getPresentation() → IPresentationRestituisce 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() → doubleRestituisce x.
setX(x: double)Imposta il valore x.
getY() → doubleRestituisce y.
setY(y: double)Imposta il valore y.
getWidth() → doubleRestituisce la larghezza.
setWidth(width: double)Imposta il valore della larghezza.
getHeight() → doubleRestituisce l’altezza.
setHeight(height: double)Imposta il valore dell’altezza.
getRotation() → doubleRestituisce la rotazione.
setRotation(rotation: double)Imposta il valore di rotazione.
getShapeStyle() → IShapeStyleRestituisce lo stile della forma.
getShapeType() → ShapeTypeRestituisce il tipo di forma.
setShapeType(value: ShapeType)Imposta il valore del tipo di forma.
getFillFormat() → IFillFormatRestituisce il formato di riempimento.
getAdjustments() → IAdjustValueCollectionRestituisce le regolazioni.
isTextHolder() → booleanRestituisce true se il contenitore di testo è impostato.
getPlaceholder() → IPlaceholderRestituisce il segnaposto.
getCustomData() → ICustomDataRestituisce i dati personalizzati.
getLineFormat() → ILineFormatRestituisce il formato di riga.
getThreeDFormat() → IThreeDFormatRestituisce il formato 3D.
getEffectFormat() → IEffectFormatRestituisce il formato dell’effetto.
isHidden() → booleanRestituisce true se hidden è impostato.
setHidden(value: boolean)Imposta il valore nascosto.
getZOrderPosition() → intRestituisce la posizione dell’ordine z.
getConnectionSiteCount() → intRestituisce il conteggio dei siti di connessione.
getAlternativeText() → StringRestituisce il testo alternativo.
setAlternativeText(value: String)Imposta il valore del testo alternativo.
getAlternativeTextTitle() → StringRestituisce il titolo del testo alternativo.
setAlternativeTextTitle(value: String)Imposta il valore del titolo del testo alternativo.
getName() → StringRestituisce il nome.
setName(value: String)Imposta il valore del nome.
isDecorative() → booleanRestituisce true se decorative è impostato.
setDecorative(value: boolean)Imposta il valore decorativo.
getUniqueId() → intRestituisce l’id univoco.
getOfficeInteropShapeId() → intRestituisce l’ID della forma interop di Office.
isGrouped() → booleanRestituisce true se grouped è impostato.
getAsISlideComponent() → ISlideComponentRestituisce il componente as i slide.

Vedi anche

 Italiano