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?