Свойство | Тип | Описание | |
---|---|---|---|
$objects | array | PDF imported objects | |
$pages | array | PDF imported page objects |
Свойство | Тип | Описание | |
---|---|---|---|
$data | string | PDF imported data | |
$kids | array | PDF imported kids indices | |
$thumbs | array | PDF imported thumb objects |
Метод | Описание | |
---|---|---|
__construct ( string $pdf, integer | string | array $pgs = null ) : |
Constructor | |
returnObjects ( integer $par ) : array | Method to return the desired imported objects to the main PDF object. | |
shiftObjects ( integer $si ) : void | Method to shift the objects' indices based on the array of indices passed to the method, to prevent duplication. |
Метод | Описание | |
---|---|---|
firstIndex ( array $arr ) : integer | Method to return the first object index. | |
getObjects ( string $data ) : void | Method to search and return the objects within in the imported data. | |
getRefs ( string $data ) : array | Method to search and return the object references within in the data. | |
lastIndex ( array $arr ) : integer | Method to return the last object index. |
protected firstIndex ( array $arr ) : integer | ||
$arr | array | |
Результат | integer |
protected getObjects ( string $data ) : void | ||
$data | string | |
Результат | void |
public returnObjects ( integer $par ) : array | ||
$par | integer | |
Результат | array |
public shiftObjects ( integer $si ) : void | ||
$si | integer | |
Результат | void |