Re: AW: automatic image scaling

2002-11-28 Thread Keiron Liddle
On Wed, 2002-11-27 at 16:17, Alexander Koppelhuber wrote:
 if block-container.height = img.height and block-container.width 
 img.width then
 the image gets scaled to the width of the block-containter (gets smaller);
 
 if bloc-container.height = img.height and block-container.width =
 img.width then
 the image gets rendered according to the image size (no scaling is done)
 
 if bloc-container.height  img.height then no image is rendered
 no matter which values are used for width

This is because the line containing the image cannot fit within the
block container so it displays nothing. The correct behaviour should put
the image there as normal and then handle the overflow.

 content-width and content-height do not have any effect at all
 
 
 I hope that this behaviour isn't just coincidence.

It doesn't sound totally correct.

There is some scaling done, that attempts to make it fit on the page
(not block container) that scales down to the area width and the page
height.
This appears to be causing the behaviour you are observing.

I'm not sure how you could work around the problem.



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



Re: reference-orientation

2002-11-28 Thread Jeremias Maerki

On 28.11.2002 00:47:26 bernt asbjørn omland wrote:
 I am developing a stylesheet which generates a pdf document. I need to
 rotate some of the text so that it appears vertically from top to
 bottom. I have not been able to do this with fop, so my questions are:
 
 Is reference-orientation for block-container implemented in fop?

No, it's not.

 If not,
 is there some other way to rotate a block or a block-container 90
 degrees counter clockwise?

Yes, you can use SVG instead of FO for the rotated text.


Jeremias Maerki


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



foa extension

2002-11-28 Thread Torsten Erler
Hi

I try to simplify the xsl-stylesheet production for our product.
So I've created a XSL via WH2FO from a Word2000-html document.
If I transform the document and show it (using AWTRenderer) I get the
Errors:

[ERROR] - property 'foa:name' ignored
[ERROR] - property 'foa:group' ignored

The screen rendering result and the produced PDF-file looks very good
(except a few character encoding problems).

Does anyone know how avoid the error

ThanX

Torsten Erler


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



AW: foa extension

2002-11-28 Thread Scherler, Thorsten
Hello Torsten, 

Quit similar names!

1) you export your word doc into html.
2) you run that html through a WH2fo stylesheet
3) your result is a pdf.

Is that right?

I don't know foa, but have you set the namespaces correct? (have a [EMAIL 
PROTECTED]://lists.w3.org/Archives/Public/www-xsl-fo/2002Aug/0049.html)
e.g.:
xsl:stylesheet
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
version=1.0
xmlns:fo=http://www.w3.org/1999/XSL/Format;
xmlns:fox=http://xml.apache.org/fop/extensions;
xmlns:foa=http://fabio;

Maybe that helps!

Regards

-Ursprüngliche Nachricht-
Von: Torsten Erler [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 28. November 2002 11:29
An: Fop-User (E-mail)
Betreff: foa extension


Hi

I try to simplify the xsl-stylesheet production for our product.
So I've created a XSL via WH2FO from a Word2000-html document.
If I transform the document and show it (using AWTRenderer) I get the
Errors:

[ERROR] - property 'foa:name' ignored
[ERROR] - property 'foa:group' ignored

The screen rendering result and the produced PDF-file looks very good
(except a few character encoding problems).

Does anyone know how avoid the error

ThanX

Torsten Erler


-
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: reference-orientation

2002-11-28 Thread Bernt Asbjørn Omland
On Thu, 28 Nov 2002, Jeremias Maerki wrote:
 
 On 28.11.2002 00:47:26 bernt asbjørn omland wrote:
  I am developing a stylesheet which generates a pdf document. I need to
  rotate some of the text so that it appears vertically from top to
  bottom. I have not been able to do this with fop, so my questions are:
  
  Is reference-orientation for block-container implemented in fop?
 
 No, it's not.

Are there any plans of implementing this in the near future? Some cvs 
version available maybe?

  If not,
  is there some other way to rotate a block or a block-container 90
  degrees counter clockwise?
 
 Yes, you can use SVG instead of FO for the rotated text.

I have tried this option but I can't get it to do what i want. I need to 
wrap text inside absolute positioned block-containers and the text 
for each pdf document I produce changes (read from an external source). 
Can svg wrap text inside absolute positioned (and absolute sized) 
block-containers?

Bernt Omland

 
 Jeremias Maerki
 
 
 -
 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: reference-orientation

2002-11-28 Thread Keiron Liddle
On Thu, 2002-11-28 at 12:23, Bernt Asbjørn Omland wrote:
 On Thu, 28 Nov 2002, Jeremias Maerki wrote:
  
  On 28.11.2002 00:47:26 bernt asbjørn omland wrote:
   I am developing a stylesheet which generates a pdf document. I need to
   rotate some of the text so that it appears vertically from top to
   bottom. I have not been able to do this with fop, so my questions are:
   
   Is reference-orientation for block-container implemented in fop?
  
  No, it's not.
 
 Are there any plans of implementing this in the near future? Some cvs 
 version available maybe?

We are working on the implementation of such things in the redesign.
There is a basic implementation of this but it is not ready for general
use.

 I have tried this option but I can't get it to do what i want. I need to 
 wrap text inside absolute positioned block-containers and the text 
 for each pdf document I produce changes (read from an external source). 
 Can svg wrap text inside absolute positioned (and absolute sized) 
 block-containers?

There is an extension in batik that does text wrapping. I think it might
be something for a future svg spec. I'm not sure what version of batik
has this.




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



Re: foa extension

2002-11-28 Thread Oleg Tkachenko
Torsten Erler wrote:
I try to simplify the xsl-stylesheet production for our product.
So I've created a XSL via WH2FO from a Word2000-html document.
If I transform the document and show it (using AWTRenderer) I get the
Errors:
[ERROR] - property 'foa:name' ignored
[ERROR] - property 'foa:group' ignored
The screen rendering result and the produced PDF-file looks very good
(except a few character encoding problems).
Does anyone know how avoid the error
Actually those are not errors, xsl-fo elements may bear attributes from 
non-xsl namespace. Just ignore those messages.

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


Re: AW: Pass xsl:param value to FOP through command line

2002-11-28 Thread Oleg Tkachenko
Clay Leeds wrote:
What's currently happening:
(I currently have enough FLOW content to print 3 ODD pages). ODD page 
prints Page 1 of 5, EVEN page (Wahoo!), ODD page (3 of 5), EVEN page 
(Wahoo!), ODD page (5 of 5), ODD page (6 of 5 -- not Wahoo!). Go back 
and read that. Yes, it's an ODD page with 5 of 5 and then another ODD 
page that indicates 6 of 5! D'oh!
Sorry, cannot reproduce, with your example I got ODD, EVEN, ODD, EVEN, ODD, 
EVEN(forced page).

What's easier? Blank page? :-)
Not, page with a content. :)
I tried this. Unfortunately, I think that's what gave me the page 6 of 5 
error
If it's still wrong, file it to bugzilla and provide fo (without xslt) 
example, I'll try to check it out.

Problem is, while you may have zero or more static-content regions, one 
FLOW is required.
Right.
I ended up resolving all of the issues I had to resolve (except for 
the weird font rendering issues).
What do you mean?
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]