Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dia2code(1) [debian man page]

dia2code(1)															       dia2code(1)

NAME
dia2code - Generate code from Dia files SYNOPSIS
dia2code [-t ada|c|cpp|cs|java|php|php5|python|ruby|shp|sql] [-d dir] [-nc] [-c] [-cl classlist] [-v] diagramfile [-h] [--help] DESCRIPTION
dia2code generates code from a Dia file containing a UML diagram. Output code can be: Ada, C, C++, C#, Java, PHP, PHP5, Python, Ruby, shapefiles and SQL. OPTIONS
-h --help Print help text and exit. -t ada|c|cpp|cs|java|php|php5|python|ruby|shp|sql Selects the output language, default is C++. -d dir Output generated files to <dir>, default is "." -nc Do not overwrite files that already exist. -cl classlist Generate code only for the classes specified in the comma-separated <classlist>. E.g: Base,Derived. -v Invert the class list selection. When used without -cl prevents any file from being created. -l licensefile Prepend the specified license to every source file generated. diagramfile The Dia file that holds the diagram to be read. AUTHOR
Written by Javier O'Hara <joh314@users.sourceforge.net> with contributions from Ruben Lopez <ryu@gpul.org> (C code generation), Chris McGee <sirnewton_01@yahoo.ca> (Dependencies, Associations, C++ Templates, SQL), Takashi Okamoto <toraneko@kun.ne.jp> (License inclusion mechanism), Thomas Preymesser <tp@odn.de> (Ada code generation), Jerome Slangen <jeromes@mail.be> (Wildcard class list mechanism), Takaaki Tateishi <> (Dynamic Shared Objects for dynamic code generator modules), Martin Vidner <mvidner@users.sourceforge.net> (Porting to libxml2). THANKS
Thanks to Collin Starkweather, Richard Torkar and Slush Gore for the extra help. REPORTING BUGS
Report bugs to <http://sourceforge.net/bugs/?func=addbug&group_id=15307>. COPYRIGHT
Copyright (C) 2000-2001 Javier O'Hara This is free software, and you are welcome to redistribute it under certain conditions; read the COPYING file for details. SEE ALSO
dia(1) ALSO SEE ALSO
The Dia homepage: <http://live.gnome.org/Dia> The dia2code homepage: <http://dia2code.sourceforge.net> September 2, 2001 dia2code(1)

Check Out this Related Man Page

TEXIFY(1)						      General Commands Manual							 TEXIFY(1)

NAME
texify - format code for use with LaTeX SYNOPSIS
texify<input-type> [OPTION]... DESCRIPTION
texify translates source code written in any of several different languages to latex(1) source files. The purpose is to make source code embedded in documents more readable, by providing syntax highliting. OPTIONS
-i FILE Read from FILE instead of standard input. -o FILE Write to FILE instead of standard output. -l LENGTH Limit line length to LENGTH. -t LENGTH Make a tab correspond to LENGTH spaces. Default is 6. -num INTERVAL Prefix output lines with the corresponding line number from the input, skipping INTERVAL lines between each time a prefix is added. An interval of 1 will ensure that every line is prefixed. -numsize exsize Replace the TeX code used to set the size of the line numbers. The default is footnotesize. INPUT TYPES
abel ABEL source code ada Ada source code asm Assembly code axiom AXIOM code B B source code beta BETA source code bison Bison source code c C source code c++ C++ source code idl OMG/CORBA IDL source code java Java source code lex Lex source code lisp LISP source code logla LOGLA source code matlab MATLAB script ml ML source code perl Perl source code promela Promela source code python Python source code scheme Scheme soruce code sim SIMULA source code sql SQL queries ruby Ruby source code vhdl VHDL description This manual page was written for the Debian operating system because the original program does not have a manual page. EXAMPLES
Say you want to format a Java source file. Just type: texifyjava < input.java > output.tex You can also format the output of some program without storing its output in a temporary file. If you want to format the output of a Post- greSQL database dump, just type: pg_dump foobar | texifysql > output.tex AUTHOR
This manual page was written by Morten Hustveit <morten@debian.org>. January 2003 TEXIFY(1)
Man Page