Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Variable fields are not displayed correctly when 'show' is placed on the first paragraph | ||
---|---|---|---|
Product: | Writer | Reporter: | cxmcxm <camilo> |
Component: | formatting | Assignee: | AOO issues mailing list <issues> |
Status: | CONFIRMED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | OOo 2.0 Beta | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
cxmcxm
2005-07-14 14:05:51 UTC
Reassigned to ES. Your description referes to 2 different problems. 1) a known limitation: when you insert a Show varible field at the very first paragraph of the document, the Set variable, placed in the header cannot be read. 2) "It's also possible to set variables in the body of the document, but 'show' in the header does not work, or may work only for the first instance of 'show'." Varables in a document work like variables in a program: they can only be used *after* the point they have been defined. So if you Set a variable in the body of page 1, it won't Show in header of page 1 but starting with the header of page 2. Example: -------- Header Page 1 Start ----------------- Show Foo: won't show -------- Header Page 1 Stop ----------------- Show Foo: won't show *Set Foo Show Foo: will show -------- Header Page 2 Start ----------------- Show Foo: will show -------- Header Page 2 Stop ----------------- ES->OS: can we fix 1)? Thanks for the explanation. Is there a practical workaround, for example having a 'page -1' which contains variable settings but isn't printed? What is the best way to use variables, given that they will appear in headers/footers and body? Although it's logical to have definition before exposition, would it be more useful to have properties applied to the 'set', such that the value could be effective: a) globally (which would allow use before definition) b) after 'this page' c) from 'this page' onwards depending on the choice of the author? For most of my intended use I would use (a), eg. a single global definition for a document number, issue, date, author, security classification, etc. Reset assigne to the default "issues@openoffice.apache.org". |