Copy link to clipboard
Copied
Hi everyone,
I need some help finding the paragraph style (styleUID) of each cell in a table.
So far this is what I have.
InterfacePtr<ITableModel> tableModel(tableFrame->GetModelRef(), UseDefaultIID());
if (tableModel == nil) break;
Hi @Chamari253904353k85 ,
Refer the below code snippet -
Copy link to clipboard
Copied
Hi @Chamari253904353k85 ,
Refer the below code snippet -
Copy link to clipboard
Copied
Thank you so much Rahul
Copy link to clipboard
Copied
Note that a cell may contain multiple paragraphs, each using a different paragraph style, thus the importance of outParaSpan and "the number of characters that have same paragraph style applied in the run" in @Rahul_Rastogi's answer.
Copy link to clipboard
Copied
Thank you Oliver. This is great help.