Hi all,

Is it like that:

SwTxtFmtColl* pColl = GetWrtShell()->GetCurTxtFmtColl();
if(pColl)
{
     aParam = pColl->GetName();
...


> hi all:
> 
> 
> When the cursor is in a paragraph, 
> and I want to know which paragraph style is this paragraph belonged to. 
> How to judge the paragraph style of the paragraph which the cursor is in?
> 
> 
> Best regards,
> Liyuan

 Best regards,
 Liyuan

Reply via email to