Skip to main content
Participant
March 9, 2010
Question

FDK - Iterating list of conditional expressions in Frame 8/9 documents

  • March 9, 2010
  • 1 reply
  • 424 views
Has anyone figured out a way to enumerate the list of user defined conditional expressions defined in a FrameMaker 8 or 9 document via the FDK?   Adobe Partner support directed me to the forums.

Currently, our product ePublisher, scans for all defined conditions in a  FrameMaker document with a loop similar to:

  id = F_ApiGetId(..., FP_FirstCondFmtInDoc);
  while (id > 0)
  {
    ...

    id = F_ApiGetId(..., FP_NextCondFmtInDoc);
  }

This works great and allows us to display the complete list of document  conditions in our UI.

For conditional expressions, we are about to retreieve only  the active conditional expression as follows:

  exprAsString = F_ApiGetString(FV_SessionId,
                                docId,
                                FP_BooleanConditionExpression);

Therefore, we can track only a single user defined conditional  expression per source FrameMaker document.

Does anyone know if there a way to iterate the list of user-defined  conditional expressions similar to the approached outlined for conditions?

Thanks!

Ben

    This topic has been closed for replies.

    1 reply

    Legend
    March 10, 2010

    Hi Ben,

    I saw your post about this on the Frame_dev forum. I think it is unlikely that you'll get an answer here, if you didn't get one there.  I wish I could help, but I've never had any need to deal with these expressions. It certainly sounds like something that Adobe has simply failed to expose through the FDK.

    I have heard people say that you can find lots of undocumented functions and properties by searching the FDK include files. Perhaps you might try that as a last resort.

    Good luck with this. Sorry I couldn't help more.

    Russ

    Participant
    March 10, 2010