Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
OpenOfficeNotes
Edit
PageHistory
Diff
Info
LikePages
!!! Installing and Setting up NewZealand English Dictionary By default, OOo comes with installed dictionaries for US English, French and Spanish. Since OpenOffice.org 3.0, dictionary support can be added via the Extension manager. Packages are available from extensions.services.openoffice.org for [New Zealand English|http://extensions.services.openoffice.org/project/dict-en-nz-2008-12-03] and [New Zealand Maori|http://extensions.services.openoffice.org/project/maori-papakupu] In 2.x versions go to <i>File → Wizards → Install new dictionary</i> to use the OOoDic Autopilot. Click on “English”, press the "Start DicOOo" button, and use the dialog to download any needed dictionaries, hyphenations, or thesauri. Users of old versions (prior to 1.1.1) can [install dictionaries manually | http://homepage.ntlworld.com/garryknight/linux/oodict.html] (a tedious and longwinded process). !!! Converting OpenDocument Text documents to plaintext [odt2txt | http://www.freewisdom.org/projects/python-markdown/odt2txt.php] is a utility for converting [OpenOffice.org] word processor documents to plaintext files. To convert a large number of documents, use the following command: <verbatim> find -name '*.odt' -print0 | xargs -r0 bash -c 'for odt in "$@"; do odt2txt.py "$odt" > "${odt%.odt}.txt"; done' -- </verbatim> !!! Installing new fonts ''Note: I don’t know how useful the following is. <tt>chkfontpath</tt> appears to be a RedHat-ism, and is possibly obsolete as well.'' —[AristotlePagaltzis] When loading, [OpenOffice.org] looks for TrueType or Type1 fonts in the following places: * In <tt>/usr/X11R6/lib/X11/fonts/Type1</tt> * In the output of the command <tt>chkfontpath</tt> * In the fontpath as returned by <tt>XGetFontPath()</tt> * In the directories listed in the EnvironmentVariable <tt>SAL_FONTPATH_PRIVATE</tt>, which is usually set to <tt>share/fonts/truetype</tt> below the installation path of [OpenOffice.org] by the <tt>soffice</tt> launcher This method to install fonts hooks into the output of <tt>chkfontpath</tt>. We’ll assume you have copied a font family called ''Foob Ar'' into <tt>/usr/share/fonts/foobar/</tt>. The following commands have to be issued as root. <verbatim> mkfontdir /usr/share/fonts/foobar chkfontpath -a /usr/share/fonts/foobar/ </verbatim> This creates a <tt>fonts.dir</tt> file in your font family directory, then adds the directory to <tt>chkfontpath</tt>’s list. Now retstart [OpenOffice.org] and your pretty new fonts should be available. You may like to change the default font under <i>Tools → Options → Text Document → Basic Fonts</i>. __See also__ the [OpenOffice.org Font FAQ | http://www.openoffice.org/FAQs/fontguide.html]. !! Using Windows fonts from a mount point To include the TrueType fonts from your MicrosoftWindows installation you need to create a font directory with SymLink~s to all the fonts on your Windows partition. Assuming the fonts are in <tt>C:\windows\fonts</tt> and the C: partition of Windows is mounted on <tt>/mnt/win_c</tt> in [Linux], you have to do the following (as root):'''' <verbatim> mkdir /usr/share/fonts/winfonts cd /mnt/win_c/windows/fonts ln -s *.ttf *.TTF /usr/share/fonts/winfonts cd /usr/share/fonts/winfonts ttmkfdir mkfontdir chkfontpath -a /usr/share/fonts/winfonts fc-cache </verbatim>
3 pages link to
OpenOfficeNotes
:
OpenOffice.org
FontNotes
UserSubmittedNotes