Skip to main content
Participating Frequently
April 1, 2010
Question

FDK - delete empty paragraphs in document

  • April 1, 2010
  • 1 reply
  • 370 views

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.

Would like to get;

Appreciate any help...

    This topic has been closed for replies.

    1 reply

    Legend
    April 1, 2010

    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