1*cdf0e10cSrcweir Command Line Options 2*cdf0e10cSrcweir -------------------- 3*cdf0e10cSrcweir 4*cdf0e10cSrcweirautodoc [-v <level>] 5*cdf0e10cSrcweir -html <out> 6*cdf0e10cSrcweir [-extroot <externroot> -extnsp <externnamespace>] 7*cdf0e10cSrcweir -lg <proglang> 8*cdf0e10cSrcweir [-t <sourcetree>[ <sourcetree> ...] 9*cdf0e10cSrcweir [-d <sourcedir>[ <sourcedir> ...] 10*cdf0e10cSrcweir [-f <sourcefile>[ <sourcefile> ...] 11*cdf0e10cSrcweir 12*cdf0e10cSrcweir 13*cdf0e10cSrcweir -html <OutputDirectory> 14*cdf0e10cSrcweir Directory where the output will be created. 15*cdf0e10cSrcweir 16*cdf0e10cSrcweir -lg <ProgrammingLanguage> 17*cdf0e10cSrcweir Allowed values: "c++" or "idl" 18*cdf0e10cSrcweir 19*cdf0e10cSrcweir -extroot <externroot> 20*cdf0e10cSrcweir Only together with "-lg idl" and -extnsp. 21*cdf0e10cSrcweir Links to code entities not found within the current parsed 22*cdf0e10cSrcweir code, will be linked there, but only if -extnsp is given and 23*cdf0e10cSrcweir the linked entity is in the given namespace. 24*cdf0e10cSrcweir <externroot> is a http link, it needs no "http://" at the 25*cdf0e10cSrcweir beginning nor slash at the end. 26*cdf0e10cSrcweir 27*cdf0e10cSrcweir -extnsp <externnamespace> 28*cdf0e10cSrcweir Only together with "-lg idl" and -extroot. 29*cdf0e10cSrcweir If a code entity is not found in the current parsed code, but 30*cdf0e10cSrcweir dwells in the namespace (or its children) given here, it is 31*cdf0e10cSrcweir linked into the loc�tion given by -extroot. 32*cdf0e10cSrcweir <externnamespace> is an absolute qualified namespace, 33*cdf0e10cSrcweir starting with "::". 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir -t <SourceTree>* 36*cdf0e10cSrcweir Directory with all subdirectories. 37*cdf0e10cSrcweir 38*cdf0e10cSrcweir -d <SourceDirectory>* 39*cdf0e10cSrcweir Directory without subdirectories. 40*cdf0e10cSrcweir 41*cdf0e10cSrcweir -f <SourceFile>* 42*cdf0e10cSrcweir Any file. Here also files with extensions not matching the 43*cdf0e10cSrcweir language are accepted. 44*cdf0e10cSrcweir 45*cdf0e10cSrcweir -I:<ResponseFile> 46*cdf0e10cSrcweir Each line in the response file has to have one command line 47*cdf0e10cSrcweir option. No whitespace at start of line. 48*cdf0e10cSrcweir 49*cdf0e10cSrcweir -C:<ConfigurationFile> 50*cdf0e10cSrcweir Format see below. 51*cdf0e10cSrcweir 52*cdf0e10cSrcweir -v <VerboseLevel> 53*cdf0e10cSrcweir Only for debugging. Bits 1, 2 and 4 in any combination give 54*cdf0e10cSrcweir different output. 55*cdf0e10cSrcweir 56*cdf0e10cSrcweir -h 57*cdf0e10cSrcweir Displays help. 58*cdf0e10cSrcweir -? 59*cdf0e10cSrcweir Displays help. 60*cdf0e10cSrcweir 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir 63*cdf0e10cSrcweir 64*cdf0e10cSrcweir 65*cdf0e10cSrcweir Command Line Options especially for the OpenOffice.org SDK 66*cdf0e10cSrcweir ---------------------------------------------------------- 67*cdf0e10cSrcweir 68*cdf0e10cSrcweir -dvgroot <DevelopersGuide> 69*cdf0e10cSrcweir Root directory of the SDK Developers Guide. 70*cdf0e10cSrcweir 71*cdf0e10cSrcweir -dvgfile <ReferenceFile> 72*cdf0e10cSrcweir File with references to the SDK Developers Guide. 73*cdf0e10cSrcweir 74*cdf0e10cSrcweir -sincefile <@since-AssociationFile> 75*cdf0e10cSrcweir File that maps OpenOffice versions to the wished displayed version names. 76*cdf0e10cSrcweir 77*cdf0e10cSrcweir -idlref <IdlDocumentationRoot> <Namespace[,Namespace ...]> 78*cdf0e10cSrcweir Gives the outputdirectory of an IDL documentation, where 79*cdf0e10cSrcweir symbols not found in the currently parsed namespaces of C++ 80*cdf0e10cSrcweir or Java can be found. 81*cdf0e10cSrcweir 82*cdf0e10cSrcweir 83*cdf0e10cSrcweir 84*cdf0e10cSrcweir Configure File Format 85*cdf0e10cSrcweir --------------------- 86*cdf0e10cSrcweir 87*cdf0e10cSrcweir<AutodocConfiguration> 88*cdf0e10cSrcweir <RepositoryName></RepositoryName> 89*cdf0e10cSrcweir // Base name of the binary repository files. 90*cdf0e10cSrcweir // Has to be a valid file name. 91*cdf0e10cSrcweir 92*cdf0e10cSrcweir <HtmlOutputTitle></HtmlOutputTitle> 93*cdf0e10cSrcweir // Title on the "welcome page" of the created HTML documentation. 94*cdf0e10cSrcweir // Can be any text. 95*cdf0e10cSrcweir 96*cdf0e10cSrcweir <CppExtensions></CppExtensions> 97*cdf0e10cSrcweir // Overwrites the default. Default is: .hxx .h .hpp 98*cdf0e10cSrcweir // Format: File extensions with a dot in front, like ".hcc". 99*cdf0e10cSrcweir 100*cdf0e10cSrcweir <IdlExtensions></IdlExtensions> 101*cdf0e10cSrcweir // Overwrites the default. Default is: .idl 102*cdf0e10cSrcweir // Format: File extensions with a dot in front, like ".txt". 103*cdf0e10cSrcweir 104*cdf0e10cSrcweir <CppDocu html="(on|off) off"/> 105*cdf0e10cSrcweir 106*cdf0e10cSrcweir <IdlDocu html="(on|off) on"/> 107*cdf0e10cSrcweir 108*cdf0e10cSrcweir</AutodocConfiguration> 109*cdf0e10cSrcweir 110*cdf0e10cSrcweir 111*cdf0e10cSrcweir 112*cdf0e10cSrcweir 113*cdf0e10cSrcweir 114*cdf0e10cSrcweir 115*cdf0e10cSrcweir Historical Command Line Options 116*cdf0e10cSrcweir ------------------------------- 117*cdf0e10cSrcweir 118*cdf0e10cSrcweirautodoc.exe 119*cdf0e10cSrcweir [ -v <VerboseNr> ] 120*cdf0e10cSrcweir -html <OutputDirectory> 121*cdf0e10cSrcweir { 122*cdf0e10cSrcweir [ -parse ] 123*cdf0e10cSrcweir [ -name <RepositoryName> ] 124*cdf0e10cSrcweir -lg <ProgrammingLanguage> 125*cdf0e10cSrcweir { 126*cdf0e10cSrcweir [ -p <ProjectName> <ProjectRootDirectory> ] 127*cdf0e10cSrcweir { 128*cdf0e10cSrcweir -t <SourceDirectory>* 129*cdf0e10cSrcweir -d <SourceDirectory>* 130*cdf0e10cSrcweir -f <SourceFile>* 131*cdf0e10cSrcweir }+ 132*cdf0e10cSrcweir }+ 133*cdf0e10cSrcweir } 134*cdf0e10cSrcweir 135*cdf0e10cSrcweirLegend: 136*cdf0e10cSrcweir <Text> 137*cdf0e10cSrcweir command line parameter 138*cdf0e10cSrcweir [ ] 139*cdf0e10cSrcweir optional 140*cdf0e10cSrcweir { } 141*cdf0e10cSrcweir Block of connected options. 142*cdf0e10cSrcweir The sequence of not connected options does not matter. So the -html or -v options can be used before or after all the parsing options. 143*cdf0e10cSrcweir + 144*cdf0e10cSrcweir once or more times 145*cdf0e10cSrcweir * 146*cdf0e10cSrcweir none or more times 147*cdf0e10cSrcweir 148*cdf0e10cSrcweir 149*cdf0e10cSrcweirExplanation of the Options 150*cdf0e10cSrcweir -v <VerboseNr> Only for debugging. Bits 1, 2 and 4 in any combination give different output. 151*cdf0e10cSrcweir -html <OutputDirectory> 152*cdf0e10cSrcweir Gives the directory, where a HTML version of the docu shall be generated. 153*cdf0e10cSrcweir -parse Starts the block, where all the parse options are given. This can be omitted, because the parse options are identifiable without it, but it may make a commandline more readable. 154*cdf0e10cSrcweir -name <RepositoryName> This name appears as title of the documentation (currently only in the in the C++ version). 155*cdf0e10cSrcweir -lg <ProgrammingLanguage> 156*cdf0e10cSrcweir 157*cdf0e10cSrcweir 158*cdf0e10cSrcweir Possible values are: 159*cdf0e10cSrcweir 160*cdf0e10cSrcweir c++ 161*cdf0e10cSrcweir This parses all files with the endings .hxx and .h . 162*cdf0e10cSrcweir idl 163*cdf0e10cSrcweir This parses all files with the ending .idl . 164*cdf0e10cSrcweir 165*cdf0e10cSrcweir -p with -t/-d/-f: If there are more than one project, the -p option is required for each one. 166*cdf0e10cSrcweir 167*cdf0e10cSrcweir The directory given wit the -p option is the root directory of the project. 168*cdf0e10cSrcweir If there is no -p option, the working directory is seen as root. 169*cdf0e10cSrcweir 170*cdf0e10cSrcweir All paths given with -t/-d/-f are relative to that root directory. It is possible to use "." as argument for -t or -d. 171*cdf0e10cSrcweir 172*cdf0e10cSrcweir Each of -t/-d/-f can have several arguments: 173*cdf0e10cSrcweir One could write "-f file1.hxx file2.hxx file_xyz.hxx" 174*cdf0e10cSrcweir After each -p (or after -lg, if there is no -p option), there has to be at least one of the following three: 175*cdf0e10cSrcweir -t Tree, which means: include subdirectories 176*cdf0e10cSrcweir -d Directory, which means: no subdirectories 177*cdf0e10cSrcweir -f File", which means: single file name with ending. 178*cdf0e10cSrcweir This option also allows to parse some files with an ending different from those, the -lg option implies. 179*cdf0e10cSrcweir 180*cdf0e10cSrcweir 181*cdf0e10cSrcweir 182