Re: Background-image

2002-12-18 Thread Oleg Tkachenko
Miguel Angel Medina Lopez wrote:
I want to put an image as a background in all my pages of the document. In
some documentation says that the property background-image can be used to do
it in the simple-page-master element but it seems that FOP isn't implement
this property because I try to use it and doesn't work. Any suggestion?
background-image is not inherited property, so there is no much sense to set 
it in simple-page-master, but you can set it at fo:region-body


--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Background-image

2002-12-18 Thread Miguel Angel Medina Lopez
Hi Oleg:

Thank you for your response, set the region-body background-image works, but
I want that the image was in the full page. For example, if I define my page
as a A4 I want the background fill the 210x279 mm, although I have a
region-before defined. Is it possible?

Thank you

-
Miguel Ángel Medina López
Logic Factory: www.logic-factory.com
Granada - España



- Original Message -
From: "Oleg Tkachenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 2:15 PM
Subject: Re: Background-image


> Miguel Angel Medina Lopez wrote:
>
> > I want to put an image as a background in all my pages of the document.
In
> > some documentation says that the property background-image can be used
to do
> > it in the simple-page-master element but it seems that FOP isn't
implement
> > this property because I try to use it and doesn't work. Any suggestion?
> background-image is not inherited property, so there is no much sense to
set
> it in simple-page-master, but you can set it at fo:region-body
> 
>
> --
> Oleg Tkachenko
> eXperanto team
> Multiconn Technologies, Israel
>
>
> -
> 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]



Re: Background-image

2002-12-21 Thread Oleg Tkachenko
Miguel Angel Medina Lopez wrote:
Thank you for your response, set the region-body background-image works, but
I want that the image was in the full page. For example, if I define my page
as a A4 I want the background fill the 210x279 mm, although I have a
region-before defined. Is it possible?
afaik - no, but I can be mistaken, you'd better ask on xsl-fo specific 
mail list like [EMAIL PROTECTED] or [EMAIL PROTECTED]

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: background-image question

2003-01-29 Thread Victor Mote
Koes, Derrick wrote:

> Interestingly enough, putting the background-image attribute as a "real"
> attribute of fo:block in the transform produces the desired result.
> However, adding it with an xsl:attribute element does not produce the
> desired result.
> I think I need to use xsl:attribute because I want to add/set the
> attribute
> conditionally.
>
> 1.  works:
>
> 
>
>
> 2.  does not work:
>
> 
> 
>   
> 

The xsl:value-of evaluates an XPath expression, and I don't think
"draft.jpg" qualifies. Look at your fo file to be sure. I think that all you
need is:

  

  draft.jpg

  ...
  

Then you can wrap your conditional logic around the line containing
"draft.jpg". HTH.

Victor Mote


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



Re: background-image and uri

2002-04-17 Thread Jeremias Maerki
> Are background-images implemented in Fop 0.20.3 ?

Not yet.

>  I get a message telling me no such function as url but no message 
> telling me background-image not implemented...
>
> How can I specify the uri of the image otherwise ?

You can try to work with a block-container. I think I remember a few
posts on the mailing lists. Try searching in the mailing list archives.

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch



Re: background-image and uri

2002-04-17 Thread Christian Geisert
Jeremias Maerki wrote:
Are background-images implemented in Fop 0.20.3 ?

Not yet.
.. but someone is working on it, see 
http://marc.theaimsgroup.com/?l=fop-dev&m=101822791428295&w=2

Christian


Re: Background-image full page

2002-12-18 Thread Miguel Angel Medina Lopez
Hi:

I'm going to response myself. My problem was that the FOP version I used was
0.20.3. I've upgraded to version 0.20.4 and now I can include background
images. However I can't include in the simple-page-master to include the
background in all the page, including region-after, region-before and the
margins. How can I do it?

Thank You in advanced

-
Miguel Ángel Medina López
Logic Factory: www.logic-factory.com
Granada - España


- Original Message -
From: "Miguel Angel Medina Lopez" <[EMAIL PROTECTED]>
To: "FOP User" <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 12:41 PM
Subject: Background-image


> Hi all:
>
> I want to put an image as a background in all my pages of the document. In
> some documentation says that the property background-image can be used to
do
> it in the simple-page-master element but it seems that FOP isn't implement
> this property because I try to use it and doesn't work. Any suggestion?
>
> Perhaps the FOP extensions allow but I don't know where is the
documentation
> of the FOP extension.
>
> -
> Miguel Ángel Medina López
> Logic Factory: www.logic-factory.com
> Granada - España
>
>
>
>
> -
> 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]



Re: background-image implemented - yes or no?

2002-12-20 Thread Chris Bowditch
Hi Jim,
background-image works in v0.20.5rc which can be downloaded from FOP's 
website. It did not work in v0.20.4

Chris

From: "Jim Ross" <[EMAIL PROTECTED]>
Greetings,
I spent all day unsuccessfully struggling to get my background image to 
work in v0.20.4.  Then I stumbled upon the following statement at 
http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html

"Caution:  The only background property FOP 0.20.4 supports is 
'background-color'. The others will probably be added in future releases."

This seems to be in conflict with what I'm reading at the Apache site:  
http://xml.apache.org/fop/implemented.html#N100FC

Does anyone know definitively whether or not the 'background-image' 
property works?  If so, in which FOP version?

Thank you,
   Jim Ross
   St. Louis, MO


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

_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3mf

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


Re: background-image implemented - yes or no?

2002-12-20 Thread Clay Leeds
Hi Jim & Chris,
Using fop 0.20.4 I was able to load a background-image when rendering to 
-pdf but not -print. I have tried both 0.20.4 & 0.20.5rc and get the same 
results.

In my implementation I place the background-image in the fo:region-body tag 
(BTW, I also tested the background-image attribute in a table-row, and was 
able to successfully render for -pdf but not -print):



As I mentioned it works OK with PDF, but one problem I have, is that if I 
specify a background-color in a table cell or row (I hilite every other 
row), it blocks the background-image for the page. I'd like to have some 
sort of transparency, if possible.

  



  

  
  

  

  
  
 

  

  

  

I thought about applying a background-image="images/semi-transparent.gif 
where the predominate "color" is transparent, but it is speckled with 
color. I receive numerous error messages:

[ERROR] Could not load external SVG: Content is not allowed in prolog. 
Error creating background image: No ImageReader for this type of image 
(file:/C:/xml_med7/biglinux/)

Here's the image I used as a test:
http://users.tellurian.net/sandow/overlib/zzinclud/transpbg.gif
[OT] If you're interested in getting a better idea of the transparent 
image, check out Dennis Sandow's page on a nifty javascript called 
"overLIB" & mouseover some of the images on the page:
http://users.tellurian.net/sandow/overlib/backgrnd.htm

If I were to really include a BG image in my page, I'd probably make more 
of it transparent, and change the color (I think it's black) to be closer 
to gray or even a light teal. That way it won't be such a stark contrast.

Aside from the fact that I don't get background-image to appear with 
-print, my main problem is that I'd like to have a background-image as well 
as alternating table-row background-color above. Any ideas?

Web Maestro Clay
At 07:09 AM 12/20/2002, you wrote:
Hi Jim,
background-image works in v0.20.5rc which can be downloaded from FOP's 
website. It did not work in v0.20.4

Chris

From: "Jim Ross" <[EMAIL PROTECTED]>
Greetings,
I spent all day unsuccessfully struggling to get my background image to 
work in v0.20.4.  Then I stumbled upon the following statement at 
http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html

"Caution:  The only background property FOP 0.20.4 supports is 
'background-color'. The others will probably be added in future releases."

This seems to be in conflict with what I'm reading at the Apache site:
http://xml.apache.org/fop/implemented.html#N100FC
Does anyone know definitively whether or not the 'background-image' 
property works?  If so, in which FOP version?

Thank you,
   Jim Ross
   St. Louis, MO


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

_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3mf

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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