To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=56195 Issue #:|56195 Summary:|Hidden Paragraphs Do Not Work - Only Test For Final |Record On Page And Then Apply To All Component:|Word processor Version:|680m129 Platform:|All URL:| OS/Version:|Linux Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P2 Subcomponent:|code Assigned to:|mru Reported by:|phillg
------- Additional comments from [EMAIL PROTECTED] Tue Oct 18 04:02:18 -0700 2005 ------- Hidden paragraphs do not work with more than one record to a page (i.e. labels). Pre-requiste: A db connection with three records with three fields each. Mine looks like this: Address1 Address2 Address3 text text text text null text text text text Steps to reproduce: Open a blank document and create a new text file. Drag down the fields, one per line (separated by a new paragraph) and add in a "Next Record" at the end a a hidden paragraph ( not([Address2]) or [Address2] eq "" it doesn't matter) so the document looks like this: "Record One..." Address1 [hiddenparagraph] Address2 "Print me only for record one and three" Address3 [next record] Copy and paste the above, delete the final "Next Record" and change the "One" to a "Two". Go to File and Print and perform a Form Letter. Only ask for records one and two to be printed. The output should look this: "Record One" Address1 Address3 "Record Two" Address1 Address3 The line starting Address2 for record one is hidden, even though it is not empty. It has done it correctly for record two though. Change "One" and "Two" to "Two" and "Three" respectively then go to file and print again but this time ask for records 2 and 3. The output will look like this: "Record Two" Address1 "Print me only for record one and three" Address3 "Record Three" Address1 Address2 "Print me only for record one and three" Address3 Address2 for record two is shown when it should be hidden but it is correct for record three. What seems to be happening is the hidden paragraph is only being tested for the last record on the page and then the results are being applied to all instances of it. In the first exmaple Address2 should be hidden so all Address2s on the page were hidden. In the second example Address2 should be shown so for all other Address2s it is shown. This bug basically makes hidden paragraphs useless for labels (which is probably the most common time to use hidden paragraphs) and any other multiple records to a page. Issue 36696 (hide blank lines option in labels, a la Word 97) has been fixed for 2.0.1 and this is surely a blocker for it. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]