2 Replies Latest reply on Jul 23, 2009 6:36 PM by jeffzhli

    Chinese styles were not found ?

    jeffzhli Level 1

          In My Documents there is a Chinese style, but can not find with IDS, code like this

       

      myDocument.getNamedChildParagraphStyle(new String("正文".getBytes("utf-8"),"iso-8859-1"))),

       

      or

       

      myDocument.getNamedChildParagraphStyle(new String("正文".getBytes("utf-8"),"GBK"))),

       

      or

       

      myDocument.getNamedChildParagraphStyle("正文");

       

      Will not work,

      Exception #30477:  无效参数。
      com.adobe.ids.IdsException: IDL:com/adobe/ids/IdsException:1.0
      at com.adobe.ids.IdsExceptionHelper.read(Unknown Source)
      at com.adobe.ids.xml._XMLElementStub.applyParagraphStyle(Unknown Source)

       

      Can anyone tell me how to find a Chinese style name?
      thanks.