| Package | Description |
|---|---|
| io.starter.formats.OOXML | |
| io.starter.formats.XLS | |
| io.starter.formats.XLS.formulas | |
| io.starter.OpenXLS |
The OpenXLS package contains the primary classes for working with spreadsheets.
|
| Modifier and Type | Method and Description |
|---|---|
static int[] |
TwoCellAnchor.convertBoundsFromBIFF8(Boundsheet sheet,
short[] bbounds)
given bounds[8] in BIFF 8 coordinates and convert to OOXML units
mostly this means adjusting ROWOFFSET 0 & 1 (bounds[5] & bounds[7]
and COLOFFSET 0 & 1 (bounds[1] & bounds[5] to EMU units +
adjust according to emperical calc garnered from observation
|
static short[] |
TwoCellAnchor.convertBoundsToBIFF8(Boundsheet sheet,
int[] bounds)
convert bounds[8] from OOXML to BIFF8 Units
basically must adjust COLOFFSETs and ROWOFFSETs to BIFF8 units
|
static PivotTableHandle |
PivotTableDefinition.parseOOXML(WorkBookHandle bk,
Boundsheet sheet,
InputStream ii)
NOT COMPLETED DO NOT USE
parse a pivotTable OOXML element
Top-level attributes Location information Collection of fields Fields on the row axis Items on the row axis (specific values) Fields on the column axis Items on the column axis (specific values) Fields on the report filter region Fields in the values region Style information Outline of the XML for a pivotTableDefinition (sequence) pivotTableDefinition location pivotFields rowFields rowItems colFields colItems pageFields dataFields conditionalFormats pivotTableStyleInfo |
| Modifier and Type | Method and Description |
|---|---|
Boundsheet[] |
Name.getBoundSheets() |
Boundsheet[] |
Externsheet.getBoundSheets(int cLoc) |
Boundsheet |
WorkBook.getLastbound() |
Boundsheet |
BiffRec.getSheet()
get the WorkSheet for this record.
|
Boundsheet |
XLSRecord.getSheet()
get the WorkSheet for this record.
|
Boundsheet |
Book.getSheetFromRec(BiffRec rec,
Long l)
Dec 15, 2010
|
Boundsheet |
WorkBook.getSheetFromRec(BiffRec rec,
Long lbplypos)
Dec 15, 2010
|
Boundsheet |
WorkBook.getWorkSheetByHash(String s)
returns the Boundsheet with the specific Hashname
|
Boundsheet |
WorkBook.getWorkSheetByName(String bstr)
returns the Boundsheet with the specific name
|
Boundsheet |
WorkBook.getWorkSheetByNumber(int i)
returns the Boundsheet at the specific index
|
| Modifier and Type | Method and Description |
|---|---|
void |
WorkBook.addBoundsheet(Boundsheet bound,
String origSheetName,
String newSheetName,
String origWorkBookName,
boolean SSTPopulatedBoundsheet)
add a deserialized boundsheet to this workbook.
|
Chart |
WorkBook.addChart(Chart destChart,
String NewChartName,
Boundsheet boundsht)
Inserts a serialized boundsheet chart into the workboook
|
void |
WorkBook.addChartUpdateMsodg(MSODrawing mso,
Boundsheet sht)
updates Mso (MSODrawingGroup + Msodrawing) records upon add/copy worksheet and add/copy charts
NOTE: this code is mainly garnered via trial and error, works
|
ArrayList |
Sxview.addInitialRecords(Boundsheet sheet)
creates the basic, default records necessary to define a pivot table
|
void |
ByteStreamer.addRecordToSheetStreamerAt(BiffRec rec,
int idx,
Boundsheet sht)
add an BiffRec to this streamer at the specified index.
|
static List |
WorkBookAssembler.assembleSheetRecs(Boundsheet thissheet)
assembleSheetRecs assembles the array of records, then ouputs
the ordered list to the bytestreamer, which should be the only
thing calling this.
|
void |
WorkBook.changeWorkSheetOrder(Boundsheet bs,
int idx)
change the tab order of a boundsheet
|
void |
WorkBook.deleteChart(String chartname,
Boundsheet sheet)
remove an existing chart from the workbook
NOTE: STILL EXPERIMENTAL TESTS OK IN BASIC CIRCUMSTANCES BUT MUST BE TESTED FURTHER
|
MSODrawing |
MSODrawingGroup.getMsoHeaderRec(Boundsheet bs)
return the Msodrawing header record for the given sheet
|
protected static void |
OOXMLReader.handleSheetPassThroughs(ZipFile zip,
WorkBookHandle bk,
Boundsheet sht,
String parentDir,
String externalDir,
String[] c,
String attrs)
pass-through current sheet-level OOXML element/file - i.e.
|
static Dv |
Dv.parseOOXML(org.xmlpull.v1.XmlPullParser xpp,
Boundsheet bs)
create a new Dv record based on OOXML input
|
static Dval |
Dval.parseOOXML(org.xmlpull.v1.XmlPullParser xpp,
Boundsheet bs)
create one or more Data Validation records based on OOXML input
|
static Condfmt |
Condfmt.parseOOXML(org.xmlpull.v1.XmlPullParser xpp,
WorkBookHandle wb,
Boundsheet bs)
create one or more Data Validation records based on OOXML input
|
static Cf |
Cf.parseXML(org.xmlpull.v1.XmlPullParser xpp,
Condfmt cfx,
Boundsheet bs)
creates a Cf record from the EXML nodes
|
void |
MSODrawingGroup.removeMsodrawingrec(MSODrawing rec,
Boundsheet sheet,
boolean removeObjRec)
remove linked MsoDrawing rec from this drawing group + update image references if necessary
NOTE THIS IS STILL EXPERIMENTAL; MUST BE TESTED WITH A VARIETY OF SCENARIOS
|
void |
WorkBook.removeWorkSheet(Boundsheet sheet)
remove a Boundsheet from the WorkBook
|
void |
Window1.setCurrentTab(Boundsheet bs)
Sets the current tab that is displayed on opening.
|
void |
WorkBook.setFirstVisibleSheet(Boundsheet bs2)
set the first visible tab
|
boolean |
MSODrawingGroup.setImageBytes(byte[] bts,
Boundsheet bs,
MSODrawing rec,
String name)
sets the underlying image bytes
|
void |
WorkBook.setLastbound(Boundsheet lastbound) |
void |
WorkBook.setSelectedSheet(Boundsheet bs)
sets the selected worksheet
|
void |
WorkBook.updateMsodrawingHeaderRec(Boundsheet bs)
after changing the MSODrawings on a sheet, this is called to
update the header Msodrawing rec.
|
static void |
ReferenceTracker.updateReferences(int start,
int shiftamount,
Boundsheet thissheet,
boolean shiftRow)
updateReferences
Shifts, Expands or Contracts ALL affected ranges upon a row or col insert or delete.
|
void |
Name.updateSheetReferences(Boundsheet newSheet)
Set all ptg3ds to the new sheet
Used when copying worksheets .. |
| Constructor and Description |
|---|
SheetProtectionManager(Boundsheet sheet) |
| Modifier and Type | Method and Description |
|---|---|
Boundsheet |
PtgArea3d.getFirstSheet()
return the first sheet referenced
|
Boundsheet |
PtgArea3d.getLastSheet()
return the last sheet referenced
|
Boundsheet |
PtgRef3d.getSheet() |
Boundsheet |
PtgArea3d.getSheet()
return the first sheet referenced
|
Boundsheet |
PtgRef3d.getSheet(WorkBook b)
get the worksheet that this ref is on
for some reason this seems to be backwards in Ref3d
|
Boundsheet[] |
PtgArea3d.getSheets(WorkBook b)
get the worksheet that this ref is on
|
Boundsheet[] |
PtgMemFunc.getSheets(WorkBook b)
return the boundsheet associated with this complex range
NOTE: since complex ranges may contain more than one sheet, this is incomplete for those instanaces |
| Modifier and Type | Method and Description |
|---|---|
static Formula |
FormulaParser.getFormulaFromString(String formStr,
Boundsheet st,
int[] rc)
create a new formula record at row column rc using formula string formStr
|
void |
PtgRef3d.setReferencedSheet(Boundsheet b)
Change the sheet reference to the passed in boundsheet
|
void |
PtgArea3d.setReferencedSheet(Boundsheet b)
Switches the two internal ptgref3ds to a new
sheet.
|
void |
PtgAreaErr3d.setReferencedSheet(Boundsheet b)
sets referenced sheet
called from copy worksheet
different from PtgArea3d as PtgAreaErr3d's have not set their firstPtg and lastPtg
|
| Modifier and Type | Method and Description |
|---|---|
protected Boundsheet |
WorkSheetHandle.getBoundsheet() |
Boundsheet |
WorkSheetHandle.getMysheet()
FOR internal Use Only!
|
Boundsheet |
ChartHandle.getSheet()
returns the underlhying Sheet Object this Chart is attached to
For Internal Use |
protected Boundsheet |
WorkSheetHandle.getSheet()
Returns the underlying low-level Boundsheet object.
|
Boundsheet |
ImageHandle.getSheet()
returns the WorkSheet this image is contained in
|
| Modifier and Type | Method and Description |
|---|---|
static int |
RowHandle.getHeight(Boundsheet sheet,
int row)
Return the row height of an existing row.
|
static int |
ColHandle.getWidth(Boundsheet sheet,
int col)
static utility method to return the Column width of an existing column
in the units as follows:
default width of the columns in 1/256 of the width of the zero character, using default font. |
| Constructor and Description |
|---|
ImageHandle(byte[] _imageBytes,
Boundsheet sheet)
Constructor which takes image file bytes and inserts into
specific sheet
|
ImageHandle(InputStream imagebytestream,
Boundsheet bs)
Constructor which takes image file bytes and associates it with the
specified boundsheet
|
PrinterSettingsHandle(Boundsheet sheet)
default constructor
|
WorkSheetHandle(Boundsheet sht,
WorkBookHandle b)
Constructor which takes a WorkBook and sheetname as parameters.
|
Copyright © 2002–2019 Starter Inc.. All rights reserved.