manifest

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Unlicense Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Event  string        `json:"event" yaml:"event"`
	Region *ActionRegion `json:"region" yaml:"region"`
	URI    *URIAction    `json:"uri" yaml:"uri"`
	Goto   *GotoAction   `json:"goto" yaml:"goto"`
	GotoA  *GotoAAction  `json:"gotoA" yaml:"gotoA"`
	Sound  *SoundAction  `json:"sound" yaml:"sound"`
	Movie  *MovieAction  `json:"movie" yaml:"movie"`
}

type ActionArea

type ActionArea struct {
	Start    Point           `json:"start" yaml:"start"`
	Commands []RegionCommand `json:"commands" yaml:"commands"`
}

type ActionRegion

type ActionRegion struct {
	Areas []ActionArea `json:"areas" yaml:"areas"`
}

type Annotation

type Annotation struct {
	ID          uint64                `json:"id" yaml:"id"`
	Type        string                `json:"type" yaml:"type"`
	Creator     string                `json:"creator" yaml:"creator"`
	LastModDate string                `json:"lastModDate" yaml:"lastModDate"`
	Visible     *bool                 `json:"visible" yaml:"visible"`
	Subtype     string                `json:"subtype" yaml:"subtype"`
	Print       *bool                 `json:"print" yaml:"print"`
	NoZoom      bool                  `json:"noZoom" yaml:"noZoom"`
	NoRotate    bool                  `json:"noRotate" yaml:"noRotate"`
	ReadOnly    *bool                 `json:"readOnly" yaml:"readOnly"`
	Remark      string                `json:"remark" yaml:"remark"`
	Parameters  []AnnotationParameter `json:"parameters" yaml:"parameters"`
	Boundary    *Box                  `json:"boundary" yaml:"boundary"`
	Items       []Item                `json:"items" yaml:"items"`
}

type AnnotationPage

type AnnotationPage struct {
	Page  int          `json:"page" yaml:"page"`
	Items []Annotation `json:"items" yaml:"items"`
}

type AnnotationParameter

type AnnotationParameter struct {
	Name  string `json:"name" yaml:"name"`
	Value string `json:"value" yaml:"value"`
}

type Attachment

type Attachment struct {
	ID           string `json:"id" yaml:"id"`
	Name         string `json:"name" yaml:"name"`
	Format       string `json:"format" yaml:"format"`
	Usage        string `json:"usage" yaml:"usage"`
	File         string `json:"file" yaml:"file"`
	DataBase64   string `json:"dataBase64" yaml:"dataBase64"`
	FileName     string `json:"fileName" yaml:"fileName"`
	CreationDate string `json:"creationDate" yaml:"creationDate"`
	ModDate      string `json:"modDate" yaml:"modDate"`
	Visible      *bool  `json:"visible" yaml:"visible"`
}

type AxialShading

type AxialShading struct {
	MapType    string      `json:"mapType" yaml:"mapType"`
	MapUnit    float64     `json:"mapUnit" yaml:"mapUnit"`
	Extend     int         `json:"extend" yaml:"extend"`
	StartPoint string      `json:"startPoint" yaml:"startPoint"`
	EndPoint   string      `json:"endPoint" yaml:"endPoint"`
	Segments   []ColorStop `json:"segments" yaml:"segments"`
}

type Bookmark

type Bookmark struct {
	Name string     `json:"name" yaml:"name"`
	Goto GotoAction `json:"goto" yaml:"goto"`
}

type Box

type Box struct {
	X      float64 `json:"x" yaml:"x"`
	Y      float64 `json:"y" yaml:"y"`
	Width  float64 `json:"width" yaml:"width"`
	Height float64 `json:"height" yaml:"height"`
}

type CGTransform

type CGTransform struct {
	CodePosition int   `json:"codePosition" yaml:"codePosition"`
	CodeCount    int   `json:"codeCount" yaml:"codeCount"`
	GlyphCount   int   `json:"glyphCount" yaml:"glyphCount"`
	Glyphs       []int `json:"glyphs" yaml:"glyphs"`
}

type Clip

