WorksheetProtection

WorksheetProtection

概要

WorksheetProtection は Aspose.Cells FOSS の Java 用クラスです。

ワークシートの保護設定を表します。

このクラスは、Java プログラムで WorksheetProtection オブジェクトを操作するための 31 のメソッドを提供します。利用可能なメソッドは、getAllowDeletingColumn、getAllowDeletingRow、getAllowEditingObject、getAllowEditingScenario、getAllowFiltering、getAllowFormattingCell、getAllowFormattingColumn、getAllowFormattingRow、getAllowInsertingColumn、getAllowInsertingHyperlink、getAllowInsertingRow、getAllowSelectingLockedCell、および追加の 19 メソッドです。すべてのエクスポートされたメンバーは、Aspose.Cells FOSS for Java パッケージをインストールした後、任意の Java アプリケーションからアクセス可能です。プロパティ: allowDeletingColumn、allowDeletingRow、allowEditingObject、allowEditingScenario、allowFiltering、allowFormattingCell、およびさらに 10 件。

説明

WorksheetProtection は、Java 用の Aspose.Cells FOSS ライブラリに含まれるクラスで、プログラムから使用できる 31 のメソッドと 16 のプロパティを公開しています。

主な機能は、boolean、boolean、boolean です。これらの操作により、開発者は worksheetprotection 機能を Java アプリケーションに直接統合できます。

このクラスは、protected プロパティ(ワークシートが保護されている場合 {@code true} を返す)、allowEditingObject プロパティ(オブジェクト(シェイプ、チャート)の編集が許可されている場合 {@code true} を返す)、allowEditingScenario プロパティ(シナリオの編集が許可されている場合 {@code true} を返す)も提供します。

プロパティ

名前型アクセス説明
protectedboolean読み取りワークシートが保護されている場合は {@code true} を返します。
allowEditingObjectboolean読み取りオブジェクト(シェイプ、チャート)の編集が許可されている場合は {@code true} を返します。
allowEditingScenarioboolean読み取りシナリオの編集が許可されている場合は {@code true} を返します。
allowFormattingCellboolean読み取りセルの書式設定が許可されている場合は {@code true} を返します。
allowFormattingColumnboolean読み取り列の書式設定が許可されている場合は {@code true} を返します。
allowFormattingRowboolean読み取り行の書式設定が許可されている場合は {@code true} を返します。
allowInsertingColumnboolean読み取り列の挿入が許可されている場合は {@code true} を返します。
allowInsertingRowboolean読み取り行の挿入が許可されている場合は {@code true} を返します。
allowInsertingHyperlinkboolean読み取りハイパーリンクの挿入が許可されている場合、{@code true} を返します。
allowDeletingColumnboolean読み取り列の削除が許可されている場合、{@code true} を返します。
allowDeletingRowboolean読み取り行の削除が許可されている場合に {@code true} を返します。
allowSelectingLockedCellboolean読み取りロックされたセルの選択が許可されている場合に {@code true} を返します。
allowSortingboolean読み取りソートが許可されている場合に {@code true} を返します。
allowFilteringboolean読み取り使用 AutoFilter が許可されている場合、{@code true} を返します。
allowUsingPivotTableboolean読み取りピボットテーブルの使用が許可されている場合、{@code true} を返します。
allowSelectingUnlockedCellboolean読み取りロックされていないセルの選択が許可されている場合、{@code true} を返します。

メソッド

シグネチャ説明
isProtected() → booleanワークシートが保護されている場合に {@code true} を返します。
getAllowEditingObject() → booleanオブジェクト(シェイプ、チャート)の編集が許可されている場合、{@code true} を返します。
setAllowEditingObject(allow: boolean)オブジェクトの編集が許可されているかどうかを設定します。
getAllowEditingScenario() → booleanシナリオの編集が許可されている場合、{@code true} を返します。
setAllowEditingScenario(allow: boolean)編集シナリオが許可されているかどうかを設定します。
getAllowFormattingCell() → booleanセルの書式設定が許可されている場合、{@code true} を返します。
setAllowFormattingCell(allow: boolean)セルの書式設定が許可されているかどうかを設定します。
getAllowFormattingColumn() → boolean列の書式設定が許可されている場合、{@code true} を返します。
setAllowFormattingColumn(allow: boolean)列の書式設定が許可されているかどうかを設定します。
getAllowFormattingRow() → boolean行の書式設定が許可されている場合、{@code true} を返します。
setAllowFormattingRow(allow: boolean)行の書式設定が許可されているかどうかを設定します。
getAllowInsertingColumn() → boolean列の挿入が許可されている場合は {@code true} を返します。
setAllowInsertingColumn(allow: boolean)列の挿入が許可されているかどうかを設定します。
getAllowInsertingRow() → boolean行の挿入が許可されている場合は {@code true} を返します。
setAllowInsertingRow(allow: boolean)行の挿入が許可されているかどうかを設定します。
getAllowInsertingHyperlink() → booleanハイパーリンクの挿入が許可されている場合は {@code true} を返します。
setAllowInsertingHyperlink(allow: boolean)ハイパーリンクの挿入が許可されているかどうかを設定します。
getAllowDeletingColumn() → boolean列の削除が許可されている場合は {@code true} を返します。
setAllowDeletingColumn(allow: boolean)列の削除が許可されているかどうかを設定します。
getAllowDeletingRow() → boolean行の削除が許可されている場合は {@code true} を返します。
setAllowDeletingRow(allow: boolean)行の削除が許可されているかどうかを設定します。
getAllowSelectingLockedCell() → booleanロックされたセルの選択が許可されている場合は {@code true} を返します。
setAllowSelectingLockedCell(allow: boolean)ロックされたセルの選択を許可するかどうかを設定します。
getAllowSorting() → booleanソートが許可されている場合は {@code true} を返します。
setAllowSorting(allow: boolean)並び替えが許可されているかどうかを設定します。
getAllowFiltering() → booleanAutoFilter の使用が許可されている場合は {@code true} を返します。
setAllowFiltering(allow: boolean)使用AutoFilterが許可されているかどうかを設定します。
getAllowUsingPivotTable() → booleanピボットテーブルの使用が許可されている場合は {@code true} を返します。
setAllowUsingPivotTable(allow: boolean)ピボットテーブルの使用が許可されているかどうかを設定します。
getAllowSelectingUnlockedCell() → booleanロックされていないセルの選択が許可されている場合は {@code true} を返します。
setAllowSelectingUnlockedCell(allow: boolean)ロック解除されたセルの選択が許可されているかどうかを設定します。

参照

 日本語