xPDFSearch 1.11 - Content plugin to search text in PDF files

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Nice, thanks very much!
Author of Total Commander
https://www.ghisler.com
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Mr Ghisler, please update your link to xPDF-WDX on http://ghisler.com/plugins.htm.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

I have received a Dutch translation for xpdfSearch 1.04. If you want to use it please append the following text to the xpdfsearch.lng file in the plug-in directory:

Code: Select all

[dut]
Title=Titel
Subject=Onderwerp
Keywords=Sleutelwoorden
Author=Auteur
Application=Toepassing
PDF Producer=PDF gemaakt met
Number of Pages=Aantal pagina's
PDF Version=PDF-versie
Page Width=Pagina Breedte
Page Height=Pagina Hoogte
Document Start=Document Start
First Row=Eerste Rij
Copying Allowed=Kopieëren Toegestaan
Printing Allowed=Afdrukken Toegestaan
Adding Comments Allowed=Commentaar Toevoegen Toegestaan
Changing Allowed=Wijzigen Toegestaan
Encrypted=Versleuteld
Tagged=Bevat Labels
Created=Gemaakt dd
Modified=Gewijzigd dd
Text=Tekst
mm|cm|in|pt=mm|cm|in|pt
Thanks for the translation!
Garbled
New Member
New Member
Posts: 1
Joined: 2008-09-10, 09:13 UTC

xPDFSearch 1.04 - Content plugin to search text in PDF files

Post by *Garbled »

Thanks for the nice plugin. Please find below my bug report.

Problem Definition
==============
When using the plugin supplied Title as a custom column the (TM) character is incorrectly displayed as an extra lower case o

eg

Software Company Studio™ Product Documentation Document

Is displayed as

Software Company Studioo Product Documentation Document

Reproduction
=========

Create a pdf with the title Software Company Studio™ Product Documentation Document

Go to Configuration Options in options menu
Choose Custom columns and add a new entry
add a column
caption: Title
Field contents [=xpdfsearch.Title]
Apply
Ok
The corrupted title will be displayed

Version Details
===========
Total Commander 7.04a
Windows XP SP2
Default fonts
If it ain't broke you haven't tested it enough.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Garbled
Hi,

sorry for the delayed reply. I've been busy during the week.

Unfortunately there is currently no way to display this character correctly. The problem is that the character is not part of the ANSI character set. It's part of Unicode. This standard requires Total Commander 7.5 and an updated plugin.

I hope the author don't add to much stuff into Total Commander 7.5 and releases the new major version as soon as possible.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Current version 1.05
A new version is ready for download. The new version includes important bugfixes for security problems. I have also added support for extracting Unicode metadata. Total Commander 7.50 is required to display Unicode metadata. Please note that Unicode isn't currently supported for PDfs in file paths containing Unicode and not for full text searches.

The complete list of changes can be viewed online.

Plugin page: Download, description und documentation
totalcmd.net
My website
User avatar
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

:arrow: Lefteous

Thanks for this new version !

If you want to add French in your lng, here is the translation.
[fra]
Title=Titre
Subject=Sujet
Keywords=Mots-clés
Author=Auteur
Application=Application
PDF Producer=PDF créé par
Number of Pages=Nombre de pages
PDF Version=PDF-version
Page Width=Largeur de page
Page Height=Hauteur de page
Document Start=Début du document
First Row=Première ligne
Copying Allowed=Copie autorisée
Printing Allowed=Impression autorisée
Adding Comments Allowed=Ajout de commentaires autorisé
Changing Allowed=Modification autorisée
Encrypted=Crypté
Tagged=Balisé
Created=Créé le
Modified=Modifié le
Text=Texte
mm|cm|in|pt=mm|cm|po|pt
Friendly

Paul
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

ANSI 153

Post by *Clo »

2Lefteous

:) Hi Christian !
The problem is that the character is not part of the ANSI character set. It's part of Unicode.
:shock:
• What about the ANSI #153 character ? ™ ™ ™ ™ ™ ™ ™ ™ ™
- Works here in plain text with Alt+0153:P

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
balver
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-16, 09:38 UTC
Location: Poland
Contact:

Post by *balver »

Hi Lefteous,

Thanks for the great plugin. I just wanted to ask - would it be possible to add 2 additional fields? Specifically:
- has PDF any comments? [yes / no]
- number of comments in PDF [any number, 0 if no comments]

Regards,
balver
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2balver
Thanks for your suggestion. I'll see what i can do.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Problems with PDF-version

Post by *Peter »

Hi

since installing the PDF Pro (incl. Shell extensions) from www.tracker-software.com I have problems to display the correct PDF-version with xPDFSearch - it displays always "1.4". Using Shelldetails with "PDF Version" works fine.

Any ideas?

Edit:
I found two entries in the PDF-File:
Line 1:

Code: Select all

%PDF-1.4
Line 4539:

Code: Select all

<</PageLayout/SinglePage/Version/1.5/Outlines 570 0 R/Pages 6 0 R/PageMode/UseOutlines/Type/Catalog/ViewerPreferences<</DisplayDocTitle true>>>>
Maybe one plugin reads Line 1, other plugin reads Line 4539?
Peter
TC 10.xx / #266191
Win 10 x64
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

I have PDF-X viewer with the shell extension from www.tracker-software.com installed and have no problems pdfx and xpdfsearch show the same information.
The first line of a pdf file determines the version and in a strange way, %PDF-1.4 is equivalent to Acrobat 5.0. It's the way Adobe started numbering pdf versions (1.0-1.0,1.1-2.0,1.2-3.0 ... %PDF-1.7-Adobe Acrobat 8.0) version 1.7 is the latest and last pdf spec from adobe as that version has become an open iso standard.
what was the difference xpdfs and pdf-x?

I had a bit too much time on my hands so I did a simple experiment, I created a simple text (no images) pdf file version 1.7 (acrobat 8.0), I opened it up with a Hex editor and changed the version number to 1.4 (acrobat 5.0) and I used a few tools to gather info about the file:
Acrobat reported it correctly as a 1.7 pdf
there was a line in the pdf
<</Extensions<</ADBE<</BaseVersion/1.7/
PDF-Xchange (both the reader and the shell extension) said it was a 1.4 pdf as did xPDFsearch. so what's the conclusion? I don't know your pdf is probably damaged as mine was :) and xPDF is one of the best wdx plugins around.
Last edited by iana on 2011-03-28, 19:15 UTC, edited 1 time in total.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

A big tanks to Lefteous for this cool plugin if I may make a request, is it possible to add a new field that wold show it if a pdf is Linearized (aka Fast Web View) ?
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2iana
Thanks for your suggestion. I will look into it.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: Problems with PDF-version

Post by *Peter »

Peter wrote:... it displays always "1.4". Using Shelldetails with "PDF Version" works fine....
I think that a found the reason of this problem: A PDF can contain two (different) infos about version(s) - at the beginning and in the "document catalog" (??).

Take a look here:
http://www.tracker-software.com/forum3/viewtopic.php?f=35&t=10439

Peter
TC 10.xx / #266191
Win 10 x64
Post Reply