Przeglądaj źródła

Added two missing files from r698280

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@698670 13f79535-47bb-0310-9956-ffa450edef68
pull/37/head
Andreas L. Delmelle 15 lat temu
rodzic
commit
4cb04249d8

+ 0
- 1
src/java/org/apache/fop/fo/pagination/RepeatablePageMasterReference.java Wyświetl plik

@@ -90,7 +90,6 @@ public class RepeatablePageMasterReference extends FObj
public String getNextPageMasterName(boolean isOddPage,
boolean isFirstPage,
boolean isLastPage,
boolean isOnlyPage,
boolean isEmptyPage) {
if (getMaximumRepeats() != INFINITE) {
if (numberConsumed < getMaximumRepeats()) {

+ 1
- 4
src/java/org/apache/fop/fo/pagination/SinglePageMasterReference.java Wyświetl plik

@@ -86,8 +86,7 @@ public class SinglePageMasterReference extends FObj
public String getNextPageMasterName(boolean isOddPage,
boolean isFirstPage,
boolean isLastPage,
boolean isOnlyPage,
boolean isEmptyPage) {
boolean isBlankPage) {
if (this.state == FIRST) {
this.state = DONE;
return masterReference;
@@ -101,8 +100,6 @@ public class SinglePageMasterReference extends FObj
this.state = FIRST;
}



/** {@inheritDoc} */
public boolean goToPrevious() {
if (state == FIRST) {

Ładowanie…
Anuluj
Zapisz