lib/caracal/renderers/document_renderer.rb in caracal-1.0.6 vs lib/caracal/renderers/document_renderer.rb in caracal-1.0.7
- old
+ new
@@ -355,11 +355,12 @@
}
end
def page_size_options
{
- 'w:w' => document.page_width,
- 'w:h' => document.page_height
+ 'w:w' => document.page_width,
+ 'w:h' => document.page_height,
+ 'w:orient' => document.page_orientation
}
end
end
end