

    ,    
 INI- listfilter.ini       
   INI-,   - (filter.log). ,  
,    1.5, (12.12.2009).
        
,        
.    .

1.         (!)

   ,   ,  (PDF)Filter,  
   .   filter (  
    )    TC  lsplugin.ini ( TC
 5.51  ) .   lsplugin.ini      
[PDFFilter],    IniDir,  .  IniDir 
  %TC% (  / ),   - 
  INI     (     :) ),   
  ,   listfilter.ini     ,   lsplugin.ini,
 / ,    ,  listfilter.ini 
     (  , ,
Wincmd\Plugins\Lister\PDFFilter), , ,  IniDir   
- ,     listfilter.ini.  
  [PDFFilter]  lsplugin.ini.   listfitler.ini 
        . 
       ";" ( , ).

2.   

   TC  ,   .  
listfilter.ini        .
,     .PDF    [PDF],   
 .abc    [ABC].  ,   
  PDF/PS/EPS ,       
 ,    -,  
   BMP/GIF/JPG, TXT/RTF  HTML.    1.05.1    
  MSHTML,   ActiveX,  , ,
,    ,   , , Acrobat' 
     50 . ,    
(.., , ). ,    listfilter.ini  , 
       , 
  .  ,    "":

1.  StartFile:  ,     
     .
   (*), ,

[PDF] StartFile=%PDF-*  ,      PDF, 
   %PDF-, - .       ,
    TC   "    ",
 , TC          
.   1.03.1   %hex%  -  
,     %hex%   16-
.   StartFile   - %hex%. :
 hex-    (  
  hex-,      )
: StartFile=%hex%CAFEBABE *.  : StartFile=%hex%010203
BEST%hex%0C0A *

2.  HeaderSize=N  ,     
 N    .   512.  - PDF   
,  -     1000 , ,   
listfilter.ini  1024.  ,    , 
/N (- )    512 .

3.  PageCount=/N %pdffilter_num%  ,    
       
%pdffilter_num%,     ,   
,      -  (Page N of NN),
       .

4.  Default  ,      
-.     .  
 0.   Default   (Set as Default).

5. Fitpage -   ,      ,
   .      
(Picture->Fit to page width/height/page)

6.Scale_N=NN  ,     
   (N),    
    , , ,  ,   
? :).

7. Resolution -  , ,   ,   
   (, ghostscript),    
(.  %res% )

8.         1.5!
   8.1. DefaultForThumbnail=number -    -
          number   
   8.2. DisableThumbnails=value -     
       ,  value=1,    TC     
   8.3. DisableView=value -   ,    
   8.4. DisableFullTextSearch=value -  ,   
   8.5. PreferredThumbnailType=type -   TC   ,  
       ,    type.   ,   
         type: txt, html, image.     , 
          -  .
   8.6. Width=width -   -    %width% (. )
   8.7. Height=height -  ,   

8.  .     .  
 ,       .

!       Format_

    :
Format_=_<>,  
<> ( )  - , 
 : TXT -      (RTF   ),
HTML -   , ACTIVEX - .  ;    
    (  BMP,GIF,JPG).

!     ,   
:              "  
"   listfilter.ini          
  ( SCOOTER),      
  '    (..,   )  
   .          :    
  listfilter.ini             ,
 .

 ACTIVEX
-----------
   1.05.1,      ActiveX  Acrobat'.
 ,      Format_ACTIVEX  MSHTML 
  .  ACTIVEX      ,
   :
Format_ACTIVEX={GUID1},{GUID2},...{GUIDN-1},{GUIDN},
 GUID1..N -   (CLSID)  ActiveX.
     ActiveX.   ActiveX  ,   
   GUID ( ,   
  ),       MSHTML    .
 GUID  ,   .    
(. ),     ,   CLSID    :)


    .
------------------------------------

 - .. placeholder,   - ;  -
 ,         
      %   
 - 

   : 
%fn% -       
.      ,  -
     . , pdf2bmp   ,
     .   ?! :) 
%Fn% -   ,    .      
   (. ),  ,    . 
%p1%-    %p2%-  
.  ,     ,  
  ,     .  
         
. 
%o% -   ,      
  .    , 
    (stdout), . . 
%res% -    Resolution (. ).
%tc% -      totalcmd.exe,   "\", ,
	C:\Program Files\Wincmd\,  Dmitry.
%resx% -   x
%resy% -  ,  y
%width% -   -
%height% -   -
%odir% -    

     :
------------------------------------------------------- 
%stdout% - 
,       - , ..,  (
, , ps2txt),        
. 
%hide% - , , ,    ,  
 ,        .    
. %hide%  ,       
  DOS.  :    . 
%console% -   
   .    ,  
      . ,  
   %hide%.     
   :  -   ,  -
 DOS-       . 
    ,    , 
  .  ,   ,   
  -   stdout.   ,  ,   
 :) 
%highpriority% -  ,         .
,   .
%hour% -   ,  -  1   
 (-, -  1 ,  ,  
 ,     ). ,   DefaultTimeout, 
,  3600 .  .
%--% -   , ,   
   :)       1,   0
(,    Finereader Pdf2Bmp     :) )
%fp%,%lp% -    ,     
     .   ,
         (
    ,    PDF-reader , , -
      linearized PDF,    70 
.     -     ???,
 ,  -   - , 
 ).

    ,    ,
 ,      - , ,
    ,  .
--------------------------------------------------------

%e%,        - 
,     -,    
  %e%. 
:      
;  %e%   . , %e%html->file.html,  %e%
html->file. html,          "Converted file could not
be found".

%enc%,     ,      .
      %enc%,     , 
    %enc%.
:     .  :
win, koi, dos, uni, _utf. : %enc%win (      ).

%i% -  ,        
(, FLARE SWF->Active Script Decompiler).  ,   
     ,   .    1.05.51 (PDF)Filter
       .
%url% -  ,         URL
         HTML .    1.5.

 %n%Num - ,   .   , 
     (  
.PS,  ,     PDF), , .PS:   ,  ""
gswin32c  ,  -      
PS -    ,   .  , 
 (   gswin32c, )   .. 
     / .   
          .%n%
     %o% (. listfilter.ini,  PS). 
: %n%NM,  N--   ( 1  9,  
    999999999 ,  
ps_000000001.bmp,...ps_999999999.bmp),  M-/, 
 (, %03d  gswin32c). : %n%3%03d -   
      3     
.


 -  ,   ,   
   View mode     (, , HTML)

: Format_TXT=C:\XPDF\pdftotext.exe	%fp%-f %p1% %lp%-l %p2% -enc
KOI8-R -layout %fn% %o% %hide%%console%	pdftotext-KOI8   : a.
 C:\XPDF\pdftotext.exe    RTF , , 
      b.   
, , -,    c.  
""     8.3 (,    DOS,  :) ) d. 
 .    (%hide%) e.     
       f.    
  "pdftotext-KOI"

1:      ,    
      TXT  HTML.     
     (   FineReader :) )

2:       ( 
,   ).   ,     
, ...           ,
       
.   ,         ,  
  PDF,    ActiveX Adobe Acrobat 
 . ,    ,  ,  
   ,  90%     , 
 ,    ,   .

3:       
Temp\_tcf_\___UTC\        
  , ,      
-   ,     / ...

, ,  , ,   listfitler.ini.
1. General,    :
Logging -  ,     . 1=, 0=.   -0. 
   , 0. 
LoadPageOnUpDownClick -   0,  ,     
 /   (Page Selector)    
-      . ( SUKER) 
TextViewerFont -     
 . , ,   ,   ? :) 
  "Set Font"  popup- (View Mode->Use conversion->RTF/Text->Set
font...). 
ReverseUpDown -  ,     
 /  ,    "",
..,         "",  
 - "".    LoadPageOnUpDOwnClick.
CopyFileToTempBeforeConvert = N -  ,    
 N    ,     
        toconvert.. 
   ,      
(pdf2bmp). 
 CopyFileToTempBeforeConvert   , ..,
   .
ShowInProgressOnFirstOpen -  ,    ""   
'       .     
      "Please wait while conversion is in progress".
    0 (-),      
      .
OutputDebugString -  ,    1,    
  OutputDebugString API.      , ,
DebugView  SysInternals (http://www.sysinternals.com)  .
DisablePDFActiveX -  ,   1,      PDF ActiveX.
  ,   "Use ActiveX..."  ,     ( ). 
 ,    PDF ActiveX    ,  , , 
   ,    TC    ,    .
DefaultTimeout - -,     .   ,  
        ,     .
ConsoleOnAlways -  ,      ,    NN , 
    .  disabled, ,    ,
   .
SwitchToNextConvOnEmptyDocIfAvail=value -  , ,     
                                           ,     
                                          ( ),  value=1.
AppendPath=path_to_append -    path_to_append   PATH
HTMLMatchColors=bgcolor1:fgcolor1,.. -      HTML .
                                       _1:_1,_2:_2 ...
DisableThumbnails=value -   value=1      
DisableView=value -   value=1       
TryIgnoreScriptErrorsHTMLModeView=value -  ,      ,
                                           value=1
UseComSpecToSpawn=value -  ,     Comspec   ,  value=1
ContentShowFileName=value -   value=1     ,    
                              TC,     TC "Find Files"
                            ( "Find Files|file_name.ext).

2.  Thumbnails
[Thumbnails]
   1.5       TC. ,   listfilter.ini
  "Thumbnails".    ,    :

TextViewerFontThumbnail=font_line -  ,   ,    
                                      . font_line  :
                                   _,_,_,   (),
                                   _(), , _.
HTMLZoomThumbnail=factor (%) -  ,  HTML,      
                               -    .
LimitTXTSizeForThumbnail=size -        ,     
                                 size . .  ,  1   " ".
Antialiasing=value -    ,  value=1,     
BitsForSimpleText=value -        :
                          0=_; 1=4bit;2=8bit;3=15bit;4=16bit;5=24bit;6=32bit

      (   !):

!1. ,   listfilter.ini

!     
11.03.2004 13:08:27 =================11.03.2004 13:08:27 Invoked. ============== 
!  
11.03.2004 13:08:27 extension: .pdf 
!    
11.03.2004 13:08:27 Got 17 entries for this extension 
!  
11.03.2004 13:08:27 Ready to create form 
11.03.2004 13:08:27 Formcreate invoked 
11.03.2004 13:08:27 Form created 
!  Adobe Acrobat (Reader) 
11.03.2004 13:08:27 Inserting PDF ActiveX... 
! -  ,   
11.03.2004 13:08:27 Unable to create ActiveX PDF control:    
!     
11.03.2004 13:08:27 ListerView instance created 
!     
11.03.2004 13:08:27 Empty line or comment ;Format_TXT=c:\Program Files\SolidDocuments\SolidConverterPDF\SolidConverterPDF.exe is being skipped
11.03.2004 13:08:27 Empty line (see above) skipped 
!  -           . 
!  -1 -  ,      ,    Acrobat
11.03.2004 13:08:27 number after CheckSearch proc: -1 
!  ,      TC (Acrobat-  ) c  
!"    !" 
11.03.2004 13:08:27 Displ proc is to be invoked 
!,    PDF   ,  ,  " ",   .
=============================================================================================================

!2. ,   

!    ================= 12.03.2004 10:24:47 Invoked. ============== 
!    
12.03.2004   10:24:47   extension: .pdf 
12.03.2004   10:24:47   Got 18 entries for this extension 
12.03.2004   10:24:47   Ready to create form 
12.03.2004   10:24:47   Formcreate invoked 
12.03.2004   10:24:47   Form created 
!  Adobe Acrobat (Reader) 
12.03.2004   10:24:47   Inserting PDF ActiveX... 
! -  ,    
12.03.2004   10:24:47   Unable to create ActiveX PDF control:    
!        
12.03.2004   10:24:48   ListerView instance created 
12.03.2004   10:24:48   Empty line or comment ;Format_TXT=c:\Program Files\SolidDocuments\SolidConverterPDF\SolidConverterPDF.exe skipped
!  -.  . 
12.03.2004  10:24:48   Found "Default" entry, value=1 
!  
12.03.2004   10:24:48   number after CheckSearch proc: 1 
!   1 
12.03.2004   10:24:48   Displ proc is to be invoked 
!   
12.03.2004   10:24:48   Verifying OPDir 
!     
12.03.2004   10:24:48   CurrentFmt is C:\XPDF\pdftotextKOI.exe   %fp%-f %p1% %lp%-l %p2% -enc KOI8-R -layout
D:\deb.pdf C:\TEMP\_tcf_\1202448\pdf_%page%.rtf 
12.03.2004   10:24:48   Ready to execute 
!  ,   ,  -    
12.03.2004   10:24:48   File exection. Command line and params: C:\XPDF\pdftotextKOI.exe -f 1 -l 1 -enc
KOI8-R -layout D:\deb.pdf C:\TEMP\_tcf_\1202448\pdf_1.rtf 
!   %console%  %stdout%.    
12.03.2004   10:24:48   Activating piping 
!  . 
   (TXT)     
12.03.2004   10:24:48  Setting TXT panel (RichEdit) 
!  .  - 1,  - 2 
!  ,   . 
12.03.2004   10:24:55  ShowPage invoked. CurPage=1 
12.03.2004   10:24:55   Found "Default" entry, value=1 
12.03.2004   10:24:55   number after CheckSearch proc: 1 
12.03.2004   10:24:55   Displ proc is to be invoked 
12.03.2004   10:24:55   Verifying OPDir
12.03.2004   10:24:55   Ready to execute 
12.03.2004   10:24:55   File exection. Command line and params: C:\XPDF\pdftotextKOI.exe -f 2 -l 2 -enc KOI8-R -layout D:\deb.pdf C:\TEMP\_tcf_\1202448\pdf_2.rtf 
12.03.2004   10:24:55   Activating piping 
12.03.2004   10:24:55   Setting TXT panel (RichEdit)

PS   ,      XPDF  
,       http://194.149.91.132/xpdf.zip

 XPDF     C:\XPDF,   listfilter.ini  . :)

        1.04,   
     ,    /  . 
  "",      PDF  .PS, 
 ""   .  ,  "" 3 filter.wlx 
   .    ( 
  []): [__[/r]|]"_" : 
  -   DOS/Windows, , *.pdf  C:\*.pdf, 
D:\MyDir\*.* ...;  /r    
"Recursive", ..,       ,  
 .     (,
..\text),      ,     
 ' .    /r|"" -  
  "       
".     ,   
  .     |. ""  
 ,    , , : ""||d|...""".
 ,     ,   ,  
   ,    , ,
       ""

:   ( !)      
("").

  1.05     (  ).  
    ,      .
  .

   . 
1.      
 ,   .   . 
      "ENTER". 
2.    
  (. ),   ,  
  .     ,   3.
3.            
     .    
    . 
4.   Output   
  . 
5. ,  , 
  - ,   
     ,    
         .  ,
      ,     .
          
  .   Output/Search results
/   "O".    
 "ESC". 
6.          .       
   .       
      . 
7.    ,     .   
 . 
8.       
 ,  "Load...".


, ,     .

 , e-mail: volovyan@gmail.com