0 Replies Latest reply on May 13, 2009 7:40 AM by FKlaes

    Read symbols in textframes via Java CORBA

    FKlaes Level 1

      Hello @ all!

       

      System:  Mac OS X

      I have a problem with reading a symbol or special character, e.g. (c) in an textframe of an InDesign CS3 Document.

      (The symbol was insertet via InDesign --> Type --> Special Character etc.)

       

      Read out the content of an textframe crashes, in the debug mode of eclipse you get a notice: "source not found ..." in an compiled release

      you get the notice:

      "Exception in thread "Task" org.omg.CORBA.BAD_OPERATION:   vmcid: 0x0  minor code: 0  completed: No
          at com.adobe.ids.VariableType.verifyasString(Unknown Source)"

       

      Here is my CodeSnippet:

      (j is an Index running through the TextStyleRange)
      VariableType vtCHContent = paragraph.getNthChildTextStyleRange(j).getContents();

       

      Thanks for your Help!