Next in thread → Next in month →

Re: [docbook-apps] Using a MedaObject to get a PDF to scale to the page body size

From
Bob Stayton <>
Date
2006-10-26T06:42:38+00:00
ID
0bea01c6f8c9$e2734d40$6400a8c0@totoro
Thread
Re: [docbook-apps] Using a MedaObject to get a PDF to scale to the page body size
I can't duplicate this problem.  Can you post a bug report on the DocBook 
SourceForge site and upload a sample graphic and xml file that illustrates 
the problem?

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Jerry Janofsky" <>
To: "'Docbook Apps'" <>
Sent: Monday, October 23, 2006 4:16 PM
Subject: [docbook-apps] Using a MedaObject to get a PDF to scale to the 
page body size


>
> I am attempting to use a "mediaobject" to insert a PDF into the body of 
> my
> docbook page. I want the pdf to maintain aspect ratio without extending 
> over
> the border of the body. However, even when I use scalefit="1 width="100%"
> contentheight="100%", I can end up with the internal pdf taller then the
> page body. It will often run over the region-after extent.
>
> I have tried many combinations, however, none seem to work. Is there a 
> way
> to do this?
>
> Below is a chapter section of my docbook. I am using XEP.
>
> <chapter>
>  <chapterinfo>
> <author></author>
>  </chapterinfo>
>  <title>Selecting a Provider</title>
>  <mediaobject>
>    <imageobject>
> <imagedata fileref="http://webserver/my.pdf format="PDF" scalefit="1
> width="100%" contentheight="100%" >
>      </imagedata>
>   </imageobject>
>  </mediaobject>
> <?pagebreak ?>
> </chapter>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →