Documentation ¶
Index ¶
- type Catalog
- func (_db *Catalog) GetMarkInfo() (*_c.PdfObjectDictionary, bool)
- func (_ef *Catalog) GetMetadata() (*_c.PdfObjectStream, bool)
- func (_ecc *Catalog) GetOutputIntents() (*OutputIntents, bool)
- func (_bgd *Catalog) GetPages() ([]Page, bool)
- func (_be *Catalog) HasMetadata() bool
- func (_ege *Catalog) NewOutputIntents() *OutputIntents
- func (_gbb *Catalog) SetMarkInfo(mi _c.PdfObject)
- func (_ee *Catalog) SetMetadata(data []byte) error
- func (_egb *Catalog) SetOutputIntents(outputIntents *OutputIntents)
- func (_ce *Catalog) SetVersion()
- type Content
- type Document
- type Image
- type ImageSMask
- type OutputIntent
- type OutputIntents
- type Page
- func (_gaa Page) FindXObjectForms() []*_c.PdfObjectStream
- func (_fbc Page) FindXObjectImages() ([]*Image, error)
- func (_egbb Page) GetContents() ([]Content, bool)
- func (_fbb Page) GetResources() (*_c.PdfObjectDictionary, bool)
- func (_cbb Page) GetResourcesXObject() (*_c.PdfObjectDictionary, bool)
- func (_ceb *Page) Number() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct { Object *_c.PdfObjectDictionary // contains filtered or unexported fields }
func (*Catalog) GetMarkInfo ¶
func (_db *Catalog) GetMarkInfo() (*_c.PdfObjectDictionary, bool)
func (*Catalog) GetMetadata ¶
func (_ef *Catalog) GetMetadata() (*_c.PdfObjectStream, bool)
func (*Catalog) GetOutputIntents ¶
func (_ecc *Catalog) GetOutputIntents() (*OutputIntents, bool)
func (*Catalog) HasMetadata ¶
func (*Catalog) NewOutputIntents ¶
func (_ege *Catalog) NewOutputIntents() *OutputIntents
func (*Catalog) SetMarkInfo ¶
func (*Catalog) SetMetadata ¶
func (*Catalog) SetOutputIntents ¶
func (_egb *Catalog) SetOutputIntents(outputIntents *OutputIntents)
func (*Catalog) SetVersion ¶
func (_ce *Catalog) SetVersion()
type Content ¶
type Content struct { Stream *_c.PdfObjectStream // contains filtered or unexported fields }
type Document ¶
type Document struct { ID [2]string Version _c.Version Objects []_c.PdfObject Info _c.PdfObject Crypt *_c.PdfCrypt UseHashBasedID bool }
func (*Document) AddIndirectObject ¶
func (_ece *Document) AddIndirectObject(indirect *_c.PdfIndirectObject)
func (*Document) AddStream ¶
func (_eab *Document) AddStream(stream *_c.PdfObjectStream)
func (*Document) FindCatalog ¶
type Image ¶
type Image struct { Name string Width int Height int Colorspace _c.PdfObjectName ColorComponents int BitsPerComponent int SMask *ImageSMask Stream *_c.PdfObjectStream }
type ImageSMask ¶
type ImageSMask struct { Image *Image Stream *_c.PdfObjectStream }
type OutputIntent ¶
type OutputIntent struct{ Object *_c.PdfObjectDictionary }
type OutputIntents ¶
type OutputIntents struct {
// contains filtered or unexported fields
}
func (*OutputIntents) Get ¶
func (_eeb *OutputIntents) Get(i int) (OutputIntent, bool)
func (*OutputIntents) Len ¶
func (_eca *OutputIntents) Len() int
type Page ¶
type Page struct { Object *_c.PdfObjectDictionary // contains filtered or unexported fields }
func (Page) FindXObjectForms ¶
func (_gaa Page) FindXObjectForms() []*_c.PdfObjectStream
func (Page) FindXObjectImages ¶
func (Page) GetContents ¶
func (Page) GetResources ¶
func (_fbb Page) GetResources() (*_c.PdfObjectDictionary, bool)
func (Page) GetResourcesXObject ¶
func (_cbb Page) GetResourcesXObject() (*_c.PdfObjectDictionary, bool)
Click to show internal directories.
Click to hide internal directories.