type Clip struct {
	Areas []ClipArea `json:"areas" yaml:"areas"`
}

type ClipArea

type ClipArea struct {
	DrawParam string    `json:"drawParam" yaml:"drawParam"`
	CTM       []float64 `json:"ctm" yaml:"ctm"`
	Path      *ClipPath `json:"path" yaml:"path"`
	Text      *ClipText `json:"text" yaml:"text"`
}

type ClipPath

type ClipPath struct {
	Boundary    Box       `json:"boundary" yaml:"boundary"`
	Name        string    `json:"name" yaml:"name"`
	Visible     *bool     `json:"visible" yaml:"visible"`
	CTM         []float64 `json:"ctm" yaml:"ctm"`
	Data        string    `json:"data" yaml:"data"`
	Stroke      bool      `json:"stroke" yaml:"stroke"`
	StrokeSet   *bool     `json:"strokeSet" yaml:"strokeSet"`
	Fill        bool      `json:"fill" yaml:"fill"`
	Rule        string    `json:"rule" yaml:"rule"`
	LineWidth   float64   `json:"lineWidth" yaml:"lineWidth"`
	Cap         string    `json:"cap" yaml:"cap"`
	Join        string    `json:"join" yaml:"join"`
	MiterLimit  float64   `json:"miterLimit" yaml:"miterLimit"`
	DashOffset  float64   `json:"dashOffset" yaml:"dashOffset"`
	DashPattern []float64 `json:"dashPattern" yaml:"dashPattern"`
	Alpha       *uint8    `json:"alpha" yaml:"alpha"`
	StrokeColor *Color    `json:"strokeColor" yaml:"strokeColor"`
	FillColor   *Color    `json:"fillColor" yaml:"fillColor"`
}

type ClipText

type ClipText struct {
	Boundary      Box        `json:"boundary" yaml:"boundary"`
	CTM           []float64  `json:"ctm" yaml:"ctm"`
	Font          string     `json:"font" yaml:"font"`
	Size          float64    `json:"size" yaml:"size"`
	Value         string     `json:"value" yaml:"value"`
	TextCodes     []TextCode `json:"textCodes" yaml:"textCodes"`
	Stroke        bool       `json:"stroke" yaml:"stroke"`
	Fill          *bool      `json:"fill" yaml:"fill"`
	HScale        float64    `json:"hScale" yaml:"hScale"`
	ReadDirection int        `json:"readDirection" yaml:"readDirection"`
	CharDirection int        `json:"charDirection" yaml:"charDirection"`
	Weight        int        `json:"weight" yaml:"weight"`
	Italic        bool       `json:"italic" yaml:"italic"`
	FillColor     *Color     `json:"fillColor" yaml:"fillColor"`
	StrokeColor   *Color     `json:"strokeColor" yaml:"strokeColor"`
}

type Color

type Color struct {
	R          uint8          `json:"r" yaml:"r"`
	G          uint8          `json:"g" yaml:"g"`
	B          uint8          `json:"b" yaml:"b"`
	Components []int          `json:"components" yaml:"components"`
	ColorSpace uint64         `json:"colorSpace" yaml:"colorSpace"`
	Index      *int           `json:"index" yaml:"index"`
	Alpha      *uint8         `json:"alpha" yaml:"alpha"`
	Axial      *AxialShading  `json:"axial" yaml:"axial"`
	Radial     *RadialShading `json:"radial" yaml:"radial"`
	Gouraud    *Gouraud       `json:"gouraud" yaml:"gouraud"`
	LaGouraud  *LaGouraud     `json:"laGouraud" yaml:"laGouraud"`
	Pattern    *Pattern       `json:"pattern" yaml:"pattern"`
}

type ColorSpace

type ColorSpace struct {
	ID               uint64   `json:"id" yaml:"id"`
	Type             string   `json:"type" yaml:"type"`
	BitsPerComponent int      `json:"bitsPerComponent" yaml:"bitsPerComponent"`
	Palette          []string `json:"palette" yaml:"palette"`
	ProfileFile      string   `json:"profileFile" yaml:"profileFile"`
	ProfileBase64    string   `json:"profileBase64" yaml:"profileBase64"`
	ProfileName      string   `json:"profileName" yaml:"profileName"`
}

type ColorStop

type ColorStop struct {
	Position float64 `json:"position" yaml:"position"`
	Color    Color   `json:"color" yaml:"color"`
}

type Composite

type Composite struct {
	ID           uint64  `json:"id" yaml:"id"`
	Width        float64 `json:"width" yaml:"width"`
	Height       float64 `json:"height" yaml:"height"`
	Thumbnail    uint64  `json:"thumbnail" yaml:"thumbnail"`
	Substitution uint64  `json:"substitution" yaml:"substitution"`
	Items        []Item  `json:"items" yaml:"items"`
}

type CustomData

type CustomData struct {
	Name  string `json:"name" yaml:"name"`
	Value string `json:"value" yaml:"value"`
}

type CustomTag

type CustomTag struct {
	NameSpace    string `json:"nameSpace" yaml:"nameSpace"`
	Schema       string `json:"schema" yaml:"schema"`
	SchemaBase64 string `json:"schemaBase64" yaml:"schemaBase64"`
	SchemaName   string `json:"schemaName" yaml:"schemaName"`
	Data         string `json:"data" yaml:"data"`
	DataBase64   string `json:"dataBase64" yaml:"dataBase64"`
	DataName     string `json:"dataName" yaml:"dataName"`
}

type Document

type Document struct {
	ID             string           `json:"id" yaml:"id"`
	Title          string           `json:"title" yaml:"title"`
	Author         string           `json:"author" yaml:"author"`
	Subject        string           `json:"subject" yaml:"subject"`
	Abstract       string           `json:"abstract" yaml:"abstract"`
	Creator        string           `json:"creator" yaml:"creator"`
	CreatorVersion string           `json:"creatorVersion" yaml:"creatorVersion"`
	PageSize       PageSize         `json:"pageSize" yaml:"pageSize"`
	Actions        []Action         `json:"actions" yaml:"actions"`
	Bookmarks      []Bookmark       `json:"bookmarks" yaml:"bookmarks"`
	Attachments    []Attachment     `json:"attachments" yaml:"attachments"`
	Extensions     []Extension      `json:"extensions" yaml:"extensions"`
	Versions       []Version        `json:"versions" yaml:"versions"`
	Annotations    []AnnotationPage `json:"annotations" yaml:"annotations"`
	DocUsage       string           `json:"docUsage" yaml:"docUsage"`
	Keywords       []string         `json:"keywords" yaml:"keywords"`
	CustomData     []CustomData     `json:"customData" yaml:"customData"`
	Cover          string           `json:"cover" yaml:"cover"`
	CoverBase64    string           `json:"coverBase64" yaml:"coverBase64"`
	CoverName      string           `json:"coverName" yaml:"coverName"`
	CreationDate   string           `json:"creationDate" yaml:"creationDate"`
	ModDate        string           `json:"modDate" yaml:"modDate"`
	Area           *PageArea        `json:"area" yaml:"area"`
	DefaultCS      uint64           `json:"defaultCS" yaml:"defaultCS"`
	Preferences    *Preferences     `json:"preferences" yaml:"preferences"`
	Permissions    *Permissions     `json:"permissions" yaml:"permissions"`
	Outlines       []Outline        `json:"outlines" yaml:"outlines"`
	Signatures     []Signature      `json:"signatures" yaml:"signatures"`
}

type DrawParam

type DrawParam struct {
	Name        string    `json:"name" yaml:"name"`
	Relative    string    `json:"relative" yaml:"relative"`
	LineWidth   float64   `json:"lineWidth" yaml:"lineWidth"`
	Join        string    `json:"join" yaml:"join"`
	Cap         string    `json:"cap" yaml:"cap"`
	DashOffset  float64   `json:"dashOffset" yaml:"dashOffset"`
	DashPattern []float64 `json:"dashPattern" yaml:"dashPattern"`
	MiterLimit  float64   `json:"miterLimit" yaml:"miterLimit"`
	FillColor   *Color    `json:"fillColor" yaml:"fillColor"`
	StrokeColor *Color    `json:"strokeColor" yaml:"strokeColor"`
}

