com.pdftech.fot2pdf.formatter
Class Formatter.LayoutTable
java.lang.Object
|
+--com.pdftech.fot2pdf.formatter.Formatter.LayoutTable
- Enclosing class:
- Formatter
- class Formatter.LayoutTable
- extends java.lang.Object
This is implements basic table support. It provides the necessary structures to have rows, columns and cells
parsed, and takes the generic ationThis is the core implementation of a paragraph. It serves as a container for inlined objects
and performs the line-breaking task.
The core feature is to divide a list of InlineContents into single lines
(i.e. TextDisplayBoxes).
A paragraph is a container for inlined objects which will be broken into lines. The contained
InlineObjects can be either atomic FOs like chars, graphics, PageNumbers etc. or sequences
of inline FOs,q e.g. a leader; the latter are sequences of InlineObjects as well.
- See Also:
TextDisplayBox
,
formatting.inlineobjects
Constructor Summary |
Formatter.LayoutTable(com.pdftech.fot2pdf.formatter.DSSSL_InheritedCharacteristics ic)
|
Method Summary |
void |
addColumn()
|
Formatter.LayoutTable.TableColumn |
col(int x)
|
void |
ensureColumn(int no)
|
(package private) Formatter.LayoutTable.LayoutTableBorder |
fightBorders(Formatter.LayoutTable.LayoutTableBorder a,
Formatter.LayoutTable.LayoutTableBorder b)
|
com.pdftech.fot2pdf.formatter.displayboxes.DisplayBoxList |
makeDisplayBoxes()
|
void |
parseAndAppendDisplayBoxes(com.pdftech.fot2pdf.formatter.displayboxes.DisplayBoxList localstream,
com.pdftech.fot2pdf.xml.xmlnode o,
com.pdftech.fot2pdf.formatter.DSSSL_InheritedCharacteristics ic)
|
(package private) void |
parseRow(com.pdftech.fot2pdf.formatter.displayboxes.DisplayBoxList localstream,
com.pdftech.fot2pdf.xml.xmlnode o,
com.pdftech.fot2pdf.formatter.DSSSL_InheritedCharacteristics ic,
int aktrow)
|
Formatter.LayoutTable.TableRow |
row(int x,
int y)
|
(package private) void |
setBorderBottom(Formatter.LayoutTable.LayoutTableBorder b)
|
(package private) void |
setBorderLeft(Formatter.LayoutTable.LayoutTableBorder b)
|
(package private) void |
setBorderRight(Formatter.LayoutTable.LayoutTableBorder b)
|
(package private) void |
setBorderTop(Formatter.LayoutTable.LayoutTableBorder b)
|
void |
setColumn(int no,
double w)
|
void |
setContent(com.pdftech.fot2pdf.xml.xmlnode what,
com.pdftech.fot2pdf.formatter.DSSSL_InheritedCharacteristics ic,
int wantcol,
int wantrow)
|
void |
setMaxWidth(double w)
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
maxrows
int maxrows
maxwidth
double maxwidth
b_top
Formatter.LayoutTable.LayoutTableBorder b_top
b_bottom
Formatter.LayoutTable.LayoutTableBorder b_bottom
b_left
Formatter.LayoutTable.LayoutTableBorder b_left
b_right
Formatter.LayoutTable.LayoutTableBorder b_right
columns
java.util.Vector columns
anzcolumns
int anzcolumns
tableic
com.pdftech.fot2pdf.formatter.DSSSL_InheritedCharacteristics tableic
Formatter.LayoutTable
public Formatter.LayoutTable(com.pdftech.fot2pdf.formatter.DSSSL_InheritedCharacteristics ic)
setBorderTop
void setBorderTop(Formatter.LayoutTable.LayoutTableBorder b)
setBorderBottom
void setBorderBottom(Formatter.LayoutTable.LayoutTableBorder b)
setBorderLeft
void setBorderLeft(Formatter.LayoutTable.LayoutTableBorder b)
setBorderRight
void setBorderRight(Formatter.LayoutTable.LayoutTableBorder b)
fightBorders
Formatter.LayoutTable.LayoutTableBorder fightBorders(Formatter.LayoutTable.LayoutTableBorder a,
Formatter.LayoutTable.LayoutTableBorder b)
setMaxWidth
public void setMaxWidth(double w)
addColumn
public void addColumn()
col
public Formatter.LayoutTable.TableColumn col(int x)
row
public Formatter.LayoutTable.TableRow row(int x,
int y)
ensureColumn
public void ensureColumn(int no)
setColumn
public void setColumn(int no,
double w)
setContent
public void setContent(com.pdftech.fot2pdf.xml.xmlnode what,
com.pdftech.fot2pdf.formatter.DSSSL_InheritedCharacteristics ic,
int wantcol,
int wantrow)
makeDisplayBoxes
public com.pdftech.fot2pdf.formatter.displayboxes.DisplayBoxList makeDisplayBoxes()
parseRow
void parseRow(com.pdftech.fot2pdf.formatter.displayboxes.DisplayBoxList localstream,
com.pdftech.fot2pdf.xml.xmlnode o,
com.pdftech.fot2pdf.formatter.DSSSL_InheritedCharacteristics ic,
int aktrow)
parseAndAppendDisplayBoxes
public void parseAndAppendDisplayBoxes(com.pdftech.fot2pdf.formatter.displayboxes.DisplayBoxList localstream,
com.pdftech.fot2pdf.xml.xmlnode o,
com.pdftech.fot2pdf.formatter.DSSSL_InheritedCharacteristics ic)