Search found 813 matches

by utelle
Thu Aug 16, 2018 9:55 pm
Forum: wxCode
Topic: Getting Text Size With wxPdfDocument [SOLVED]
Replies: 2
Views: 68

Re: Getting Text Size With wxPdfDocument [SOLVED]

Hello, I am trying to use GetStringWidth() in wxPdfDocument and I was expecting the line drawn to be the same length as the text. Does anyone know what I am doing wrong? Yes. You are using the Line method incorrectly. You have to specify the start point and the end point of the line. However, you u...
by utelle
Tue Jul 31, 2018 10:06 pm
Forum: Announcements and Discoveries
Topic: ANN: wxChartDir 1.0.0 released
Replies: 0
Views: 148

ANN: wxChartDir 1.0.0 released

Version 1.0.0 of wxChartDir has been released. This version is compatible with wxWidgets 3.0.x, and wxWidgets 3.1.x. What is wxChartDir wxChartDir provides components for the integration and use of the commercial C++ library ChartDirector , a universal chart component developed by Advanced Software ...
by utelle
Thu Jul 26, 2018 11:50 am
Forum: wxCode
Topic: wxSqlite3 and Creating Virtual tables...
Replies: 3
Views: 58

Re: wxSqlite3 and Creating Virtual tables...

What is the best way to create a table that say consists of 3 columns: Name char, Price real, Qty real I don't see where this could be done using wxSqlite3 unless I'm missing something. (I probably am, ;) ) If you are actually referring to SQLite's virtual tables based on the virtual table mechanis...
by utelle
Mon Jul 23, 2018 12:21 pm
Forum: wxCode
Topic: wxSQLIte3 from sources...
Replies: 9
Views: 847

Re: wxSQLIte3 from sources...

Now it seems much better. But i have a little problem... Something i don’t make with right way. I send the last C::B file. I don't know and haven't used Code::Blocks myself. So most likely I will be of little help to solve C::B issues. /usr/bin/ld: obj/Debug/wxsqlite3/sqlite3secure/src/sqlite3secur...
by utelle
Sun Jul 22, 2018 7:04 pm
Forum: wxCode
Topic: wxSQLIte3 from sources...
Replies: 9
Views: 847

Re: wxSQLIte3 from sources...

Hello, now i have some time to try wxSqlite3 from sources. I am taking an error in try to compile minimal in Linux Mint... /home/a/repo/wxsqlite3/sqlite3secure/src/chacha20poly1305.c|85|error: unknown type name ‘size_t’| Obviously you try to compile the source files in wxsqlite3/sqlite3secure/src s...
by utelle
Thu Jul 19, 2018 9:07 pm
Forum: wxCode
Topic: Wrong chars on double pdf files
Replies: 2
Views: 114

Re: Wrong chars on double pdf files

If i try to add 2 times a pdf file, the result is wrong. I just send the 1.pdf file and the result in 2.pdf in zip 12.zip file. You could call this a bug in wxPdfDocument . wxPdfDocument keeps a list of PDF parsers for each PDF document, for which method SetSourceFile is invoked. However, it was no...
by utelle
Wed Jul 18, 2018 6:03 am
Forum: wxCode
Topic: Inserting pages size???
Replies: 6
Views: 156

Re: Inserting pages size???

I send 3 files, 1.pdf, 2.pdf, 3.pdf. Adding these 3 files produce test1.pdf. Then from all pages i take 2 in file test2.pdf from test1.pdf. The sizes of 2 files are same. I will send and the code... File test.zip is about 45MB. Thanks for the sample data files. Unfortunately, I have to inform you t...
by utelle
Sun Jul 15, 2018 8:13 pm
Forum: wxCode
Topic: Inserting pages size???
Replies: 6
Views: 156

Re: Inserting pages size???

Ok i will send the code and files, but not all files, there are 78. I will try it in small scale and send code and some files to see what hapends. A subset exposing the problem you observed would be enough, of course. Maybe you can pack the files into a zip archive, upload them and send a link for ...
by utelle
Sun Jul 15, 2018 5:12 pm
Forum: wxCode
Topic: Inserting pages size???
Replies: 6
Views: 156

Re: Inserting pages size???

With wxPDFDocument lib i add in a file many pdfs. Size too big, about 700MB in almost 800 pages. Ok so far. In principle, the final PDF file should only be slightly larger than the sum of the sizes of the inserted PDFs. However, it also depends a bit on the settings for wxPdfDocument (for example, ...
by utelle
Thu Jul 12, 2018 6:43 pm
Forum: wxCode
Topic: Exeption in insert page.
Replies: 4
Views: 156

Re: Exeption in insert page.

I applied a fix for the issue on importing a completely empty page.

Please download the latest wxPdfDocument from https://github.com/utelle/wxpdfdoc. With this adjusted version your application should no longer crash on importing page 39 (or 40) of your PDF document.

Regards,

Ulrich
by utelle
Thu Jul 12, 2018 2:53 pm
Forum: wxCode
Topic: Exeption in insert page.
Replies: 4
Views: 156

Re: Exeption in insert page.

Hello.File is big to upload. I send link from where download it... At page 39 crashes .. https://www.epamhellas.gr/site_files/minisi-epi-esxati-epam-hellas.pdf The reason is that the pages 39 and 40 are completely empty , no associated content, no associated resources. It seems that these empty pag...
by utelle
Wed Jul 11, 2018 7:21 pm
Forum: wxCode
Topic: wxPDF : Assert warning
Replies: 1
Views: 111

Re: wxPDF : Assert warning

We are using wx3.1 in our application. Windows OS. When saving a file as PDF using wxPDF, it is throwing the attached warning pop-up. The debug assertion seems to originate from a string formatting operation in the wxWidgets library, not wxPdfDocument. However, the call stack looks very strange, be...
by utelle
Mon Jul 09, 2018 11:37 am
Forum: wxCode
Topic: Exeption in insert page.
Replies: 4
Views: 156

Re: Exeption in insert page.

I have a pdf page to import of a pdf. But in page i there is not any pdf object, there are only white pages. How i can prevent craches in those pages? int tpl = exportPdfFile.ImportPage(i); Please provide a sample PDF file for which the import crashes. I would have to further analyze why a crash ha...
by utelle
Sun Jul 08, 2018 4:25 pm
Forum: Database Related
Topic: Is something like this possible?
Replies: 3
Views: 378

Re: Is something like this possible?

As far as I can tell your problem is related to parameterizing the select SQL statement: stmt1.Bind(1, ListBox1->GetSelection()); // I'M TRYING TO BIND THE LISTBOX recipe_name HERE Here you call method GetSelection of your listbox to bind the selected recipe name to your SQL statement. However, meth...
by utelle
Sun Jul 01, 2018 3:04 pm
Forum: wxCode
Topic: How i can insert a html page from url to pdf page?
Replies: 1
Views: 137

Re: How i can insert a html page from url to pdf page?

If i have a url how i can insert the html page in pdf page? There is some easy way without libraries, only wxPdfDocument? wxPdfDocument itself has no builtin support to convert HTML to PDF. However, wxPdfDocument supports the wxWidgets printing framework. That is, maybe you could use wxHtmlPrintout...

Go to advanced search