You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Aaron Optimizer Digulla <di...@hepe.com> on 2001/02/06 17:18:37 UTC

Re: [fop-dev] landscape

On Tue, Feb 06, 2001 at 11:16:57AM -0500, Eric Deandrea wrote:

> Is there a way to have my resulting pdf document rendered in landscape
> rather than in portrait? I tried reversing the width and height attributes
> in the <fo:simple-page-master> element and that didnt work.

Hmm... that works for me :-/ (well, it's not really landscape but a page
which is wider than high and where more text fits; Acroreader will display
and print it correct).

-- 
==============================================
Sowatec AG,       CH-8330 Pfäffikon (ZH)
Witzbergstr. 7,   http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, digulla@sowatec.com
==============================================

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: [fop-dev] landscape

Posted by Jason Russ <JR...@Korson-McGregor.com>.

Eric Deandrea wrote:

> >
> > > Is there a way to have my resulting pdf document rendered in landscape
> > > rather than in portrait? I tried reversing the width and height
> > attributes
> > > in the <fo:simple-page-master> element and that didnt work.
> >

How are you rendering/viewing/printing your results?

--
Jason L. Russ
Software Consultant
Korson-McGregor, A Software Technology Company
(Formerly known as Software Architects)



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


RE: [fop-dev] landscape

Posted by Eric Deandrea <er...@hnt.com>.
This is my setup:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
     			<fo:layout-master-set>
      				<fo:simple-page-master
					page-master-name="main"
					height="8.5in"
					width="11in"
					margin-top="0.5in"
					margin-bottom="0.5in"
					margin-left="0.5in"
					margin-right="0.5in">
					<fo:region-body/>
				</fo:simple-page-master>
		      </fo:layout-master-set>

      			<fo:page-sequence initial-page-number="1">
		       	<fo:sequence-specification>
					<fo:sequence-specifier-repeating
						page-master-first="main"
						page-master-repeating="main"/>
			       </fo:sequence-specification>

				<fo:static-content flow-name="xsl-after">
					<fo:block text-align="centered">
						<fo:page-number/>
					</fo:block>
				</fo:static-content>

				 <fo:flow>
         				 <xsl:apply-templates/>
        			</fo:flow>
			</fo:page-sequence>
		</fo:root>

-Eric

=============================================
Eric Deandrea
Software Engineer              (617) 557-4573
Harrison & Troxell, Inc.       ericd@hnt.com
2 Faneuil Hall Marketplace
Boston, MA 02109

> -----Original Message-----
> From: Aaron Optimizer Digulla [mailto:digulla@hepe.com]
> Sent: Tuesday, February 06, 2001 11:19 AM
> To: fop-dev@xml.apache.org
> Subject: Re: [fop-dev] landscape
>
>
> On Tue, Feb 06, 2001 at 11:16:57AM -0500, Eric Deandrea wrote:
>
> > Is there a way to have my resulting pdf document rendered in landscape
> > rather than in portrait? I tried reversing the width and height
> attributes
> > in the <fo:simple-page-master> element and that didnt work.
>
> Hmm... that works for me :-/ (well, it's not really landscape but a page
> which is wider than high and where more text fits; Acroreader will display
> and print it correct).
>
> --
> ==============================================
> Sowatec AG,       CH-8330 Pfäffikon (ZH)
> Witzbergstr. 7,   http://www.sowatec.com
> Tel: +41-(0)1-952 55 55
> Fax: +41-(0)1-952 55 66
> ----------------------------------------------
> Aaron "Optimizer" Digulla, digulla@sowatec.com
> ==============================================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org