DO NOT REPLY [Bug 25882] - PS-Renderer doesn't generate pages in landscape orientation

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25882

PS-Renderer doesn't generate pages in landscape orientation

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED



--- Additional Comments From [EMAIL PROTECTED]  2004-01-04 17:39 ---
Either you can try the AutoRotate functionality of the PSRenderer (see link 
below) or you can hack in a few lines in PSRenderer.java just before the 
following line in renderPage():

writeln(0.001 0.001 scale);

The lines to insert are: 

writeln();
writeln(/PageSize [ + Math.round(pspagewidth) +   + Math.round
(pspageheight) + ]);
writeln(/ImagingBBox null);
writeln( setpagedevice);

Note: this is only roughly tested and is probably incorrect when AutoRotate is 
used together with this hack but it should work in your case. Remember to 
rebuild FOP after that.

The reason for this is the missing PageSize. Distiller doesn't interpret DSC 
comments where this information is provided already.

AutoRotate functionality:
http://marc.theaimsgroup.com/?l=fop-devm=105059583307703w=2

(keeping this bug open as a reminder and a note to myself: HEAD's PSRenderer 
is also missing this, but the Transcoder has is already.)


DO NOT REPLY [Bug 25882] New: - PS-Renderer doesn't generate pages in landscape orientation

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25882

PS-Renderer doesn't generate pages in landscape orientation

   Summary: PS-Renderer doesn't generate pages in landscape
orientation
   Product: Fop
   Version: 0.20.5
  Platform: Other
OS/Version: Windows XP
Status: NEW
  Severity: Critical
  Priority: Other
 Component: general
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The ps-renderer doesn't produce correct output if the page format is defined 
as landscape. 
I tested the outpot wit following fo-file:

?xml version=1.0 encoding=utf-8?

fo:root font-family=Times Roman font-size=12pt  
xmlns:fo=http://www.w3.org/1999/XSL/Format;

fo:layout-master-set
!-- layout for the first page --
fo:simple-page-master master-name=A4-landscape reference-
orientation=90
page-height=21cm page-width=29.7cm 
margin-top=1cm margin-bottom=1cm margin-left=1cm 
margin-right=1cm
fo:region-body/fo:region-body
/fo:simple-page-master
/fo:layout-master-set
 

  fo:page-sequence master-reference=A4-landscape

  fo:flow flow-name=xsl-region-body
  fo:block font-size=18pt font-weight=bold FOP test line /fo:block
  /fo:flow
/fo:page-sequence

/fo:root

With the PDF-renderer the output is correct. In my project I can not use the 
PDF-renderer. I have to produce documents with differnt EPS-images in it. EPS-
images will not be converted by PDF-renderer. PDF-files will be generated 
by distiller.

regards
markus steiner


DO NOT REPLY [Bug 6918] - reference-orientation has no effect

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6918

reference-orientation has no effect

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Normal  |Critical
   Priority|Other   |High
Version|0.20.3  |0.20.5



--- Additional Comments From [EMAIL PROTECTED]  2003-05-28 06:04 ---
Outputing to PDF in landscape page orientation is not supported.

The following code example is provided:

fo:simple-page-master master-name=a reference-orientation=90
...
/fo:simple-page-master

The reference-orientation property affects - simple-page-master, block-
container, region-*, inline-container, and others

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



DO NOT REPLY [Bug 6918] - reference-orientation has no effect

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6918

reference-orientation has no effect

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Critical|Enhancement
 OS/Version|Windows NT/2K   |All
   Priority|High|Medium
   Platform|PC  |All
Version|0.20.5  |all



--- Additional Comments From [EMAIL PROTECTED]  2003-05-28 06:43 ---
The notion of portrait or landscape is unknown to PDF. If you want to produce 
pages in landscape:

fo:layout-master-set
  fo:simple-page-master master-name=A4-portrait page-height=29.7cm page-
width=21cm [..]
fo:region-body/
  /fo:simple-page-master
  fo:simple-page-master master-name=A4-landscape page-height=21cm page-
width=29.7cm [..]
fo:region-body/
  /fo:simple-page-master
