Skip to content

OpenOffice page break broken #499

@kernle32dll

Description

@kernle32dll

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions