Преглед изворни кода

Renamed Item to Cell to TableCellLayoutManager.

Renamed Caption to TableCaptionLayoutManager.
Adjusted SVN properties.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219519 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_90-alpha1
Jeremias Maerki пре 19 година
родитељ
комит
cd24266733

+ 3
- 3
src/java/org/apache/fop/layoutmgr/table/PrimaryGridUnit.java Прегледај датотеку

@@ -31,7 +31,7 @@ import org.apache.fop.fo.properties.LengthRangeProperty;
public class PrimaryGridUnit extends GridUnit {

/** Cell layout manager. */
private Cell cellLM;
private TableCellLayoutManager cellLM;
/** List of Knuth elements representing the contents of the cell. */
private LinkedList elements;
/** Index of row where this cell starts */
@@ -45,11 +45,11 @@ public class PrimaryGridUnit extends GridUnit {
super(cell, column, startCol, 0);
this.startRow = startRow;
if (cell != null) {
cellLM = new Cell(cell, this);
cellLM = new TableCellLayoutManager(cell, this);
}
}
public Cell getCellLM() {
public TableCellLayoutManager getCellLM() {
return cellLM;
}

src/java/org/apache/fop/layoutmgr/table/Caption.java → src/java/org/apache/fop/layoutmgr/table/TableCaptionLayoutManager.java Прегледај датотеку

@@ -32,7 +32,7 @@ import org.apache.fop.area.Block;
* table.
* @todo Implement getNextKnuthElements()
*/
public class Caption extends BlockStackingLayoutManager {
public class TableCaptionLayoutManager extends BlockStackingLayoutManager {
private TableCaption fobj;

private Block curBlockArea;
@@ -43,7 +43,7 @@ public class Caption extends BlockStackingLayoutManager {
* Create a new Caption layout manager.
* @param node table-caption FO
*/
public Caption(TableCaption node) {
public TableCaptionLayoutManager(TableCaption node) {
super(node);
fobj = node;
}

src/java/org/apache/fop/layoutmgr/table/Cell.java → src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java Прегледај датотеку

@@ -43,7 +43,7 @@ import org.apache.fop.traits.MinOptMax;
* LayoutManager for a table-cell FO.
* A cell contains blocks. These blocks fill the cell.
*/
public class Cell extends BlockStackingLayoutManager implements BlockLevelLayoutManager {
public class TableCellLayoutManager extends BlockStackingLayoutManager implements BlockLevelLayoutManager {
private TableCell fobj;
private PrimaryGridUnit gridUnit;
@@ -67,7 +67,7 @@ public class Cell extends BlockStackingLayoutManager implements BlockLevelLayout
* @param node table-cell FO for which to create the LM
* @param pgu primary grid unit for the cell
*/
public Cell(TableCell node, PrimaryGridUnit pgu) {
public TableCellLayoutManager(TableCell node, PrimaryGridUnit pgu) {
super(node);
fobj = node;
this.gridUnit = pgu;

+ 1
- 1
src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java Прегледај датотеку

@@ -851,7 +851,7 @@ public class TableContentLayoutManager {
log.debug("start row: " + pgu.getStartRow() + " " + yoffset + " " + effYOffset);
log.debug("contentHeight: " + contentHeight + " rowHeight=" + rowHeight
+ " effCellHeight=" + effCellHeight);
Cell cellLM = pgu.getCellLM();
TableCellLayoutManager cellLM = pgu.getCellLM();
cellLM.setXOffset(getXOffsetOfGridUnit(pgu));
cellLM.setYOffset(effYOffset);
cellLM.setContentHeight(contentHeight);

+ 1
- 1
src/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java Прегледај датотеку

@@ -14,7 +14,7 @@
* limitations under the License.
*/

/* $Id: TableLayoutManager.java,v 1.8 2004/03/21 12:03:08 gmazza Exp $ */
/* $Id$ */

package org.apache.fop.layoutmgr.table;


Loading…
Откажи
Сачувај