How to get TableId in the Document by FDK?

My Code getting Table, but it does not work.

He can only get a cell contained = "Source of FrameMaker Item.

This content does not exist in my table.


tableId = F_ApiGetId (0, DocId, FP_FirstTblInDoc);

While (tableId) {}

firstrowId = F_ApiGetId (DocId, tableId, FP_FirstRowInTbl);

so that {(firstrowId)

Rad_error_nocontent = F_ApiGetId (DocId, firstrowId, FP_FirstCellInRow);

so that {(Rad_error_nocontent)

Rad_error_nocontent = F_ApiGetId (DocId, firstrowId, FP_NextCellInRow);

}

firstrowId = F_ApiGetId (DocId, tableId, FP_NextRowInTbl);

}

tableId = F_ApiGetId (FV_SessionId, DocId, FP_NextTblInDoc);

}

}


How to get TableId in the Document by FDK?

diatranthanhoa,

I do not understand your question. But if you try to browse all the cells of each table, you have errors in your code. These are common mistakes. The errors are:

-FP_NextTblInDoc is a property of a table object, not the document

-FP_NextRowInTbl is a property of a line object, not the table

-FP_NextCellInRow is a property of a cell, not the line object

So, I have maturities adjust your code as follows, noting that I didn't test this:

tableId = F_ApiGetId (0, DocId, FP_FirstTblInDoc);

While (tableId) {}

firstrowId = F_ApiGetId (DocId, tableId, FP_FirstRowInTbl);

so that {(firstrowId)

Rad_error_nocontent = F_ApiGetId (DocId, firstrowId, FP_FirstCellInRow);

so that {(Rad_error_nocontent)

Rad_error_nocontent = F_ApiGetId (DocId, Rad_error_nocontent, FP_NextCellInRow);

}

firstrowId = F_ApiGetId (DocId, firstrowId, FP_NextRowInTbl);

}

tableId = F_ApiGetId (DocId, tableId, FP_NextTblInDoc);

}

}

Hope this helps,

Russ

Tags: Adobe FrameMaker

