On Thu, 10 May 2007, Graeme Geldenhuys wrote:
> On 5/10/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> >
> > I don't think that is necessary, just put it in the category "docs".
>
> Will do.
>
> > Somehow, all the ones with category "docs" get assigned to me :-)
>
> That's nice of them. :-)
>
> I haven't had time to look at the 'writer backend' of fpdoc yet, but
> off the top of your head... How difficult would it be to add a new
> output format to fpdoc?
Normally not so hard. If it's continuous text, all you need to do
is to create a descendent of a TLinearWriter (dwlinear) and
implement the various formatting routines.
All the rest (document structure) is handled by TLinearWriter.
For page-oriented output (like HTML) you must start from scratch.
I planned to create a TPageWriter similar to TLinearWriter which
would provide the structure; THTMLWriter would then be a descendent
from TPageWriter. But I didn't get around to that yet. See below why.
>
> What I would like to do is create a backend that could write to a rtf
> format to be compiled into .hlp or .chm files, or maybe directly to
> .chm or some custom (one single compressed file) help format.
I have rtf output finished, I just need to tie some loose ends.
It's a TLinearWriter descendent.
Direct PDF writing would be a great thing to have.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives