- Timestamp:
- 12/02/10 14:39:45 (18 months ago)
- Files:
-
- 1 modified
-
print/trunk/docs/configuration.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
print/trunk/docs/configuration.txt
r3674 r3678 84 84 The outputFormats element lists the values formats that the server permits. If omitted only 'pdf' is permitted. If the single element '*' is present then all formats that the server can produce can be requested. The formats the server can produce depends to a large degree on how the Java is configured. PDF is supported on all systems but for image output formats JAI and ImageIO is used which means both must be on the server for them to be available. You can get the list of supported formats by running the standalone client with the --clientConfig flag enabled (you will need to supply a yaml config file as well). If you are using the servlet then do a get info request to see the list of formats (with the '*' as the outputFormats parameter in the config file). 85 85 86 You can have as many layouts as you want. Their name must be unique and will be used on the client side. A layout can have a "titlePage" that will be added at the beginning of the generated document. It cannot contain any map. Same for the "lastPage", but for the end of the document. The "mainPage" section is mandatory and will be used once for each page requested. The details of a {PAGE_DEFINITION} section can be found `in another sub-section of this document <configuration.html# Page-definition>`_.86 You can have as many layouts as you want. Their name must be unique and will be used on the client side. A layout can have a "titlePage" that will be added at the beginning of the generated document. It cannot contain any map. Same for the "lastPage", but for the end of the document. The "mainPage" section is mandatory and will be used once for each page requested. The details of a {PAGE_DEFINITION} section can be found `in another sub-section of this document <configuration.html#page-definition>`_. 87 87 88 88 If you want to let the user rotate the map (for a given layout), you have to set the "rotate" field to "true" in the corresponding "mainPage" section. … … 187 187 ? supportLegacyReader: false 188 188 189 All fields are optional and can use global variables, as defined in the `Block definition <configuration.html# Block-definition>`_ chapter. Page specific variables are not accessible.189 All fields are optional and can use global variables, as defined in the `Block definition <configuration.html#block-definition>`_ chapter. Page specific variables are not accessible. 190 190 191 191 Page definition … … 290 290 * MacRoman 291 291 292 The "font" must refer to a standard PDF font or a `declared font <configuration.html# Fonts-definition>`_.292 The "font" must refer to a standard PDF font or a `declared font <configuration.html#fonts-definition>`_. 293 293 294 294 Image block … … 454 454 {...} 455 455 456 Look `here <configuration.html# Table-configuration>`_ for how to specify the *tableConfig* field.456 Look `here <configuration.html#table-configuration>`_ for how to specify the *tableConfig* field. 457 457 458 458 The *columnWeigth* (MF_V1.2 only) allows to define a weight for the column width. If you specify it for one column, you have to specify it for all of them. The width of a given column is tableWidth*columnWeight/sum(columnWeight). … … 533 533 ------------------- 534 534 535 The `columns block <# Columnsblock>`_ and the `attributes block <#Attributesblock>`_ can take a table configuration object like that:535 The `columns block <#columns-block>`_ and the `attributes block <#attributes-block>`_ can take a table configuration object like that: 536 536 537 537 .. code-block:: yaml
