Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

FDK - delete empty paragraphs in document

New Here ,
Apr 01, 2010 Apr 01, 2010

Copy link to clipboard

Copied

Hello,

I am trying to delete empty paragraphs (in some cases, lines containing only non-breaking spaces, as shown in the last line in fig. below) from a document  - have tried traversing through the paragraphs in a flow, to find pgfId with FTI_String and delete the rest, but am not getting the expected result.

EmptyPara.JPG

Would like to get;

EmptyPara_del.JPG

Appreciate any help...

Views

340
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Apr 01, 2010 Apr 01, 2010

Copy link to clipboard

Copied

LATEST

pnk,

How are you trying to delete the paragraph? You should just be able to delete the FO_Pgf object with F_ApiDelete() and it will go away.

If you are asking how to find those empty paragraphs, you'll need a bit of code to do that. I might be able to help, but before going any further, I'd ask if you could clarify what exactly you are looking for here. Can you post some sample code?

Russ3

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines