I want to know why this discrepancy is happening in this particular file? Other files behave normally but this one produces “_” in the styles when printed via aspose but correct styles get shown in the styles pane.
We have not faced this issue before. Attaching the problematic file. file_with_issue.doc.zip (3.1 KB)
@cacglo It looks like the problem occurs because the styles have the same names unknown. In your document the styles have name and alias, names are the same for the mentioned styles, but aliases are different. It looks like Aspose.Words upon loading the document makes the style names unique.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-26573
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
So just to provide some extra information on this -
Other files with same styles and aliases i.e. unknown,unknown-1 etc produce correct styles when printed via Aspose words.
We get unknown,unknown-1 as the style from Aspose words for those. We encountered a couple of cases where this behaviour was happening where in “-” was getting replaced with “_” and no aliases were getting printed
@cacglo The issue is currently in the queue for analysis. Once analysis is done we will be able to provide you more information. Right now, unfortunately, we do not have any information to share regarding this issue.
@cacglo We have completed analyzing the issue. For the moment, this looks like expected, but not correct behavior. MS Word actually allows styles with equal names. Moreover, it allows such styles even with completely equal properties and equal set of aliases. In Aspose.Words model, however, this is not allowed.
Unfortunately, the issue is not yet scheduled for development, so we cannot provide you any estimates right now.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.