drmacro / wordinator

Generate high-quality DOCX files using a simplified XML format (simple word processing XML).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow turn on debug output from the command line.

davet2001 opened this issue · comments

A common problem (at least for me) while trying to use wordinator is styles being ignored and dropping to the default style (Body text/Normal) for the document when converting from html to docx.

This is hard to debug - it's not clear where the problem is occurring.

I notice that baseProcessing.xsl contains lots of $doDebug statements which appear to assist debugging this.

But I can't find any way of turning them on.

Please could this be enabled from the command line or similar mechanism? E.g. a command line switch or extra option.

Even if I put in some xsl:messagetest</xsl:message> statements in baseProcessing.java, these don't seem to display anything, so I'm not sure where the problem is.