summaryrefslogtreecommitdiff
path: root/xmlWorksheet.go
diff options
context:
space:
mode:
authorstreboryaj <streboryaj@gmail.com>2019-10-15 09:26:08 -0500
committerxuri <xuri.me@gmail.com>2019-10-15 22:26:08 +0800
commit2d21b5b50f30ae9868b2f8b1f7299ceefcf87fd2 (patch)
tree301802e305b9fe92dc7dca6f17384b143d3c7e1c /xmlWorksheet.go
parentaf100372a0823e9eb6cc9caa722a64c33975cce7 (diff)
Added accessors for Getting/Setting Page Margins (#497)
* Added accessors for Getting/Setting Page Margins * Added test cases
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r--xmlWorksheet.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go
index c78d3ef..96ca235 100644
--- a/xmlWorksheet.go
+++ b/xmlWorksheet.go
@@ -801,3 +801,13 @@ type FormatHeaderFooter struct {
FirstFooter string
FirstHeader string
}
+
+// FormatPageMargins directly maps the settings of page margins
+type FormatPageMargins struct {
+ Bottom string
+ Footer string
+ Header string
+ Left string
+ Right string
+ Top string
+}