Issue 37246 - relative character styles don't work
Summary: relative character styles don't work
Status: ACCEPTED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 680m60
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-16 11:58 UTC by mbu
Modified: 2017-05-20 11:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mbu 2004-11-16 11:58:19 UTC
create a new character style based on another one, let the fontheight be
relative (the actual value is irrelevant), apply both styles to some text. now
change the fontheight of the original style. as a result the relative style
should also change, which is not the case.

I isolated the cause of this issue to some extent. in "SwFmt::Modify", case
RES_ATTRSET_CHG the new and old attribute-sets are getting compared to each
other. The actual work gets done in the function "Differentiate"
[svtools/itemset], which seems to catch redundant attributes from getting
propagated to the derived style. in this particular case this behavior is wrong.
In fact there are identical attributes, but one depends on the other, so it
should not get filtered out.
Comment 1 Oliver Specht 2004-11-16 13:06:16 UTC
.
Comment 2 Marcus 2017-05-20 11:20:10 UTC
Reset assigne to the default "issues@openoffice.apache.org".