Skip to content

Merge multiple word documents? #368

Description

@choldgraf

I've been playing around with this package to see if it's possible to combine multiple word documents with a simple script. It seems like it should be possible given the objects, but I can't find an intuitive way to do this.

Basically, I have a folder with .docx files like 01.docx, 02.docx, 03.docx etc. I'd just like to join these together in a single document as if I had "copy/pasted" each one in succession.

I've tried appending the paragraphs attribute of one to another, but this doesn't seem to work, and add_paragraph only accepts a string, not a Paragraph object. Any idea on the best way to accomplish this?

ps: if this works then I am eternally grateful...this is a pretty nice package for people who are writing a dissertation, but whos advisor won't let them use Latex ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions