Page 1 of 1
Search in FlexPaper or Zviewer
PostPosted:Tue Jan 10, 2012 2:10 pm
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
Re: Search in FlexPaper or Zviewer
PostPosted:Wed Jan 11, 2012 7:26 am
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.
Re: Search in FlexPaper or Zviewer
PostPosted:Sun Jan 15, 2012 11:12 pm
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
Re: Search in FlexPaper or Zviewer
PostPosted:Sun Jan 15, 2012 11:16 pm
by ocaselvaggia
here is the log file
Re: Search in FlexPaper or Zviewer (Solved!)
PostPosted:Mon Jan 16, 2012 10:54 pm
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

Re: Search in FlexPaper or Zviewer
PostPosted:Wed Jan 18, 2012 4:44 pm
by pavila
Then is enough with these parameters:
Or these others are needed?
Code: Select all-T 9 -f -t -G -s storeallcharacters ${fileIn} -o ${fileOut}
Re: Search in FlexPaper or Zviewer
PostPosted:Thu Jan 19, 2012 8:19 am
by ocaselvaggia
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
Re: Search in FlexPaper or Zviewer
PostPosted:Thu Jan 19, 2012 11:16 am
by pavila
Ok, thanks for the feedback.