Interface SplitService
- 
- All Superinterfaces:
 com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("split") public interface SplitService extends com.google.gwt.user.client.rpc.RemoteServiceThe 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 classSplitService.Instance 
- 
Field Summary
Fields Modifier and Type Field Description static intPOLICY_ALLPAGESstatic intPOLICY_BARCODEstatic intPOLICY_BLANKPAGEstatic intPOLICY_SELECTIONstatic intPOLICY_TEXTstatic intSEPARATOR_CURRENTSEGstatic intSEPARATOR_NEXTSEGstatic intSEPARATOR_SKIP 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsplit(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 ServerExceptionSplits 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
 
 - 
 
 -