Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [birt-report-designer-dev] how to draw rounded rectangles

Hi,

There's a image on the corners of the table. Take a look the piece of code below:

                                <cell id="85">
                                    <property name="style">SouthWestCorner</property>
                                    <property name="backgroundColor">#FFFFFF</property>
                                    <property name="fontSize">xx-small</property>
                                    <property name="textAlign">right</property>
                                    <property name="verticalAlign">top</property>
                                    <image id="145">
                                        <property name="height">10px</property>
                                        <property name="width">10px</property>
                                        <property name="source">embed</property>
                                        <property name="imageName">sw.gif</property>
                                    </image>
                                </cell>

The sw.gif is an image with the properties height and the width defined. This image is a corner.
There's a ccs defined too:

    <styles>
        <style name="NorthWestCorner" id="147">
            <property name="backgroundPositionX">left</property>
            <property name="backgroundPositionY">top</property>
            <property name="fontSize">xx-small</property>
            <property name="paddingTop">0pt</property>
            <property name="paddingLeft">0pt</property>
            <property name="paddingBottom">0pt</property>
            <property name="paddingRight">0pt</property>
        </style>
        <style name="NorthEastCorner" id="148">
            <property name="backgroundColor">#FFFFFF</property>
            <property name="backgroundPositionX">right</property>
            <property name="backgroundPositionY">top</property>
            <property name="fontSize">xx-small</property>
            <property name="paddingTop">0pt</property>
            <property name="paddingLeft">0pt</property>
            <property name="paddingBottom">0pt</property>
            <property name="paddingRight">0pt</property>
        </style>
        <style name="SouthWestCorner" id="149">
            <property name="backgroundColor">#DDDDDD</property>
            <property name="backgroundPositionX">right</property>
            <property name="backgroundPositionY">bottom</property>
            <property name="paddingTop">0pt</property>
            <property name="paddingLeft">0pt</property>
            <property name="paddingBottom">0pt</property>
            <property name="paddingRight">0pt</property>
        </style>
        <style name="SouthEastCorner" id="150">
            <property name="backgroundColor">#FFFFFF</property>
            <property name="backgroundPositionX">left</property>
            <property name="backgroundPositionY">bottom</property>
            <property name="fontSize">xx-small</property>
            <property name="paddingTop">0pt</property>
            <property name="paddingLeft">0pt</property>
            <property name="paddingBottom">0pt</property>
            <property name="paddingRight">0pt</property>
        </style>
        <style name="BorderRow" id="151">
            <property name="backgroundColor">#DDDDDD</property>
            <property name="fontSize">xx-small</property>
            <property name="paddingTop">0pt</property>
            <property name="paddingLeft">0pt</property>
            <property name="paddingBottom">0pt</property>
            <property name="paddingRight">0pt</property>
        </style>
    </styles>

The styles can be edited in the outline tab take a look on the picture attached.

[]'s

On Thu, May 17, 2012 at 9:41 AM, Sachdev, Hina <hina.sachdev@xxxxxxxxxx> wrote:

Hi,

I wanted to create a rounded rectangle using BIRT but unable to do it.     I searched the internet and got one .rptdesign but unable to understand the code. I am attaching the same here.

Pls help me out with it.

Thanks


Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

_______________________________________________
birt-report-designer-dev mailing list
birt-report-designer-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/birt-report-designer-dev




--
Tonismar Régis Bernardo
Departamento de Governança Eletrônica / Desenvolvimento
Confederação Nacional de Municípios - CNM
Telefone: (61) 2101-6000 - Fax: (61) 2101-6008

Visite nosso site
www.cnm.org.br

Attachment: Picture 1.png
Description: PNG image


Back to the top