fix wrong git ignore
This commit is contained in:
43
internal/pdf/cmap/primitives.go
Normal file
43
internal/pdf/cmap/primitives.go
Normal file
@@ -0,0 +1,43 @@
|
||||
package cmap
|
||||
|
||||
type cmapObject interface {
|
||||
}
|
||||
|
||||
type cmapName struct {
|
||||
Name string
|
||||
}
|
||||
|
||||
type cmapOperand struct {
|
||||
Operand string
|
||||
}
|
||||
|
||||
type cmapHexString struct {
|
||||
numBytes int // original number of bytes in the raw representation
|
||||
b []byte
|
||||
}
|
||||
|
||||
type cmapString struct {
|
||||
String string
|
||||
}
|
||||
|
||||
type cmapArray struct {
|
||||
Array []cmapObject
|
||||
}
|
||||
|
||||
type cmapDict struct {
|
||||
Dict map[string]cmapObject
|
||||
}
|
||||
|
||||
type cmapFloat struct {
|
||||
val float64
|
||||
}
|
||||
|
||||
type cmapInt struct {
|
||||
val int64
|
||||
}
|
||||
|
||||
func makeDict() cmapDict {
|
||||
d := cmapDict{}
|
||||
d.Dict = map[string]cmapObject{}
|
||||
return d
|
||||
}
|
||||
Reference in New Issue
Block a user