Difference between revisions of "Fix Help Issues"
m (→Tweaking appearance) |
|||
(5 intermediate revisions by 4 users not shown) | |||
Line 6: | Line 6: | ||
ideally some knowledge of the build environment | ideally some knowledge of the build environment | ||
− | |||
== What you don't need == | == What you don't need == | ||
Line 13: | Line 12: | ||
Long term commitment | Long term commitment | ||
− | |||
== What you do == | == What you do == | ||
Line 26: | Line 24: | ||
We may start keeping a top 10 bug fixers list ;-) | We may start keeping a top 10 bug fixers list ;-) | ||
+ | |||
+ | == Tweaking appearance == | ||
+ | To tweak presentation of application help, modify CSS files under /opt/openoffice.org/basis3.0/help/<language>/ | ||
+ | |||
+ | There are 5 CSS files there: | ||
+ | <blockquote> | ||
+ | *default.css | ||
+ | *highcontrast1.css | ||
+ | *highcontrast2.css | ||
+ | *highcontrastblack.css | ||
+ | *highcontrastwhite.css | ||
+ | </blockquote> | ||
+ | |||
+ | Each CSS file is related to corresponding entry of 'Help formatting' in the dialog Tools | Options | OpenOffice.org | General | ||
+ | |||
+ | Source codes can be found at | ||
+ | http://documentation.openoffice.org/source/browse/documentation/helpcontent2/source/auxiliary/ | ||
+ | |||
+ | To quickly see HTML codes converted from .xhp file stored in *.jar file using a XSLT file /opt/openoffice.org/basis3.0/help/main_transform.xsl | ||
+ | <blockquote> | ||
+ | # Help | OpenOffice.org Help | ||
+ | # Browse a target page | ||
+ | # Press Ctrl-A to select all contents in the page | ||
+ | # Press Ctrl-C to copy them | ||
+ | # File | New | HTML Document | ||
+ | # Press Ctrl-V to paste the contents into HTML document | ||
+ | # View | HTML Source | ||
+ | # Name the document to be temporally saved | ||
+ | </blockquote> | ||
+ | |||
+ | Now you can see the contents of help in HTML format and determine what tag or class in the CSS file could be tweaked to fulfill your needs. | ||
+ | |||
+ | <blockquote><div> | ||
+ | === Example === | ||
+ | <blockquote><div> | ||
+ | ==== To remove underline from link ==== | ||
+ | Insert the following lines in the CSS file and restart OpenOffice.org. | ||
+ | <pre> | ||
+ | a | ||
+ | { text-decoration: none; } | ||
+ | </pre> | ||
+ | For further information on link decoration, search "css link no underline" in the Internet. | ||
+ | </div></blockquote> | ||
+ | </div></blockquote> | ||
− | [[Category:OnlineHelp]] | + | [[Category:Documentation/OnlineHelp]] |
Latest revision as of 11:21, 11 May 2009
Contents
What you need
see Submit patches, plus:
some knowledge of the XML help file format
ideally some knowledge of the build environment
What you don't need
Programming Experience
Long term commitment
What you do
Find issues and report them using IssueZilla / IssueTracker
Work in a CWS fixing the issues in the source files, this can be a CWS shared with other contributors maintained by one
What you get
A better Help containing your contribution
We may start keeping a top 10 bug fixers list ;-)
Tweaking appearance
To tweak presentation of application help, modify CSS files under /opt/openoffice.org/basis3.0/help/<language>/
There are 5 CSS files there:
- default.css
- highcontrast1.css
- highcontrast2.css
- highcontrastblack.css
- highcontrastwhite.css
Each CSS file is related to corresponding entry of 'Help formatting' in the dialog Tools | Options | OpenOffice.org | General
Source codes can be found at http://documentation.openoffice.org/source/browse/documentation/helpcontent2/source/auxiliary/
To quickly see HTML codes converted from .xhp file stored in *.jar file using a XSLT file /opt/openoffice.org/basis3.0/help/main_transform.xsl
- Help | OpenOffice.org Help
- Browse a target page
- Press Ctrl-A to select all contents in the page
- Press Ctrl-C to copy them
- File | New | HTML Document
- Press Ctrl-V to paste the contents into HTML document
- View | HTML Source
- Name the document to be temporally saved
Now you can see the contents of help in HTML format and determine what tag or class in the CSS file could be tweaked to fulfill your needs.
Example
To remove underline from link
Insert the following lines in the CSS file and restart OpenOffice.org.
a { text-decoration: none; }For further information on link decoration, search "css link no underline" in the Internet.