| Package | Description |
|---|---|
| com.github.jferard.fastods |
This package contains all data style, ie the parameters for data (boolean, currency, float, ..
.) display.
|
| com.github.jferard.fastods.odselement | |
| com.github.jferard.fastods.ref | |
| com.github.jferard.fastods.tool | |
| com.github.jferard.fastods.util |
| Modifier and Type | Method and Description |
|---|---|
Table |
OdsDocument.addTable(String name)
Add a new table to the document, the new table is set to the active table.
|
Table |
AnonymousOdsDocument.addTable(String name) |
Table |
NamedOdsDocument.addTable(String name) |
Table |
OdsDocument.addTable(String name,
int rowCapacity,
int columnCapacity)
Add a new table to the document, the new table is set to the active table.
|
Table |
AnonymousOdsDocument.addTable(String name,
int rowCapacity,
int columnCapacity) |
Table |
NamedOdsDocument.addTable(String name,
int rowCapacity,
int columnCapacity) |
static Table |
Table.create(ContentElement contentElement,
PositionUtil positionUtil,
IntegerRepresentationCache cache,
XMLUtil xmlUtil,
String name,
int rowCapacity,
int columnCapacity,
StylesContainer stylesContainer,
DataStyles format,
boolean libreOfficeMode,
ValidationsContainer validationsContainer)
Create a new Table with a name and a row/column capacity
|
Table |
OdsDocument.createTable(String name)
*You probably need
addTable*
Create a new table, **but do not add it to the document**. |
Table |
AnonymousOdsDocument.createTable(String name) |
Table |
NamedOdsDocument.createTable(String name) |
Table |
OdsDocument.createTable(String name,
int rowCapacity,
int columnCapacity)
*You probably need
addTable*
Create a new table, **but do not add it to the document**. |
Table |
AnonymousOdsDocument.createTable(String name,
int rowCapacity,
int columnCapacity) |
Table |
NamedOdsDocument.createTable(String name,
int rowCapacity,
int columnCapacity) |
Table |
OdsDocument.getOrAddTable(String name) |
Table |
AnonymousOdsDocument.getOrAddTable(String name) |
Table |
NamedOdsDocument.getOrAddTable(String name) |
Table |
TableCellWalker.getTable() |
Table |
OdsDocument.getTable(int n)
Get a table by index
|
Table |
AnonymousOdsDocument.getTable(int n) |
Table |
NamedOdsDocument.getTable(int n) |
Table |
OdsDocument.getTable(String name)
Get a table by name
|
Table |
AnonymousOdsDocument.getTable(String name) |
Table |
NamedOdsDocument.getTable(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<Table> |
OdsDocument.getTables() |
List<Table> |
AnonymousOdsDocument.getTables() |
List<Table> |
NamedOdsDocument.getTables() |
| Modifier and Type | Method and Description |
|---|---|
void |
OdsDocument.addAutoFilter(String rangeName,
Table table,
int r1,
int c1,
int r2,
int c2)
Deprecated.
use
table.addAutoFilter(r1, c1, r2, c2) |
void |
AnonymousOdsDocument.addAutoFilter(String rangeName,
Table table,
int r1,
int c1,
int r2,
int c2)
Deprecated.
|
void |
NamedOdsDocument.addAutoFilter(String rangeName,
Table table,
int r1,
int c1,
int r2,
int c2)
Deprecated.
|
boolean |
OdsDocument.addTable(Table table)
Add a new table to the document, the new table is set to the active table.
|
boolean |
AnonymousOdsDocument.addTable(Table table) |
boolean |
NamedOdsDocument.addTable(Table table) |
static Link |
Link.create(String text,
Table table)
Deprecated.
|
static Link |
Link.create(String text,
TextStyle ts,
Table table)
Deprecated.
|
void |
OdsDocument.freezeCells(Table table,
int rowCount,
int colCount) |
void |
AnonymousOdsDocument.freezeCells(Table table,
int rowCount,
int colCount) |
void |
NamedOdsDocument.freezeCells(Table table,
int rowCount,
int colCount) |
TextBuilder |
TextBuilder.link(String text,
Table table)
Create a link in the current paragraph.
|
ParagraphBuilder |
ParagraphBuilder.link(String text,
Table table)
Create a link in the current paragraph.
|
TextBuilder |
TextBuilder.styledLink(String text,
TextStyle ts,
Table table)
Create a styled link in the current paragraph.
|
ParagraphBuilder |
ParagraphBuilder.styledLink(String text,
TextStyle ts,
Table table)
Create a styled link in the current paragraph.
|
LinkBuilder |
LinkBuilder.to(Table table) |
| Modifier and Type | Method and Description |
|---|---|
Table |
ContentElement.addTable(String name,
int rowCapacity,
int columnCapacity)
Deprecated.
use `addTable(table)`
|
Table |
OdsElements.addTableToContent(String name,
int rowCapacity,
int columnCapacity)
Deprecated.
|
Table |
OdsElements.createTable(String name,
int rowCapacity,
int columnCapacity) |
Table |
ContentElement.createTable(String name,
int rowCapacity,
int columnCapacity)
Create a new table
|
Table |
ContentElement.getLastTable() |
Table |
OdsElements.getTable(int tableIndex)
Return a table from an index
|
Table |
ContentElement.getTable(int tableIndex) |
Table |
OdsElements.getTable(String name)
Return a table from a name
|
Table |
ContentElement.getTable(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<Table> |
OdsElements.getTables() |
List<Table> |
ContentElement.getTables() |
| Modifier and Type | Method and Description |
|---|---|
void |
Settings.addTable(Table table)
Add a table
|
boolean |
ContentElement.addTable(Table table) |
boolean |
OdsElements.addTableToContent(Table table)
Add a new table to content.
|
void |
OdsElements.freezeCells(Table table,
int rowCount,
int colCount)
Freeze cells.
|
void |
Settings.setActiveTable(Table table)
Set the active table , this is the table that is shown if you open the
file.
|
void |
OdsElements.setActiveTable(Table table)
Set a new active table
|
void |
SettingsElement.setActiveTable(Table table)
Set the active table
|
| Modifier and Type | Method and Description |
|---|---|
void |
Settings.setTables(List<Table> tables)
Set the tables (replace all existing tables)
|
void |
SettingsElement.setTables(List<Table> tables)
Set the tables
|
| Modifier and Type | Method and Description |
|---|---|
RangeRefBuilder |
RangeRefBuilder.absTable(Table table)
Set the table
|
CellRefBuilder |
CellRefBuilder.absTable(Table table)
Set the table
|
TableRefBuilder |
TableRefBuilder.absTable(Table table)
Set the table
|
CellRef |
PositionUtil.newCellRef(Table table,
int row,
int col) |
RangeRefBuilder |
RangeRefBuilder.table(Table table)
Set the table name
|
CellRefBuilder |
CellRefBuilder.table(Table table)
Set the table name
|
TableRefBuilder |
TableRefBuilder.table(Table table)
Set the table name
|
String |
PositionUtil.toCellAddress(Table table,
int row,
int col)
the Excel/OO/LO address of a cell, preceded by the table name
|
String |
PositionUtil.toRangeAddress(Table table,
int row1,
int col1,
int row2,
int col2)
Return the Excel/OO/LO address of a range, preceded by the table name
|
| Modifier and Type | Method and Description |
|---|---|
TableCellWalker |
TableHelper.getCell(Table table,
int rowIndex,
int colIndex) |
TableCellWalker |
TableHelper.getCell(Table table,
String address) |
void |
InsertHelper.insertImage(OdsDocument document,
Table table,
String frameName,
File source,
String destName,
SVGRectangle rectangle)
Insert a new image into the document
|
void |
InsertHelper.insertImage(OdsDocument document,
Table table,
String frameName,
InputStream sourceStream,
String destName,
SVGRectangle rectangle)
Insert a new image into the document
|
void |
InsertHelper.insertObject(OdsDocument document,
Table table,
String frameName,
String objectName,
String objectMediaType,
String objectVersion,
InputStream sourceStream,
SVGRectangle rectangle,
GraphicStyle gs)
Insert a new ODF object into the document.
|
void |
TableHelper.setCellMerge(Table table,
int rowIndex,
int colIndex,
int rowMerge,
int columnMerge)
Deprecated.
use table.setCellMerge.
|
void |
TableHelper.setCellMerge(Table table,
String address,
int rowMerge,
int columnMerge)
Set the merging of multiple cells to one cell in all existing tables.
|
void |
TableHelper.setCellValue(Table table,
int rowIndex,
int colIndex,
CellValue value) |
void |
TableHelper.setCellValue(Table table,
int rowIndex,
int colIndex,
CellValue value,
TableCellStyle ts) |
void |
TableHelper.setCellValue(Table table,
String address,
CellValue value)
Sets the cell value in all tables to the given values.
|
void |
TableHelper.setCellValue(Table table,
String address,
CellValue value,
TableCellStyle ts)
Sets the cell value in all tables to the given values.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoFilterBuilder |
AutoFilter.builder(String rangeName,
Table table,
int r1,
int c1,
int r2,
int c2) |
Copyright © 2016–2021. All rights reserved.