WorksheetModel
Panoramica
WorksheetModel è una classe in Aspose.Cells FOSS per Java.
Rappresenta il modello di un foglio di lavoro nel file Excel.
Questa classe fornisce 23 metodi per lavorare con oggetti WorksheetModel nei programmi Java. I metodi disponibili includono: WorksheetModel, getAutoFilter, getCells, getCharts, getColumns, getComments, getConditionalFormattings, getHyperlinks, getListObjects, getMergeRegions, getName, getPageSetup e 11 metodi aggiuntivi. Tutti i membri esportati sono accessibili a qualsiasi applicazione Java dopo l’installazione del pacchetto Aspose.Cells FOSS per Java. Proprietà: autoFilter, cells, charts, columns, comments, conditionalFormattings e 13 altre.
Descrizione
WorksheetModel è una classe nella libreria FOSS Aspose.Cells per Java che espone 22 metodi e 19 proprietà per l’uso programmatico.
Le funzionalità principali includono: string; sheetvisibility; map<celladdress, cellrecord>. Queste operazioni consentono agli sviluppatori di integrare direttamente la funzionalità worksheetmodel nelle applicazioni Java.
La classe fornisce anche la proprietà name (restituisce il nome), la proprietà visibility (restituisce la visibilità) e la proprietà cells (restituisce le celle).
Le istanze vengono create tramite un unico costruttore che inizializza l’oggetto con i valori predefiniti.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
name | String | Lettura | Restituisce il nome. |
visibility | SheetVisibility | Lettura | Restituisce la visibilità. |
cells | Map<CellAddress, CellRecord> | Lettura | Restituisce le celle. |
rows | Map<Integer, RowModel> | Lettura | Restituisce le righe. |
columns | List<ColumnRangeModel> | Lettura | Restituisce le colonne. |
mergeRegions | List<MergeRegion> | Lettura | Restituisce le regioni di fusione. |
hyperlinks | List<HyperlinkModel> | Lettura | Restituisce i collegamenti ipertestuali. |
validations | List<ValidationModel> | Lettura | Restituisce le convalide. |
conditionalFormattings | List<ConditionalFormattingModel> | Lettura | Restituisce le formattazioni condizionali. |
pageSetup | PageSetupModel | Lettura | Restituisce la configurazione della pagina. |
view | WorksheetViewModel | Lettura | Restituisce la vista. |
protection | WorksheetProtectionModel | Lettura | Restituisce la protezione. |
autoFilter | AutoFilterModel | Lettura | Restituisce il filtro automatico. |
tabColor | ColorValue | Lettura | Restituisce il colore della scheda. |
comments | List<CommentModel> | Lettura | Ottiene i commenti. |
pictures | List<PictureModel> | Lettura | Ottiene le immagini. |
shapes | List<ShapeModel> | Lettura | Ottiene le forme. |
charts | List<ChartModel> | Lettura | Ottiene i grafici. |
listObjects | List<ListObjectModel> | Lettura | Ottiene gli oggetti della lista. |
Metodi
| Firma | Descrizione |
|---|---|
WorksheetModel(name: String) | Inizializza una nuova istanza di WorksheetModel. |
getName() → String | Restituisce il nome. |
setName(name: String) | Imposta il nome. |
getVisibility() → SheetVisibility | Restituisce la visibilità. |
setVisibility(visibility: SheetVisibility) | Imposta la visibilità. |
getCells() → Map<CellAddress, CellRecord> | Restituisce le celle. |
getRows() → Map<Integer, RowModel> | Restituisce le righe. |
getColumns() → List<ColumnRangeModel> | Restituisce le colonne. |
getMergeRegions() → List<MergeRegion> | Restituisce le regioni di merge. |
getHyperlinks() → List<HyperlinkModel> | Restituisce i collegamenti ipertestuali. |
getValidations() → List<ValidationModel> | Restituisce le convalide. |
getConditionalFormattings() → List<ConditionalFormattingModel> | Restituisce le formattazioni condizionali. |
getPageSetup() → PageSetupModel | Restituisce la configurazione della pagina. |
getView() → WorksheetViewModel | Restituisce la vista. |
getProtection() → WorksheetProtectionModel | Restituisce la protezione. |
getAutoFilter() → AutoFilterModel | Restituisce il filtro automatico. |
getTabColor() → ColorValue | Restituisce il colore della scheda. |
setTabColor(tabColor: ColorValue) | Imposta il colore della scheda. |
getComments() → List<CommentModel> | Restituisce i commenti. |
getPictures() → List<PictureModel> | Restituisce le immagini. |
getShapes() → List<ShapeModel> | Restituisce le forme. |
getCharts() → List<ChartModel> | Restituisce i grafici. |
getListObjects() → List<ListObjectModel> | Restituisce gli oggetti della lista. |