Home Forums DITA and XMetaL Discussion Insert an image to the PDF cover page that fills up the whole page Reply To: Insert an image to the PDF cover page that fills up the whole page

IF

Reply to: Insert an image to the PDF cover page that fills up the whole page

For inserting the image, this worked for me (note that I am using deliverable XMetal Enhanced PDF via RenderX XEP).

I replaced the template that has this match element  [code]      match=”fo:region-body[contains(parent::*/@master-name,'odd')] | fo:region-body[contains(parent::*/@master-name,'first')]”[/code]

(template is in file C:UsersAppDataRoamingSoftQuadXMetaL SharedDITA_OTdemoxmfoCustomizationfoxslxm_layout_masters_overrides.xsl)

with the following
[code]      match=”fo:region-body[contains(parent::*/@master-name,'odd')]”
      mode=”layout-masters-processing”>
           
         
         
               
         
     

      match=”fo:region-body[contains(parent::*/@master-name,'first')]”
      mode=”layout-masters-processing”>
           
         
         
               
         
      url(Customization/OpenTopic/common/artwork/cover_page_background.jpg)
no-repeat
center center
   

   
[/code]

You need to put a copy of your image here
[output directory]pdf_outCustomizationOpenTopiccommonartwork

You may also have to modify the image size.

Reply

Products
Downloads
Support