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

Free Support Forum - aspose.com

How to Access and Modify Frameset inside DOCX using .NET

I tried to look in documentation and samples and i can’t find reference to frasmeset in the docs.
Currently i have a docx file with frame inside that lead to externalLink.
This frameset is inside WebSettings relation and it’s targeted to an external link for the example
I also took a look in shapes / paragraph but i can’t find anything related there.
I am trying to figure out if it is possible to reach this kind of frames using the API and if it’s possible to alter the frame data / properties.
Does someone familiar with it? Is it possibe to access WebSettings frames?
Is it possible to get data about frameset Target wether it’s external or not

I added a zip file containing a sample:
file.zip (7.3 KB)


Thanks for your inquiry. The shared document has no content. Unfortunately, your requirement is not clear. We will appreciate if you please share some more detail about your requirement along with your input and expected output Word documents here for our reference. It will help us to understand your requirement and address it accordingly.

Thanks for replying i will try to explain it better.
According to Ecma-376 5th edition part 1(http://www.ecma-international.org/publications/standards/Ecma-376.htm) in section 11.5 under Framesets you can create a relation with an External target for a frameset.
In the file that i attached you can see the file “/word/webSettings.xml” which contains the frameset and the relation in “/word/_rels/webSettings.xml.rels” with external Target specifically =http://localhost/C.docx".
This means if we will start a simple http server with the file C.docx in it’s root it will be loaded inside to the frameset when “test.docx” will be opened.
The reason that you see an empty document because this url is probably down on your end.
I am trying to understand if there is API in Aspose.Words that can let me access WebSettings / Frameset in doc/x files and manipulate it’s URL or do other staff.

In case you want to see in action how it works you can follow this steps:

  1. Create new docx with content in the following path (for example):


  1. if you have python then start simple http server:

C:\FramesetExample>python -m SimpleHTTPServer 80
Serving HTTP on port 80 …

  1. open the file attached above(“test.docx”) and you will see the content of C.docx inside


Thanks for sharing the detail. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we have logged this feature request as WORDSNET-17556 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

is there a chance that this feature would be implemented? will it help if i open a high priority ticket via business ticket?


Unfortunately, there is no update available on this feature at the moment. We will be sure to inform you via this forum thread once it is available.

Yes, the issues with paid support have high priority. We suggest you please check our paid support policies from following link.
Paid Support Policies


You can raise a ticket in paid support. Preliminary ETA is two weeks of development and testing so you will have a chance to get it in the December 20.12 release.


We have added subset of API which allow to access and manipulate framesets. Please read Aspose.Words.Framesets namespace.