Beiträge von Bigun

    Hi. We are testing some tax pdfs we produce from our App and I have realized that the data from the last page is not shown at all (blank page).
    After testing with different versions of WPViewPdf.dll the result is that the pdf is properly displayed with version 3.5.6.733 (june 2012).
    Later versions I have tried do not display that last page at all. These versions are:
    - 3.11.5.691 (october 2013)
    - 3.12.4.738 (april 2014).

    I attach a link to the pdf:
    http://www.bigun.com/Bigun/tmp/RTEMP12.001.pdf

    Thank you very much for your support.

    Bigun

    In an application we store thousands of salary forms in an historical directory. These pdfs are generated with wpcubed's wPdf3 using List&Label.
    Yesterday, on a rutinary check I realized that all the documents stored since december 2012 are not displayed correctly. After some research I´ve found out there was a small font change in the subtotal of the report that has caused this problem.
    I've tried it with the last three versiones of the viewer and with them all it displays incorrectly.
    An example pdf:
    http://www.bigun.com/Bigun/varios/Wrong.pdf
    A similar one but with different font, that displays OK:
    http://www.bigun.com/Bigun/varios/Ok.pdf

    Could you check it out, please?

    Thank you very much.

    Hi,
    I was testing data combination in a new official tax form pdf document and I have realized that in one of the pages, two frames (boxes) are not displayed. These boxes are just two drawings with no data field or whatever assigned.
    With our other testing pdf viewers they display correctly.

    Could you please give it a look?

    You can download the pdf from
    http://www.bigun.com/bigun/Varios/001_pdf_11.pdf

    (It's only the page that displays incorrectly, page nr. 11)

    By the way, I've checked it with the last version, 3.5.7.
    Thank you very much for your support.

    Edorta.

    Hi,
    I'm working with a new set of pdfs (tax documents provided by the Public Office) and I've noticed a small label in the upper left corner of every page, which displays X JBIG2]
    What does that mean? Can it be taken off? (knowing my customers they will start phoning me asking about this label).

    Thanks in advance

    Hello,
    I still have a pdf with form fields that wpViewPdf shows incorrectly. I've tried with the lasts versions of wpViewPdf without success, so my clients have to use Adobe Reader to view them.

    Could you please check it out?

    Here there are some samples of the pdf:

    http://www.bigun.com/bigun/varios/AbraAlb_RC20000.pdf
    http://www.bigun.com/bigun/varios/AbraAlb_PTO20000.pdf
    http://www.bigun.com/bigun/varios/AbraAlb_PTO24463.pdf

    Thank you very much

    Edorta

    Hi,

    I've got a pdf invoice with form fields which is filled and flattened in runtime. When viewing it, two of the fields of the the first row of data move up and overlaps the headers (concretely CANTIDAD and LIN headers). The invoice shows correctly in Adobe and the other pdf viewer I am currently using.

    Could you please check it out?

    The PDF can de downloaded from:
    http://www.bigun.com/bigun/varios/AbraAlb_PTO24463.pdf

    I've tried with the three latest releases of wpViewPdf, v3.02.2 to v3.02.4 (published 21.11.2011).

    Thank you very much for your help.
    Edorta.

    Hi,

    Two of my clients have reported a problem with the viewer: when loading a PDF the wp_type1ttf dll canot be loaded and a Message is shown: wp_type1ttf.dll is required to run this application.

    This message, though, sometimes shows under a waiting message and users can't see it, thinking the system is hanged up.

    Both of them have Windows 2000 SP4.

    Is there a compatibility problem with wp_type1ttf.dll in Windows 2000?
    The viewer seems to work OK after the message. Would it be possible, at least, to configure the viewer in order to not to show any warning message?

    Thanks in advance,

    Edorta

    Hi,

    I've got an official PDF, supplied by the Tax Office, which shows a weird triangle shape when I view it with wpViewPdf. It also appears when I print the PDF.
    This shape does not appear in Adobe and the other PDF viewers I use. If I print it with a different library (I mean, not using wpViewPdf) it doesn't appear either.

    The PDF can de downloaded from:
    http://www.bigun.com/bigun/varios/310Oficial.pdf

    I've tried to erase the shape with Acrobat 9 but there is no shape, no comment, nothing!. It looks like a normal PDF (I'm not a pdf expert though).

    I'm using latest release of wpViewPdf (published today).

    Does anyone have any hints?

    Thank you very much for your help.
    Edorta.

    Hi,

    I've got a vertical pdf which is rotated 90º so it is viewed as landscape.
    In order to set viewer's initial zoom properly, I read the height and width of the document to determine if it is landscape or not. With this document I get height= 842 and width= 595 (vertical A4).
    Is there any way to know if the pdf is rotated?
    Is there any way to know if a document is landscape (rotated or not)?

    Thanks in advance

    Hi,
    When I started using wpViewPdf I was surprised to found out that I could only open a password protected PDF if I supplied the pdf's user password (opening password).
    Most of my PDFs are password protected and I have always supplied the owner password in order to view them. Instead of reviewing and changing all my pdf creating and viewing code I've added a procedure in the OnNeedPassword event of the viewer where I unprotect the pdf with the supplied owner password and I load the viewer with the unprotected pdf.
    This works but, obviously, there is a delay.

    What I suggest is the posibility of opening a password protected pdf when only the owner password is supplied (I believe this is the common behaviour in the rest of pdf viewers I know).

    Thanks in advance.

    Edorta.

    Hi,

    I'm having this very same problem with both C++Builder 5 and C++Builder XE. I've downloaded the last version of wpViewPdf (1 october 2011).

    I create the viewer in the OnCreate event of the form:
    WPViewPDF1= new TWPViewPDF(this);
    WPViewPDF1->ViewerStart(...);
    WPViewPDF1->Parent= this;
    WPViewPDF1->Align= alClient;

    Then in the OnShow event I set only horizontal scrollbar to appear:
    WPViewPDF1->ViewControls.Clear();
    WPViewPDF1->ViewControls << wpHorzScrollBar;

    It doesn't work. All the controls appear. Besides, the vertical scrollbar does not resize according to the size of the document (it is not syncronized with the document).

    EDIT
    Just for the records, when I've moved the assignments to the OnCreate event they have worked OK, opposite to what it has been said before to set them in the OnShow event.
    In any case, this only works if I set only both horizontal and vertical scrollbars. If I set the navigation panel, or only the vertical scrollbar or other combination it doen not work properly.

    Edorta

    Hi,
    I'm not able to load protected pdfs in the viewer. I always get 'Cannot decrypt this file' error.
    I've tried LoadPassword property but it does nothing. The event OnNeedPassword is not fired.
    I've tried to provide a password as I've read in a post, like:
    WPViewPDF1->command(COMPDF_ClearPasswords);
    WPViewPDF1->CommandStr(COMPDF_AddPassword, myPassword);
    It doesn´t work.
    I've even tried to load a protected pdf with the demo app provided but it does exactly the same.

    What do I need to do in order to load a password protected pdf in the viewer?

    Thanks in advance

    Edorta

    Hi Julian.

    there is only a FindText, not a FindTextA
    I know. That's why I am so puzzled.

    But you can also directly use the "Command" method to do the serach.
    I have done as you suggested and it certainly works, though I'm still trying to find an explanation for what was happening. How can Builder's "Code completion" detect a FindTextA method that does not exist?


    Thank you for answering.
    Edorta

    Hi,

    I get a linker error compiling wpViewPdf3 in Borland C++ Builder 5 (Windows XP).
    The error says:
    [Linker Error] Unresolved external '__fastcall Wpviewpdf3::TWPViewPDF::FindTextA(System::AnsiString, bool, bool, bool, bool)' referenced from ...

    This is what I have:
    int p= WPViewPDF1->FindText(SomeText,...

    If I change in my code FindText to FindTextA I still have this problem.
    Borland C++ Compiler's "Code Completion" only shows FindTextA as a method but in wpViewPdf3.pas the method is defined as Findtext (without A, that I guess stands for AnsiString). There is no FindTextA declaration anywhere.

    Is there a disjoint between how the method was registered, to what it actually should be in the hpp files?
    Do I lack any reference?

    Any help would be much appreciated!

    Thanks,

    Edorta