blob: 4a4c8bdb9e8868ef18eea55c78647546db1d56b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
* $Id$
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
*/
package org.apache.fop.fo.pagination;
import org.apache.fop.apps.FOPException;
/**
* Classes that implement this interface can be added to a PageSequenceMaster,
* and are capable of looking up an appropriate PageMaster.
*/
public interface SubSequenceSpecifier {
public String getNextPageMasterName(boolean isOddPage,
boolean isFirstPage,
boolean isEmptyPage)
throws FOPException;
/**
* Called before a new page sequence is rendered so subsequences can reset
* any state they keep during the formatting process.
*/
public void reset();
}
|