Re: [AbiWord] Fwd: Removing extra codes

From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Mon Nov 18 2002 - 21:53:11 EST

  • Next message: Hal Vaughan: "Re: [AbiWord] Fwd: Removing extra codes"

    If you decide to use CVS HEAD versions of AbiWord, as
    of like 30 seconds ago, we support basic Mail Merge.

    In the near future, I'll add some command-line
    features so that you can merge input from the command
    line. Also a way to "flatten" the output from the ABW
    document, optionally, removing the fields but keeping
    the field values.

    http://www.abisource.com/mailinglists/abiword-dev/02/Nov/0288.html

    Cheers,
    Dom

    --- Hal Vaughan <hal@thresholddigital.com> wrote:
    > I thought as much.
    >
    > I was just hoping there might be something that
    > could be used to detect codes
    > that where just setting things to the way they were
    > anyway.
    >
    > Thanks.
    >
    > (I did look into a Perl script -- I figured if I did
    > that, I'd do it all out
    > -- by tracking all the formatting to verify that it
    > only removed codes that
    > were, in actuality, not changing anything.)
    >
    > Hal
    >
    > On Monday 18 November 2002 08:34 pm, you wrote:
    > > On Mon, 2002-11-18 at 15:53, Mark Gilbert wrote:
    > > > -----Forwarded Message-----
    > > >
    > > > From: Hal Vaughan <hal@thresholddigital.com>
    > > > To: abiword-user@abisource.com
    > > > Subject: Removing extra codes
    > > > Date: 17 Nov 2002 23:50:06 -0500
    > > >
    > > > I'm using AbiWord in an unusual way. I use it
    > to convert .doc files from
    > > > clients into AbiWord's XML, so I can manipulate
    > the files with a short
    > > > Perl mailmerge script. (For example, I define
    > fields with markings like:
    > > > [#FirstName#], then I use the Perl script to
    > search and replace the
    > > > fields with the merge data.)
    > > >
    > > > Everything has been working perfectly until
    > recently. Now I'm finding
    > > > extraneous formatting codes that show up in the
    > middle of my merge
    > > > fields, for instance, in the sample above, I
    > might find that </c><c
    > > > {other format data}> has somehow crept in
    > between two letters in the
    > > > merge field. I figure this has happened because
    > I (or my client, working
    > > > with a Word file) accidently highlighted half
    > the word when making a
    > > > formatting change.
    > > >
    > > > These fields do not have a format change in the
    > middle of the text. Any
    > > > formatting codes that have crept in seem to be
    > repitition or restatement
    > > > of the currently valid formatting conditions.
    > > >
    > > > Is there any way I can use to remove these extra
    > codes?
    > >
    > > Ummm, how about another perl script to locate
    > those </c><c tags and
    > > remove them? :-)
    > >
    > > Seriously, if you manipulate abi's XML files files
    > directly you are on
    > > your own.
    > >
    > > Good Luck!
    > >
    > > Martin
    > >
    > > > Thanks!
    > > >
    > > > Hal
    > > > -----------------------------------------------
    > > > To unsubscribe from this list, send a message to
    > > > abiword-user-request@abisource.com with the word
    > > > unsubscribe in the message body.
    >
    > -----------------------------------------------
    > To unsubscribe from this list, send a message to
    > abiword-user-request@abisource.com with the word
    > unsubscribe in the message body.

    __________________________________________________
    Do you Yahoo!?
    Yahoo! Web Hosting - Let the expert host your site
    http://webhosting.yahoo.com
    -----------------------------------------------
    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Mon Nov 18 2002 - 21:54:37 EST