type Extension

type Extension struct {
	AppName        string              `json:"appName" yaml:"appName"`
	Company        string              `json:"company" yaml:"company"`
	AppVersion     string              `json:"appVersion" yaml:"appVersion"`
	Date           string              `json:"date" yaml:"date"`
	RefID          uint64              `json:"refId" yaml:"refId"`
	Data           string              `json:"data" yaml:"data"`
	DataXML        string              `json:"dataXml" yaml:"dataXml"`
	DataFile       string              `json:"dataFile" yaml:"dataFile"`
	DataFileBase64 string              `json:"dataFileBase64" yaml:"dataFileBase64"`
	DataName       string              `json:"dataName" yaml:"dataName"`
	Properties     []ExtensionProperty `json:"properties" yaml:"properties"`
}

type ExtensionProperty

type ExtensionProperty struct {
	Name  string `json:"name" yaml:"name"`
	Type  string `json:"type" yaml:"type"`
	Value string `json:"value" yaml:"value"`
}

type Font

type Font struct {
	Name       string `json:"name" yaml:"name"`
	FamilyName string `json:"familyName" yaml:"familyName"`
	Charset    string `json:"charset" yaml:"charset"`
	Format     string `json:"format" yaml:"format"`
	File       string `json:"file" yaml:"file"`
	DataBase64 string `json:"dataBase64" yaml:"dataBase64"`
	Italic     bool   `json:"italic" yaml:"italic"`
	Bold       bool   `json:"bold" yaml:"bold"`
	Serif      bool   `json:"serif" yaml:"serif"`
	FixedWidth bool   `json:"fixedWidth" yaml:"fixedWidth"`
}

type GotoAAction

type GotoAAction struct {
	AttachID  string `json:"attachId" yaml:"attachId"`
	NewWindow *bool  `json:"newWindow" yaml:"newWindow"`
}

type GotoAction

type GotoAction struct {
	Page     int      `json:"page" yaml:"page"`
	Type     string   `json:"type" yaml:"type"`
	Bookmark string   `json:"bookmark" yaml:"bookmark"`
	Left     *float64 `json:"left" yaml:"left"`
	Top      *float64 `json:"top" yaml:"top"`
	Right    *float64 `json:"right" yaml:"right"`
	Bottom   *float64 `json:"bottom" yaml:"bottom"`
	Zoom     *float64 `json:"zoom" yaml:"zoom"`
}

type Gouraud

type Gouraud struct {
	Extend    int            `json:"extend" yaml:"extend"`
	Points    []GouraudPoint `json:"points" yaml:"points"`
	BackColor *Color         `json:"backColor" yaml:"backColor"`
}

type GouraudPoint

type GouraudPoint struct {
	X        float64 `json:"x" yaml:"x"`
	Y        float64 `json:"y" yaml:"y"`
	EdgeFlag int     `json:"edgeFlag" yaml:"edgeFlag"`
	Color    Color   `json:"color" yaml:"color"`
}

type Image

type Image struct {
	ID         uint64 `json:"id" yaml:"id"`
	Format     string `json:"format" yaml:"format"`
	Name       string `json:"name" yaml:"name"`
	File       string `json:"file" yaml:"file"`
	DataBase64 string `json:"dataBase64" yaml:"dataBase64"`
}

type ImageBorder

type ImageBorder struct {
	LineWidth        float64   `json:"lineWidth" yaml:"lineWidth"`
	HorizontalRadius float64   `json:"horizontalRadius" yaml:"horizontalRadius"`
	VerticalRadius   float64   `json:"verticalRadius" yaml:"verticalRadius"`
	DashOffset       float64   `json:"dashOffset" yaml:"dashOffset"`
	DashPattern      []float64 `json:"dashPattern" yaml:"dashPattern"`
	Color            *Color    `json:"color" yaml:"color"`
}

type Item

