File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,24 @@ request to the web service and you will get back the composed document. Example
5151 $ curl -F " first=@first.docx" -F " second=@second.docx" -o composed.docx http://localhost:8080/
5252
5353
54+ Options
55+ -------
56+
57+ Preserving styles
58+ ~~~~~~~~~~~~~~~~~
59+
60+ By default docxcompose tries to apply styles from the first document to the
61+ appended documents. This should ensure a consistent appearance throughout the
62+ composed document.
63+
64+ With the ``preserve-styles `` option, it's possible to change this behavior to
65+ keep the styles of the appended documents.
66+
67+ The option can be given through the command line (``--preserve-styles ``),
68+ via the web service url using an url parameter (``preserve_styles=1 ``) or using
69+ Python ``Composer(preserve_styles=True) ``.
70+
71+
5472Installation for development
5573----------------------------
5674
You can’t perform that action at this time.
0 commit comments