/fo:layout-master-set

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



[Fwd: reference-orientation implemented yet?]

2003-01-21 Thread Thorsten Scherler
 text/plain; charset=ISO-8859-1; format=flowed: Unrecognized 
---BeginMessage---
div class=moz-text-flowed style=font-family: -moz-fixedHello group,

I tried to implemente the following:

+++
The reference-orientation property 
(http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html)

The reference-orientation property allows you to specify that the 
content of a box is rotated relative to its normal orientation. The only 
valid values are 90-degree increments, which are measured 
counterclockwise, that is 0, 90, 180, and 270. You can also specify -90, 
-180, and -270. For example, here's a 90-degree rotation:

fo:block reference-orientation=90
  Bottom to Top
/fo:block
+++


Is that possible or not yet

/div
---End Message---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


fo properties: glyph-orientation-vertical

2002-10-25 Thread Craig Adamski
I realize XSL:FO has an enormous number of properties and glyph-orientation
is probably low on the priority list.  But does anyone know if there is a
schedule for implementing this property?

craig adamski


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




Re: fo properties: glyph-orientation-vertical

2002-10-25 Thread J.Pietschmann
Craig Adamski wrote:

I realize XSL:FO has an enormous number of properties and glyph-orientation
is probably low on the priority list.  But does anyone know if there is a
schedule for implementing this property?


Not scheduled yet. You can implement it yourself, though.

J.Pietschmann


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




DO NOT REPLY [Bug 8785] New: - refrence-orientation does not implement yet

2002-05-03 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8785

refrence-orientation does not implement yet

   Summary: refrence-orientation does not implement yet
   Product: Fop
   Version: 0.20.2
  Platform: Other
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: pdf renderer
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I would like to change page orientation from portrait to landscape.

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
   fo:layout-master-set
  fo:simple-page-master page-height=11in page-width=8.5in margin-
left=1.0in margin-top=0.2in margin-bottom=1.0in margin-right=1.0in 
master-name=test-page-master
 fo:region-body margin-left=1.0in margin-top=0.2in margin-
right=1.0in margin-bottom=1.0in/
  /fo:simple-page-master
 /fo:layout-master-set
 fo:page-sequence master-name=test-page-master
  fo:flow flow-name=xsl-region-body
   fo:block-container reference-orientation=90
fo:blockThis text should be rotated 90 degrees/fo:block
   /fo:block-container
  /fo:flow
 /fo:page-sequence
/fo:root
But when I run the code, it tell me refrence-orientation does not implement 
yet.

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




Clarification of reference-orientation

2002-02-25 Thread Arved Sandstrom

Hi, editors,

1. All mentions of reference-orientation inheritance in the spec say
something like yes (see prose). This includes Property Table Parts I and
II in the Property Summary, and Section 7.20.3.

The latter (the property description) indicates that the
reference-orientation _trait_ on an area is _indirectly_ derived from the
corresponding property on the FO that generated that area. Presumably this
alludes to Section 5.5.2, which states that

The reference-orientation trait is copied from the reference-orientation
property during refinement. During composition an absolute orientation is
determined (see Section 4.2.2 - Common Traits on page 14).

and in Section 4.2.2 it says

If the reference-orientation for an area is 0, then the top, bottom, left,
and right edges of the content are parallel to those of the area's parent
and consistent with them. Otherwise the edges are rotated from those of the
area's parent as described in Section 7.20.3 - 'reference-orientation' on
page 283.

I want to clarify that this process of determining an absolute orientation
for the _area_ is not confused with being a computed value for the
purposes of inheritance. Because a computed value for inheritance is the
computed value of an FO property, not the value of a trait.

2. I would like to clarify the inheritance  and trait derivation process,
particularly for the simple-page-master/region level.

Example 1: let's assume that a simple-page-master has a
reference-orientation of -90. This means that the TOP of the
page-reference-area is at 3 o'clock. The margin-top for the region-body is
at 3 o'clock, the margin-left is at 12 o'clock, the margin-right is at 6
o'clock, and the margin-bottom is at 9 o'clock.