type Item struct {
	Type          string        `json:"type" yaml:"type"`
	X             float64       `json:"x" yaml:"x"`
	Y             float64       `json:"y" yaml:"y"`
	Width         float64       `json:"width" yaml:"width"`
	Height        float64       `json:"height" yaml:"height"`
	Value         string        `json:"value" yaml:"value"`
	Font          string        `json:"font" yaml:"font"`
	Size          float64       `json:"size" yaml:"size"`
	Data          string        `json:"data" yaml:"data"`
	DataBase64    string        `json:"dataBase64" yaml:"dataBase64"`
	Format        string        `json:"format" yaml:"format"`
	Name          string        `json:"name" yaml:"name"`
	Visible       *bool         `json:"visible" yaml:"visible"`
	ResourceID    uint64        `json:"resourceId" yaml:"resourceId"`
	Stroke        bool          `json:"stroke" yaml:"stroke"`
	Fill          *bool         `json:"fill" yaml:"fill"`
	StrokeSet     *bool         `json:"strokeSet" yaml:"strokeSet"`
	Rule          string        `json:"rule" yaml:"rule"`
	LineWidth     float64       `json:"lineWidth" yaml:"lineWidth"`
	Cap           string        `json:"cap" yaml:"cap"`
	Join          string        `json:"join" yaml:"join"`
	MiterLimit    float64       `json:"miterLimit" yaml:"miterLimit"`
	DashOffset    float64       `json:"dashOffset" yaml:"dashOffset"`
	DashPattern   []float64     `json:"dashPattern" yaml:"dashPattern"`
	Alpha         *uint8        `json:"alpha" yaml:"alpha"`
	DrawParam     string        `json:"drawParam" yaml:"drawParam"`
	CTM           []float64     `json:"ctm" yaml:"ctm"`
	FillColor     *Color        `json:"fillColor" yaml:"fillColor"`
	StrokeColor   *Color        `json:"strokeColor" yaml:"strokeColor"`
	TextCodes     []TextCode    `json:"textCodes" yaml:"textCodes"`
	CGTransforms  []CGTransform `json:"cgTransforms" yaml:"cgTransforms"`
	Actions       []Action      `json:"actions" yaml:"actions"`
	Items         []Item        `json:"items" yaml:"items"`
	HScale        float64       `json:"hScale" yaml:"hScale"`
	ReadDirection int           `json:"readDirection" yaml:"readDirection"`
	CharDirection int           `json:"charDirection" yaml:"charDirection"`
	Weight        int           `json:"weight" yaml:"weight"`
	Italic        bool          `json:"italic" yaml:"italic"`
	Clips         []Clip        `json:"clips" yaml:"clips"`
	Substitution  uint64        `json:"substitution" yaml:"substitution"`
	ImageMask     uint64        `json:"imageMask" yaml:"imageMask"`
	Border        *ImageBorder  `json:"border" yaml:"border"`
}

type LaGouraud

type LaGouraud struct {
	VerticesPerRow int              `json:"verticesPerRow" yaml:"verticesPerRow"`
	Extend         int              `json:"extend" yaml:"extend"`
	Points         []LaGouraudPoint `json:"points" yaml:"points"`
	BackColor      *Color           `json:"backColor" yaml:"backColor"`
}

type LaGouraudPoint

type LaGouraudPoint struct {
	X     float64 `json:"x" yaml:"x"`
	Y     float64 `json:"y" yaml:"y"`
	Color Color   `json:"color" yaml:"color"`
}

type Layer

type Layer struct {
	Type      string `json:"type" yaml:"type"`
	DrawParam string `json:"drawParam" yaml:"drawParam"`
	Items     []Item `json:"items" yaml:"items"`
}

type Manifest

type Manifest struct {
	Version   int        `json:"version" yaml:"version"`
	Document  Document   `json:"document" yaml:"document"`
	Resources Resources  `json:"resources" yaml:"resources"`
	Templates []Template `json:"templates" yaml:"templates"`
	Pages     []Page     `json:"pages" yaml:"pages"`
}

Manifest 是 ofd-creator 支持的声明式输入文件。

func Load

func Load(path, format string) (Manifest, string, error)

Load 读取并解析 JSON、YAML 或 TOML manifest。

func (Manifest) Build

func (m Manifest) Build(baseDir, assetRoot string) (creator.Document, error)

Build 将 manifest 转换为 creator 文档模型,并加载资源文件。

type Media

type Media struct {
	ID         uint64 `json:"id" yaml:"id"`
	Type       string `json:"type" yaml:"type"`
	Format     string `json:"format" yaml:"format"`
	Name       string `json:"name" yaml:"name"`
	File       string `json:"file" yaml:"file"`
	DataBase64 string `json:"dataBase64" yaml:"dataBase64"`
}

type MovieAction

type MovieAction struct {
	ResourceID uint64 `json:"resourceId" yaml:"resourceId"`
	Operator   string `json:"operator" yaml:"operator"`
}

type Outline

type Outline struct {
	Title    string    `json:"title" yaml:"title"`
	Count    *int      `json:"count" yaml:"count"`
	Expanded *bool     `json:"expanded" yaml:"expanded"`
	Actions  []Action  `json:"actions" yaml:"actions"`
	Children []Outline `json:"children" yaml:"children"`
}

type Page

type Page struct {
	Templates []TemplateRef  `json:"templates" yaml:"templates"`
	Layers    []Layer        `json:"layers" yaml:"layers"`
	Items     []Item         `json:"items" yaml:"items"`
	Area      *PageArea      `json:"area" yaml:"area"`
	LayerType string         `json:"layerType" yaml:"layerType"`
	Actions   []Action       `json:"actions" yaml:"actions"`
	Resources []PageResource `json:"resources" yaml:"resources"`
}

type PageArea

type PageArea struct {
	PhysicalBox    *Box `json:"physicalBox" yaml:"physicalBox"`
	ApplicationBox *Box `json:"applicationBox" yaml:"applicationBox"`
	ContentBox     *Box `json:"contentBox" yaml:"contentBox"`
	BleedBox       *Box `json:"bleedBox" yaml:"bleedBox"`
}

type PageImage

type PageImage struct {
	ID         uint64 `json:"id" yaml:"id"`
	Format     string `json:"format" yaml:"format"`
	Name       string `json:"name" yaml:"name"`
	File       string `json:"file" yaml:"file"`
	DataBase64 string `json:"dataBase64" yaml:"dataBase64"`
}

type PageResource

type PageResource struct {
	File       string         `json:"file" yaml:"file"`
	DataBase64 string         `json:"dataBase64" yaml:"dataBase64"`
	Images     []PageImage    `json:"images" yaml:"images"`
	Files      []ResourceFile `json:"files" yaml:"files"`
}

type PageSize

type PageSize struct {
	Name   string  `json:"name" yaml:"name"`
	Width  float64 `json:"width" yaml:"width"`
	Height float64 `json:"height" yaml:"height"`
}

type Pattern

type Pattern struct {
	Width         float64   `json:"width" yaml:"width"`
	Height        float64   `json:"height" yaml:"height"`
	XStep         float64   `json:"xStep" yaml:"xStep"`
	YStep         float64   `json:"yStep" yaml:"yStep"`
	ReflectMethod string    `json:"reflectMethod" yaml:"reflectMethod"`
	RelativeTo    string    `json:"relativeTo" yaml:"relativeTo"`
	CTM           []float64 `json:"ctm" yaml:"ctm"`
	Thumbnail     uint64    `json:"thumbnail" yaml:"thumbnail"`
	Items         []Item    `json:"items" yaml:"items"`
	Layers        []Layer   `json:"layers" yaml:"layers"`
}

type Permissions

type Permissions struct {
	Edit        *bool          `json:"edit" yaml:"edit"`
	Annot       *bool          `json:"annot" yaml:"annot"`
	Export      *bool          `json:"export" yaml:"export"`
	Signature   *bool          `json:"signature" yaml:"signature"`
	Watermark   *bool          `json:"watermark" yaml:"watermark"`
	PrintScreen *bool          `json:"printScreen" yaml:"printScreen"`
	Print       *PrintSettings `json:"print" yaml:"print"`
	ValidPeriod *ValidPeriod   `json:"validPeriod" yaml:"validPeriod"`
}

type Point

type Point struct {
	X float64 `json:"x" yaml:"x"`
	Y float64 `json:"y" yaml:"y"`
}

type Preferences

type Preferences struct {
	PageMode     string   `json:"pageMode" yaml:"pageMode"`
	PageLayout   string   `json:"pageLayout" yaml:"pageLayout"`
	TabDisplay   string   `json:"tabDisplay" yaml:"tabDisplay"`
	HideToolbar  *bool    `json:"hideToolbar" yaml:"hideToolbar"`
	HideMenubar  *bool    `json:"hideMenubar" yaml:"hideMenubar"`
	HideWindowUI *bool    `json:"hideWindowUI" yaml:"hideWindowUI"`
	ZoomMode     string   `json:"zoomMode" yaml:"zoomMode"`
	Zoom         *float64 `json:"zoom" yaml:"zoom"`
}

type PrintSettings

type PrintSettings struct {
	Printable bool `json:"printable" yaml:"printable"`
	Copies    *int `json:"copies" yaml:"copies"`
}

type PublicResource

type PublicResource struct {
	Name       string         `json:"name" yaml:"name"`
	File       string         `json:"file" yaml:"file"`
	DataBase64 string         `json:"dataBase64" yaml:"dataBase64"`
	Files      []ResourceFile `json:"files" yaml:"files"`
}

type RadialShading

type RadialShading struct {
	MapType      string      `json:"mapType" yaml:"mapType"`
	MapUnit      float64     `json:"mapUnit" yaml:"mapUnit"`
	Eccentricity float64     `json:"eccentricity" yaml:"eccentricity"`
	Angle        float64     `json:"angle" yaml:"angle"`
	StartPoint   string      `json:"startPoint" yaml:"startPoint"`
	StartRadius  float64     `json:"startRadius" yaml:"startRadius"`
	EndPoint     string      `json:"endPoint" yaml:"endPoint"`
	EndRadius    float64     `json:"endRadius" yaml:"endRadius"`
	Extend       int         `json:"extend" yaml:"extend"`
	Segments     []ColorStop `json:"segments" yaml:"segments"`
}

type RegionCommand

type RegionCommand struct {
	Type           string  `json:"type" yaml:"type"`
	X              float64 `json:"x" yaml:"x"`
	Y              float64 `json:"y" yaml:"y"`
	ControlX       float64 `json:"controlX" yaml:"controlX"`
	ControlY       float64 `json:"controlY" yaml:"controlY"`
	Control1X      float64 `json:"control1X" yaml:"control1X"`
	Control1Y      float64 `json:"control1Y" yaml:"control1Y"`
	Control2X      float64 `json:"control2X" yaml:"control2X"`
	Control2Y      float64 `json:"control2Y" yaml:"control2Y"`
	SweepDirection bool    `json:"sweepDirection" yaml:"sweepDirection"`
	LargeArc       bool    `json:"largeArc" yaml:"largeArc"`
	RotationAngle  float64 `json:"rotationAngle" yaml:"rotationAngle"`
	EllipseWidth   float64 `json:"ellipseWidth" yaml:"ellipseWidth"`
	EllipseHeight  float64 `json:"ellipseHeight" yaml:"ellipseHeight"`
}

type ResourceFile

type ResourceFile struct {
	Path       string `json:"path" yaml:"path"`
	File       string `json:"file" yaml:"file"`
	DataBase64 string `json:"dataBase64" yaml:"dataBase64"`
}

type Resources

type Resources struct {
	Fonts       []Font           `json:"fonts" yaml:"fonts"`
	Images      []Image          `json:"images" yaml:"images"`
	Media       []Media          `json:"media" yaml:"media"`
	ColorSpaces []ColorSpace     `json:"colorSpaces" yaml:"colorSpaces"`
	DrawParams  []DrawParam      `json:"drawParams" yaml:"drawParams"`
	Composites  []Composite      `json:"composites" yaml:"composites"`
	Public      []PublicResource `json:"public" yaml:"public"`
	CustomTags  []CustomTag      `json:"customTags" yaml:"customTags"`
}

