1
我尝试将PdfAction与PdfOutline结合使用来创建指向存储在中央网络位置的文档的链接。这工作正常,但是当在URL中使用西里尔文字符时,系统找不到文档。调查了解到,在由Pdf打开的链接中,所有西里尔字符都没有了?!使用西里尔字符的IText PdfAction
我的代码:
//Create the index tree
PdfOutline index = new PdfOutline(writer.getDirectContent().getRootOutline(), new PdfDestination(PdfDestination.FITH), "Detailed Info");
//Add entry to index
PdfAction act = new PdfAction("file://CENTRALSERVER/Конвертинг/MyFile.xls");
new PdfOutline(index, act, "My File");
我做了什么错?