• Search in FlexPaper or Zviewer

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #13479  by ocaselvaggia
 
Hi

I'm using Abby fine reader to OCR and convert to searchable PDF/A (text under image) my scanned tif files wich, after upload to OpenKM, they are correctly indexed.
The PDF/A files generated by Abby fine reader are perfecly searchable within any pdf reader.
The preview in OpenKM it's correct (i prefere to use flexpaper) but the search within the preview doesn't work. The search within the preview works only with *.txt, *.doc, *.docx and so on....

Is this a flexpaper (and zviewer) issue or it's depends from pd2swf conversion?
Thank you

OpenKM 5.1.8
Windows XPpro
 #13493  by pavila
 
This is due to a missing parameter in pdf2swf command invocation. According to FlexPaper documentation this is the right command line
Code: Select all
    C:\SWFTools\pdf2swf.exe Paper.pdf -o Paper.swf -T 9 -f
Actually the missing parameter is -f. You can create a wrapper which add this parameter. See http://wiki.openkm.com/index.php/Third- ... :_SWFTools for more info.
 #13529  by ocaselvaggia
 
just following your directions the wrapper.bat (in c:/path/to/swftools ) doesn't work...
The string in the bat it's: C:\Programmi\SWFTools\pdf2swf.exe %1 %2 %3 -T 9 -f -t -G -s storeallcharacters

The strange thnig it's that the same .bat launched within a dos windows works perfecly
The string int the bat it's: pdf2swf.exe SCANC0034_000.pdf -o SCANC0034_000.swf -T 9 -f -t -G -s storeallcharacters

Meanwhile here attached the log from the start.bat windows
 #13540  by ocaselvaggia
 
Hi
just trying the last nightbuild Version: 5.1.9-SNAPSHOT (build: 7416), everything runs good with the string suggested in wiki:

system.swftools.pdf2swf = /usr/bin/pdf2swf -T 9 -f ${fileIn} -o ${fileOut}

I'm using flexpaper with this string: c:/path/pdf2swf -T 9 -f -t -G -s storeallcharacters ${fileIn} -o ${fileOut} and the searches in preview are done correct with the searched word(s) outlined in blue color.

Thank U anyway 8)
 #13553  by pavila
 
Then is enough with these parameters:
Code: Select all
-T 9 -f ${fileIn} -o ${fileOut} 
Or these others are needed?
Code: Select all
-T 9 -f -t -G -s storeallcharacters ${fileIn} -o ${fileOut}
 #13565  by ocaselvaggia
 
Code: Select all
-T 9 -f ${fileIn} -o ${fileOut} 

it's enough but i followed as suggested in flexpaper website ( http://flexpaper.devaldi.com/docs_converting.jsp )and everything works great at present

-t Inserts a stop between each frame, improves stability
-G Makes the document smaller and faster to render
-s storeallcharacters Stores all character information about the texts in the document, improves searchability

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.