Apache OpenOffice (AOO) Bugzilla – Issue 77383
Style which is not applied in the document anymore should be recognized as unused
Last modified: 2017-05-20 11:22:30 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.
Created attachment 45114 [details] File with setting of the style "Heading 1"
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.
Closed.
@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.
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.
Reset assigne to the default "issues@openoffice.apache.org".