Changeset 3665 for print

Show
Ignore:
Timestamp:
11/18/10 00:34:30 (18 months ago)
Author:
bbinet
Message:

fix multiple bad links to yaml configuration documentation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • print/trunk/docs/configuration.txt

    r3653 r3665  
    7878In general, PDF dimensions and positions are specified in points. 72 points == 1 inch == 25.4 mm. 
    7979 
    80 The list of {HOST_WHITELIST_DEFINITION} defines the allowed URLs for getting maps. Its format will be defined in `the next sub-section <server_side_configuration.html#host-whitelist-definition>`_. 
     80The list of {HOST_WHITELIST_DEFINITION} defines the allowed URLs for getting maps. Its format will be defined in `the next sub-section <configuration.html#host-whitelist-definition>`_. 
    8181 
    8282The 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). 
    8383 
    84 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 <server_side_configuration.html#Page-definition>`_. 
     84You 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>`_. 
    8585 
    8686If 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. 
     
    9999Google maps currently requires a private key to be used (we only support users Google maps premium accounts). 
    100100 
    101 The keys section allows a key to be mapped to hosts.  The hosts are identified with host matchers that are described in the <server_side_configuration.html#host-whitelist-definition> sub-section. 
     101The keys section allows a key to be mapped to hosts.  The hosts are identified with host matchers that are described in the <configuration.html#host-whitelist-definition> sub-section. 
    102102 
    103103In addition a domain hostmatcher can be used to select a key based on the domain of the local server.  This can be useful if the same configuration is used in a test environment and a production environment with differing domains.  For example mapfish.org and mapfish.net. 
     
    184184    ?     supportLegacyReader: false 
    185185 
    186 All fields are optional and can use global variables, as defined in the `Block definition <server_side_configuration.html#Block-definition>`_ chapter. Page specific variables are not accessible. 
     186All 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. 
    187187 
    188188Page definition 
     
    287287* MacRoman  
    288288 
    289 The "font" must refer to a standard PDF font or a `declared font <server_side_configuration.html#Fonts-definition>`_. 
     289The "font" must refer to a standard PDF font or a `declared font <configuration.html#Fonts-definition>`_. 
    290290 
    291291Image block 
     
    451451              {...} 
    452452 
    453 Look `here <server_side_configuration.html#Table-configuration>`_ for how to specify the *tableConfig* field. 
     453Look `here <configuration.html#Table-configuration>`_ for how to specify the *tableConfig* field. 
    454454 
    455455The *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).