Hi, I've resolved this problem! I've made my class external by com.xmlmind.fo.converter.Converter and made setOutputStream as public. It works! :)
Пятница, 26 июля 2013, 17:59 +04:00 от Александр Сталь <[email protected]>: >Hello! >I try to use com.xmlmind.fo.converter.Converter as ContentHandler. > >For example: > >File infile = new File("C://test.fo"); >FileInputStream fis = new FileInputStream( infile); >Converter converter = new Converter(); >converter.setProperty("outputFormat", "rtf"); >converter.setProperty("outputEncoding", "Cp1252"); >converter.setProperty("imageResolution", "120"); >XMLReader xmlReader = XMLReaderFactory.createXMLReader(); >xmlReader.setContentHandler( converter); >xmlReader.parse(new InputSource(fis)); >fis.close(); > >But I have got exception: >Exception in thread "main" org.xml.sax.SAXException: no output specified > >How can I set outputstream to Converter? >Thanks. -- Александр Сталь
-- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

