Re: Document Garble plugin

From: Martin Sevior <>
Date: Fri Aug 07 2009 - 03:05:42 CEST

HI Marc,
           I have no objection to this being installed as new
supported plugin provided it is not enabled unless explicitly
requested. ie --enable-garble will build it but --enable-all will not.

Otherwise, sure go ahead and import it into svn.



On Fri, Aug 7, 2009 at 6:03 AM, Marc "Foddex" Oude Kotte<> wrote:
> Hi Folks,
> I've written a simple plugin for Abiword that garbles the contents of
> documents. It works on files exclusively, it doesn't do anything from
> within Abiword itself. It takes all text in each section in the abw file
> and converts all non-whitespaces characters (plus some more like
> parentheses) into random garbage. It supports UTF-8. It also garbles any
> PNG images in the document (JPG support still to be added), so logo's
> and/or any special proprietary imagery inside the documents are garbled
> as well.
> The intended use for this plugin is to make proprietary documents
> suitable for uploading into Abiword's public BugZilla. I have already
> frequently found myself in the situation where I had documents - owned
> by my employer - that caused bugs in Abiword. However, uploading the
> files to the public BugZilla wasn't an option due to their proprietary
> contents. Since it's quite a hassle to produce a document that causes
> the exact same bugs without proprietary contents, I wrote this plugin
> hoping it can help out in such situations.
> uwog already mentioned some stuff that might require alterations to the
> code:
> - it uses xmlReadFile and xmlSaveFile from libxml2, should be replaced
> with code using libgsf
> - it should be able to handle non-abw files as well, so users don't need
> to convert their files to ABW first
> I've based the plugin's build system on the AbiCommand plugin, hoping
> that this automatically handles Mac builds and non-MSVC win32 builds.
> Tested build system in Linux and MSVC 2008, works for me.
> I look forward to your comments and suggestions!
> Regards,
> Marc
Received on Fri Aug 7 03:05:54 2009

This archive was generated by hypermail 2.1.8 : Fri Aug 07 2009 - 03:05:54 CEST