We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PdfA1A vs normal Pdf: incorrect displayig of bullets (headingtype)

Hello Aspose-Team,
i have problem with PdfA1A while saving. I generate a Pdf file from XML and XSLT, in which i use different bullets (headingType). When i display it from byte stream after generation, everything works fine. Then I save my pdf file and open again: all user defined bullets (e.g. UserLabel 45) lost. System defined bullets are displayed correct. Do i need to preconfigure something, to get it displayed correced?
The second issue i’m facing is just opposite: incorrect displaying of system defined bullets (Bullet4 and Bullet5) in normal mode of Pdf (no PDFA1A-conformance) and correct displaying of user defined bullets after saving. Insead of it i got just symbols (%) or just number 4 for Bullet4.

Usage: Aspose.Pdf v9.3.

Thanks a lot in advance

Hi Alex,

Thanks for your inquiry. Please share your source PDF documents, so we will look into these at our end and will provide you more information accordingly.

We are sorry for the inconvenience caused.

Best Regards,

Hi Tilal,

thank you for a very quick response.
Here is xslt-code, i’m using:

<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version=“1.0” xmlns:xsl=“http://www.w3.org/1999/XSL/Transform”>

<xsl:attribute-set name=“HeadingUserLabelMinus”>
<xsl:attribute name=“UserLabel”>45</xsl:attribute>
<xsl:attribute name=“BulletFontName”>Symbol</xsl:attribute>

<xsl:attribute-set name=“HeadingBullet4”>
<xsl:attribute name=“UserLabel”>Bullet4</xsl:attribute>

<xsl:attribute-set name=“HeadingBullet5”>
<xsl:attribute name=“UserLabel”>Bullet5</xsl:attribute>

<xsl:template name=“Main” match=“node()”>


bullet 4

bullet 5


C# -code is pretty much common:
Pdf pdf = new Pdf();
pdf.BindXML(aDocumentModel, xslt);

byte[] pdfFile;
using (MemoryStream memStream = new MemoryStream())
memStream.Position = 0;
pdfFile = memStream.ToArray();

I try to describe 4 cases:
|_________| no conformance | with PdfA1A conformance |
|open in browser (Firefox) from | case 1 | case 2 |
|bytearray (no saving to HD)
|open in AdobeReader | case 3 | case 4 |
|from file after saving_to HD

In attachment you see screenshot from browser or from AdobeReader for all 4 situation.

Please help me to get displayed it from file correct at least for PdfA1A.
Thanks a lot in advance!

Hi Alex,

Thanks for sharing XSLT code. Please also share your XML file for investigation. Moreover, please confirm whether same code without conformance properly will exhibit your second issue, otherwise please share XML/XSLT for the second issue as well.

We are sorry for the inconvenience caused.

Best Regards,

Hi Tilal,

My doc.xml, which i get in all 4 cases, is only 2 rows long:

<?xml version="1.0" encoding="utf-16"?>

As you can see on the image from my previous post, cases 2 und 3 are correct and acceptable for me. I would like to get case 4 displayed correct.

I you have any questions, please ask me without hesitations.

Hi Alex,

Thank for sharing additional information. We have noticed the reported bullet issue with PDFA1A conversion and logged it as PDFNEWNET-37118 in our issue tracking system for further investigation and resolution.

Moreover, in reference to Firefox related issue, please make Adobe Reader your default PDF viewer. It will fix the issue.

please follow these steps to set Acorbat Reader as default viewer in Firefox:

  • Firefox
    • At the top of the Firefox window, click on the Firefox button and then select Options
    • Select the Applications panel
    • Find Portable Document Format (PDF) in the list and click on it to select it
    • Click on the drop-down arrow in the Action column for the above entry and select Use Acrobat Reader (in Firefox)
    • Restart the browser

Please feel free to contact us for any further assistance.

Best Regards,