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

OpenOffice page break broken #499

Open
kernle32dll opened this issue Mar 16, 2015 · 3 comments
Open

OpenOffice page break broken #499

kernle32dll opened this issue Mar 16, 2015 · 3 comments

Comments

@kernle32dll
Copy link

kernle32dll commented Mar 16, 2015

Hi there,

I started working with PHPword today. Well - i noticed something strange. It seems like pagebreak settings are ignored in the ODT writer. This even appears in the samples, so...

I noticed the following strange behaviors, which don't happen in docx:

  • addTextBreak() in textruns is ignored (correctly reflected as a <br /> in html btw)
  • addText on a sections causes an page break, unless the font is given via array
  • paragraph spacing of any kind is ignored on addText (i presume this is the same issue)
  • spacing/margins on titles are ignored, too

sample_docx
sample_odt

As you can see, said problems are apparent even in the samples. Namely wrong page breaks, ignored pagebreaks, and wrong spacing.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@kernle32dll
Copy link
Author

Btw, this happens in both the 0.12 release, the current master, as well as the current develop branch.

@msphn
Copy link

msphn commented Aug 16, 2016

Same for me. I'm on dev branch due to PHP7.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 18, 2022
@Progi1984 Progi1984 removed the Stale label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants