summaryrefslogtreecommitdiff
path: root/xmlDrawing.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r--xmlDrawing.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/xmlDrawing.go b/xmlDrawing.go
index 1b80975..f4b0f02 100644
--- a/xmlDrawing.go
+++ b/xmlDrawing.go
@@ -187,3 +187,14 @@ type xlsxWsDr struct {
type encodeWsDr struct {
WsDr xlsxWsDr `xml:"xdr:wsDr"`
}
+
+// xlsxFormatPicture directly maps the format settings of the picture.
+type xlsxFormatPicture struct {
+ FPrintsWithSheet bool `json:"print_obj"`
+ FLocksWithSheet bool `json:"locked"`
+ NoChangeAspect bool `json:"lock_aspect_ratio"`
+ OffsetX int `json:"x_offset"`
+ OffsetY int `json:"y_offset"`
+ XScale float64 `json:"x_scale"`
+ YScale float64 `json:"y_scale"`
+}