urgent help needed to convert arabic html to pdf

Posted by Mariam on Stack Overflow See other posts from Stack Overflow or by Mariam
Published on 2010-05-22T08:32:27Z Indexed on 2010/05/22 8:40 UTC
Read the original article Hit count: 458

Filed under:
|
|
|
|
<div>
    <table border="1" width="500px">
        <tr>
            <td colspan="2">
                aspdotnetcodebook
                ????? ???????</td>
        </tr>
        <tr>
            <td>
                cell1
            </td>
            <td>
                cell2
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Label ID="lblLabel" runat="server" 
                    Text=""></asp:Label>
                <img alt="" src="logo.gif" style="width: 174px; height: 40px" /></td>
        </tr>
        <tr>
            <td colspan="2" dir="rtl">
                <h1>
                    <img alt="" height="168" 
                        src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" 
                        style="margin-left: 10px; margin-right: 10px; float: left;" width="120" />????? 
                    ????? ??? ??? ?? ?? ??</h1>
                <p>
                    &quot;<b>Little Red Riding Hood</b>&quot; is a famous
                    <a href="http://en.wikipedia.org/wiki/Fairy_tale" title="Fairy tale">fairy tale</a> 
                    about a young girl&#39;s encounter with a wolf. The story has been changed 
                    considerably in its history and subject to numerous modern adaptations and 
                    readings.</p>
                <table align="right" border="1" cellpadding="1" cellspacing="1" 
                    style="width: 200px;">
                    <caption>
                        <strong>International Names</strong></caption>
                    <tr>
                        <td>
                            ????? ???????</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            Italian</td>
                        <td>
                            <i>Cappuccetto Rosso</i></td>
                    </tr>
                    <tr>
                        <td>
                            Spanish</td>
                        <td>
                            <i>Caperucita Roja</i></td>
                    </tr>
                </table>
                <p>
                    The version most widely known today is based on the
                    <a href="http://en.wikipedia.org/wiki/Brothers_Grimm" title="Brothers Grimm">
                    Brothers Grimm</a> variant. It is about a girl called Little Red Riding Hood, 
                    after the red <a href="http://en.wikipedia.org/wiki/Hood_(headgear%2529" 
                        title="Hood (headgear)">hooded</a>
                    <a href="http://en.wikipedia.org/wiki/Cape" title="Cape">cape</a> or
                    <a href="http://en.wikipedia.org/wiki/Cloak" title="Cloak">cloak</a> she wears. 
                    The girl walks through the woods to deliver food to her sick grandmother.</p>
                <p>
                    A wolf wants to eat the girl but is afraid to do so in public. He approaches the 
                    girl, and she naïvely tells him where she is going. He suggests the girl pick 
                    some flowers, which she does. In the meantime, he goes to the grandmother&#39;s 
                    house and gains entry by pretending to be the girl. He swallows the grandmother 
                    whole, and waits for the girl, disguised as the grandmother.</p>
                <p>
                    When the girl arrives, she notices he looks very strange to be her grandma. In 
                    most retellings, this eventually culminates with Little Red Riding Hood saying, 
                    &quot;My, what big teeth you have!&quot;<br />
                    To which the wolf replies, &quot;The better to eat you with,&quot; and swallows her whole, 
                    too.</p>
                <p>
                    A <a href="http://en.wikipedia.org/wiki/Hunter" title="Hunter">hunter</a>, 
                    however, comes to the rescue and cuts the wolf open. Little Red Riding Hood and 
                    her grandmother emerge unharmed. They fill the wolf&#39;s body with heavy stones, 
                    which drown him when he falls into a well. Other versions of the story have had 
                    the grandmother shut in the closet instead of eaten, and some have Little Red 
                    Riding Hood saved by the hunter as the wolf advances on her rather than after 
                    she is eaten.</p>
                <p>
                    The tale makes the clearest contrast between the safe world of the village and 
                    the dangers of the <a href="http://en.wikipedia.org/wiki/Enchanted_forest" 
                        title="Enchanted forest">forest</a>, conventional antitheses that are 
                    essentially medieval, though no written versions are as old as that.</p>
            </td>
        </tr>
    </table>
</div>

i use itextsharp to convert this content which is stored in DB to pdf file to be downloaded to the user

i cant achieve this

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET