You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/10/07 05:44:16 UTC

[Issue 126526] Loaded styles not present on file re-open

https://bz.apache.org/ooo/show_bug.cgi?id=126526

Oz Wasserman <ow...@my.fit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |owasserman2012@my.fit.edu

--- Comment #1 from Oz Wasserman <ow...@my.fit.edu> ---
Created attachment 85022
  --> https://bz.apache.org/ooo/attachment.cgi?id=85022&action=edit
Document from template in .doc format

Could replicate this issue under this specific configuration:

OS: Windows 7 Enterprise SP1, 64-bit
Version: Open Office 4.1.1[AOO411m6(Build:9775), Rev. 1617669]
Templates: Press release 1, created by Sun microsystems
Notepad, created by Sun microsystems

Steps of replication:

1. Created new document
2. Navigated to File->templates->organize
3. Selected the folder “My Templates” and clicked the command button on the
right side of the screen
4. Selected the “Import template” option
5. uploaded both of the templates to the directory
6. Closed the template management screen
7. Navigated to Format->Styles and Formatting
8. Clicked the right upper button and picked the Load styles option
9. selected “My templates” from the Categories window
10. Selected the Press release 1 template
11. Checked all the options at the bottom of the screen (Text, Frame, pages,
Numbering, Overwrite)
12. Clicked OK and the template style was loaded to the page
13. Navigated to File-> Save as.. And saved it as a Microsoft Word 97/2000/XP
(.doc) format
14. Closed the file
15. reopened the file and the styles disappeared from the document

Repeated all steps for the Notepad template (in step 10 I picked Notepad
instead of press release 1) and have gotten the same results. I have also
attached both the press release 1 template and the document after adjusting the
styles, to show the difference.

Could also replicate the minor case with changing the background to yellow.

Steps of replication:
1. Created new document
2. Navigated to Format->Page
3. Selected the Page tab and changed the Format to Letter
4. Selected the Background tab and changed the background to Yellow10
5. Closed the window
6. Navigated to File-> Save as.. And saved it as a Microsoft Word 97/2000/XP
(.doc) format
7. Closed the file
8. reopened the file and the background was white instead of the Yellow10 color



Even though this issue is reproducible, there was a comment that was prompted
while tried to save the files:
“This document may contain formatting or content that cannot be saved in the
Microsoft Word 97/2000/XP file format. Do you want to save the comment in this
format anyway? Use the latest ODF file format and be sure all formatting and
content is saved correctly”. This comment was followed by a selection of “Keep
Current Format” or “Save in ODF format”. This message explicitly said that
there might be a problem with the formatting in this specific format.

This seems to be a design issue rather than a specific coding error. When tried
to save it in .ODF file (and go over the reproduce steps), styles were loaded
back correctly in both templates when tried to re-open it. In addition, in the
version tested for this issue (4.1.1), there was no option for saving the file
in .docx, and the only possibility was to use the older word format. Here are a
few issues that might address this problem explicitly:

•There are no further details on template format support on the open office
wiki and developer documentation. The only information that is presented is the
actual templates repository. Even under file formats, there is only a table
specifying the actual formats, but not their output support
•As for September 2015, Wikipedia states that according to Net Application
firm, the market share for operating systems still includes 12.21% Windows XP
machines in use. Furthermore, Wikipedia also indicates that windows XP without
any service packs can only run office versions up to 2003, and up to 2010 with
service packs. Thus, XP machines with service packs can also open .docx
extensions, yet with this open office issue, the .docx seems not supported for
template styles as well. The distribution of XP can show that the users who
still use the .doc format and want to use templates under this format, can only
do so with open office, but not with Microsoft office and any other products
•Microsoft office also suggests a verity of templates that support .doc and
.docx formats, as well as .odt format (according to office documentation). If
the .doc format cannot be used to in open office for saving templates, one
might decide to work with the Microsoft templates that functions under these
formats instead
•There are similar bug references here 
https://bz.apache.org/ooo/show_bug.cgi?id=94503
Same problem with templates style, yet the format is .rtf and not .doc

https://bz.apache.org/ooo/show_bug.cgi?id=96307
Problem loading exported file from writer in .doc format. The file exported was
from an open office template

Both issues were claimed to be replicated by several people that were
commenting


Yet, according to the message prompt to the user in open office, it is
suggested to work with .odt formats rather than .doc formats for now.

-- 
You are receiving this mail because:
You are the assignee for the issue.