Another documentbuilder question

Post Reply
hanland
Posts: 4
Joined: Fri Jul 26, 2019 10:33 am

Another documentbuilder question

Post by hanland » Tue Sep 10, 2019 4:17 pm

Hi,

I am trying to read and update the contents of a document table cell. There is no obviously documented API for this. I can get the cell content and have tried using this or the first element of the content which identifies itself via GetClassType as "paragraph". How can I read the "string" value of the content???

Regards

Andrew
Posts: 40
Joined: Mon Apr 01, 2019 1:09 pm

Re: Another documentbuilder question

Post by Andrew » Thu Sep 12, 2019 8:22 am

Hello hanland,

You can use GetValue for it, it is actually getter and we will fix it in documentation. Here is examples for you:

https://github.com/ONLYOFFICE/doc-build ... t_value.js
https://github.com/ONLYOFFICE/doc-build ... r_value.js

hanland
Posts: 4
Joined: Fri Jul 26, 2019 10:33 am

Re: Another documentbuilder question

Post by hanland » Thu Sep 12, 2019 11:24 am

Thanks for the reply but this is for a docx document, does the same GetValue exist there?

Also can I access document custom properties with the docx API?

Do I need a specific version of documentserver to access the mailmerge functionality, currently grayed out in the CE version downloaded last week, or is this configure via the documentApi DocsAPI.DocEditor config??

Regards

Post Reply