I am trying to load the attached document into aspose. But in this content section only the text block is not loading properly. So can you please help me in this to identify the problem in this content section text block. Here I have attached the missing textblock screen shot and zip file and also zip file for the original missingtextblock.zip (41.8 KB)
document.TextBlock.png (64.9 KB)
home_20170128_10K_FY17_FILED_20170405_Sivagami_DeleteMe.zip (46.3 KB)
Thanks for your inquiry. We have opened the document “home_20170128_10K_FY17_FILED_20170405_Sivagami_DeleteMe.docx” in MS Word 2016 and have not found shared content control (“TextBlock.png”). Could you please share some more detail about your query? We will then provide you more information on this.
In that document, we have a StructuredDocumentTag, if you open the document in open xml you will be able to see the sdtBlock, that is not getting loaded into aspose word object. We have attached the document again. Please checkhome_20170128_10K_FY17_FILED_20170405_Sivagami_DeleteMe.zip (45.3 KB)
Thanks for your inquiry. In your document, the section breaks are inside content control. As per current Aspose.Words’ document model, only sections can be inserted into Document node. The content control can occur in a document in the following places:
- Block-level - Among paragraphs and tables, as a child of a Body, HeaderFooter, Comment, Footnote or a Shape node.
- Row-level - Among rows in a table, as a child of a Table node.
- Cell-level - Among cells in a table row, as a child of a Row node.
- Inline-level - Among inline content inside, as a child of a Paragraph.
- Nested inside another StructuredDocumentTag.
We have logged this issue as WORDSNET-16327 in our issue tracking system. We will inform you via this forum thread once this issue is resolved. We apologize for your inconvenience.