OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
bobs@sagehill.net


----- Original Message ----- 
From: "Jerry Janofsky" <JanofskyJ@comcast.net>
To: "'Docbook Apps'" <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]