Issue 77383 - Style which is not applied in the document anymore should be recognized as unused
Summary: Style which is not applied in the document anymore should be recognized as un...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.2
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-15 10:03 UTC by chris_mux
Modified: 2017-05-20 11:22 UTC (History)
5 users (show)

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


Attachments
File with setting of the style "Heading 1" (7.80 KB, text/plain)
2007-05-15 10:05 UTC, chris_mux
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description chris_mux 2007-05-15 10:03:55 UTC
To reproduce the problem, do the following:
1. Open a new Writer document
2. Insert the attached file

The formatting of "Heading 1" is overwritten with the settings (font size 60pt)
of the inserted file. This is exspected behavior.

Now do the follwing:
1. Open an new Writer document
2. Set the style of the first paragraph to "Heading 1" (font size is 16.1pt)
3. Set the style of the first paragraph back to "Default". The file now looks
exactly like the one in the first example.
4. Insert the attached file

Now the formatting of "Heading 1" is not overwriten with the settings of the
inserted file, which is unexspected, because the documents of the two examples
look exactly the same. "Heading 1" still has the size 16.1pt.
Comment 1 chris_mux 2007-05-15 10:05:59 UTC
Created attachment 45114 [details]
File with setting of the style "Heading 1"
Comment 2 michael.ruess 2007-05-15 12:21:32 UTC
Only unused styles will be overwritten. It would of course not be expected if
content which is above the insertion point will be changed by inserting a file.
Comment 3 michael.ruess 2007-05-15 12:24:17 UTC
Closed.
Comment 4 chris_mux 2007-05-15 12:42:03 UTC
@mru: I think you have missed step 3 in my instructions. This sets the paragraph
back to the Default style. After this step the style Heading 1 *IS* unused (at
least from the user's perspective). But apparently OOo still treats the style as
used, despite the fact that there's no longer a paragraph formatted by it. This
is unexpected by the user and AFAICS there is no way for the user to completely
get rid of the Heading 1 style anymore. IOW, if you have assigned a style to a
paragraph by accident just a single time, even if you change this again, you
have no way to get the document into a condition, that will allow you to insert
the file without loss. 

Reopening.
Comment 5 michael.ruess 2007-05-16 09:43:11 UTC
Yeah, I really missed out that... sorry!

MRU->OS: this is an old problem. From the users perspective, the style is unused
in that moment.
Comment 6 Marcus 2017-05-20 11:22:30 UTC
Reset assigne to the default "issues@openoffice.apache.org".