WorksheetProtectionModel
Panoramica
WorksheetProtectionModel è una classe in Aspose.Cells FOSS per Java.
Rappresenta il modello di protezione per un foglio di lavoro in un file Excel.
Questa classe fornisce 44 metodi per lavorare con oggetti WorksheetProtectionModel nei programmi Java. I metodi disponibili includono: clear, getAlgorithmName, getAutoFilter, getDeleteColumns, getDeleteRows, getFormatCells, getFormatColumns, getFormatRows, getHashValue, getInsertColumns, getInsertHyperlinks, getInsertRows e 32 metodi aggiuntivi. Tutti i membri esportati sono accessibili a qualsiasi applicazione Java dopo l’installazione del pacchetto Aspose.Cells FOSS per Java. Proprietà: algorithmName, autoFilter, deleteColumns, deleteRows, formatCells, formatColumns e 15 in più.
Descrizione
WorksheetProtectionModel è una classe nella libreria Aspose.Cells FOSS per Java che espone 44 metodi e 21 proprietà per uso programmatico.
Le capacità principali includono: boolean; boolean; boolean. Queste operazioni consentono agli sviluppatori di integrare la funzionalità worksheetprotectionmodel direttamente nelle applicazioni Java.
La classe fornisce anche la proprietà isProtected (restituisce il protetto), la proprietà objects (restituisce gli oggetti), la proprietà scenarios (restituisce gli scenari).
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
isProtected | boolean | Lettura | Restituisce il protetto. |
objects | boolean | Lettura | Restituisce gli oggetti. |
scenarios | boolean | Lettura | Restituisce gli scenari. |
formatCells | boolean | Lettura | Restituisce le celle di formato. |
formatColumns | boolean | Lettura | Restituisce le colonne di formato. |
formatRows | boolean | Lettura | Restituisce le righe del formato. |
insertColumns | boolean | Lettura | Restituisce le colonne di inserimento. |
insertRows | boolean | Lettura | Restituisce le righe di inserimento. |
insertHyperlinks | boolean | Lettura | Restituisce i collegamenti ipertestuali di inserimento. |
deleteColumns | boolean | Lettura | Restituisce le colonne da eliminare. |
deleteRows | boolean | Lettura | Restituisce le righe eliminate. |
selectLockedCells | boolean | Lettura | Restituisce le celle bloccate selezionate. |
sort | boolean | Lettura | Restituisce l’ordinamento. |
autoFilter | boolean | Lettura | Restituisce il filtro automatico. |
pivotTables | boolean | Lettura | Restituisce le tabelle pivot. |
selectUnlockedCells | boolean | Lettura | Restituisce le celle sbloccate selezionate. |
passwordHash | String | Lettura | Restituisce l’hash della password. |
algorithmName | String | Lettura | Restituisce il nome dell’algoritmo. |
hashValue | String | Lettura | Restituisce il valore hash. |
saltValue | String | Lettura | Restituisce il valore del sale. |
spinCount | String | Lettura | Restituisce il conteggio di spin. |
Metodi
| Firma | Descrizione |
|---|---|
getIsProtected() → boolean | Restituisce il protetto. |
setIsProtected(isProtected: boolean) | Imposta il protetto. |
getObjects() → boolean | Restituisce gli oggetti. |
setObjects(objects: boolean) | Imposta gli oggetti. |
getScenarios() → boolean | Restituisce gli scenari. |
setScenarios(scenarios: boolean) | Imposta gli scenari. |
getFormatCells() → boolean | Restituisce le celle di formato. |
setFormatCells(formatCells: boolean) | Imposta la formattazione delle celle. |
getFormatColumns() → boolean | Restituisce le colonne del formato. |
setFormatColumns(formatColumns: boolean) | Imposta le colonne di formato. |
getFormatRows() → boolean | Restituisce le righe del formato. |
setFormatRows(formatRows: boolean) | Imposta il formato delle righe. |
getInsertColumns() → boolean | Restituisce le colonne di inserimento. |
setInsertColumns(insertColumns: boolean) | Imposta le colonne di inserimento. |
getInsertRows() → boolean | Restituisce le righe di inserimento. |
setInsertRows(insertRows: boolean) | Imposta le righe di inserimento. |
getInsertHyperlinks() → boolean | Restituisce i collegamenti ipertestuali di inserimento. |
setInsertHyperlinks(insertHyperlinks: boolean) | Imposta l’inserimento dei collegamenti ipertestuali. |
getDeleteColumns() → boolean | Restituisce le colonne da eliminare. |
setDeleteColumns(deleteColumns: boolean) | Imposta l’eliminazione delle colonne. |
getDeleteRows() → boolean | Restituisce le righe da eliminare. |
setDeleteRows(deleteRows: boolean) | Imposta l’eliminazione delle righe. |
getSelectLockedCells() → boolean | Restituisce le celle bloccate selezionate. |
setSelectLockedCells(selectLockedCells: boolean) | Imposta la selezione delle celle bloccate. |
getSort() → boolean | Restituisce l’ordinamento. |
setSort(sort: boolean) | Imposta l’ordinamento. |
getAutoFilter() → boolean | Restituisce il filtro automatico. |
setAutoFilter(autoFilter: boolean) | Imposta il filtro automatico. |
getPivotTables() → boolean | Restituisce le tabelle pivot. |
setPivotTables(pivotTables: boolean) | Imposta le tabelle pivot. |
getSelectUnlockedCells() → boolean | Restituisce le celle selezionate sbloccate. |
setSelectUnlockedCells(selectUnlockedCells: boolean) | Imposta la selezione delle celle sbloccate. |
getPasswordHash() → String | Restituisce l’hash della password. |
setPasswordHash(passwordHash: String) | Imposta l’hash della password. |
getAlgorithmName() → String | Restituisce il nome dell’algoritmo. |
setAlgorithmName(algorithmName: String) | Imposta il nome dell’algoritmo. |
getHashValue() → String | Restituisce il valore hash. |
setHashValue(hashValue: String) | Imposta il valore hash. |
getSaltValue() → String | Restituisce il valore del sale. |
setSaltValue(saltValue: String) | Imposta il valore del sale. |
getSpinCount() → String | Restituisce il conteggio delle rotazioni. |
setSpinCount(spinCount: String) | Imposta il conteggio dei giri. |
clear() | Ripristina tutte le impostazioni di protezione ai valori predefiniti. |
hasStoredState() → boolean | Determina se è stato memorizzato qualche stato di protezione. |