Javadoc(HTML)문서를 doc/rtf 형식으로 만들어주는 방법?

navidad의 이미지

기존 자바코드에 javadoc문서를 생성하기 위해 comment를 붙여놓은 소스가 있습니다.

근데, 갑이 산출물로 word로 정해진 그들만의 양식으로 제출하라는군요.

HTML의 javadoc 문서가 아닌 MS 워드와 호환되는 doc or rtf 파일로 결과물이 만들어지면, 변환하는 수고가 줄지 않을까 싶은데요..

사용할만한 툴이나 방법이 있으면 자세히 알려주시면 감사하게습니다.

Google에서 검색해보니 Doclet이란게 있는거 같은데.. 처음 접하는 넘이라.. 아직 개념파악중입니다. --;

익명 사용자의 이미지

감으로는 html2doc가 분명히 있을것입니다.
음....
있긴 하군요...

navidad의 이미지

일단, JavaDoc과 비슷하게 직접 문서를 생성하는 방법을 찾고 있습니다.

쓸만한(똘똘한) 방법이 없다면 윗분이 말씀하신 방법으로 진행해야겠습니다만, 마지막 방법으로 남겨두고 싶습니다.

답변 감사합니다.

관련 조언은 언제나 환영합니다. 다른 조언도 부탁드립니다.

=================================
나비아빠

wkpark의 이미지

구글링해보니 javadoc이 xml이나 sgml을 만들 수 있는 것 같은데, xml/sgml ->pdf 은 가능하고, -> rtf도 가능한 것 같군요.

온갖 참된 삶은 만남이다 --Martin Buber

졸곰의 이미지

doxygen쓰면 되지 않나요?
C/C++만 되는지 알았는데 Java도 지원하는군요.
http://www.stack.nl/~dimitri/doxygen/
이거 쓰시면 바로 rtf, pds, latex으로 뽑으실 수 있습니다.

Running in the 90's
http://spbear.com

익명 사용자의 이미지

C/C++ 문서화에는 doxygen을 사용했었습니다.

Java 에서 doxygen을 사용하려면, 기존 Javadoc을 위해 입력한 커맨트를 모두 수정해야하는 것 아닌가요?

커맨트 수정이 부담스러워서, Javadoc에서 바로 RTF 문서를 생성하는 방법을 찾고 있었습니다.

혹시 doxygen이 Javadoc 스타일의 커맨트도 인식하나요? 한번 찾아봐야겠군요.

졸곰의 이미지

Anonymous wrote:

혹시 doxygen이 Javadoc 스타일의 커맨트도 인식하나요? 한번 찾아봐야겠군요.

Javadoc 스타일도 인식합니다.
실제로 제 경우에는 C++코드도 doxygen스타일이 안이뻐서
Javadoc 스타일로 작업하고 있습니다만
별 무리없이 잘 동작하는 것으로 기억합니다.

Running in the 90's
http://spbear.com

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.