List Info

Thread: Using a MedaObject to get a PDF to scale to the page body size




Using a MedaObject to get a PDF to scale to the page body size
user name
2006-10-23 23:16:29
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: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )