Office Word JS - Get paragraph items within only the selected table cells

francho.garcia 1 Reputation point
2021-04-15T09:50:55.267+00:00

Hello,
I am working on an add-in for Word using Office JS. I have an issue getting the current selected paragraphs items within a Table selection, with a subset of table cells selected. The API only returns the paragraph items of the last selected Table Row.

I would like to get only the specific paragraphs within the currently selected cells. I have created the next issue into the StackOverFlow:

Also I am trying to know how to get the TableCellCollection from the selection. But the documentation not contain any example and I didn't find nothing into internet.

Could you help me please?

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,459 questions
0 comments No comments
{count} votes