Ralf Habacker
debd7373d5
Optimized windows printing support by using renderToImage
15 years ago
Ralf Habacker
195c51e8f1
Enable print menu items in windows
...
BUGS: 190497
15 years ago
Script Kiddy
cfd881c2ee
SVN_SILENT made messages (.desktop file)
15 years ago
Albert Astals Cid
44c5fbad1e
make sure the character position exists before reading it
...
(cherry picked from commit aa8d593959 )
15 years ago
Aleix Pol
39fc2a471e
Properly check if a file is a readable image by asking QImageReader.
...
Reviewed by Albert Astals.
15 years ago
Montel Laurent
f9f65979f5
Normalize signals/slots
15 years ago
Kevin Kofler
e001fbab55
Fix landscape documents getting printed in portrait format if "Landscape" is selected in the print dialog (the default).
...
Partly based on a patch by Falk from KDE bug #181290 .
BUG: 181290
REVIEW: 101513
15 years ago
Pino Toscano
8585bb70ec
bump versions of comicbook and xps generators
15 years ago
Mohammad Mahfuzur Rahman Mamun
57db9f4c19
textSelection according to the TextList seems to work fine -- tested with some pdfs
15 years ago
Mohammad Mahfuzur Rahman Mamun
3798bd7398
primary text selection for more than one columns -- have problem if start or end is in empty space
15 years ago
Myreal Name
2149fb46ef
Another message
15 years ago
Script Kiddy
69ba0a3878
SVN_SILENT made messages (.desktop file)
15 years ago
Montel Laurent
71cc9b131c
Fix compile with "-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS"
15 years ago
Pino Toscano
89e7b03a3b
xps: set the correct mimetype in the document properties
15 years ago
Pino Toscano
250abf31a0
xps: introduce parseRscRefPath()
...
use it to either parse an abbreviate path data or (in the future) read paths from resources;
call parseRscRefPath() instead of parseAbbreviatedPathData() directly
15 years ago
Pino Toscano
eff172bddd
xps: ignore more elements when extracting text
15 years ago
Pino Toscano
f3799d700e
xps: allow also 'e' when parsing numbers from path strings
...
it indicates the exponential part of a real number, e.g. "3.54824e-005"
15 years ago
Pino Toscano
31a2e0af57
xps: use readFileOrDirectoryParts() also when creating a text page
...
just like it is done when rendering
CCBUG: 274482
15 years ago
Pino Toscano
7e0cfa2319
xps: load fonts with readFileOrDirectoryParts()
...
apparently, even those can be split in multiple chunks
CCBUG: 274482
15 years ago
Pino Toscano
a4ba73feb1
xps: split loadFile() in loadEntry() + loadFile()
...
loadEntry() retains the main entry loading logic (with the case insensitivity),
return just generic KArchiveEntry pointers
loadFile() just calls loadEntry(), returning the result if the entry is a file
15 years ago
Pino Toscano
fbe0c0764f
xps: more debug when parseAbbreviatedPathData() fails
15 years ago
Pino Toscano
0507090d8c
pdf: abstractTextPage() does not use 'rot', so declare it unused
15 years ago
Pino Toscano
82313448fa
pdf: add prefix for poppler messages, silent warning
15 years ago
Pino Toscano
933ef384d7
pdf: claim support for the WWF file type
15 years ago
Pino Toscano
505139af31
generators: fix core #includes removing the okular prefix
15 years ago
Pino Toscano
a6e1ee3f8f
remove the mobipocket generator
...
it has been moved to the separate mobipocket repository
15 years ago
Albert Astals Cid
fb78a4c1b8
correctly update pos (shouldn't matter but let's do it correctly)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1233921
15 years ago
Albert Astals Cid
87e98d5cc6
I have a few mobi files with
...
<font size="+2" face="AdobeGaramondPro" color="rgb(0,0,0)">
convert the color to something Qt understands
svn path=/trunk/KDE/kdegraphics/okular/; revision=1233920
15 years ago
Script Kiddy
84cc400fd0
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1231700
15 years ago
Script Kiddy
b815d7356d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1231185
15 years ago
Script Kiddy
805a8e7f89
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230986
15 years ago
Albert Astals Cid
e1ae8200d2
fix typo uncovereted by gcc4.6 new warnings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230922
15 years ago
Albert Astals Cid
439e7b9799
remove unused variables
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230896
15 years ago
Script Kiddy
64b8965b35
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230852
15 years ago
Script Kiddy
1b38da667b
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230663
15 years ago
David Palacio
fedc888dd5
Fix invalid index access:
...
FilePathA is a substring of FilePathB: E.g:
/foo/bar
/foo/barr
A Filepath ends in space
/foo/bar
/foo/ba_ <- _ is a space
In debug build this code fails this assert:
qstring.h:
inline const QChar QString::operator[](int i) const
{ Q_ASSERT(i >= 0 && i < size()); return d->data[i]; }
REVIEW: 6672
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230522
15 years ago
David Palacio
4aa3ebe4c6
Add support for reading a directory as a comicbook.
...
REVIEW: 6667
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230519
15 years ago
Albert Astals Cid
57cdf76407
pdfdoc->page can return 0 protect against it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1222775
15 years ago
Script Kiddy
6754fbd1c4
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1213671
15 years ago
Pino Toscano
e6b98db3d0
bump some generators version number to the values of the 4.5 branch, plus increase if there was work/fixes done
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1212170
15 years ago
Albert Astals Cid
537f2618bb
pipe poppler debug through kdebug
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1209701
15 years ago
Albert Astals Cid
0fdc76180d
QImageReader is a bit dumb and does not know how to open jpeg files with .png extension so use kmimetype that is somehow smarter
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1209685
15 years ago
Script Kiddy
a54fdcb923
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1207664
15 years ago
Pino Toscano
26d462e143
do not crash when handling links pointing to pages not in the document
...
CCBUG: 254610
svn path=/trunk/KDE/kdegraphics/okular/; revision=1189015
16 years ago
Pino Toscano
adf32b88bf
support also application/oxps, which is the new mimetype name for XPS documents
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1187566
16 years ago
Laurent Montel
28fff2c988
Install as programs
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1187515
16 years ago
Pino Toscano
0f08bfbcf0
check for the data pointer, not for the size
...
this way we can load resources of 0 bytes (not much useful per-se, but at least we know they are actually existing in the epub archive)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182899
16 years ago
Pino Toscano
b10baf2d19
SVN_SILENT whitespace cleanup
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182878
16 years ago
Pino Toscano
a55004e6d3
qDebug -> kDebug
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182639
16 years ago
Pino Toscano
f9424bbeee
Apply a way to resolve the real location of resources to load.
...
When iterating through the document HTML files, set in the epub document the URL of the current file being loaded,
so it is possible to resolve the locations of resources based on the base URL of the current file.
This makes it possible to load resources like "foo.css", "somedir/foo.css", "../somedir/foo.css" and so on.
BUG: 198764
FIXED-IN: 4.6
svn path=/trunk/KDE/kdegraphics/okular/; revision=1182629
16 years ago