revert: [bug-66503] Add flag for Excel 4 macros in composite documents.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908463 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-03-18 01:20:51 +00:00
parent 02efb8f802
commit ef82364bde
2 changed files with 11 additions and 0 deletions

View File

@ -544,6 +544,8 @@ subprojects {
spotbugs { spotbugs {
ignoreFailures = true ignoreFailures = true
showStackTraces = false showStackTraces = false
showProgress = true
maxHeapSize = '1g'
} }
build { build {

View File

@ -177,6 +177,15 @@ public final class BoundSheetRecord extends StandardRecord {
return veryHiddenFlag.isSet(field_2_option_flags); return veryHiddenFlag.isSet(field_2_option_flags);
} }
/**
* Is the sheet very hidden? Different from (normal) hidden
*
* @param veryHidden {@code true} if very hidden
*/
public void setVeryHidden(boolean veryHidden) {
field_2_option_flags = veryHiddenFlag.setBoolean(field_2_option_flags, veryHidden);
}
/** /**
* Converts a List of {@link BoundSheetRecord}s to an array and sorts by the position of their * Converts a List of {@link BoundSheetRecord}s to an array and sorts by the position of their
* BOFs. * BOFs.