HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › Problem in applying margins › Re: Re: Problem in applying margins
April 29, 2010 at 21:52
#27901
so pd4ml:transform doesn’t work if embedded in raw HTML for processing via pd4ml.render(HTMLInputStream, pdfOutputStream);
? I’m looking to set up templates with page orientation data in them but have been struggling with getting them to work. I’d prefer to not have to code the Java handler to set the orientation…
sample HTML:
<pd4ml:transform pageOrientation="landscape"><br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"<br />
"http://www.w3.org/TR/html4/loose.dtd"><br />
<html><br />
<head><br />
<title>landscape report - DEV</title><br />
...