Documentation ¶
Index ¶
- Variables
- type Font
- type FontMetrics
- type FontsByNames
- type PdfReader
- func (this *PdfReader) DumpFonts()
- func (this *PdfReader) GetEncryptionMethod() string
- func (this *PdfReader) GetFontsForPages() []FontsByNames
- func (this *PdfReader) GetPageList() []*core.PdfIndirectObject
- func (this *PdfReader) GetPageResources() []*core.PdfObjectDictionary
- func (this *PdfReader) GetParser() *core.PdfParser
- func (this *PdfReader) GetTrailer() (*core.PdfObjectDictionary, error)
- func (this *PdfReader) ParseFonts() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //predefined encodings: PdfDocEncodingUtf8 = []uint{}/* 256 elements not displayed */ WinAnsiEncodingUtf8 = []uint{}/* 256 elements not displayed */ MacRomanEncodingUtf8 = []uint{}/* 256 elements not displayed */ MacExpertEncodingUtf8 = []uint{}/* 256 elements not displayed */ StandardEncodingUtf8 = []uint{}/* 256 elements not displayed */ SymbolEncodingUtf8 = []uint{}/* 256 elements not displayed */ ZapfDingbatsEncodingUtf8 = []uint{}/* 256 elements not displayed */ )
Functions ¶
This section is empty.
Types ¶
type Font ¶
type Font struct {
// contains filtered or unexported fields
}
func (*Font) GetCidCmap ¶
func (*Font) GetSimpleEncodingTable ¶
func (*Font) GetSimpleEncodingTableFlag ¶
func (*Font) GetmPredefinedCmap ¶
type FontMetrics ¶
type FontMetrics struct {
// contains filtered or unexported fields
}
type FontsByNames ¶
type FontsByNames map[core.PdfObjectName]*Font
type PdfReader ¶
type PdfReader struct {
// contains filtered or unexported fields
}
func NewPdfReader ¶
func NewPdfReader(rs io.ReadSeeker) (*PdfReader, error)
func (*PdfReader) GetEncryptionMethod ¶
Returns a string containing some information about the encryption method used. Subject to changes. May be better to return a standardized struct with information. But challenging due to the many different types supported.
func (*PdfReader) GetFontsForPages ¶
func (this *PdfReader) GetFontsForPages() []FontsByNames
func (*PdfReader) GetPageList ¶
func (this *PdfReader) GetPageList() []*core.PdfIndirectObject
func (*PdfReader) GetPageResources ¶
func (this *PdfReader) GetPageResources() []*core.PdfObjectDictionary
func (*PdfReader) GetTrailer ¶
func (this *PdfReader) GetTrailer() (*core.PdfObjectDictionary, error)
func (*PdfReader) ParseFonts ¶
Click to show internal directories.
Click to hide internal directories.