If the region-body has no explicit specification of reference-orientation
then the spec tells me that the reference-orientation is -90 as inherited
from the simple-page-master. As a result, the region-reference-area is now
oriented with _its_ TOP at -180 (or 180, or 6 o'clock).

Is this correct? My reading of the spec tells me that the _indirect_
derivation alluded to above is merely the process of determining for the
latter case that TOP for the region-body is at 180, that is, the absolute
orientation is 180.

I am confused, perhaps needlessly so, by the addition of the see prose in
reference to inheritance of this property. Why is it there? There is no
complication about inheritance of this property; the computed value of the
_property_ is the same as the _specified_ value; what the _trait_ on the
_area_ is determined to be is something else entirely.

Example 2: let's assume that a top-level block-container specifies 90 for
the value of reference-orientation, and that the region-body TOP that
applies is also 90. What is the computed value for the reference-orientation
_property_ on the block-container? Is it 90 or 180? I interpret the spec as
saying that it is 90, and that if there was a nested block-container or
inline-container with no explicit specification it would inherit 90. The
_absolute orientation_ of the top-level block-container is 180, but this is
a trait.

Or is the see prose a suggestion that in fact the computed value on the
top-level block-container is 180? And that this is what potential descendant
block-containers or inline-containers would inherit? I hope not. I actually
don't think you mean this, but that see prose has thrown me for a loop.
:-)

Clarification welcome.

3. Why the different language when talking about reference-orientation for
region-before, region-after, region-start and region-end? I mean this:

The reference-orientation of the region-viewport-area is taken from the
value of the reference-orientation trait on the region-master which
specifies the region. reference-orientation of the region-reference-area is
set to 0 and is, therefore, the same as the orientation established by the
region-viewport-area.

This language is not used elsewhere. Section 6.4.13 says:

The reference-orientation trait of the fo:region-body is used to orient the
coordinate system of the region-reference-area generated by the
fo:region-body relative to the coordinate system of the page-reference-area
generated by fo:simple-page-master (and, therefore, relative to the viewport
positioned in that latter coordinate system).

and Sections 6.5.3 and 6.6.8 say nothing special at all. Is this
significant? Just curious.

Regards,
Arved Sandstrom


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




page orientation

2001-12-04 Thread Isana Luzia Seabra Campos

Hi,

How can I generate a page at landscape orientation format in pdf file? Is it
possible?
I've tried
fo:region-start reference-orientation=90
and
fo:region-start reference-orientation=-90 
but  I got an warning from fop: reference-orientation is not implemented yet.

Thanks for any help!
Isana




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




RE: page orientation

2001-12-04 Thread Smith, Paul

You can (obviously) achieve the same effect by swaping the values for
page-width and page-height in the page-master. I don't know if there is a
*proper* solution?

-- Paul

 -Original Message-
 From: Isana Luzia Seabra Campos [mailto:[EMAIL PROTECTED]]
 Sent: 04 December 2001 11:30
 To: [EMAIL PROTECTED]
 Subject: page orientation
 
 
 Hi,
 
 How can I generate a page at landscape orientation format 
 in pdf file? Is it
 possible?
 I've tried
 fo:region-start reference-orientation=90
 and
 fo:region-start reference-orientation=-90 
 but  I got an warning from fop: reference-orientation is not 
 implemented yet.
 
 Thanks for any help!
 Isana


***
DISCLAIMER: The information contained in this email
 is confidential and is intended solely for the use of the
 named addressee.  Access, copying or re-use of the
 information in it by any other person is not authorised.



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




RE: page orientation

2001-12-04 Thread Smith, Paul R

I swapped the page width and height...

I am not sure if this is the correct way.

- Paul Smith

-Original Message-
From: Isana Luzia Seabra Campos [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 11:30
To: [EMAIL PROTECTED]
Subject: page orientation


Hi,

How can I generate a page at landscape orientation format in pdf file? Is
it
possible?
I've tried
fo:region-start reference-orientation=90
and
fo:region-start reference-orientation=-90 
but  I got an warning from fop: reference-orientation is not implemented
yet.

Thanks for any help!
Isana




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

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




Re: page orientation

2001-12-04 Thread Isana Luzia Seabra Campos


Hi Paul,
this way works very well!

Thanks a lot.
Isana

Smith, Paul R wrote:

 I swapped the page width and height...

 I am not sure if this is the correct way.

 - Paul Smith

 -Original Message-
 From: Isana Luzia Seabra Campos [mailto:[EMAIL PROTECTED]]
 Sent: 04 December 2001 11:30
 To: [EMAIL PROTECTED]
 Subject: page orientation

 Hi,

 How can I generate a page at landscape orientation format in pdf file? Is
 it
 possible?
 I've tried
 fo:region-start reference-orientation=90
 and
 fo:region-start reference-orientation=-90 
 but  I got an warning from fop: reference-orientation is not implemented
 yet.

 Thanks for any help!
 Isana

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

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


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




Re: orientation

2001-10-11 Thread Dirk-Willem van Gulik


Ok - found it. For some reason it seems to come from an other
account: [EMAIL PROTECTED] - let me make sure it accepts 
both.

Dw.

On Thu, 11 Oct 2001, Brian T. Wolf wrote:

 I am trying to utilize the code in PCLRenderer that will send the landscape escape 
sequence. Unfortunately I cannot seem to figure out how to pass the information from 
the stylesheet to the renderer. If someone is already working on this I can wait a 
little bit; otherwise any advice on how to proceed to make the coding changes would 
be appreciated.
 
 Thanks,
 Brian
 


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




orientation

2001-10-11 Thread Brian T. Wolf



I am trying to utilize the code in 
PCLRenderer that will send the landscape escape sequence. Unfortunately I cannot 
seem to figure out how to pass the information from the stylesheet to the 
renderer. If someone is already working on this I can wait a little bit; 
otherwise any advice on how to proceed to make the coding changes would be 
appreciated.

Thanks,
Brian


AW: reference-orientation for block-container

2001-09-06 Thread Matthias Born

hi arved!

oh no, i'm only a fop-user, not a programmer.

it seems to be a missunderstanding 'couse of my worse englich

i'm only searching for an alternative for this not implemented feature.

regards, 

matze

   -Ursprungliche Nachricht-
   Von: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
   Gesendet: Donnerstag, 6. September 2001 02:51
   An: [EMAIL PROTECTED]
   Betreff: Re: reference-orientation for block-container
   
   
   At 06:19 PM 9/4/01 +0200, Matthias Born wrote:
   hi!
   
   i need sth like the attribute reference-orientation for
   fo:block-containers to display text vertical.
   unfortunately it isn't implemented yet.
   
   any ideas how to realize this?
   
   regards!
   
   matze
   
   Hi, Matthias
   
   Do I understand you correctly when I gather that you are 
   interested in 
   working on this feature? :-)
   
   Regards,
   Arved Sandstrom
   
   Fairly Senior Software Type
   e-plicity (http://www.e-plicity.com)
   Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia
   
   
   ---
   --
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
   

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




Re: reference-orientation for block-container

2001-09-05 Thread Arved Sandstrom

At 06:19 PM 9/4/01 +0200, Matthias Born wrote:
hi!

i need sth like the attribute reference-orientation for
fo:block-containers to display text vertical.
unfortunately it isn't implemented yet.

any ideas how to realize this?

regards!

matze

Hi, Matthias

Do I understand you correctly when I gather that you are interested in 
working on this feature? :-)

Regards,
Arved Sandstrom

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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




region-body / reference-orientation

2001-08-10 Thread Alex McLintock

Anyone want to help this person out? I wish I had a quid every time 
someone assumed that since I help out with the FAQ they could
ask me a question before mailing it to the list...


--
Originally from: [EMAIL PROTECTED] 
Originally to: alex 
Date: Thu, 9 Aug 2001 18:47:53 + (GMT+00:00) 


Subject: [FAQ] region-body / reference-orientation 
Hi, the reference-orientation is support in Fop?, this property not work WARNING: 
property
'reference-orientation' ignored, this feature is support  in FOP ?.
 



=
Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London
OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ 
SF and Computing Book News and Reviews: http://news.diversebooks.com/
Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

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