Features they are new in build41. But how?

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Dorwol
User
Posts: 275
Joined: Mon Aug 04, 2008 5:04 pm

Features they are new in build41. But how?

Post by Dorwol »

Sorry, but also the others function I can not detect any solutions. :(

So PLEASE , is it possible to give me short examples (in VB)? :!:

1) emphasis of search strings
I see no way... :|

2) How to recognize click of the right mouse button to represent a context menu of one's own
The control has no MouseDown, MouseUp event. So HOW can I detect the right mouse button?

3) a possibility for the reconnaissance, whether is there any selected text (has the user text selected?) ?
4) a possibility for the reconnaissance, whether the user has selected the text of the complete pdf? (I mean after cmd: SelectAll #57642)

What is the Name/Number of the command to get this info?

5) A Fast way to copy the RAWText of the complete PDF to a string-variable
*because "Extract Text" in "PDFV_AX", page 117 is very very slow (big looping for getting each character).
Faster is to call "SelectAll", then "CopyAsPlainText" - BUT this will copy the Rawtext to the Clipboard (and override users actualy clipboard-content). I need something like CopyToString or CopyToStream or SaveAsTextfile...


For more details, please see: https://forum.pdf-xchange.com/ ... =36&t=5002
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Features they are new in build41. But how?

Post by Vasyl - PDF-XChange »

1) emphasis of search strings
2) How to recognize click of the right mouse button to represent a context menu of one's own
3) a possibility for the reconnaissance, whether is there any selected text (has the user text selected?) ?
4) a possibility for the reconnaissance, whether the user has selected the text of the complete pdf? (I mean after cmd: SelectAll #57642)
It will be added in near future.
5) A Fast way to copy the RAWText of the complete PDF to a string-variable
It will be added in near future also. Some details about it:
We will to add some new methods for 'Document\Page\Text' object.
Get(offsetIn, lenghtIn, strOut) // get text from characters range
GetSelected(strOut) // get selected text for specified page
Also new sub-object will be added into 'Document\Page\Text' as 'Selection' (array of character ranges).
For simplification we will to add new bonus-methods into 'Document' object:
GetSelectedText(strOut | streamOut | fileOut) // get selected text from document fully
GetText(strOut | streamOut | fileOut) // get entire text from document
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Dorwol
User
Posts: 275
Joined: Mon Aug 04, 2008 5:04 pm

Re: Features they are new in build41. But how?

Post by Dorwol »

What?

Since last year you tell me, that this features will be available in january 2009 - and now it is february and you tell me it was only a joke?

Sorry, but this is no customer friendly business policy!


Two months before YOU was telling me this:
Vasyl-Tracker Dev Team wrote:All requested features will be added into the next build.
Thanks.
See here: https://forum.pdf-xchange.com/ ... =36&t=5002
Dorwol
User
Posts: 275
Joined: Mon Aug 04, 2008 5:04 pm

Re: Features they are new in build41. But how?

Post by Dorwol »

and old problem was also not changed...

...it is still not possible to call "SellectAll" without focus the control.

Please see the attachment...

Any solution?
You do not have the required permissions to view the files attached to this post.
ugradedeveloper
User
Posts: 223
Joined: Wed Aug 22, 2007 4:40 pm

Re: Features they are new in build41. But how?

Post by ugradedeveloper »

Dorwol wrote:Since last year you tell me, that this features will be available in january 2009 - and now it is february and you tell me it was only a joke?
Being a software developer yourself, you can surely appreciate that coding projects often take longer to complete than anticipated. Sometimes development schedules have to be modified, even with the best efforts of all involved. I'm sure it wasn't a joke, just a case of projections turning out to be unrealizable.
Dorwol
User
Posts: 275
Joined: Mon Aug 04, 2008 5:04 pm

Re: Features they are new in build41. But how?

Post by Dorwol »

@ugradedeveloper
I can understand, what u mean. But I asked once more on end of January - and again I got a postive answer on 01.24.2009:
Tracker Support wrote:Thats correct and we hope to release late next week.
And please understand also my postition. I've also a timeframe and I've prepared my work since last year for this control, to implement it now...

---
But OK, I hope they will look at my example-code and tell me how I can extract text only from the complete pdf. That's the most important function I need at this time!
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Features they are new in build41. But how?

Post by Vasyl - PDF-XChange »

and old problem was also not changed...
...it is still not possible to call "SelectAll" without focus the control.
Here is bug really, will be fixed in the next build.
But this command is context-depended (can be used in pages view, bookmarks view, comments view, etc.), so, if, for example,
bookmarks view have a focus then this command will select all bookmarks.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Features they are new in build41. But how?

Post by Vasyl - PDF-XChange »

The new build with new features like as:
Document[<Index>]::GetText
Document[<Index>]::GetSelectedText
Document[<Index>].Pages[<Index>].Text::GetStr
Document[<Index>].Pages[<Index>].Text::GetSelectedStr

- will be available on the Monday.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Features they are new in build41. But how?

Post by Vasyl - PDF-XChange »

VB6 Sample for text extraction.
You do not have the required permissions to view the files attached to this post.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Dorwol
User
Posts: 275
Joined: Mon Aug 04, 2008 5:04 pm

Re: Features they are new in build41. But how?

Post by Dorwol »

Thx, however this is the same slow way like in your doc-File "PDFV_AX" on page 117.

But do I understand you correct now...?... On upcoming monday (in 3 days) the next build will be out AND then I can use functions to detect, if the user has selected any text AND if he has, I can get this text directly (and without the indirect way over the clipboard) to a String-variable?
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Features they are new in build41. But how?

Post by Vasyl - PDF-XChange »

Please update your Viewer/AX from official site (build 41.3, will be available for download after few hours).
VB Examples for approved text extraction, selection etc. in attachment.
You do not have the required permissions to view the files attached to this post.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Dorwol
User
Posts: 275
Joined: Mon Aug 04, 2008 5:04 pm

Re: Features they are new in build41. But how?

Post by Dorwol »

Thank you. It works now!