Similar Questions

  • How to get UIDRef of the document selected in indesign cs6

    How to UIDRef of the document selected in indesign the Isession cs6

    UIDRef EXTCODInspectLayoutModel::GetDocumentUIDRef(IPMUnknown* unknown)

    {

    UIDRef documentUIDRef (Nile, kInvalidUID);

    do

    {

    Database: IDataBase * =: GetDataBase (unknown);

    If (database is Nile)

    break;

    DocumentUID UID = database-> GetRootUID();

    If (documentUID is kInvalidUID)

    break;

    documentUIDRef = UIDRef (data, documentUID);

    } while (false);

    Return documentUIDRef;

    }

    Note: 'unknown' is an interface for the document class

  • How to get rid of the stupid list dropdown in the search box

    How to get rid of the stupid list dropdown in the search box

    If you want to restore the window previously used independently to manage search engines, you can enable or disable this pref to false with a middle-click on the topic: config page.

    • topic: config page: browser.search.showOneOffButtons = false

    Close and restart Firefox to force change.

  • How to get rid of the new menu button on the right side of the toolbar

    Honestly, I don't know why the developers cannot offer new features that we can use or not, by choice. Instead, things are forced upon us.

    Could someone tell me please how to get rid of the new menu button on the right side of the toolbar?

    It doesn't seem to be an option to remove via the Customize Toolbars window.

    Thank you very much.

    CTR extension makes Firefox customizable menu button 3 bar, so you can drag this button in the palette to customize to remove it from the Navigation toolbar.

    Reload and stop probably combine only if you set the two buttons in the correct order (reload - Stop and non-Stop - Reload)

  • How to get rid of the superdrive in menu bar?

    How to get rid of the superdrive in menu bar?

    Hold down the command key and drag it off the menu.

  • I can't use Roboform with 4.0 beta 10, so I can't use Firefox. How to get back to the beta version 9?

    I can't use Roboform with 4.0 beta 10, so I can't use Firefox. How to get back to the beta version 9?

    I think that there is a little more for it, but here's a solution that seems to work. After the installation of Roboform 7.1.7, go to: http://www.roboform.com/platforms/browsers/firefox and scroll down to a table listing the three browsers identifying the XPI file to load if it was not loaded automatically. Click the http://www.roboform.com/dist/roboform-firefox-3-4-frozen.xpilink. Firefox will ask you if you want to allow this should be installed. Let him. Finish installation, restart Firefox 4.0b10, and you'll see a Roboform 7.1.7 toolbar works. I did it on two computers, and everything seems to work.

  • How to get rid of the photo of the sunset on the webcam?

    HI -.

    It's probaby a stupid question, but please can someone tell me how to get rid of the image of the sunset on the webcam and allow me to use the photo and video on my netbook?

    I tried to contact Toshiba online but it does not connect.

    Thank you
    Stocks

    Sorry mate but I put t understand the question
    What cell phone do you have?
    Do you mean the internal s laptop webcam?

    If this can be useful?
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?MessageID=189664

    -Drag your mouse on your pop out where you choose to use your webcam, instead click the option at the bottom of the "Effect" in their 'net', click and click 'OFF' Tada! The now disappeared from your cam Image, +.

    Please send feedback!

  • configeration Silverlight - how to get rid of the protected mode

    How to get rid of the protected mode

    Hello Gloria,.

    Try the following site devoted to Silverlight: http://www.silverlight.net/community.

    I hope this helps.

    Good luck!

  • How do I password protect the document HTML library or individual files which are: IE: pictures etc?

    How do I password protect the document HTML library or individual files which are: IE: pictures etc?

    In Windows there is no password protection.

  • How to get rid of the virus of the moneyak of the fbi?

    How to get rid of the virus of the moneyak of the fbi?

    How to get rid of the virus of the moneyak of the fbi?

    http://www.bleepingcomputer.com/virus-removal/remove-FBI-monkeypak-Ransomware

  • Does anyone know how to get rid of the calendar in the window Live on XP? I do not use it, and whenever I check my e-mail, it checks the calendar, slows things down to the top.

    Does anyone know how to get rid of the calendar in the window Live on XP? I do not use it, and whenever I check my e-mail, it checks the calendar, slows things down to the top.

    Thank you!
    Debnfurkids
    original title: get rid of the calendar in live mail

    Hi Debnfurkids,

    I recommend you post your query in Live Mail Forums for assistance on this issue.

  • How to get and install the file txtsetup.oem for xp

    need to know how to get and install the txtsetup.oem file to install xp

    Hello

    The easiest way would be to visit the website of the manufacturer of the motherboard. This would normally have downloads for any RAID drivers required for the loading of Windows XP. The download can be an "executable" who writes a disk for you. It can be also something like a zip file with all files inside that must be extracted and copied to a floppy disk.

    If your PC is not a floppy drive, life becomes quite complicated.

    Please mark this as useful or response if applicable.

    Tricky

  • Any ideas how to get rid of the rose?

    I just signed up for the first time today and everything on my screen that should be white is pink. I know that the monitor support always white because when I first connect there is a small screen which lights up and that switches from analog to digital and it is bright white. Any ideas how to get rid of the rose? Tried to DISPLAY on the control panel and could not fix. Thanks, people.

    Hi rutherford nbr 1.
     
    -Did you of recent changes made to your computer before this problem?
     
    Make sure that the monitor cable is correctly connected. In addition, if you have another computer, the same connect to your computer to confirm that the issue is not because of the screen.
     
    Make sure that there is no electric devices with magnets next to your screen.
     
    Follow these steps and check if it helps fix the problem.
     
    a. Click START and select control PANEL.
    b. Select and click VIEW.
    c. Select SETTINGS on the Interface of the screen and then ADVANCED.
    d. on the advance Interface, choose COLOR MANAGEMENT tab.
    e. on Interface, click on add color management. You will see a list of color profiles.
    f. choose the most appropriate to the brand of the screen / graphics card. You can choose several color profile and a default setting.
     
    For more information, see:
  • How to get rid of the 1935 error in windows 7

    How to get rid of the 1935 error in windows 7

    See:

    FIX: An installation may fail with Error 1935 when an .msi file

  • How to get out of the UiApplication?

    Hello!

    Can u tell me pls, how to get out of the UiApplication. The deactivate method is sufficient for this.

    PLS, suggest me-

    System.Exit (0). Or close the last screen and call the application itself.

    Disable does something different:
    public void deactivate()
    Handles finishing event.

    The system calls this method when sending of this request in the background. By default, this method does nothing. Override this method to perform additional when processing sent in the background.

Maybe you are looking for

  • Do not like and want to go back, or use other products

    Do not like the new Firefox and wants to go back, or use other products such as the chrome

  • 6 s - iPhone message notifications

    I have an iPhone 6 and receive notifications of message of android phone to my daughter.  The 'badge' appears, but there is no sound.  I don't get the sounds then to other iPhones text me.  Any thoughts?

  • How can I prevent my addon buttons from being hidden by the drop down "more tools" menu?

    I have several addon buttons on my toolbar to the right of the obtained. Firefox hides in a menu button drop down titled "more tools... ». I don't want to do that, but I can't figure out how to change this behavior. When I enter the Customization scr

  • PEAK power switch connector on the EVO d500 D5D Office

    I need a description or a photo of the place where the power cable / HD activity cables and power led cables attact to 17 connector pins on the motherboard. I tried the upgrade of the box and failed and the process eliminate their adapter cables. Any

  • Flex 2 14 WiFi issues

    I just bought a given product in nine official when I tried to use it but he quickly showed a problem with the WiFi connection. Is the WiFi card that bad that it can not detect a router since more than 4 meters? On my other laptop, I had to replace b