Search found 784 matches

by utelle
Tue Apr 24, 2018 2:56 pm
Forum: wxCode
Topic: wxPdfDocument - How to make a precise copy of PDF file?
Replies: 3
Views: 53

Re: wxPdfDocument - How to make a precise copy of PDF file?

All I need is to insert an Image in a PDF file. And I don't know size and orientation of pages in this document After calling ImportPage you can use GetTemplateSize to determine the width and height of the imported page, and from width and height you can deduce the page orientation. I didn't find a...
by utelle
Tue Apr 24, 2018 1:08 pm
Forum: wxCode
Topic: wxPdfDocument - How to make a precise copy of PDF file?
Replies: 3
Views: 53

Re: wxPdfDocument - How to make a precise copy of PDF file?

I use this code to import and save PDF file int tpl; wxPdfDocument pdf; int pages = pdf.SetSourceFile(szInFile); for (int i=1; i<=pages; i++) { pdf.AddPage(); tpl = pdf.ImportPage(i); pdf.UseTemplate(tpl); } pdf.SaveAsFile(szOutFile); but size of output file is not the same as original, and page or...
by utelle
Fri Apr 20, 2018 5:48 pm
Forum: wxCode
Topic: compiling wxpdfdocument on linux
Replies: 4
Views: 114

Re: compiling wxpdfdocument on linux

The build system of wxPdfDocument uses libtool.

If you link against libwxcode_gtk3u_pdfdoc-3.0.la, all should work, since this libtool file contains references to all required dependencies like wxWidgets libraries and fontconfig library.

Regards,

Ulrich
by utelle
Sat Apr 14, 2018 2:07 pm
Forum: wxCode
Topic: wxPdfDoc - Probblem with WriteXml and align=justify
Replies: 1
Views: 76

Re: wxPdfDoc - Probblem with WriteXml and align=justify

I use WriteXml to draw some paragraphs of text with align=justify. For the standard fonts this works fine, but for other fonts it simply draws the text left-aligned. Has anyone an idea why this is and what I can do to fix this? I used your code sample to investigate the issue. Unfortunately, I have...
by utelle
Sat Apr 14, 2018 7:40 am
Forum: wxCode
Topic: wxPdfDocument - find possition for free space at the bottom
Replies: 5
Views: 114

Re: wxPdfDocument - find possition for free space at the bottom

I know how to load PDF file and move to last page. I need to insert an image at the very end of a PDF document. Is it possible to find "Y-possition" of the last inserted text/image? As you know wxPdfDocument allows to extract pages from existing PDF documents and to include them in new PD...
by utelle
Wed Apr 11, 2018 12:35 pm
Forum: wxCode
Topic: wxPdfDocument - convert pixels to millimeters
Replies: 2
Views: 119

Re: wxPdfDocument - convert pixels to millimeters

in function wxPdfDocument::Image ( const wxString & file, double x, double y, double w = 0, double h = 0, x,y,w,h - are pixels No, that is simply not true. The position, height, and width of the image are given in user units, that is, the unit system selected on creating the wxPdfDocument class...
by utelle
Tue Apr 10, 2018 9:49 pm
Forum: Announcements and Discoveries
Topic: ANN: wxSQLite3 4.0.3 released
Replies: 0
Views: 157

ANN: wxSQLite3 4.0.3 released

Version 4.0.3 of wxSQLite3 has been released. It supports version 3.23.1 of SQLite . This version is compatible with wxWidgets 2.8.12, wxWidgets 3.0.x, and wxWidgets 3.1.x. What's new in this release This release is a major update of wxSQLite3 . From now on the cipher for database encryption can be ...
by utelle
Wed Mar 28, 2018 3:02 pm
Forum: Announcements and Discoveries
Topic: Multi-cipher support at runtime for wxSQLite3
Replies: 0
Views: 66

Multi-cipher support at runtime for wxSQLite3

Up to wxSQLite3 version 3.5.9 it had to be decided at compile time, which encryption cipher should be used in the SQLite3 encryption extension. One could choose among the following 2 cipher schemes: ⋅ AES 128 Bit CBC (Default) ⋅ AES 256 Bit CBC These encryption schemes were added...
by utelle
Fri Mar 23, 2018 8:05 am
Forum: Database Related
Topic: Temp tables encrypted?
Replies: 2
Views: 275

Re: Temp tables encrypted?

does wxSQLLite3 encryption have the same limitations as the official sqllite encryption extension, which states that it does not encrypt temp tables? Yes. wxSQLite3 has the same limitations as listed at the bottom of the SEE documentation page . The reason is that this is a limitation of the SQLite...
by utelle
Fri Feb 23, 2018 8:05 am
Forum: wxCode
Topic: WxSqlite3 - Same action two different results [SOLVED]
Replies: 2
Views: 187

Re: WxSqlite3 - Same action two different results [SOLVED]

The problem is this, I have a single row loaded in the table. One method returns the data correctly, but the other method returns a wrong row and a good one For simplicity I made this script, I count the times it enters the loop and I show them on the screen, as I have only one row the correct resu...
by utelle
Sat Jan 27, 2018 12:45 pm
Forum: wxCode
Topic: wxSQLIte3 from sources...
Replies: 3
Views: 472

Re: wxSQLIte3 from sources...

Hello, very thanks for lib. I am trying to compile minimal with only source files , so i post a piece of source CodeBlocks file, because compiler says .. ...wxsqlite3-3.5.9/src/wxsqlite3.cpp|1329|undefined reference to `sqlite3_column_database_name' But there is at "sqlite3.h" <Compiler> ...
by utelle
Wed Jan 24, 2018 10:06 pm
Forum: Announcements and Discoveries
Topic: ANN: wxSQLite3 3.5.9 released
Replies: 0
Views: 333

ANN: wxSQLite3 3.5.9 released

Version 3.5.9 of wxSQLite3 has been released. It supports version 3.22.0 of SQLite . This version is compatible with wxWidgets 2.8.12, wxWidgets 3.0.x, and wxWidgets 3.1.0. What's new in this release: ⋅ Upgrade to SQLite version 3.22.0 Note : The SQLite3 binaries for Windows can be found a...
by utelle
Tue Jan 09, 2018 5:28 pm
Forum: wxCode
Topic: wxPDFDoc page number
Replies: 1
Views: 202

Re: wxPDFDoc page number

I have pdf file with page 600X825 and i whant to insert in my A4 page. Some advice for scale page? After you have imported the page from your pdf file, you can add it with method UseTemplate . Method UseTemplate allows to specify a new width and/or height. The new width and/or height will be used t...
by utelle
Thu Dec 28, 2017 12:40 pm
Forum: wxCode
Topic: wxPdfDocument linking problem [SOLVED]
Replies: 2
Views: 260

Re: wxPdfDocument linking problem [SOLVED]

The Visual C++ solutions files coming with wxPdfDocument currently do not support the monolithic build of wxWidgets. AFAIK the same is true for the Visual C++ solution files coming with wxWidgets itself. Support for the monolithic wxWidgets build is included for gcc and GNU make only. As doublemax p...
by utelle
Tue Dec 19, 2017 10:14 am
Forum: wxCode
Topic: How i can take a pdf page as image in wxDc?
Replies: 27
Views: 1042

Re: How i can take a pdf page as image in wxDc?

Unfortunately, I have no experience in building PDFium under Linux. Maybe you could try to contact the developer of wxPDFView directly and ask him.

Sorry that I don't have a better answer for you.

Regards,

Ulrich

Go to advanced search