Jeremias Maerki wrote:
Ah well, my afternoon's almost over anyway...

Here's a proposal:
http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPdf

Feel free to improve/comment/fix.

In FO that would look like this:
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="A4" page-height="29.7cm" page-width="21cm" 
margin="2cm">
      <fo:region-body/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:declarations>
    <pdf:document-settings
       xmlns:pdf="http://xmlgraphics.apache.org/fop/pdf";
       page-mode="full-screen"/>
  </fo:declarations>
  <fo:page-sequence master-reference="A4">
    <fo:flow flow-name="xsl-region-body">
      <fo:block>Hello World!</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

At the risk of creating the ultimate "back door"

   <fo:declarations>
     <pdf:document-settings
        xmlns:pdf="http://xmlgraphics.apache.org/fop/pdf";>
         <pdf:setting attribute="page-mode" value="full-screen"/>
     <pdf:document-settings
   </fo:declarations>

i.e. a pdf-setting element, with "open" scope.
It's more forward extensible/open to abuse (*)

   BugBear

(*) delete according to taste

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to