18.06.2015 Views

Report Markup Language:

Report Markup Language:

Report Markup Language:

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Report</strong> <strong>Markup</strong><br />

<strong>Language</strong>:<br />

RML2PDF and RML<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


<strong>Report</strong> <strong>Markup</strong> <strong>Language</strong><br />

n<br />

n<br />

n<br />

n<br />

n<br />

Page Layout Description<br />

RML<br />

RML2PDF<br />

Text<br />

No Programming<br />

Outputs PDF<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


What is RML?<br />

n<br />

n<br />

n<br />

XML<br />

Cross-platform<br />

Simple to use!<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


What is RML NOT?<br />

n<br />

n<br />

n<br />

"XML-like"<br />

XSLT<br />

Free<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


RML Features:<br />

n<br />

n<br />

n<br />

Separates content from layout:<br />

- stylesheet<br />

- template<br />

- story<br />

Integrates with other RL products<br />

(eg PageCatcher)<br />

Allows:<br />

-multiple frames on a page<br />

-multiple templates in a document<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


Graphics vs Flowables:<br />

n<br />

n<br />

Graphics<br />

appear at a specific, defined<br />

location on the page.<br />

Flowables<br />

Appear in the "story", which flows<br />

down the page.<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


Examples:<br />

n<br />

Graphics<br />

drawString, rect, circle,<br />

ellipse, lines, path,<br />

curves, forms<br />

n<br />

Flowables<br />

para, blockTable, title,<br />

h1, h2, h3, spacer, pre<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


More Examples:<br />

n<br />

n<br />

n<br />

n<br />

n<br />

n<br />

n<br />

More graphics<br />

grid, Translate, Scale, Rotate,<br />

Skew, Transform, Image<br />

PageNumber<br />

Name and getName<br />

Seq and seqReset<br />

plugInGraphics and plugInFlowables<br />

Aliases<br />

outlineAdd<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


How does RML look?<br />

<br />

<br />

<br />

<br />

<br />


A real example of RML:<br />

Space station demo...<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


RML can be invoked<br />

from:<br />

n<br />

n<br />

Command line<br />

rml2pdf filename.rml<br />

Cgi-script<br />

(eg web or application server)<br />

n<br />

Within Python<br />

def go(xmlInputText,<br />

outputFileName=None, outDir=None,<br />

dtdDir=None):<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


PageCatcher<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


PageCatcher<br />

n<br />

Takes an external PDF file<br />

n<br />

Extracts single or multiple pages<br />

("catches" them)<br />

n<br />

"cans" them as a data file<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


So...?<br />

n<br />

n<br />

n<br />

n<br />

n<br />

Allows you to re-use single/multiple pages<br />

from existing PDF files<br />

Lets designers use their favorite tools...<br />

Can re-order pages without having to<br />

totally redesign<br />

Can overprint new info on old documents<br />

Integrates with RML!<br />

Using the tag<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001


Some PageCatcher<br />

demos...<br />

some basic demos showing what it<br />

can do.<br />

<strong>Report</strong>Lab Solutions, LSM, Bordeaux 2001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!