Hi,

I want to sort fields in the order of appearance.
I am trying with:

return (*a->pFmtFld->GetTxtFld()->GetPosition())
        <
       (*b->pFmtFld->GetTxtFld()->GetPosition());

This works fine with text, tables etc, but not with e.g. frames which are on top of the document, they are always first. Using pFmtFld->GetTxtFld()->GetTxtNode().GetIndex(), I am having of course the same issues.

What are the correct numbers I have to compare?

Best Regards
Max



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to