Browse Source

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
tags/REL_5_2_4
PJ Fanning 1 year ago
parent
commit
ef82364bde
2 changed files with 11 additions and 0 deletions
  1. 2
    0
      build.gradle
  2. 9
    0
      poi/src/main/java/org/apache/poi/hssf/record/BoundSheetRecord.java

+ 2
- 0
build.gradle View File

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

build {

+ 9
- 0
poi/src/main/java/org/apache/poi/hssf/record/BoundSheetRecord.java View File

@@ -177,6 +177,15 @@ public final class BoundSheetRecord extends StandardRecord {
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
* BOFs.

Loading…
Cancel
Save