Interface SplitService
-
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("split") public interface SplitService extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Split Service.- Since:
- 8.4
- Author:
- Marco Meschieri - LogicalDOC
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SplitService.Instance
-
Field Summary
Fields Modifier and Type Field Description static int
POLICY_ALLPAGES
static int
POLICY_BARCODE
static int
POLICY_BLANKPAGE
static int
POLICY_SELECTION
static int
POLICY_TEXT
static int
SEPARATOR_CURRENTSEG
static int
SEPARATOR_NEXTSEG
static int
SEPARATOR_SKIP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
split(long docId, int policy, int separator, String expression)
Splits a document using different options, the splitted segments are saved in the same folder as the original PDF with -N prefix.
-
-
-
Field Detail
-
POLICY_ALLPAGES
static final int POLICY_ALLPAGES
- See Also:
- Constant Field Values
-
POLICY_SELECTION
static final int POLICY_SELECTION
- See Also:
- Constant Field Values
-
POLICY_BLANKPAGE
static final int POLICY_BLANKPAGE
- See Also:
- Constant Field Values
-
POLICY_BARCODE
static final int POLICY_BARCODE
- See Also:
- Constant Field Values
-
POLICY_TEXT
static final int POLICY_TEXT
- See Also:
- Constant Field Values
-
SEPARATOR_SKIP
static final int SEPARATOR_SKIP
- See Also:
- Constant Field Values
-
SEPARATOR_CURRENTSEG
static final int SEPARATOR_CURRENTSEG
- See Also:
- Constant Field Values
-
SEPARATOR_NEXTSEG
static final int SEPARATOR_NEXTSEG
- See Also:
- Constant Field Values
-
-
Method Detail
-
split
void split(long docId, int policy, int separator, String expression) throws ServerException
Splits a document using different options, the splitted segments are saved in the same folder as the original PDF with -N prefix.- Parameters:
docId
- the document to splitpolicy
- of split (see the TYPE_ constants)separator
- separator way to handle the separator (see the TYPE_ constants)expression
- the expression to use processing the split- Throws:
ServerException
- an error happened in the server application
-
-