Apache OpenOffice (AOO) Bugzilla – Issue 95765
When creating html documents the generated html does not correctly reference the class in the generated style.css file.
Last modified: 2019-10-12 17:12:06 UTC
When creating html documents the generated html does not correctly reference the class in the generated style.css file. open a document with OO-writer (any document)... click on File:Wizards:Web Page Follow the prompts, fill out the 'forms' and check marks...and publish to local file-system. The generated .html file does not correctly reference the CSS class in the default style.css generated file. Open the generated html file in a text editor and find this call to the style.css: [<span class="doclastchangedate">Created: Nov 1, 2008</span>] (square brackets for clarity) Open the generated [style.css] file and found this class: [.doclastchangeddate {font-family: Arial, Helvetica, sans-serif;font-size: 12px; color: #990000;}] (square brackets for clarity) After looking more deeply I found the sources for the .css in /usr/lib/openoffice/share/config/wizard/web/styles/ they all reference "doclastchangeddate". Then I found these two files: /usr/lib/openoffice/share/config/wizard/web/layouts/layout.xsl /usr/lib/openoffice/share/config/wizard/web/layouts/layoutX.xsl that refer to "doclastchangedate". Then I found the source for the latter two files: http://installation.openoffice.org/source/browse/*checkout*/installation/extras/source/misc_config/wizard/web/layouts/layout.xsl?content-type=text%2Fplain&rev=1.4 http://installation.openoffice.org/source/browse/*checkout*/installation/extras/source/misc_config/wizard/web/layouts/layoutX.xsl?content-type=text%2Fplain&rev=1.4 I am not sure if these two files should be changed or if all the "style" files should be changed. I chose the 'Found in version' because that is what I am using currently. Thanks for all you do for OO.
Created attachment 57656 [details] diff
Created attachment 57657 [details] diff
After review on irc channel it was requested to reassign this to "installation". If I need to do something else to properly follow through please let me know. Thanks.
Did not originally assign to issues@instaltion.
reassigned
Reassigned to ES
Thank you for your submission! Unfortunately, we have no ressource available to fix or improve the HTML component, so that we only can fix crashes and huge regressions. Thank you for your comprehension.
Closed
The code still exists that has the error. The two files I mentioned are still in the source for the current version(OOO300m9). They still have the error. If I change the "Found in version can we re-open the issue? Or would we still be of the position "We have no resource available to fix or improve the HTML component" ? see the CVS tags here: http://installation.openoffice.org/source/browse/installation/extras/source/misc_config/wizard/web/layouts/layout.xsl?hideattic=1&rev=1.4&view=log and here: http://installation.openoffice.org/source/browse/installation/extras/source/misc_config/wizard/web/layouts/layoutX.xsl?hideattic=1&rev=1.4&view=log I will change the "Found in version" tag on this issue if that will allow a re-open and fix to be placed. I have new diff's to attach since I obtained the latest source. Thanks for all you do for OOo.
Sorry for the misunderstanding. Forwarding.
@MBA: Please have a look.
Volker, is that (Web Wizard) your playground?
VA->IH: Could you please have a look? Maybe you have to forward this issue to MAV(?).
mav, you inherited that wizard from bc, am I right? Please take care of this issue. Thanks.
*TESTED* Email the dev list for implementation of patches: http://markmail.org/thread/23mkqmb5crhkl6pu
I can verify the same issue under those files it misses an extra "d" .
"pescetti" committed SVN revision 1530012 into trunk: #i95765# Fix CSS classes in Web Page Wizard.
Fixed in trunk for the future version 4.1.0, due in 2014 motohoss: thank you for the patch and if you submit other patches we'll make sure to be faster in integrating them.
Verified in AOO 4.2.0 on Windows 7 and on Ubuntu 14.04. First created basic web page. <html> <head> <title>Test Title> </head> <body> Test Body </body> </html> Followed steps above. Note during those steps you have to make sure to check "Last change date" in the web wizard. The index.html and style.css both correctly reference doclastchangeddate.