PHP 클래스 Smalot\PdfParser\Document

Class Document
파일 보기 프로젝트 열기: smalot/pdfparser 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$details array
$dictionary array
$objects Smalot\PdfParser\Object[]
$trailer Header

공개 메소드들

메소드 설명
__construct ( )
getDetails ( $deep = true ) : array
getDictionary ( ) : array
getFonts ( ) : Smalot\PdfParser\Object[]
getObjectById ( string $id ) : Smalot\PdfParser\Object
getObjects ( ) : Smalot\PdfParser\Object[]
getObjectsByType ( string $type, string $subtype = null ) : Smalot\PdfParser\Object[]
getPages ( ) : Page[]
getText ( Page $page = null ) : string
init ( )
setObjects ( Smalot\PdfParser\Object[] $objects = [] )
setTrailer ( Header $trailer )

보호된 메소드들

메소드 설명
buildDetails ( ) Build details array.
buildDictionary ( ) Build dictionary based on type header field.

메소드 상세

__construct() 공개 메소드

public __construct ( )

buildDetails() 보호된 메소드

Build details array.
protected buildDetails ( )

buildDictionary() 보호된 메소드

Build dictionary based on type header field.
protected buildDictionary ( )

getDetails() 공개 메소드

public getDetails ( $deep = true ) : array
리턴 array

getDictionary() 공개 메소드

public getDictionary ( ) : array
리턴 array

getFonts() 공개 메소드

public getFonts ( ) : Smalot\PdfParser\Object[]
리턴 Smalot\PdfParser\Object[]

getObjectById() 공개 메소드

public getObjectById ( string $id ) : Smalot\PdfParser\Object
$id string
리턴 Smalot\PdfParser\Object

getObjects() 공개 메소드

public getObjects ( ) : Smalot\PdfParser\Object[]
리턴 Smalot\PdfParser\Object[]

getObjectsByType() 공개 메소드

public getObjectsByType ( string $type, string $subtype = null ) : Smalot\PdfParser\Object[]
$type string
$subtype string
리턴 Smalot\PdfParser\Object[]

getPages() 공개 메소드

public getPages ( ) : Page[]
리턴 Page[]

getText() 공개 메소드

public getText ( Page $page = null ) : string
$page Page
리턴 string

init() 공개 메소드

public init ( )

setObjects() 공개 메소드

public setObjects ( Smalot\PdfParser\Object[] $objects = [] )
$objects Smalot\PdfParser\Object[]

setTrailer() 공개 메소드

public setTrailer ( Header $trailer )
$trailer Header

프로퍼티 상세

$details 보호되어 있는 프로퍼티

protected array $details
리턴 array

$dictionary 보호되어 있는 프로퍼티

protected array $dictionary
리턴 array

$objects 보호되어 있는 프로퍼티

protected Object[],Smalot\PdfParser $objects
리턴 Smalot\PdfParser\Object[]

$trailer 보호되어 있는 프로퍼티

protected Header,Smalot\PdfParser $trailer
리턴 Header