summaryrefslogtreecommitdiff
path: root/autodoc/source/exes/adc_uni/spec-CommandLine.txt
blob: 20560e719fa608b0c238b67ecc0d59d16743bf53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
#   Licensed to the Apache Software Foundation (ASF) under one or more
#   contributor license agreements. See the NOTICE file distributed
#   with this work for additional information regarding copyright
#   ownership. The ASF licenses this file to you under the Apache
#   License, Version 2.0 (the "License"); you may not use this file
#   except in compliance with the License. You may obtain a copy of
#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
#

        Command Line Options
        --------------------

autodoc [-v <level>]
        -html <out>
        [-extroot <externroot> -extnsp <externnamespace>]
        -lg <proglang>
        [-t <sourcetree>[ <sourcetree> ...]
        [-d <sourcedir>[ <sourcedir> ...]
        [-f <sourcefile>[ <sourcefile> ...]


    -html <OutputDirectory>
        Directory where the output will be created.

    -lg <ProgrammingLanguage>
        Allowed values: "idl"

    -extroot <externroot>
        Only together with "-lg idl" and -extnsp.
        Links to code entities not found within the current parsed
        code, will be linked there, but only if -extnsp is given and
        the linked entity is in the given namespace.
        <externroot> is a http link, it needs no "http://" at the
        beginning nor slash at the end.

    -extnsp <externnamespace>
        Only together with "-lg idl" and -extroot.
        If a code entity is not found in the current parsed code, but
        dwells in the namespace (or its children) given here, it is
        linked into the locátion given by -extroot.
        <externnamespace> is an absolute qualified namespace,
        starting with "::".

    -t <SourceTree>*
        Directory with all subdirectories.

    -d <SourceDirectory>*
        Directory without subdirectories.

    -f <SourceFile>*
        Any file. Here also files with extensions not matching the
        language are accepted.

    -I:<ResponseFile>
        Each line in the response file has to have one command line
        option. No whitespace at start of line.

    -C:<ConfigurationFile>
        Format see below.

    -v <VerboseLevel>
        Only for debugging. Bits 1, 2 and 4 in any combination give
        different output.

    -h
        Displays help.
    -?
        Displays help.





        Command Line Options especially for the OpenOffice.org SDK
        ----------------------------------------------------------

    -dvgroot <DevelopersGuide>
        Root directory of the SDK Developers Guide.

    -dvgfile <ReferenceFile>
        File with references to the SDK Developers Guide.

    -sincefile <@since-AssociationFile>
        File that maps OpenOffice versions to the wished displayed version names.

    -idlref <IdlDocumentationRoot> <Namespace[,Namespace ...]>
        Gives the outputdirectory of an IDL documentation, where
        symbols not found in the currently parsed namespaces of C++
        can be found.



        Configure File Format
        ---------------------

<AutodocConfiguration>
    <RepositoryName></RepositoryName>
        // Base name of the binary repository files.
        // Has to be a valid file name.

    <HtmlOutputTitle></HtmlOutputTitle>
        // Title on the "welcome page" of the created HTML documentation.
        // Can be any text.

    <CppExtensions></CppExtensions>
        // Overwrites the default. Default is: .hxx .h .hpp
        // Format: File extensions with a dot in front, like ".hcc".

    <IdlExtensions></IdlExtensions>
        // Overwrites the default. Default is: .idl
        // Format: File extensions with a dot in front, like ".txt".

    <CppDocu html="(on|off) off"/>

    <IdlDocu html="(on|off) on"/>

</AutodocConfiguration>






        Historical Command Line Options
        -------------------------------

autodoc.exe
    [ -v <VerboseNr> ]
    -html <OutputDirectory>
    {
        [ -parse ]
	[ -name <RepositoryName> ]
        -lg <ProgrammingLanguage>
        {
            [ -p <ProjectName> <ProjectRootDirectory> ]
            {
                -t <SourceDirectory>*
                -d <SourceDirectory>*
                -f <SourceFile>*
            }+
        }+
    }

Legend:
    <Text>
    	command line parameter
    [ ]
    	optional
    { }
    	Block of connected options.
    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.
    +
    	once or more times
    *
    	none or more times


Explanation of the Options
    -v <VerboseNr> 	Only for debugging. Bits 1, 2 and 4 in any combination give different output.
    -html <OutputDirectory>
    	Gives the directory, where a HTML version of the docu shall be generated.
    -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.
    -name <RepositoryName> 	This name appears as title of the documentation (currently only in the in the C++ version).
    -lg <ProgrammingLanguage>


    Possible values are:

    idl
        This parses all files with the ending .idl .

    -p with -t/-d/-f: 	If there are more than one project, the -p option is required for each one.

    The directory given wit the -p option is the root directory of the project.
    If there is no -p option, the working directory is seen as root.

    All paths given with -t/-d/-f are relative to that root directory. It is possible to use "." as argument for -t or -d.

    Each of -t/-d/-f can have several arguments:
    One could write "-f file1.hxx file2.hxx file_xyz.hxx"
    After each -p (or after -lg, if there is no -p option), there has to be at least one of the following three:
    -t 	Tree, which means: include subdirectories
    -d 	Directory, which means: no subdirectories
    -f 	File", which means: single file name with ending.
    This option also allows to parse some files with an ending different from those, the -lg option implies.