Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

page break support #17

Open
plutext opened this issue Nov 28, 2014 · 6 comments
Open

page break support #17

plutext opened this issue Nov 28, 2014 · 6 comments

Comments

@plutext
Copy link
Owner

plutext commented Nov 28, 2014

a div '

' in the XHTML should be treated as a page break.

@laszlocseko
Copy link

Hi,

I am using docx4j to convert xhtml to docx.
I needed page-break support, so have implemented a basic support for it (only supports page-break-before:always and page-break-after:always).
What is the way for sharing it with you? Should I send a patch file?

Cheers,
László

@plutext
Copy link
Owner Author

plutext commented Apr 21, 2017

best to send a pull request please

@chanjarster
Copy link

@laszlocseko I'm glad to know you have implemented page-break support. When would you like to pull request? I need page-break support too. Thank you very much.

@csekol
Copy link

csekol commented Oct 9, 2017

@chanjarster I have already created a pull request for it.
@plutext Could you please review and merge it if it is ok?
here is the pull request: #30
BR,
László

@ncjelu
Copy link

ncjelu commented Nov 26, 2019

Hi,

We are currently working with Docx4J-ImportXHTML on a project, and we would really appreciate having this feature! Would it be possible to merge it and get it into a release soon?

@ghost
Copy link

ghost commented Feb 20, 2020

I managed to add page break by defining a CSS class and then applying it to a p like

<style>
        .page-break {
            page-break-before: always;
        }
.
.
.
</style>
<p class="page-break">Lorem Ipsum is simply dummy text of the printing and typesetting industry....</p>

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

No branches or pull requests

5 participants