mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
DOCX Output: Have the docx output plugin recommend page margins of 1 inch
This commit is contained in:
parent
15b12f66d9
commit
b1edf9c8b5
@ -34,6 +34,13 @@ class DOCXOutput(OutputFormatPlugin):
|
||||
'deleted, so be careful.') % 'DOCX'),
|
||||
}
|
||||
|
||||
recommendations = {
|
||||
('margin_left', 72.0, OptionRecommendation.MED),
|
||||
('margin_right', 72.0, OptionRecommendation.MED),
|
||||
('margin_top', 72.0, OptionRecommendation.MED),
|
||||
('margin_bottom', 72.0, OptionRecommendation.MED),
|
||||
}
|
||||
|
||||
def convert_metadata(self, oeb):
|
||||
from lxml import etree
|
||||
from calibre.ebooks.oeb.base import OPF, OPF2_NS
|
||||
|
Loading…
x
Reference in New Issue
Block a user