model

package
v0.0.0-...-cbf1392 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 *Font) GetCidCmap() *cmap.CMap

func (*Font) GetCmap

func (font *Font) GetCmap() *cmap.CMap

func (*Font) GetSimpleEncodingTable

func (font *Font) GetSimpleEncodingTable() []uint

func (*Font) GetSimpleEncodingTableFlag

func (font *Font) GetSimpleEncodingTableFlag() bool

func (*Font) GetmPredefinedCmap

func (font *Font) GetmPredefinedCmap() bool

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) DumpFonts

func (this *PdfReader) DumpFonts()

func (*PdfReader) GetEncryptionMethod

func (this *PdfReader) GetEncryptionMethod() string

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) GetParser

func (this *PdfReader) GetParser() *core.PdfParser

func (*PdfReader) GetTrailer

func (this *PdfReader) GetTrailer() (*core.PdfObjectDictionary, error)

func (*PdfReader) ParseFonts

func (this *PdfReader) ParseFonts() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL