HTML tags with CSS are not rendered properly

Hi,

HTML formating is not happening properly inside Text Object. I have used HTML tags along with CSS for indentation & formatting. But it is not happening properly.
It is not supportting inline CSS also.

Please find the enclosed as attachment HTML file, PDF generated with Aspose, HTML & CSS file.

Please refer pages 2- 14 of PDF for HTML rendered in Aspose.

HTML used

  • 200Quality Assurance And Brand Threshholds
    Resources
    APAC:Quality Assurance for Comp1
    • resource4
    • resource5
    North America:Quality Assurance for Comp
    • resource3
    • resource4
    India:Quality Assurance for Comp2
    • http://google.com
    • http://yahoo.com
    United States:Quality Assurance for Comp2
    • http://google3.com
    • http://yahoo3.com
    • 201.00
      General Rules
      Asia:General Rules for Comp
      Properties management approval var1
      Canada:General Rules for Comp1
      India:General Rules for Comp2
      • 201.01
        Mexico:Franchise property management and approval Var
        final approval var1
        Mexico:Franchise property management and approval Var1
        final approval var2
        • A
          China:property management approval var
          Management Company var
          Mexico:property management approval
          Management Company
          • I
            Mexico:Franchise
            Franchise Company var
            • http://google5.com
            • http://yahoo5.com
            Mexico:Franchise
            Franchise Company var1


      HTML & CSS File are enclosed as Zip.

      Screen shot of HTML rendered in browser is also enclosed.

      With regards,

      Rajat Nayyar

      Hi,

      Their is another issue, for some HTML tags it generates bookmarks by own, which is not needed or mentioned in code to be shown.

      REgards,

      Rajat

      Hi Rajat,

      I
      have tested the scenario and I am able to reproduce the same problem that CSS is not being honored during HTML to PDF generation. For the
      sake of correction, I have logged it in our issue tracking system as PDFNEWNET-30613. We will investigate this
      issue in details and will keep you updated on the status of a correction.
      <span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif””><span style=“font-size:10.0pt;
      font-family:“Arial”,“sans-serif””>

      Besides this, I am unable to notice the issue related to Bookmarks. In resultant PDF, I am unable to notice any bookmarks. For your reference, I have attached the resultant PDF that I have generated.

      We apologize for your inconvenience.


      Hi Rajat,


      Thanks for your patience.

      We are pleased to share that the issue reported earlier is fixed in latest release of Aspose.Pdf for .NET 9.3.0. Please try using the latest release and in case you still face any problem, please feel free to contact.

      The issues you have found earlier (filed as PDFNEWNET-30613) have been fixed in Aspose.Pdf for .NET 9.4.0.


      This message was posted using Notification2Forum from Downloads module by Aspose Notifier.