Scaling Background images / Text Overlay to an image

View: New views
2 Messages — Rating Filter:   Alert me  

Scaling Background images / Text Overlay to an image

by JPee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm working with Fop for creating some PDFs. Is there a way for background images to scale them, like for external-graphic the width/height attribute and the content-height/width="scale-to-fit" attribute?

If not, is it possible to work with layers so that there is a block with an absolute position, which doesn't influences other elements of the page?

Greetings JPee

Re: Scaling Background images / Text Overlay to an image

by JPee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found a solution for the second point here:
http://www.ecrion.com/Support/Resources/XSL-FOTutorial/AbsolutePositioning.xml.html

The topic can be closed.

Greetings JPee

JPee wrote:
Hi,

I'm working with Fop for creating some PDFs. Is there a way for background images to scale them, like for external-graphic the width/height attribute and the content-height/width="scale-to-fit" attribute?

If not, is it possible to work with layers so that there is a block with an absolute position, which doesn't influences other elements of the page?

Greetings JPee