4 Replies Latest reply on May 12, 2016 6:47 AM by Ch. Efstathios

    How get TableId in Document  by FDK?

    daitranthanhoa Level 1

      My Code get Table, But it not working.

      It only can get a Cell has content="FrameMaker Source Item"

      This content not exist in my table.


      tableId = F_ApiGetId(0, DocId, FP_FirstTblInDoc);

      while ( tableId ) {

       

       

        firstrowId = F_ApiGetId(DocId, tableId, FP_FirstRowInTbl);

        while ( firstrowId ) {

        cellId = F_ApiGetId(DocId, firstrowId, FP_FirstCellInRow);

          while ( cellId ) {

            cellId = F_ApiGetId(DocId, firstrowId, FP_NextCellInRow);

          }

        firstrowId = F_ApiGetId(DocId, tableId, FP_NextRowInTbl);

        }

        tableId = F_ApiGetId(FV_SessionId, DocId, FP_NextTblInDoc);

        }

        }


      How get TableId in Document  by FDK?