Re: format java source code in M$ Word

From: Andrew Thompson (SeeMySites_at_www.invalid)
Date: 03/31/04


Date: Wed, 31 Mar 2004 16:33:38 GMT

On Wed, 31 Mar 2004 17:08:03 +0100, alan jeeves wrote:

> Does anyone know of an app (for Windows XP) or a website that I can use to
> get Java source code formatted and colour highlighted into M$ Word.

Why?!?
...
> * Or by it actually creating a .doc, rtf or html file

If your code is self contained and under
10Kb, the on-line compiler will format it
up for you, all pretty like.

You can save the page and do with the
output as you will. Here is an example..
<http://www.physci.org/launcher.jsp?class=/Launcher>

And here is the on-line compiler itself..
<http://www.physci.org/javac.jsp>

-- 
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology


Relevant Pages

  • Re: Run-time compilation
    ... so you're generating Java source code in a file and then invoking the ... Java compiler using the new API. ... The class file format is documented in the Java Virtual ... I used that documentation to write a compiler that ...
    (comp.lang.java.programmer)
  • Re: Run-time compilation
    ... it all could also have been compiled in memory.) ... so you're generating Java source code in a file and then invoking the ... Java compiler using the new API. ...
    (comp.lang.java.programmer)
  • Re: Is there a way to deal with line numbers in ImageJ and/or java?
    ... If you try to compile Java source code with leading line numbers, then there is something very wrong. ... The compiler complains about some error at a specific line in your code. ... The compiler is in no way complaining about the line number as such, but about an error in that line, and the compiler is so helpful to tell you where it thinks things go wrong. ...
    (comp.lang.java.programmer)
  • Re: Run-time compilation
    ... Java compiler using the new API. ... i.e. without going through Java source code as text? ... chunks of the class file format I could simply ignore.) ...
    (comp.lang.java.programmer)
  • Re: how do you start learning assembly language
    ... compiler technology for decades, and which every compiler author have ... And I have refuted your claim that monofiles are bad idea or "design lack" ... Yes, I said that if an assembler did not support linking, it ...
    (alt.lang.asm)