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

Free Support Forum - aspose.com

Issue while reading word file data in c#.net

Hi,

I am reading word file data using dll.

But i am getting 2 issue while reading data between bookmarks

I am attaching my word document for your test pupose

  1. Blank space giving below line of code. (Bookmarks between PR_NCObyCRA & PR_RatingHistory have blank space)

<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Style-Type" content="text/css" /><meta name="generator" content="Aspose.Words for .NET 18.1" /><title></title></head><body><div><p style="margin-top:0pt; margin-bottom:0pt; text-align:justify; font-size:9pt"><span style="font-family:Calibri; font-weight:bold">&#xa0;</span></p></div></body></html>

If there is no data between 2 bookmarks then i should get Empty string in place of above lines code.

  1. Data between 2 bookmarks is reading incomplete.
    Bookmarks are (PR_CurrentRatings & PR_AnalyticalApproach)

When i am trying to read data betwen above 2 bookmaks, i am getting incomplete data.Aspose Code & word test file.zip (95.8 KB)

@pravinghadge

We have not found the shared bookmarks in your Word document. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output that shows the undesired behavior.
  • Please attach the expected output file that shows the desired behavior.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.