Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
May I have some advice on setting the style of a cell in Birt?
Migrateduser
<p>I am creating a report using the api's. I successfully created a report and exported it to excel, however there is no style, no font, or no color. I can't figure out how I would add these things to a CellHandle. I want to create the report dynamically so using a .rptDesignFile created using the gui report editor isn't an option. Could someone give me a suggestion, or a minimum example of adding a color to a font for the text located in a CellHandle.</p>
<p> </p>
<p>Right now I am viewing the API for these classes, supposedly I shouldn't access SharedStyleHandle directly. And a ReportDesignHandle is not useable in the constructor for the SharedStyleHandle anyway.</p>
<p> </p>
<p>DesignElementHandle</p>
<p><a data-ipb='nomediaparse' href='
http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.birt.doc.isv/model/api/org/eclipse/birt/report/model/api/CellHandle.html'>http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.birt.doc.isv/model/api/org/eclipse/birt/report/model/api/CellHandle.html</a></p>
;
<p> </p>
<p>SharedStyleHandle</p>
<p><a data-ipb='nomediaparse' href='
http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.birt.doc.isv/model/api/org/eclipse/birt/report/model/api/SharedStyleHandle.html'>http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.birt.doc.isv/model/api/org/eclipse/birt/report/model/api/SharedStyleHandle.html</a></p>
;
<p> </p>
<p>ModuleHandle</p>
<p><a data-ipb='nomediaparse' href='
http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.birt.doc.isv/model/api/org/eclipse/birt/report/model/api/ModuleHandle.html'>http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.birt.doc.isv/model/api/org/eclipse/birt/report/model/api/ModuleHandle.html</a></p>
;
<p> </p>
<p>ReportDesignHandle</p>
<p><a data-ipb='nomediaparse' href='
http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.birt.doc.isv/model/api/org/eclipse/birt/report/model/api/CellHandle.html'>http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.birt.doc.isv/model/api/org/eclipse/birt/report/model/api/CellHandle.html</a></p>
;
<p>
</p>
Find more posts tagged with
Comments
There are no comments yet