Re: bookmark

2002-04-14 Thread Joe Sytniak
OOPS!!  I forgot about the namespace that must be added. Sorry.

xmlns:fox=http://xml.apache.org/fop/extensions; 

- Original Message - 
From: Joe Sytniak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 3:14 PM
Subject: Re: bookmark


 xsl:template match=/
   fo:root 
xsl:call-template name=BOOKMARKS/
 
fo:layout-master-set
  fo:simple-page-master master-name=simple
  page-height=16.4cm
  page-width=24.2cm
  margin-top=0.5cm
  margin-bottom=0.5cm
  margin-left=2cm
  margin-right=2cm
  fo:region-before precedence=true extent=1.2cm/
 fo:region-body margin-top=1.1cm margin-bottom=0.75cm/
  fo:region-after precedence=true extent=0.5cm/
 /fo:simple-page-master
/fo:layout-master-set
fo:page-sequence master-reference=simple
 fo:static-content flow-name=xsl-region-before
  fo:block text-align=left
font-size=8pt
font-family=serif
line-height=14pt vertical-align=top
 
   xsl:call-template name=PAGE_HEADER/
 
  /fo:block
 /fo:static-content
 fo:static-content flow-name=xsl-region-after
  fo:block text-align=end
font-size=8pt
font-family=serif
line-height=14pt vertical-align=bottom 
 
   xsl:call-template name=PAGE_FOOTER/
 
  /fo:block
 /fo:static-content
 fo:flow flow-name=xsl-region-body
  xsl:apply-templates select=MYDATA/
  fo:block id=last-page/
 /fo:flow
/fo:page-sequence
   /fo:root
  /xsl:template
 
  xsl:template name=PAGE_HEADER
   fo:table border-collapse=collapse table-layout=fixed
fo:table-column column-width=6.7cm/
fo:table-column column-width=6.7cm/
fo:table-column column-width=6.7cm/
fo:table-body
 fo:table-row
  fo:table-cell border-collapse=collapse padding-before=1pt
 padding-left=1pt padding-right=1pt padding-after=1pt
   fo:block font-weight=boldxsl:textPROJECT:
 /xsl:textxsl:value-of select=MYDATA/@ClientName/xsl:text
 /xsl:textxsl:value-of select=MYDATA/@ProjectName//fo:block
  /fo:table-cell
  fo:table-cell border-collapse=collapse padding-before=1pt
 padding-left=1pt padding-right=1pt padding-after=1pt
   fo:block text-align=center
 font-weight=boldxsl:textSTUFF/xsl:text/fo:block
  /fo:table-cell
  fo:table-cell border-collapse=collapse padding-before=1pt
 padding-left=1pt padding-right=1pt padding-after=1pt
   fo:block text-align=right
 font-weight=boldxsl:textInitials:_/xsl:text/fo:block
  /fo:table-cell
 /fo:table-row
 fo:table-row
  fo:table-cell border-collapse=collapse padding-before=1pt
 padding-left=1pt padding-right=1pt padding-after=1pt
   fo:block font-weight=boldxsl:textREVISION: /xsl:text !--
 Revision parm? --/fo:block
  /fo:table-cell
  fo:table-cell border-collapse=collapse padding-before=1pt
 padding-left=1pt padding-right=1pt padding-after=1pt
   fo:block text-align=center font-weight=boldxsl:textStatus:
 DRAFT/xsl:text!-- Status parm? --/fo:block
  /fo:table-cell
  fo:table-cell border-collapse=collapse padding-before=1pt
 padding-left=1pt padding-right=1pt padding-after=1pt
   fo:block text-align=right
 font-weight=boldxsl:textDate:__/xsl:text/fo:block
  /fo:table-cell
 /fo:table-row
/fo:table-body
   /fo:table
  /xsl:template
 
  xsl:template name=PAGE_FOOTER
   fo:table border-collapse=collapse table-layout=fixed
fo:table-column column-width=6.7cm/
fo:table-column column-width=6.7cm/
fo:table-column column-width=6.7cm/
fo:table-body
 fo:table-row
  fo:table-cell border-collapse=collapse padding-before=1pt
 padding-left=1pt padding-right=1pt padding-after=1pt
   fo:block text-align=left font-weight=boldxsl:textMy Company
 Inc. /xsl:text/fo:block
  /fo:table-cell
  fo:table-cell border-collapse=collapse padding-before=1pt
 padding-left=1pt padding-right=1pt padding-after=1pt
   fo:block
 text-align=centerxsl:textConfidential/xsl:text/fo:block
  /fo:table-cell
  fo:table-cell border-collapse=collapse padding-before=1pt
 padding-left=1pt padding-right=1pt padding-after=1pt
   fo:block text-align=rightPage fo:page-number/ of
 fo:page-number-citation ref-id=last-page//fo:block
  /fo:table-cell
 /fo:table-row
/fo:table-body
   /fo:table
  /xsl:template
 
  xsl:template name=BOOKMARKS
xsl:for-each select=MYDATA
 fox:outline internal-destination={position()}
  fox:labelxsl:value-of select=@SomeField//fox:label
 /fox:outline
/xsl:for-each
  /xsl:template
 
 
  xsl:template match=MYDATA
 .
 .
 .
 .
 .
  /xsl:template
 .
 .
 .
 .
 .
 
 
 - Original Message -
 From: Fischer Tibor [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, April 12, 2002 1:47 PM
 Subject: bookmark
 
 
  Hello,
 
  How can i put entries into the bookmark of the pdf??
 
  Thanks
 
  BR,
  Fishy
 
 
 



RE: charts and graphs

2002-04-14 Thread Brian O'Kelley
Sorry.
Brian

-Original Message-
From: Brian O'Kelley [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 14, 2002 12:38 AM
To: [EMAIL PROTECTED]
Subject: RE: charts and graphs


I would be very interested in seeing the source code...

Thanks,
Brian

-Original Message-
From: Fischer Tibor [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 13, 2002 5:22 PM
To: [EMAIL PROTECTED]
Subject: Re: charts and graphs


Hi,

i use jFreeChart for this operation. it's a java tool, with open source 
code. i wrote a java plugin, what generates, and returns an svg with a 
barchart, or any kind of charts. Then the xsl handles it, and show it in

pdf.
If you are interested, find me in private mail, and i send you the
source. i put a sample in the attachment (it's not too nice, i made it
when i 
start using jFreeChart

BR,
Fishy

Norr, Peter wrote:

What is the best to way to include charts and graphs in a pdf file?

Can I create simple bar charts using xsl:fo or svg?

Peter


---
---
This message is intended only for the personal and confidential use of
the designated recipient(s) named above.  If you are not the intended
recipient of this message you are hereby notified that any review,
dissemination, distribution or copying of this message is strictly
prohibited.  This communication is for information purposes only and
should not be regarded as an offer to sell or as a solicitation of an
offer to buy any financial product, an official confirmation of any
transaction, or as an official statement of Lehman Brothers.  Email
transmission cannot be guaranteed to be secure or error-free. Therefore,
we do not represent that this information is complete or accurate and it
should not be relied upon as such.  All information is subject to change
without notice.