java.lang.Object
io.jmix.reports.yarg.formatters.impl.xlsx.Document

public class Document extends Object
  • Field Details

    • thePackage

      protected org.docx4j.openpackaging.packages.SpreadsheetMLPackage thePackage
    • worksheets

      protected List<Document.SheetWrapper> worksheets
    • chartSpaces

      protected Map<Range,Document.ChartWrapper> chartSpaces
    • workbook

      protected org.xlsx4j.sml.Workbook workbook
    • sharedStrings

      protected org.docx4j.openpackaging.parts.SpreadsheetML.SharedStrings sharedStrings
    • styleSheet

      protected StyleSheet styleSheet
    • pivotCacheDefinitions

      protected List<org.docx4j.openpackaging.parts.SpreadsheetML.PivotCacheDefinition> pivotCacheDefinitions
    • handled

      protected HashSet<org.docx4j.openpackaging.parts.Part> handled
  • Constructor Details

    • Document

      public Document()
  • Method Details

    • create

      public static Document create(org.docx4j.openpackaging.packages.SpreadsheetMLPackage thePackage)
    • getPackage

      public org.docx4j.openpackaging.packages.SpreadsheetMLPackage getPackage()
    • getChartSpaces

      public Map<Range,Document.ChartWrapper> getChartSpaces()
    • getWorkbook

      public org.xlsx4j.sml.Workbook getWorkbook()
    • getWorksheets

      public List<Document.SheetWrapper> getWorksheets()
    • getPivotCacheDefinitions

      public List<org.docx4j.openpackaging.parts.SpreadsheetML.PivotCacheDefinition> getPivotCacheDefinitions()
    • getSheetByName

      public org.xlsx4j.sml.Worksheet getSheetByName(String name)
    • getWorksheetContents

      public org.xlsx4j.sml.Worksheet getWorksheetContents(Document.SheetWrapper wrapper)
    • getSheetName

      public String getSheetName(org.xlsx4j.sml.Worksheet worksheet)
    • getCellValue

      public String getCellValue(org.xlsx4j.sml.Cell cell)
    • getDefinedName

      public org.xlsx4j.sml.CTDefinedName getDefinedName(String name)
    • getCellsByRange

      public Map<CellReference,org.xlsx4j.sml.Cell> getCellsByRange(Range range)
    • getColumnForCell

      public org.xlsx4j.sml.Col getColumnForCell(String sheetName, CellReference cellReference)
    • getCellStyle

      public StyleSheet.CellXfs getCellStyle(org.xlsx4j.sml.Cell cell)
    • getCellFont

      @Nullable public StyleSheet.Font getCellFont(org.xlsx4j.sml.Cell cell)
    • getColumnWidth

      @Nullable public Double getColumnWidth(CellReference cellReference)
    • getDefaultFont

      public StyleSheet.Font getDefaultFont()
    • getStyleSheet

      public StyleSheet getStyleSheet()
    • clearWorkbook

      public void clearWorkbook()
    • clearBandDefinedNames

      public void clearBandDefinedNames(BandData rootBand)
      Method clears defined names associated with band data and leaves all other defined names in the workbook