type Signature

type Signature struct {
	ID              string               `json:"id" yaml:"id"`
	Type            string               `json:"type" yaml:"type"`
	ProviderName    string               `json:"providerName" yaml:"providerName"`
	ProviderVersion string               `json:"providerVersion" yaml:"providerVersion"`
	Company         string               `json:"company" yaml:"company"`
	Method          string               `json:"method" yaml:"method"`
	Date            string               `json:"date" yaml:"date"`
	CheckMethod     string               `json:"checkMethod" yaml:"checkMethod"`
	References      []SignatureReference `json:"references" yaml:"references"`
	StampAnnots     []SignatureStamp     `json:"stampAnnots" yaml:"stampAnnots"`
	SealFile        string               `json:"sealFile" yaml:"sealFile"`
	SealFileBase64  string               `json:"sealFileBase64" yaml:"sealFileBase64"`
	SealName        string               `json:"sealName" yaml:"sealName"`
	SignedValue     string               `json:"signedValue" yaml:"signedValue"`
	SignedValueName string               `json:"signedValueName" yaml:"signedValueName"`
}

type SignatureReference

type SignatureReference struct {
	FileRef    string `json:"fileRef" yaml:"fileRef"`
	CheckValue string `json:"checkValue" yaml:"checkValue"`
}

type SignatureStamp

type SignatureStamp struct {
	ID       string `json:"id" yaml:"id"`
	Page     int    `json:"page" yaml:"page"`
	Boundary Box    `json:"boundary" yaml:"boundary"`
	Clip     *Box   `json:"clip" yaml:"clip"`
}

type SoundAction

type SoundAction struct {
	ResourceID  uint64 `json:"resourceId" yaml:"resourceId"`
	Volume      *int   `json:"volume" yaml:"volume"`
	Repeat      *bool  `json:"repeat" yaml:"repeat"`
	Synchronous *bool  `json:"synchronous" yaml:"synchronous"`
}

type Template

type Template struct {
	ID     uint64    `json:"id" yaml:"id"`
	Name   string    `json:"name" yaml:"name"`
	ZOrder string    `json:"zOrder" yaml:"zOrder"`
	Layers []Layer   `json:"layers" yaml:"layers"`
	Items  []Item    `json:"items" yaml:"items"`
	Area   *PageArea `json:"area" yaml:"area"`
}

type TemplateRef

type TemplateRef struct {
	ID     uint64 `json:"id" yaml:"id"`
	ZOrder string `json:"zOrder" yaml:"zOrder"`
}

type TextCode

type TextCode struct {
	Value  string    `json:"value" yaml:"value"`
	X      *float64  `json:"x" yaml:"x"`
	Y      *float64  `json:"y" yaml:"y"`
	DeltaX []float64 `json:"deltaX" yaml:"deltaX"`
	DeltaY []float64 `json:"deltaY" yaml:"deltaY"`
}

type URIAction

type URIAction struct {
	URI    string `json:"uri" yaml:"uri"`
	Base   string `json:"base" yaml:"base"`
	Target string `json:"target" yaml:"target"`
}

type ValidPeriod

type ValidPeriod struct {
	Start string `json:"start" yaml:"start"`
	End   string `json:"end" yaml:"end"`
}

type Version

type Version struct {
	ID            string        `json:"id" yaml:"id"`
	Index         int           `json:"index" yaml:"index"`
	Current       bool          `json:"current" yaml:"current"`
	Version       string        `json:"version" yaml:"version"`
	Name          string        `json:"name" yaml:"name"`
	CreationDate  string        `json:"creationDate" yaml:"creationDate"`
	DocRoot       string        `json:"docRoot" yaml:"docRoot"`
	DocRootBase64 string        `json:"docRootBase64" yaml:"docRootBase64"`
	DocRootName   string        `json:"docRootName" yaml:"docRootName"`
	Files         []VersionFile `json:"files" yaml:"files"`
}

type VersionFile

type VersionFile struct {
	ID   string `json:"id" yaml:"id"`
	Path string `json:"path" yaml:"path"`
}

Jump to

Keyboard shortcuts

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