Commit Graph

14 Commits

Author SHA1 Message Date
WandererFan
fa327ec152 [TD]Fix transparent area in pdf (fix #18443) (#18507)
* [TD]fix transparent areas in pdf (#18443)

* [TD]restore use of PDF/A-1b format

- was not working in older versions of QPdfWriter
2024-12-16 10:47:08 -06:00
Ladislav Michl
0ee3c9f8e6 Base: Drop QString-std::string conversion functions from Tools
Convenience helpers function Tools::toStdString and Tools::fromStdString
were implemented for Qt4 or older to perform utf8 aware conversion as
QString::toStdString/QString::fromStdString were using toAscii/fromAscii
internally (see https://dreamswork.github.io/qt4/classQString.html).

Since Qt5 QString uses toUtf8/fromUTf8, which makes the helper functions
obsolete (see https://doc.qt.io/qt-5/qstring.html#fromStdString).
2024-12-02 23:30:53 -05:00
Benjamin Bræstrup Sayoc
36f2aa6152 [TechDraw] Translations and grammer (#16301)
Co-authored-by: WandererFan <WandererFan@gmail.com>
2024-12-02 12:27:39 -05:00
wandererfan
8581cd01e2 [TD]prevent crash on attempt to print hidden page 2024-11-29 12:28:25 -05:00
wandererfan
58426c243a [TD]do not mark document as changed after print 2024-10-28 09:46:10 -05:00
WandererFan
a1ff05f382 [TD] Fix win file spec backslash (fix #16646) (#16689)
* [TD]add method to clean win filespecs

- '\' in strings passed to Python as filespecs is interpreted as
  an escape of the following character.
- replace '\' with '/'

* [TD]remove '\' from filespecs before use
2024-09-23 17:40:05 +02:00
wandererfan
df64558362 [TD]fix page margins on pdf export (fix #15848) 2024-09-02 18:02:30 +02:00
wandererfan
e484db2a03 [TD]revert to v0.21 hatch exporting 2024-05-17 18:06:47 -04:00
Chris Hennes
fcddb21d0e TD: Remove trailing spaces from translations 2024-03-12 22:42:19 -05:00
wandererfan
d5116ca99c [TD]fix printAll formats 2024-02-29 18:06:04 -05:00
wandererfan
0bd0d2e4b5 [TD]Fix margins on PDF output #11308 2023-11-10 09:30:19 -05:00
wandererfan
6876eca8e7 [TD]remove obsolete exportingPdf flag handling 2023-10-23 11:01:38 -04:00
wandererfan
e3ad4d35dc [TD]fix printAllPdf info block text 2023-10-20 19:08:34 -04:00
wandererfan
4046e03cc6 [TD]refactor print routines out of MDIViewPage 2023-09-06 08:58:33 -04:00