https://bugs.documentfoundation.org/show_bug.cgi?id=89297

--- Comment #8 from Cor Nouws <[email protected]> ---
This problem with first and next pages is as 'old as Methusalem' as we say in
Dutch ;)
So there will be more issues to find for this for sure. But ;)

Hi Justin!

(In reply to Justin L from comment #7)
> If I understand correctly, Word doesn't have the concept of named page
> styles.

Correct.

> Docx page styles are "dynamically" created on import and given the
> name "ConvertedX"

More precise: that Page styles are created on import of a docx file.

> In CVTemplate.odt, the "Default" page style on page1 is next:linked to the
> smallerHeader page style, so Writer automatically switches from Default to
> smallerHeader on page2 without the use of a pagebreak (somewhat similar to
> how Word automatically switches between section style info).

Word allows to set for a different header/footer on the first page of a
section. So if you insert a section break in Word, and you use that for page
settings, then you can define that.

With LibreOffice 4.0 Miklos introduced an important improvement in Writer wrt
compatibility: the possibility to do the same setting in Writer page styles.
("Same content on first page" on Header and Footer tab. That are linked by the
way, which makes sense, since Word doesn't allow to differentiate between
header/footer in this way either.

> Since Word doesn't work this way, we would need to emulate it with a section
> break or a page break.

Until the new page style setting (see my previous paragraph) the user had to
give a Insert > Manual Break with page style setting at the end of the
first/top of the second page when saving in a Microsoft format.
(I've once automated this with a macro to handle multiple docs ;) )
But with the new setting, at the creation of a document, one has the
possibility to avoid that need.
(However I find it not easy to work with the new option. In my experience it's
impossible to reliably change header/footer hight and distance after it's once
set and you've started working on the content. Should make an issue for that..)

> (Probably a page break so that we round-trip better since
> sections are awkward, but a section break would probably be better for
> flexibility in Word,

A hard page break is a ctrl+Enter.
When you set properties in that paragraph (Format Page .. Text Flow > Page
Break & Style) then it becomes a section break with the needed attributes in
the doc(x) file.
(Both a hard page and a section break give the result that the automatic text
flow to the next page is interrupted.)

So at the moment that you convert to a break with 'page attributes', it will
become a section break in Word.
Another approach might be to convert to different first and other page header
and footer. But I can't make any sensible remark on the programmatic
implications of that.

(Will attach a screen shot of the break menu in Word 2010)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to