Issue 77421 - RPT: Field Alignment not respected if Conditional Format matches
Summary: RPT: Field Alignment not respected if Conditional Format matches
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: recent-trunk
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 11:39 UTC by Frank Schönheit
Modified: 2008-03-15 01:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
document to reproduce the bug case (225.47 KB, application/vnd.sun.xml.base)
2007-05-16 11:40 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2007-05-16 11:39:12 UTC
- open the attached database document
- open the report "countries, tabular" for editing
- execute the report
=> in the column "Population", all numbers smaller (or equal) to 10.000.000 are
   right-aligned, while all numbers greater 10.000.000 are left-aligned.
   Expected result is that all numbers are right-aligned.

Explanation of the report setup: The control which is bound to the "Population"
column is set up to be right-aligned ("Alignment" = "Right" in the property
browser). Additionally, this control has a conditional format associated with
it: "Field Value Is" "greater than" "10000000". So the expected result is that
all values are right-aligned (because of the basic formatting), and those values
which are greater 10.000.000 are *additionally* bold. However, it seems that as
soon as the conditional format's criterion is met, the original format is
completely ignored.
Comment 1 Frank Schönheit 2007-05-16 11:40:45 UTC
Created attachment 45136 [details]
document to reproduce the bug case
Comment 2 Frank Schönheit 2007-05-22 13:00:14 UTC
The Report Designer iTeam decided that this issue is a show stopper for the
release of the report designer. Targeting to 2.3, thus.
Comment 3 ocke.janssen 2007-05-24 09:27:32 UTC
.
Comment 4 ocke.janssen 2007-05-24 11:48:26 UTC
Character dialog now has an extra tab page for alignment and the format which is
already set at the formatted field will be copied to the condition so that the
user only has to change the properties which differ from the original one.
Comment 5 ocke.janssen 2007-06-01 09:47:40 UTC
Please check. Thanks. You have to change the alignment of the conditional format.
Comment 6 marc.neumann 2007-06-12 09:04:13 UTC
verified in CWS oj14 version 0.4.0

With the bugdoc document this issue seams not fixed, but the format is set to
left and right. -> look into the content.xml

With a new document everythings is OK.
Comment 7 drewjensen.inbox 2008-03-15 01:40:57 UTC
Tested w/ OOo 2.4 m_11, Kubuntu 7.1 64bit, SRB 1.0.2

Just opening the database under the new SRB will not fix the problem, but
actually setting the conditional formatting to be right aligned again fixes it
and it is now retained after being saved.

Closing