Documentation

Split
in package

V2 Split operation.

Table of Contents

Properties

$localInput  : LocalInputSource

Methods

__construct()  : mixed
expandRange()  : array<string|int, int>
Expands a range to a list of integers.
extractSingleSplit()  : ExtractedPdf
Extracts a single split from the input file.
extractSplits()  : SplitFiles
Extracts the splits from the input file.

Properties

Methods

expandRange()

Expands a range to a list of integers.

public static expandRange(int $start, int $end) : array<string|int, int>
Parameters
$start : int

Start of the range.

$end : int

End of the range.

Tags
throws
MindeeInputException

If the start page is greater than the end page.

Return values
array<string|int, int>

extractSingleSplit()

Extracts a single split from the input file.

public extractSingleSplit(array<string|int, int> $split) : ExtractedPdf
Parameters
$split : array<string|int, int>

Split range to extract.

Return values
ExtractedPdf

2D array of extracted pages

extractSplits()

Extracts the splits from the input file.

public extractSplits(array<string|int, array<string|int, int>> $splits) : SplitFiles
Parameters
$splits : array<string|int, array<string|int, int>>

List of split ranges to extract.

Return values
SplitFiles

list of extracted files


        
On this page

Search results