Skip to content

Conversation

@gdsoftdev
Copy link

@gdsoftdev gdsoftdev commented Jan 23, 2019

This adds a parameter "add_page_break_before" to function append.
It allows to force a page break before append a document to the current document

It adds an optional argument --pagebreak to the command

if add_page_break_before is true, a page break is added to the current document before append a new document
@groverab
Copy link

Is this included in docxcompose-1.0.2?

When I try to call the following:
composer.append(doc2,"True","True")

I get:
Traceback (most recent call last):
File "mergedoc.py", line 13, in
composer.append(doc2,"True","True")
TypeError: append() takes at most 3 arguments (4 given)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants