← Prev in month ← Prev in thread

Different params for different outputs .....

From
Kerry, Richard <>
Date
2009-02-16T12:25:16+00:00
ID
Thread
Different params for different outputs .....
Team,

 

I have a DocBook 
source file that includes a reference to a png file for a 
diagram.

 

When I generate a 
pdf file from it (via FO using FOP) I need to specify a 
scaling.

ie

<imagedata 
fileref="./Diagrams/Flowchart.png" scale="35" />

 

When I generate an 
html file I don't.

ie

<imagedata 
fileref="./Diagrams/Flowchart.png" />

 

What's my best way 
to handle this ?  

Of course I don't 
want to have two separate DocBook source files for the two output 
formats.

 

 

Regards,

Richard.

 

 

 

Richard 
Kerry
Colledia Control 
Engineer
Siemens 
IT Solutions and Services Ltd
Room 457 Drama Building, BBC 
Television Centre, Wood Lane, London, W12 7RJ
T: +44 (0)20 
82259063 F: +44 (0)20 8576 8182 M: +44 (0)7921 244993
Email: 
Website:  www.siemens.co.uk/it-solutions

This e-mail contains 
confidential information and is for the exclusive use of the addressee/s.  
If you are not the addressee, then any distribution, copying or use of this 
e-mail is prohibited. If received in error, please advise the sender and delete 
it immediately.  We accept no liability for any loss or damage suffered by 
any person arising from use of this e-mail.

Siemens IT Solutions 
and Services Limited
Registered 
No: 1203466 England
Registered Office: Faraday House, Sir William Siemens 
Square, Frimley, Camberley, GU16 8QD
← Prev in month ← Prev in thread