[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2023-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

sdc.bla...@youmail.dk changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=93
   ||904

--- Comment #19 from sdc.bla...@youmail.dk ---
(In reply to jeanmarczambon from comment #12)
> A typical case is a document which first page starts with different heading
> levels (see attachment):
Or this related case (bug 93904, comment 3), where both outline level 1 and
outline level 2 headings are desired in the header for all pages.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2023-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

--- Comment #18 from sdc.bla...@youmail.dk ---
Some points of clarification:  

1. The attachment 156451 corresponds to the description in the OP. That is, a
Chapter (document) field type is inserted. (It is not a cross-reference as
discussed in comment 2, comment 6, and comment 7).

2. There is no "level" setting for a cross-reference, and cross-references
would not work in this context, because they would continue to refer to the
same heading.

3. In part, the OP seems to reflect a misunderstanding of the function of the
"level" attribute for the Chapter field type - by assuming (reasonably, but
incorrectly) that the "level" specifies the outline level of the "Chapter name"
to be displayed. (this is a documentation problem, which is being addressed,
e.g., bug 153560 comment 9).

4. The test case in attachment 156451 is focused on the first page. There may
be a bug in the actual behavior of "Chapter" field types when inserted in the
Header on the first page of a document (see bug 93904, comment 6), which could
obscure understanding/diagnosis of the problem, but even if that bug was
addressed, it would not address the main issue in the OP.

5. The main (and genuine) problem of the OP is raised in comment 5

 When a new level 2 chapname appears in middle of page, 
 it only start to show on the FOLLOWING page.

but there is a critical ambiguity here. What if two new headings with outline
level 2 appear on the same page, which one should be shown in the header?
(this point is raised in comment 10)

6.  comment 12 has some great examples (plausible use cases), which I believe
are impossible to achieve with the Chapter field type for the following two
reasons.

Two main showstoppers: 

a. It is not possible to specify very precisely (except for outline level 1)
what outline level to use for the field.

b. The Header does not "read forward" to pick up the header on the page where
it appears.  (This is also the complaint of the OP).

[side note:  The field in the Header does "read forward" if a new page starts
with a heading, whose outline level is within the "level" range specified for
the field.]

Maybe those two problems (a) and (b) should be separated into two different
tickets, if they do not exist already.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2022-08-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

Dieter  changed:

   What|Removed |Added

 Blocks||129434

--- Comment #17 from Dieter  ---
Still present in

Version: 7.4.0.3 (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=129434
[Bug 129434] [META] Writer (EDITING) Suggested bug fixes, enhancements and
features for authors.
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2020-08-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

Heiko Tietze  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #15 from Heiko Tietze  ---
(In reply to Dieter from comment #13)
> (In General it would be a great advanteage if there would be the basic rule,
> that LO is in lne with at least one of the well know style guides. Has that
> ever been discussed, Heiko?)

We always discuss changes based on standards like the CMoS. Ideally we have
several standards and the user can switch between CMoS, APA, IEEE...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2020-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

Thomas Lendo  changed:

   What|Removed |Added

 Blocks||107905
   Hardware|x86-64 (AMD64)  |All
 OS|Windows (All)   |All
 CC||thomas.le...@gmail.com

--- Comment #14 from Thomas Lendo  ---
+1 for this request.

I doubt that this is the first bug report.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107905
[Bug 107905] [META] Cross-references bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2020-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

Dieter  changed:

   What|Removed |Added

 Blocks||48741

--- Comment #13 from Dieter  ---
I revised my opinion and support the enhancement request. I had a look at CMOS
(Chicago Manual of Style 17th Edition) and there you can find, that always the
first heading of a page is header.

(In General it would be a great advanteage if there would be the basic rule,
that LO is in lne with at least one of the well know style guides. Has that
ever been discussed, Heiko?)


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=48741
[Bug 48741] [META] Writer's page header and footer issues
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2020-08-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

Dieter  changed:

   What|Removed |Added

 Status|REOPENED|UNCONFIRMED
 Ever confirmed|1   |0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2020-07-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

jeanmarczam...@gmail.com changed:

   What|Removed |Added

 CC||jeanmarczam...@gmail.com

--- Comment #12 from jeanmarczam...@gmail.com ---
Created attachment 163379
  --> https://bugs.documentfoundation.org/attachment.cgi?id=163379=edit
Inconsistent "current" level-2 heading on a first page.

Hi everyone,

I'm facing the same problem, and I would like to give some pro arguments to the
"first-heading-in-page" paradigm (as written in official documention:
https://wiki.openoffice.org/wiki/Documentation/OOo3_User_Guides/Writer_Guide/Using_fields_in_headers_and_footers),
against the "first-text-node-heading" paradigm (the actual implementation, best
described by Kartik Subbarao:
https://bugs.documentfoundation.org/show_bug.cgi?id=81012#c6).


1. The first page problem
-
A typical case is a document which first page starts with different heading
levels (see attachment):

   1. Level 1
   1.1. Level 2
   1.1.1. Level 3
   [text]

The "current" level 2 heading is naturally "Level 2", but the header field will
show "Level 1" as it is the first paragraph of the page.
The "first-heading-in-page" paradigm would have set "Level 2", as expected.


2. Dictionary comparison

The best real world example I can think of, regarding level-2 field in header,
is the dictionary habit of referencing first and last entries in a page at the
top of that page.
First entry in header is always the first one in the page, even if this entry
is not the first text of that page (i.e. when a page starts with the end of the
previous definition).


3. This enhancement was once accepted
-
This is a very old request (https://bz.apache.org/ooo/show_bug.cgi?id=16211),
which was immediately accepted by the OOo team but that no one ever took
charge.


Hoping that this can (calmly :)) reopen the debate...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2020-01-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

Heiko Tietze  changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |heiko.tietze@documentfounda
   |.freedesktop.org|tion.org
   Keywords|needsUXEval |

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2020-01-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

--- Comment #11 from Miklos Vajna  ---
Writer has a chapter field, I think that's a subset of what Word's STYLEREF can
do. See e.g. bug 104334 for details.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2020-01-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

Heiko Tietze  changed:

   What|Removed |Added

 CC||vmik...@collabora.com

--- Comment #10 from Heiko Tietze  ---
Chapter is documented as "the number of the chapter where the referenced target
is located.", see [1]. And the ODF defines "If this element is placed inside a
header or footer, it displays the current chapter name or number on every
page." [2]

[1] https://wiki.documentfoundation.org/images/b/bc/WG6017-Fields.pdf
[2]
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415316_253892949

My understanding of "current" is the same as Dieter's - the chapter to what the
first paragraph belongs is taken into the variable.

If you expect some other procedure you would have to answer the question when
the header takes what is on the page. You may have 50% of the text in mind but
consider also more than one heading on the same page. And other users probably
expect the current behavior. I don't see a solution for your workflow.

Last but not least I opened the document with MSO 2016 where all headers show
"header22". Probably Word cannot deal with this type of variable
(cross-reference has nothing like chapter). But maybe we have a roundtrip
problem. Miklos, what do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2019-12-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

Dieter Praas  changed:

   What|Removed |Added

 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org
   Keywords||needsUXEval

--- Comment #9 from Dieter Praas  ---
Vinent, I don't like the insinuation in your comment. If I do something for LO,
I do tis in my free time and unpaid. No further coment from my side

cc: Design Team for further input

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2019-12-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

VincentYu  changed:

   What|Removed |Added

 Resolution|NOTABUG |---
 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1

--- Comment #8 from VincentYu  ---
There are plenty of documents/books(published ones) that show/want to show the
first new section on a page in the header. I don't think the documentation is
wrong. You are just imposing what you think is the only reasonable choice on
the user. At least there should be some flexibility here.
Is there an alternate way to achieve what's stated in the documentation? liking
using a custom variable?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2019-12-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

Dieter Praas  changed:

   What|Removed |Added

 Resolution|--- |NOTABUG
 CC||dgp-m...@gmx.de
 Status|UNCONFIRMED |RESOLVED

--- Comment #7 from Dieter Praas  ---
I confirm, that LO (In reply to VincentYu from comment #6)
> According to writer 6.0 guide page 382
> Note A cross-reference field in the header of a page picks up the first 
> heading
> of that level on the page, and a field in the footer picks up the last
> heading of that level on the page.
> 
> Writer 6.2.8.2 release behaves differently.

I think documentation is not correct enough here. The first line of page 2 of
your document belongs to chapter "Heading21". So Cross-reference in header is
"Heading21". If you delete the first line, cross-referece will change to
"Heading22". So for me everything works as expected, but documentation should
be more precise.

=> NOTABUG

Please feel free to change it back to UNCONFIRMRED with a short reasoning, if
you don't agree.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2019-12-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

--- Comment #6 from VincentYu  ---
(In reply to AndrewS from comment #4)
> Hi Vincent,
> 
> I can't completely understand what you are trying to do. No probs, lets see
> how we go!
> 
> your message; I will add in between the lines with indent
> 
> Steps to Reproduce:
> 1.enter 3 lines of text
> OK i did this
> 2.turn 2nd line into heading level 2 using styles->heading 2
> also this
> 3.add heading, insert->fields->more->document->chapter format->chapter name
> level->2
> this i don't understand, where are you adding the heading
> 
> You have just turned the second line into a heading, then you want to add a
> heading What!!! I did follow your instructions and agree the app should
> have indicated an incorrect operation, it didn't.
> 
> I do agree there is some issue.
> try and be really exact with your details, it really helps
> 
> Best wishes
> AndrewS
It's about inserting a field into the header of a document which appears on the
top of each page of that document. The field I talked about is the
Document/Chapter/name field, at level 2. According to writer 6.0 guide page 382
Note
A cross-reference field in the header of a page picks up the first heading of
that level on the page, and a field in the footer picks up the last heading of
that level on the page.

Writer 6.2.8.2 release behaves differently.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2019-12-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

--- Comment #5 from VincentYu  ---
It's about showing level 2 chapname on heading when chapname changes on
following pages. When a new level 2 chapname appears in middle of page, it only
start to show on the FOLLOWING page. It should showup in header of CURRENT page
according to the guide. Pls see my attached file for details. It has 3 pages.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2019-12-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

--- Comment #4 from AndrewS  ---
Hi Vincent,

I can't completely understand what you are trying to do. No probs, lets see how
we go!

your message; I will add in between the lines with indent

Steps to Reproduce:
1.enter 3 lines of text
OK i did this
2.turn 2nd line into heading level 2 using styles->heading 2
also this
3.add heading, insert->fields->more->document->chapter format->chapter name
level->2
this i don't understand, where are you adding the heading

You have just turned the second line into a heading, then you want to add a
heading What!!! I did follow your instructions and agree the app should
have indicated an incorrect operation, it didn't.

I do agree there is some issue.
try and be really exact with your details, it really helps

Best wishes
AndrewS

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2019-12-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

--- Comment #3 from VincentYu  ---
Version: 6.2.8.2 (x64)
Build ID: f82ddfca21ebc1e222a662a32b25c0c9d20169ee
CPU threads: 2; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2019-12-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

--- Comment #2 from VincentYu  ---
On Writer 6.0 guide page 382:
Note
A cross-reference field in the header of a page picks up the first heading of
that level on the page, and a field in the footer picks up the last heading of
that level on the page.

Writer 6.2.8.2 release behaves differently.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

2019-12-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=129302

--- Comment #1 from VincentYu  ---
Created attachment 156451
  --> https://bugs.documentfoundation.org/attachment.cgi?id=156451=edit
3 pages with 1 heading1 and 2 heading2's and header

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs