aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-03-18 01:20:51 +0000
committerPJ Fanning <fanningpj@apache.org>2023-03-18 01:20:51 +0000
commitef82364bde0a434894391d68286c018b261e44ce (patch)
treefb8d4f6328333f28969a99007ded6504a057e00b
parent02efb8f802023373ace492bacbd9e09ea5f26e4b (diff)
downloadpoi-ef82364bde0a434894391d68286c018b261e44ce.tar.gz
poi-ef82364bde0a434894391d68286c018b261e44ce.zip
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
-rw-r--r--build.gradle2
-rw-r--r--poi/src/main/java/org/apache/poi/hssf/record/BoundSheetRecord.java9
2 files changed, 11 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 421ebbec2a..6c944d7383 100644
--- a/build.gradle
+++ b/build.gradle
@@ -544,6 +544,8 @@ subprojects {
spotbugs {
ignoreFailures = true
showStackTraces = false
+ showProgress = true
+ maxHeapSize = '1g'
}
build {
diff --git a/poi/src/main/java/org/apache/poi/hssf/record/BoundSheetRecord.java b/poi/src/main/java/org/apache/poi/hssf/record/BoundSheetRecord.java
index 1e7ed0351e..32e48dd5d4 100644
--- a/poi/src/main/java/org/apache/poi/hssf/record/BoundSheetRecord.java
+++ b/poi/src/main/java/org/apache/poi/hssf/record/BoundSheetRecord.java
@@ -178,6 +178,15 @@ public final class BoundSheetRecord extends StandardRecord {
}
/**
+ * 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
* BOFs.
*