Results 1 to 5 of 5

Thread: how to mark codes properly into openoffice

  1. #1
    Join Date
    Apr 2011
    Beans
    53

    Marking codes properly into openoffice, How?

    I'm writing an article which contains different codes (html, bash, directory path, ...). How can I assign for each code type a specific view as it is possible in WYSIWYG editors? I'm especially asking for html codes which usually are shown colorful on internet)

    Ex:
    Html:
    HTML Code:
    <html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
    <body>
                 Hello World!
    </body>
    </html>
    Bash:
    Code:
    sudo apt-get install tasksel
    Path:
    /opt/firefox
    Last edited by SidebySide; May 27th, 2012 at 08:41 AM.
    Live happy

  2. #2
    Join Date
    Mar 2010
    Location
    Dublin, Ireland
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: how to mark codes properly into openoffice

    I believe the COOoder extension for OpenOffice / LibreOffice provides syntax highlighting for code. You can check it out here: http://aoo-extensions.sourceforge.ne...roject/coooder

    Hope this helps.
    Matt
    blog.mattrudge.net for extra helpings of geeky Ubuntu goodness
    Get the Ubuntu Weekly Newsletter

  3. #3
    Join Date
    Apr 2011
    Beans
    53

    Problem during insatlation of an extension for OOo

    tnx;
    the following problem (below picture) occurred when I tried to install the extension you offerd:

    My Ubuntu Version: 10.04 - 32bit
    Live happy

  4. #4
    Join Date
    Apr 2011
    Beans
    53

    Re: Marking codes properly into openoffice, How?

    Quote Originally Posted by SidebySide View Post
    How can I assign for HTML codes, typed into openoffice3.2, a specific view as it is possible in WYSIWYG editors?
    Bumping...
    Live happy

  5. #5
    Join Date
    Mar 2010
    Location
    Dublin, Ireland
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: how to mark codes properly into openoffice

    I think you have to install openoffice-dev before the extension. So open a terminal window and try:

    Code:
    sudo apt-get install openoffice-dev
    Hope this helps - and just a friendly reminder - generally it's good to wait 24-48 hours before bumping your thread.
    Matt
    blog.mattrudge.net for extra helpings of geeky Ubuntu goodness
    Get the Ubuntu Weekly Newsletter

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •