Hi,

As Georg wrote, the attached example will give you the direction you need...

Cheers,
Venkat.

Georg Datterl wrote:
Hi shrutin, First, each entry gets a marker containing the text you might possibly print in the header (in case you don't want to print the whole word). Second, in your header you have two retrieve-marker elements, one with retrieve-position="first-starting-within-page" and one with retrieve-position="last-starting-within-page". That should do the trick.

Regards,
Georg Datterl ------ Kontakt ------ Georg Datterl Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert
Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH: www.irs-nbg.de Willmy PrintMedia GmbH: www.willmy.de Willmy Consult & Content GmbH: www.willmycc.de -----Ursprüngliche Nachricht----- Von: shrutin [mailto:[email protected]] Gesendet: Donnerstag, 1. Oktober 2009 07:19
An: [email protected]
Betreff: Output as in Dictionary


Hello,

I want to create a dictionary kind of a layout. Using column-count on the fo:region-body i can create the layout. However in the header i need to show the first entry and the last entry on the page (like in dictionary we mention Aa - Ba) How can i get the first and the last entry on the page? I will need to use fo:marker and fo:retrieve-marker for the same but i am just not able to get it?


~Shruti
--
View this message in context: 
http://www.nabble.com/Output-as-in-Dictionary-tp25693213p25693213.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



   <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
xmlns:svg="http://www.w3.org/2000/svg";>
      <fo:layout-master-set>
        <fo:simple-page-master master-name="normal" page-width="5in" 
page-height="5in">
          <fo:region-body margin="0.5in 0"/>
          <fo:region-before extent="0.5in"/>
          <fo:region-after extent="0.5in"/>
        </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="normal" white-space-collapse="true">
        <fo:static-content flow-name="xsl-region-before">
          <fo:block text-align="end" background-color="yellow">
            <fo:retrieve-marker retrieve-class-name="test" 
retrieve-boundary="page" retrieve-position="first-starting-within-page"/> - 
<fo:retrieve-marker retrieve-class-name="test" retrieve-boundary="page" 
retrieve-position="last-ending-within-page"/>
          </fo:block>
        </fo:static-content>
        <fo:flow flow-name="xsl-region-body">
          <fo:block-container height="1in">
            <fo:block>
              <fo:marker 
marker-class-name="test">block1</fo:marker>block1</fo:block>
          </fo:block-container>
          <fo:block-container height="1in">
            <fo:block>
              <fo:marker 
marker-class-name="test">block2</fo:marker>block2</fo:block>
          </fo:block-container>
          <fo:block-container height="1in">
            <fo:block>
              <fo:marker 
marker-class-name="test">block3</fo:marker>block3</fo:block>
          </fo:block-container>
          <fo:block-container height="1in">
            <fo:block>
              <fo:marker 
marker-class-name="test">block4</fo:marker>block4</fo:block>
          </fo:block-container>
          <fo:block-container height="1in">
            <fo:block>
              <fo:marker 
marker-class-name="test">block5</fo:marker>block5</fo:block>
          </fo:block-container>
          <fo:block-container height="1in">
            <fo:block>
              <fo:marker 
marker-class-name="test">block6</fo:marker>block6</fo:block>
          </fo:block-container>
          <fo:block-container height="1in">
            <fo:block>
              <fo:marker 
marker-class-name="test">block7</fo:marker>block7</fo:block>
          </fo:block-container>
        </fo:flow>
      </fo:page-sequence>
    </fo:root>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to