aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/flow')
-rw-r--r--src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java2
-rw-r--r--src/java/org/apache/fop/fo/flow/table/GridUnit.java8
-rw-r--r--src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java b/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java
index bcf67b2c5..96fd54ef4 100644
--- a/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java
+++ b/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java
@@ -35,7 +35,7 @@ public class EmptyGridUnit extends GridUnit {
* @param startRow index of the row this grid unit belongs to, 0-based
* @param startCol column index, 0-based
*/
- public EmptyGridUnit(Table table, int startRow, int startCol) {
+ EmptyGridUnit(Table table, int startRow, int startCol) {
super(table, table.getColumn(startCol), startCol, 0, 0);
}
diff --git a/src/java/org/apache/fop/fo/flow/table/GridUnit.java b/src/java/org/apache/fop/fo/flow/table/GridUnit.java
index ff91ae885..d1958605c 100644
--- a/src/java/org/apache/fop/fo/flow/table/GridUnit.java
+++ b/src/java/org/apache/fop/fo/flow/table/GridUnit.java
@@ -134,7 +134,7 @@ public class GridUnit {
* @param colSpanIndex index of this grid unit in the span, in column direction
* @param rowSpanIndex index of this grid unit in the span, in row direction
*/
- public GridUnit(PrimaryGridUnit primary, TableColumn column, int startCol, int colSpanIndex,
+ GridUnit(PrimaryGridUnit primary, TableColumn column, int startCol, int colSpanIndex,
int rowSpanIndex) {
this(primary.getCell(), column, startCol, colSpanIndex, rowSpanIndex);
this.primary = primary;
@@ -321,7 +321,7 @@ public class GridUnit {
* Assigns the borders from the given cell to this cell info. Used in case of separate
* border model.
*/
- public void assignBorderForSeparateBorderModel() {
+ void assignBorderForSeparateBorderModel() {
if (cell != null) {
effectiveBorders = cell.getCommonBorderPaddingBackground();
}
@@ -335,7 +335,7 @@ public class GridUnit {
* @param side the side to resolve (one of
* CommonBorderPaddingBackground.BEFORE|AFTER|START|END)
*/
- public void resolveBorder(GridUnit other, int side) {
+ void resolveBorder(GridUnit other, int side) {
BorderSpecification resolvedBorder = collapsingBorderModel.determineWinner(
resolvedBorders[side], other.resolvedBorders[CollapsingBorderModel
.getOtherSide(side)]);
@@ -353,7 +353,7 @@ public class GridUnit {
* CommonBorderPaddingBackground.BEFORE|AFTER|START|END)
* @param parent the parent element holding a competing border
*/
- public void resolveBorder(int side, TableFObj parent) {
+ void resolveBorder(int side, TableFObj parent) {
resolvedBorders[side] = collapsingBorderModel.determineWinner(resolvedBorders[side],
parent.resolvedBorders[side]);
}
diff --git a/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java b/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java
index 5dbc9116f..cbc7f1166 100644
--- a/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java
+++ b/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java
@@ -53,7 +53,7 @@ public class PrimaryGridUnit extends GridUnit {
* @param startCol index of the column this grid unit belongs to, zero-based
* @param startRow index of the row this grid unit belongs to, zero-based
*/
- public PrimaryGridUnit(TableCell cell, TableColumn column, int startCol, int startRow) {
+ PrimaryGridUnit(TableCell cell, TableColumn column, int startCol, int startRow) {
super(cell, column, startCol, 0, 0);
this.startRow = startRow;
log.trace("PrimaryGridUnit created, row " + startRow + " col " + startCol);