Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Dynamic Text
Frederick
Hi Guys,<br />
<br />
I am trying to includes some dynamic content in my report. What I am trying to achieve is indentation of content. The idea I was trying to implement was using HTML to control the layout of content within the dynamic text element. I am using UL and LI HTML tags to manage the indentation. i.e.<br />
<br />
<ul class='bbc'><li>Line item one<br />
<ul class='bbc'><li>Indented line item one</li><li>Indented line item two</li><li>Indented line item three</li></ul></li><li>Line item two</li><li>Line item three</li></ul>
<br />
I specified the list-style-type: none; CSS property which seems to be applied when rendering to HTML output, but when I generate PDF the list items have dots next to them. Is there a way to control this? Or even better is there a better way to insert dynamic content with in reports?<br />
<br />
Is there a way to use list-style-type: upper-alpha and list-style-type: lower-roman properties?<br />
<br />
Kind regards<br />
Fred
Find more posts tagged with
Comments
mwilliams
Hi Fred,<br />
<br />
It doesn't look like the types pass through when going to PDF. Unordered lists just use dots and ordered lists just use numbers (1, 2, 3, etc.) in PDF no matter what type you try to pass to it. Please file a bug for this at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a>. Screenshots and a good description are always good to help them understand the reported bug.
anonym0us
<p>This post was way back 2008. Was this issue/enhancement applied already? Because as of now I'm still encountering the bullets even when [color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]list-style-type: none is applied.[/color]</p>
mwilliams
<p>It appears that the other list style types work, but just not the "none" option. If you use <ol> with list style type equal to none, you don't get a bullet, but just a small little mark, but still a mark nonetheless. You can file a bug for this at eclipse.org/birt in the bugzilla. If you do, please post the bug info in this thread. Thanks!</p>
anonym0us
<p>Posted this bug on bugzilla.<br />
<br />
<a data-ipb='nomediaparse' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=416108'>Bug 416108</a><span
style="font-size:12px;"><strong class='bbc'> - </strong></span><UL> with list-style-type:none has bullets rendered on pdf</p>
mwilliams
<p>Thanks for the update!
</p>
andrej
<blockquote class="ipsBlockquote" data-author="anonym0us" data-cid="119755" data-time="1377761196"><div><p>Posted this bug on bugzilla.<br />
<br />
<a data-ipb='nomediaparse' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=416108'>Bug 416108</a><strong
class='bbc'> - </strong><UL> with list-style-type:none has bullets rendered on pdf</p></div></blockquote><p>It has been more than 7 months since the bug was reported and still no sign of any resolution. Does anyone know of a workaround perhaps?</p>
mwilliams
<p>This works as a workaround:
</p><pre class="_prettyXprint">Check out this list:<ul style="font-size:12px"><li style="font-size:0px"><span style="font-size:12px">item1</span></li><li style="font-size:0px"><span style="font-size:12px">item2</span></li><li style="font-size:0px"><span style="font-size:12px">item3</span><ul style="font-size:12px"><li style="font-size:0px"><span style="font-size:12px">item4</span></li><li style="font-size:0px"><span style="font-size:12px">item5</span></li></ul></li><li style="font-size:0px"><span style="font-size:12px">item6</span></li></ul></pre><p>Obviously not great, but you could work with the css to make it not as much of a pain, probably.</p>
andrej
<blockquote class="ipsBlockquote" data-author="mwilliams" data-cid="127140" data-time="1396562467"><div><p>This works as a workaround:
</p><pre class="_prettyXprint">Check out this list:<ul style="font-size:12px"><li style="font-size:0px"><span style="font-size:12px">item1</span></li><li style="font-size:0px"><span style="font-size:12px">item2</span></li><li style="font-size:0px"><span style="font-size:12px">item3</span><ul style="font-size:12px"><li style="font-size:0px"><span style="font-size:12px">item4</span></li><li style="font-size:0px"><span style="font-size:12px">item5</span></li></ul></li><li style="font-size:0px"><span style="font-size:12px">item6</span></li></ul></pre><p>Obviously not great, but you could work with the css to make it not as much of a pain, probably.</p></div></blockquote><p>Thanks for the suggestion, but now I am stuck with another problem.</p><p> </p><p>As long as I have <li style="font-size: 0px"> anywhere in the report, the PDF output fails with message: "Failed to load PDF document". HTML output works fine.</p><p> </p><p>Getting a bit frustrated over here to be honest.</p>