KDE

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Doxygen question: how to have XML without escaping

    2 answers - 1041 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Friday 17 March 2006 13:46, Adriaan de Groot wrote:
    Friday 17 March 2006 00:10, Frans Englich wrote:
    I wonder what tags to use in order to have HTML/XML in a C++ Doxygen
    comment, without having to manually escape it all(\>, etc).
    @verbatim / @endverbatim
    * <tt>
    Why that? It looks like you're trying to work around some (CSS) styling
    problem with HTML hackery.
    My intent was to achieve what the tt tag does: styles the content in fixed
    font. But your comment seem to suggest @verbatim already does that.
    * @verbatim
    * <?xml version="1.0" encoding="UTF-8"?>
    That asterisk is going to appear in the output. Remember, it's *really*
    verbatim, so there's also none of the usual 'leading asterisk and common
    comment markup removal' that doxygen does.
    Thanks for the tips, especially the /tmp one for how to test Doxygen.
    Cheers,
    Frans

    >Visit #unsub to unsubscribe <<
  • No.1 | | 607 bytes | |

    Sunday 19 March 2006 11:38, Frans Englich wrote:
    * * ** <tt>

    Why that? It looks like you're trying to work around some (CSS) styling
    problem with HTML hackery.

    My intent was to achieve what the tt tag does: styles the content in fixed
    font. But your comment seem to suggest @verbatim already does that.

    You get a div of a particular class and a <preelement. That ought to be
    enough to give you the styling (CSS) hooks to do what you want. For APIDX in
    KDE SVN, the styles are in kdelibs doc/common/doxygen.css -- changing those
    restyles the whole APIDX.
  • No.2 | | 887 bytes | |

    Sunday 19 March 2006 10:49, Adriaan de Groot wrote:
    Sunday 19 March 2006 11:38, Frans Englich wrote:
    * * ** <tt>

    Why that? It looks like you're trying to work around some (CSS) styling
    problem with HTML hackery.

    My intent was to achieve what the tt tag does: styles the content in
    fixed font. But your comment seem to suggest @verbatim already does that.

    You get a div of a particular class and a <preelement. That ought to be
    enough to give you the styling (CSS) hooks to do what you want.

    I'm not customizing CSS styling, I really only wanted it in fixed font(which
    the tt tag does) :) but @include as well as @verbatim does that
    automatically, so I have no need for the additional <ttor CSS styling.

    Cheers,

    Frans

    >Visit #unsub to unsubscribe <<

Re: Doxygen question: how to have XML without escaping


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "KDE"

EMSDN.COM