Re: UnixNull_Graphics??

From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Wed Jul 03 2002 - 10:10:52 EDT

  • Next message: Joaquín Cuenca Abela: "font substitution"

    HI Joaquin,
               It is used by the AbiCommand plugin which is command line
    interface to abiword. You can use it to edit abiword documents from the
    command line and as such it is easy to create script srcipt to automate
    stuff.

    to use it, install the abicommand plugin the start it with

    abiword --plugin AbiCommand

    and you're greeted with a nice user-friendly command-line prompt! Type in
    help to see the list of supported commands :-)

    The UnixNull_Graphics class is needed to build a proper set of layout
    classes.

    Cheers

    Martin

    On Wed, 3 Jul 2002, [ISO-8859-1] Joaquín Cuenca Abela wrote:

    > On Wed, 2002-07-03 at 09:23, Hubert Figuiere wrote:
    > > On Wed, 2002-07-03 at 08:41, Joaquín Cuenca Abela wrote:
    > > > Anybody knowns what's the use of UnixNull_Graphics?
    > > > It doesn't seems to do anything useful to me
    > >
    > > I think it is used for Command Line processing where you don't need to
    > > display anything but still need the class.
    > > Consider it as a placeholder :-)
    >
    > a global grep only shows that:
    >
    > ./af/xap/unix/xap_UnixApp.cpp: // hack to ensure UnixNull_Graphics is
    > linked properly
    > ./af/xap/unix/xap_UnixApp.cpp: delete(new UnixNull_Graphics(0,0));
    >
    > so I don't see how is it used in the command line processing. I will
    > expect Dom explanation :)
    >
    > Cheers,
    >
    > --
    > Joaquín Cuenca Abela
    > cuenca@pacaterie.u-psud.fr
    >
    >



    This archive was generated by hypermail 2.1.4 : Wed Jul 03 2002 - 10:15:12 EDT