Home
Analytics
create a rptdesign from scratch via Design API? - example?
mimocx
<p>Hello,</p><p> </p><p>I'm new to the BIRT API!</p><p>I want to handle the following workflow</p><p>- generate a rptdesign (including the resulting xml file) based on a generic internal data structure</p><p>- generate with pure Design API without any initial template rptdesign</p><p>- later on customize the rptdesign with the eclipse birt designer</p><p> </p><p>I couldn't find any example to do the first part: generate a rptdesign from scratch only with the Design API.</p><p>I need to add a data source, data set and for example a table displaying the data from the data set.</p><p> </p><p>Can you please point me to an example for that?</p><p>Thanks</p><p>Michael</p>
Find more posts tagged with
Comments
kclark
<p>Take a look at <a data-ipb='nomediaparse' href='
http://wiki.eclipse.org/Java_-_Simple_Design_Engine_API_(BIRT)'>this
page</a>, it'll show you how to create a design from the API's, I'll see if I can't dig up some devshares for you too.</p>
mimocx
<p>Thank you very much! I also found that link with the "basic stuff" :-)</p><p>What I additionally need is samples for</p><ul class='bbc'><li>referring to ODA Data Set/Sources,</li><li>binding columns/fields,</li><li>"designing" tables,</li><li>styling (at least something analogue to "setting a CSS-class to an HTML component",</li><li>etc.</li></ul><p> </p><p>Thanks</p><p>Michael</p>
kclark
<p>I'll see if I can't dig up some more examples in the devshare and link you to them. Can you give an explanation to a report you might want to create and I could try and write you an example?</p>
mimocx
<p>Sorry for the late answer! I managed to get all necessary APIs running to generate the reports we needed!</p>
<p>
But now I have another question about supported CSS/Style Sheets attributes and export formts as HTML, PDF etc:<br>
<a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/topic/35494-using-external-css-for-html-pdf-reports-via-api-supported-attributes/'>http://developer.actuate.com/community/forum/index.php?/topic/35494-using-external-css-for-html-pdf-reports-via-api-supported-attributes/</a></p>
;
<p>
Thanks<br>
Michael</p>