Problem with rendering images

2004-08-27 Thread Amita Rathore

I am displaying an image in the pdf
using http . All goes well when I test it on my local machine.
I am running it in WSAD test environment v4.0.

But when I deploy it to WAS 5.0 the
images do not appear.

Is this a problem with the xsl fo external-graphic
tag. Are there any other tags which I can try to include the image.

Displaying a pdf in IE

2004-08-19 Thread Amita Rathore

I am generating a PDF with xsl-fo. Now
I am tring to display it in the browser. The PDF displays but after that
the session becomes invalid.

The content lenth is around 5 bytes.
How can it be solved...any suggestions..


Re: Border issue

2004-07-29 Thread Amita Rathore

Just have a look at this. It helps me
keep space between blocks and the header of the cells.


fo:table-row
fo:table-cell
padding=3pt
3pt 3pt 3pt text-align=left
border-color=#FF
#FF #FF #FF border-style=none
solid none none border-width=0pt
.5pt 0pt 0pt background-color=#ddd
fo:block
text-align=left
font-size=9ptheader1/fo:block
/fo:table-cell
fo:table-cell
padding=3pt
3pt 3pt 3pt text-align=left
border-color=#FF
#FF #FF #FF border-style=none
solid none solid border-width=0pt
.5pt 0pt .5pt background-color=#ddd
fo:block
text-align=right
font-size=9pt
header2
/fo:block
/fo:table-cell
fo:table-cell
padding=3pt
3pt 3pt 3pt text-align=left
border-color=#FF
#FF #FF #FF border-style=none
none none solid border-width=0pt
0pt 0pt .5pt background-color=#ddd
fo:block
text-align=left
font-size=9pt
header3 
  
/fo:block
/fo:table-cell
/fo:table-row

I need to keep space between my blocks and the borders
of the
cells. 

RE: Bulleted list

2004-07-27 Thread Amita Rathore

Thanks everyone.

I could solve the problem. I used #x2022;
from font-family Courier and got the bullet similar to ul in html. Works
!!

Bulleted list

2004-07-26 Thread Amita Rathore

What code can I use in xsl-fo to get
a bullet similat to one generated by liul in html ?


FO table cell spacing

2004-07-09 Thread Amita Rathore

Can we specify cell spacing for a xsl
fo table?
If possible, how can it be done.

Thanks,
Amita


Re: Table header colors.

2004-06-15 Thread Amita Rathore

Can't understand how it can be done,


can you please provide a snippet.







Chris Bowditch [EMAIL PROTECTED]
06/14/2004 05:08 PM
Please respond to fop-user

To:
   [EMAIL PROTECTED]
cc:
   
Subject:
   Re: Table header colors.


Amita Rathore wrote:

 
 I had already tried this, but doing so the padding goes off.

Oh, I see. You might be able to use margin instead, if you dont have borders

on the cells, then the spacing effect between text should appear the same.

Chris




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




Re: Table header colors.

2004-06-14 Thread Amita Rathore

I had already tried this, but doing
so the padding goes off.







Chris Bowditch [EMAIL PROTECTED]
06/14/2004 04:45 PM
Please respond to fop-user

To:
   [EMAIL PROTECTED]
cc:
   
Subject:
   Re: Table header colors.

   

Amita Rathore wrote:

 
 Here goes the snippet:
 
 fo:table table-layout=fixed 
 fo:table-column column-width=15mm/
 fo:table-column column-width=15mm/
 fo:table-column column-width=28mm/
 fo:table-body
 fo:table-row

  
  fo:table-cell padding=2pt   
 text-align=left 
  
  fo:block font-size=10pt 
 background-color=#ffDate/fo:block
   

This is your problem. You need to specify background-color on the cell
instead 
of the block. That way the whole cell will have the background color, and
not 
just the block, whose length may not fill up the row height, as youve 
discovered. E.g.

fo:table-cell padding=2pt text-align=left 
background-color=#fffo:block 
font-size=10ptDate/fo:block/fo:table-cell

snip/

Chris



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




Is there any equivalent for CSS in XSL-FO

2004-06-08 Thread Amita Rathore

Hi All,

I am creating a pdf which needs a lot
of formatting. Defining the same font size, color for multiple inlines
is redundant. 

I am looking forward to something similar
to CSS. So that I define the formatting at one place and then can reuse
the tag whereever required.

Thanks,
--
Amita Rathore



RE: Is there any equivalent for CSS in XSL-FO

2004-06-08 Thread Amita Rathore

I created the following template in
the xsl which is using the fo tags:

xsl:template match=B
fo:inline font-weight=bold
xsl:apply-templates/
/fo:inline
/xsl:template

As per my understanding if in this xsl
i write fo:block This is a B test /B /fo:block,
the result should be displayed with test in bold. 

But the test is not getting
displayed at all. Surely I am making a mistake, what is it ?








Amit Garg [EMAIL PROTECTED]
06/08/2004 11:56 AM
Please respond to fop-user

To:
   [EMAIL PROTECTED]
cc:
   
Subject:
   RE: Is there any equivalent for CSS
in XSL-FO

   

Hi,
  You can create your
own template for creating the standard formatting attributes. You only
need to use that template in each page and by this you can reuse the tags.

-Original Message-
From: Amita Rathore [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 11:46 AM
To: [EMAIL PROTECTED]
Subject: Is there any equivalent for CSS in XSL-FO


Hi All, 

I am creating a pdf which needs a lot of formatting. Defining the same
font size, color for multiple inlines is redundant. 

I am looking forward to something similar to CSS. So that I define the
formatting at one place and then can reuse the tag whereever required.


Thanks,
--
Amita Rathore