Re: embedding graphics

2003-02-14 Thread Derek Hohls



I found a DTF for XSL:FO at:

http://www.renderx.com/Tests/validator/fo2000.dtd.html

I am sure there other, more up-to-date versions (please
let us know if you find any). [EMAIL PROTECTED] 
14/02/2003 05:50:58 There are at least two 
possiblities:- absolutely positioned block-containers- put the 
images in two adjacent table cells and make the first cell 
narrow so that the image within overflows into the 
next cell.could you give me the snippets please.You 
probably need to set the baseDir for FOP. Look it upin the documentation 
for the fo2pdf serializer.do i need to map the images to the 
sitemap?btw, is there a dtd/schema for xsl-fo document so that 
someone can know what elements/attributes can be inside an 
element?thx===Meriahkan 
Hari Kasih Sayang dengan mengirimkan Kartu Elektronik PlasaCom kepada kerabat 
dan teman yang Anda kasihi !Pilih kartu favorit Anda di Polling Lomba Desain 
Kartu Tema Valentine di http://kartu.plasa.com/lomba/===-Please 
check that your question has not already been answered in theFAQ 
before posting. http://xml.apache.org/cocoon/faq/index.htmlTo 
unsubscribe, e-mail: 
[EMAIL PROTECTED]For additional commands, 
e-mail: 
[EMAIL PROTECTED]-- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

"The CSIR exercises no editorial control over E-mail messages and/or
attachments thereto/links referred to therein originating in the
organisation and the views in this message/attachments thereto are
therefore not necessarily those of the CSIR and/or its employees.
The sender of this e-mail is, moreover, in terms of the CSIR's Conditions
of Service, subject to compliance with the CSIR's internal E-mail and
Internet Policy."



Re: embedding graphics

2003-02-14 Thread J.Pietschmann
joni santoso wrote:

could you give me the snippets please.


I was just reminded that this works only with text, not with graphics.


do i need to map the images to the sitemap?


No.


btw, is there a dtd/schema for xsl-fo document so that someone can know 
what elements/attributes can be inside an element?

Get a FOP distribution, you'll find both a XSD and a DTD. Also
check the spec
 http://www.w3.org/TR/xsl/
the reference at zvon
 http://zvon.org
and the list of FOP limitations
 http://xml.apache.org/fop

J.Pietschmann



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: embedding graphics

2003-02-14 Thread joni santoso
On Fri, 14 Feb 2003 20:46:07 +0100
 J.Pietschmann [EMAIL PROTECTED] wrote:

joni santoso wrote:

could you give me the snippets please.


I was just reminded that this works only with text, not 
with graphics.


well now at last i know that is not doable.

thx
===
Meriahkan Hari Kasih Sayang dengan mengirimkan Kartu Elektronik PlasaCom kepada kerabat dan teman yang Anda kasihi !
Pilih kartu favorit Anda di Polling Lomba Desain Kartu Tema Valentine 
di http://kartu.plasa.com/lomba/
===

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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



Re: embedding graphics

2003-02-13 Thread J.Pietschmann
joni santoso wrote:

1. I tried to overlap several images (please see the fo file below). I 
want to make images gigi1.jpg and gl.jpg overlapped. However, it seems 
that it is not doable. Is it?

There are at least two possiblities:
- absolutely positioned block-containers
- put the images in two adjacent table cells and make
  the first cell narrow so that the image within overflows
  into the next cell.


(Sorry if this question may actually be 
fit to ask in fop-user but maybe anyone here knows it).
Fop-user would be a better place.


2. I have this fo file that works fine but when I put this onto cocoon 
the pictures don't show up. What's wrong? The images and the fo file are 
in the same directory. However, I don't map any of these images just the 
fo file.

You probably need to set the baseDir for FOP. Look it up
in the documentation for the fo2pdf serializer.

J.Pietschmann


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: embedding graphics

2003-02-13 Thread joni santoso



There are at least two possiblities:
- absolutely positioned block-containers
- put the images in two adjacent table cells and make
  the first cell narrow so that the image within 
overflows
  into the next cell.

could you give me the snippets please.



You probably need to set the baseDir for FOP. Look it up
in the documentation for the fo2pdf serializer.



do i need to map the images to the sitemap?

btw, is there a dtd/schema for xsl-fo document so that 
someone can know what elements/attributes can be inside an 
element?

thx
===
Meriahkan Hari Kasih Sayang dengan mengirimkan Kartu Elektronik PlasaCom kepada kerabat dan teman yang Anda kasihi !
Pilih kartu favorit Anda di Polling Lomba Desain Kartu Tema Valentine 
di http://kartu.plasa.com/lomba/
===

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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



embedding graphics

2003-02-12 Thread joni santoso
Hi,

I have asked this question before using other subject.

Here are my problems :

1. I tried to overlap several images (please see the fo 
file below). I want to make images gigi1.jpg and gl.jpg 
overlapped. However, it seems that it is not doable. Is 
it? (Sorry if this question may actually be fit to ask in 
fop-user but maybe anyone here knows it).

2. I have this fo file that works fine but when I put this 
onto cocoon the pictures don't show up. What's wrong? The 
images and the fo file are in the same directory. However, 
I don't map any of these images just the fo file.

thx.

here are the fo :

!--

?xml version=1.0?

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;

fo:layout-master-set

fo:simple-page-master master-name=cover
   fo:region-body/
/fo:simple-page-master

/fo:layout-master-set

fo:page-sequence master-reference=cover
   fo:flow flow-name=xsl-region-body
  fo:block background-color=aqua
   fo:inline font-style=italic 
background-color=greenHey/fo:inline is just a 
fo:inline font-weight=boldtest/fo:inline.
  /fo:block
  fo:leader/
  fo:block background-color=yellow
   fo:external-graphic src=cc.jpg/
  /fo:block
  fo:block background-color=red
   fo:inline
   fo:external-graphic src=gigi5.jpg/
   fo:external-graphic src=gl.jpg/
   /fo:inline
  /fo:block
   /fo:flow
/fo:page-sequence

/fo:root

--
===
Meriahkan Hari Kasih Sayang dengan mengirimkan Kartu Elektronik PlasaCom kepada kerabat dan teman yang Anda kasihi !
Pilih kartu favorit Anda di Polling Lomba Desain Kartu Tema Valentine 
di http://kartu.plasa.com/lomba/
===

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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