mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-09 12:55:23 +01:00
DOCX Output: Have the docx output plugin recommend page margins of 1 inch
This commit is contained in:
parent
15b12f66d9
commit
b1edf9c8b5
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Reference in a new issue