GraphicalObject

GraphicalObject

Panoramica

GraphicalObject è una classe in Aspose.Slides FOSS per Java. Eredita da: Shape, IGraphicalObject.

Classe base astratta per oggetti grafici su una diapositiva.

Questa classe fornisce 63 metodi per lavorare con oggetti GraphicalObject nei programmi Java. I metodi disponibili includono: GeometryShape, GraphicalObject, Shape, applyFrame, asIPresentationComponent, buildFrame, ensureSpPr, ensureXfrm, findPlaceholderXfrmInXml, findXfrmInElement, getAdjustments, getAlternativeText, e 50 metodi aggiuntivi. Tutti i membri pubblici sono accessibili a 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
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 segnaposto per questa forma, se è un segnaposto.
inheritedXfrmElementLetturaScorre la catena layout → master per trovare un {@code <a:xfrm>} ereditato per le forme segnaposto.
xfrmElementLetturaRestituisce l’elemento {@code <a:xfrm>} per questa forma.
rawFrameIShapeFrameLetturaOttiene il frame grezzo.
frameIShapeFrameLetturaOttiene il fotogramma.
slideIBaseSlideLetturaOttiene la diapositiva.
presentationIPresentationLetturaOttiene la presentazione.
xdoubleLetturaOttiene la x.
ydoubleLetturaOttiene il y.
widthdoubleLetturaOttiene la larghezza.
heightdoubleLetturaOttiene l’altezza.
rotationdoubleLetturaRestituisce la rotazione.
shapeStyleIShapeStyleLetturaRestituisce lo stile della forma.
shapeTypeShapeTypeLetturaRestituisce il tipo di forma.
fillFormatIFillFormatLetturaOttiene il formato di riempimento.
adjustmentsIAdjustValueCollectionLetturaOttiene le regolazioni.
textHolderbooleanLetturaOttiene 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 nascosto.
zOrderPositionintLetturaOttiene la posizione dell’ordine z.
connectionSiteCountintLetturaOttiene il conteggio dei siti di connessione.
alternativeTextStringLetturaOttiene il testo alternativo.
alternativeTextTitleStringLetturaOttiene 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.
graphicalObjectLockIGraphicalObjectLockLetturaRestituisce i lock della forma.

Metodi

FirmaDescrizione
GraphicalObject(xmlElement: Element, saveCallback: Runnable)Crea un {@code GraphicalObject} basato sull’elemento XML fornito.
GraphicalObject()Crea un {@code GraphicalObject} senza elemento di supporto.
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 slide padre.
buildFrame() → IShapeFrameCrea un {@link ShapeFrame} dall’elemento {@code <a:xfrm>} corrente.
applyFrame(value: IShapeFrame)Applica i valori di un {@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 slide.
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 collezione di forme sorelle 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 text holder è 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.
getGraphicalObjectLock() → IGraphicalObjectLockRestituisce i lock della shape.

Vedi anche

 Italiano