add page margin options in CREOptions
This commit is contained in:
1 parent
67816852ac
commit
94526fa26d
5 files changed
+52
-7
No files matched your search
@@ -223,6 +223,10 @@ function CreDocument:setEmbeddedStyleSheet(toggle)
|
||||
self._document:setEmbeddedStyleSheet(toggle)
|
||||
end
|
||||
|
||||
function CreDocument:setPageMargins(left, top, right, bottom)
|
||||
self._document:setPageMargins(left, top, right, bottom)
|
||||
end
|
||||
|
||||
DocumentRegistry:addProvider("txt", "application/txt", CreDocument)
|
||||
DocumentRegistry:addProvider("epub", "application/epub", CreDocument)
|
||||
DocumentRegistry:addProvider("html", "application/html", CreDocument)
|
||||
|
||||
Reference in new issue
Block a user