Problem with FOP-0.20.5 -watermark position

2006-12-11 Thread Imran Khan

Hi All,

I am using FOP-0.20.5 for xml to pdf conversion.
I am facing problem while creating a watermark. For creating a watermark i
am using background property of a block .
Now problem is that i want the image as the background place centrally. But
when i use background-position=center it does not work
.I also have tested with background-position-horizontal,
background-position-vertical but everything goes in vain.


Plz help me to make the image  or any work as a background , or watermark

Thanks
Imran


DO NOT REPLY [Bug 41149] - PNG causes NPE for RTF output

2006-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41149.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41149





--- Additional Comments From [EMAIL PROTECTED]  2006-12-11 06:34 ---
Created an attachment (id=19242)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=19242action=view)
PNG


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41136] - SVG image not properly rendered

2006-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41136.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41136


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2006-12-11 06:51 ---
Batik is responsible for SVG rendering within FOP. FOP version 0.20.5 ships 
with a rather old version of Batik. You will have to upgrade your FOP version 
in order to use a newer Batik due to changes in the API.

If the problem persists in FOP 0.92beta then feel free to re-open this bug. 
But FOP 0.20.5 is no longer actively maintained and so any bugs there which 
aren't in 0.92beta won't be fixed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41133] - SVG image colors are partially wrong

2006-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41133.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41133


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2006-12-11 07:00 ---
There was a bug in 0.20.5 with RGB color values greater than 243 which has 
been reported previously. This bug is fixed in the newer FOP versions, i.e. 
0.92beta and won't be fixed in 0.20.5, which is no longer maintained.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


Re: Problem with FOP-0.20.5 -watermark position

2006-12-11 Thread J.Pietschmann

Imran Khan wrote:

I am using FOP-0.20.5 for xml to pdf conversion.
I am facing problem while creating a watermark. For creating a watermark i
am using background property of a block .
Now problem is that i want the image as the background place centrally. But
when i use background-position=center it does not work
.I also have tested with background-position-horizontal,
background-position-vertical but everything goes in vain.


FOP 0.20.5 doesn't support positioning background images well
(the image is scaled to fit the whole area, which should look
like a centered position in most cases).

Also, 0.20.5 is no longer maintained. Please try a more recent
release.

J.Pietschmann


FOP 0.90.0 problem

2006-12-11 Thread Imran Khan

Hi

I have one problem related to FOP 0.90.0.

I am getting an excepton :org.apache.fop.fo.ValidationException:
Error(Unknown location): For fo:simple-page-master, only one fo:region-body
may be declared.

while the same xsl runs fine on FOP 0.20.5
the xsl has layout as


fo:layout-master-set
 fo:simple-page-master
   master-name=all-pages
   page-height=11in page-width=8.5in
   margin-top=0.5in margin-bottom=0.5in
   margin-left=0.5in margin-right=0.5in border=1 pt solid
black

   fo:region-body region-name=Content margin-top=0.7in
   margin-bottom=2in margin-right=0.1in
margin-left=0.1in
   padding=6pt
   /
   fo:region-before region-name=Header extent=0.5in
margin-right=0.1in padding=6pt
 display-align=after /
   fo:region-after region-name=Footer extent=2in padding=6pt

 display-align=before precedence=true
/
   fo:region-start region-name=LeftSide extent=0.1in
padding=2pt
 display-align=after
 reference-orientation=90
   /
   fo:region-end region-name=RightSide extent=0.1in
padding=2pt
 display-align=after
 reference-orientation=-90/

 /fo:simple-page-master
 fo:simple-page-master
   master-name=first-page
   page-height=11in page-width=8.5in
   margin-top=0.5in margin-bottom=0.5in
   margin-left=0.5in margin-right=0.5in
border-top-style=solid border-top-color=black border-top-width=1pt

   fo:region-body region-name=Content border-top=black dashed
thick /
 /fo:simple-page-master

 fo:page-sequence-master master-name=default-sequence
   fo:repeatable-page-master-reference
master-reference=all-pages /
 /fo:page-sequence-master

   /fo:layout-master-set


could you tell me where is the problem .?

Thanks  Regards
Imran Khan


Re: Problem with FOP-0.20.5 -watermark position

2006-12-11 Thread Imran Khan

Hi,

Is it possible to place an image centrally in page as a watermark using FOP
0.92 beta version?

At present i am using FOP 0.20.5 which does not allow the same.

Thanks,
Imran

On 12/12/06, Imran Khan [EMAIL PROTECTED] wrote:


Thanks J.Pietschmann


On 12/12/06, J.Pietschmann [EMAIL PROTECTED] wrote:

 Imran Khan wrote:
  I am using FOP-0.20.5 for xml to pdf conversion.
  I am facing problem while creating a watermark. For creating a
 watermark i
  am using background property of a block .
  Now problem is that i want the image as the background place
 centrally. But
  when i use background-position=center it does not work
  .I also have tested with background-position-horizontal,
  background-position-vertical but everything goes in vain.

 FOP 0.20.5 doesn't support positioning background images well
 (the image is scaled to fit the whole area, which should look
 like a centered position in most cases).

 Also, 0.20.5 is no longer maintained. Please try a more recent
 release.

 J.Pietschmann