WorkbookModel
Panoramica
WorkbookModel è una classe in Aspose.Cells FOSS per Java.
Rappresenta il modello di livello superiore di una cartella di lavoro.
Questa classe fornisce 19 metodi per lavorare con oggetti WorkbookModel nei programmi Java. I metodi disponibili includono: WorkbookModel, getActiveSheetIndex, getDefaultStyle, getDefinedNames, getDiagnostics, getDocumentProperties, getExternalLinkRels, getExternalLinkXmls, getProperties, getRawDefaultFontXml, getRawThemeXml, getSettings e 7 metodi aggiuntivi. Tutti i membri esportati sono accessibili a qualsiasi applicazione Java dopo l’installazione del pacchetto Aspose.Cells FOSS per Java. Proprietà: activeSheetIndex, defaultStyle, definedNames, diagnostics, documentProperties, externalLinkRels e 8 ulteriori.
Descrizione
WorkbookModel è una classe nella libreria FOSS Aspose.Cells per Java che espone 18 metodi e 14 proprietà per uso programmatico.
Le capacità principali includono: list<worksheetmodel>; workbooksettingsmodel; workbookpropertiesmodel. Queste operazioni consentono agli sviluppatori di integrare la funzionalità workbookmodel direttamente nelle applicazioni Java.
La classe fornisce anche la proprietà worksheets (restituisce i fogli di lavoro), la proprietà settings (restituisce le impostazioni), la proprietà properties (restituisce le proprietà).
Le istanze vengono create tramite un unico costruttore che inizializza l’oggetto con valori predefiniti.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
worksheets | List<WorksheetModel> | Lettura | Restituisce i fogli di lavoro. |
settings | WorkbookSettingsModel | Lettura | Restituisce le impostazioni. |
properties | WorkbookPropertiesModel | Lettura | Restituisce le proprietà. |
documentProperties | DocumentPropertiesModel | Lettura | Restituisce le proprietà del documento. |
diagnostics | DiagnosticBag | Lettura | Restituisce le informazioni diagnostiche. |
styles | StyleRepository | Lettura | Restituisce gli stili. |
sharedStrings | SharedStringRepository | Lettura | Restituisce le stringhe condivise. |
defaultStyle | StyleValue | Lettura | Restituisce lo stile predefinito. |
activeSheetIndex | int | Lettura | Restituisce l’indice del foglio attivo. |
definedNames | List<DefinedNameModel> | Lettura | Restituisce i nomi definiti. |
rawThemeXml | byte[] | Lettura | Ottiene l’xml del tema grezzo. |
rawDefaultFontXml | String | Lettura | Ottiene l’XML del font predefinito grezzo. |
externalLinkXmls | List<byte[]> | Lettura | Restituisce i file del collegamento esterno XML (nell’ordine di indice, corrispondenti a externalLink1, externalLink2, …). |
externalLinkRels | List<byte[]> | Lettura | Restituisce i file rels del collegamento esterno (in parallelo a externalLinkXmls; l’elemento può essere nullo). |
Metodi
| Firma | Descrizione |
|---|---|
WorkbookModel() | Inizializza una nuova istanza di WorkbookModel. |
getWorksheets() → List<WorksheetModel> | Restituisce i fogli di lavoro. |
getSettings() → WorkbookSettingsModel | Restituisce le impostazioni. |
getProperties() → WorkbookPropertiesModel | Restituisce le proprietà. |
getDocumentProperties() → DocumentPropertiesModel | Restituisce le proprietà del documento. |
getDiagnostics() → DiagnosticBag | Restituisce le diagnostiche. |
getStyles() → StyleRepository | Restituisce gli stili. |
getSharedStrings() → SharedStringRepository | Restituisce le stringhe condivise. |
getDefaultStyle() → StyleValue | Restituisce lo stile predefinito. |
setDefaultStyle(defaultStyle: StyleValue) | Imposta lo stile predefinito. |
getActiveSheetIndex() → int | Restituisce l’indice del foglio attivo. |
setActiveSheetIndex(activeSheetIndex: int) | Imposta l’indice del foglio attivo. |
getDefinedNames() → List<DefinedNameModel> | Restituisce i nomi definiti. |
getRawThemeXml() → byte[] | Restituisce il xml grezzo del tema. |
setRawThemeXml(rawThemeXml: byte[]) | Imposta il valore xml grezzo del tema. |
getRawDefaultFontXml() → String | Restituisce il font predefinito XML grezzo. |
setRawDefaultFontXml(rawDefaultFontXml: String) | Imposta il valore XML grezzo del carattere predefinito. |
getExternalLinkXmls() → List<byte[]> | Restituisce i file XML dei collegamenti esterni (in ordine di indice, corrispondenti a externalLink1, externalLink2, …). |
getExternalLinkRels() → List<byte[]> | Restituisce i file rels dei collegamenti esterni (in parallelo a externalLinkXmls; l’elemento può essere nullo). |