Re: Abiword in Evolution. (fwd)

From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Thu May 02 2002 - 00:12:35 EDT

  • Next message: Tomas Frydrych: "32-bit UT_UCSChar (2)"

     --- Martin Sevior
    <msevior@mccubbin.ph.unimelb.edu.au> wrote: >
    >
    > ---------- Forwarded message ----------
    > Date: Thu, 2 May 2002 13:13:43 +1000 (EST)
    > From: Martin Sevior
    > <msevior@mccubbin.ph.unimelb.edu.au>
    > To: gnome-office-list@gnome.org,
    > evolution-hackers@ximian.com
    > Subject: Abiword in Evolution.
    >
    >
    > Hi Folks,
    > Well after some major hacks to evolution I
    > succeded in
    > embedding abiword in evolution.
    >
    > See screenshot at:
    >
    >
    http://www.ph.unimelb.edu.au/~msevior/abiword/evolution-abi.png
    >
    > However the abiword widget/control objects violently
    > when asked to draw
    > onto pixels that haven't been mapped. The hack to
    > make this proof of
    > principle screen shot was to put the relevant
    > loading/drawing controls for
    > the abiword widget into an idle function in the
    > mail-display.c function in
    > evolution.
    >
    >
    > The real solution will be to make the abiword widget
    > delay loading/drawing
    > until it has been mapped. I'll put some in code in
    > to do this next. If
    > this all the works, embedding abiword in evolution
    > should "Just
    > Work" with no modification of evolution at all.
    >
    > However, evolution will draw scrollbars outside the
    > abiword control widget
    > which has it's own scroll bars. I think that this is
    > the wrong thing for
    > evolution to do. A Word Processing document can
    > easily be greater than
    > the maximum height of a gtk widget (around 32,000
    > pixels). It would be
    > better if the evolution did not put scroll bars
    > around the abiword widget
    > and just let abiword use it's own scrolling system
    > which can handle this.
    >
    > Would you guys be willing to accept a patch that
    > detects the presence
    > of an abiwidget control and not put in scroll bars?
    >
    > Anyway, thanks for your help. More improvements to
    > follow :-)

    Wow this is really cool. I've just been thinking
    about using AbiWord in an email context though.
    We don't usually want to write emails in .abw format
    right - we all hate Word, HTML and rich text emails.
    The AbiWidget needs a method to set its default file
    format which in this case should be Plain Text.
    It is possible to write emails in lots of text
    encodings for emails and there are standards for this
    that I bet Evolution supports. So it might even be
    good to be able to save as Encoded Text and set the
    encoding from the AbiWidget.

    Another 2 cents worth of Andrew's i18n ramblings (:

    Andrew Dunbar.

    =====
    http://linguaphile.sourceforge.net http://www.abisource.com

    __________________________________________________
    Do You Yahoo!?
    Everything you'll ever need on one web page
    from News and Sport to Email and Music Charts
    http://uk.my.yahoo.com



    This archive was generated by hypermail 2.1.4 : Thu May 02 2002 - 00:15:13 EDT