Christopher Reichert
a9354072ad
View orientation cached in memory.
...
Cache the view orientation in memory to anticipate
a document reload.
CCBUG: 184518
2011-06-25 17:14:04 -05:00
Christopher Reichert
5be0a98725
added proper KStandardAction's in presentationwidget.cpp
2011-06-19 11:22:29 -05:00
Christopher Reichert
831294d3dc
presentation widget allows "back in document".
...
Back in document and forward in document are not added to
the action of the presentation widget.
CCBUG: 271462
2011-06-19 10:45:47 -05:00
Christopher Reichert
0213afca46
Page up and Page down buttons now work while focus is in the search bar
...
or in the page number line edit in the minibar.
CCBUG: 270524
CCBUG: 274887
2011-06-10 00:34:44 -05:00
Script Kiddy
69ba0a3878
SVN_SILENT made messages (.desktop file)
2011-06-08 09:36:09 +02:00
Valentin Rusu
d13d0064f2
Fixed a test (thanks Alex Neundorf) when libpoppler-qt4 was incorrectly not found
2011-06-07 00:07:49 +02:00
Montel Laurent
71cc9b131c
Fix compile with "-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS"
2011-06-05 13:19:15 +02:00
Pino Toscano
89e7b03a3b
xps: set the correct mimetype in the document properties
2011-06-05 00:06:05 +02:00
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
2011-06-04 23:32:52 +02:00
Pino Toscano
eff172bddd
xps: ignore more elements when extracting text
2011-06-04 23:05:04 +02:00
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"
2011-06-04 22:36:31 +02:00
Pino Toscano
31a2e0af57
xps: use readFileOrDirectoryParts() also when creating a text page
...
just like it is done when rendering
CCBUG: 274482
2011-06-04 20:52:46 +02:00
Pino Toscano
7e0cfa2319
xps: load fonts with readFileOrDirectoryParts()
...
apparently, even those can be split in multiple chunks
CCBUG: 274482
2011-06-04 20:19:39 +02:00
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
2011-06-04 20:05:06 +02:00
Pino Toscano
fbe0c0764f
xps: more debug when parseAbbreviatedPathData() fails
2011-06-04 19:27:44 +02:00
Pino Toscano
0507090d8c
pdf: abstractTextPage() does not use 'rot', so declare it unused
2011-06-04 19:15:46 +02:00
Pino Toscano
82313448fa
pdf: add prefix for poppler messages, silent warning
2011-06-04 19:14:25 +02:00
Albert Astals Cid
ec77793a9c
Use non deprecated call
2011-06-02 20:44:31 +01:00
Albert Astals Cid
328efbc562
Do not crash if the part could not be found
2011-06-02 20:26:20 +01:00
Pino Toscano
933ef384d7
pdf: claim support for the WWF file type
2011-06-01 15:56:56 +02:00
Pino Toscano
8951699475
cmake: remove the include dir hack, and put the source dir as first
2011-06-01 10:51:41 +02:00
Pino Toscano
505139af31
generators: fix core #includes removing the okular prefix
2011-06-01 10:51:36 +02:00
Pino Toscano
c05523da2b
fix #include paths in core headers to other core headers to be relative
...
... and with double quotes brackets, so they can properly include each other without relying on the compiler include path
2011-06-01 10:51:31 +02:00
Pino Toscano
09af0e40c4
cmake: remove obsolete/leftover cmake modules
2011-05-30 17:54:05 +02:00
Pino Toscano
2ea59ef805
install the documentation in the right subdirectory
2011-05-29 11:31:45 +02:00
Pino Toscano
a87fb880c7
cmake: improve build system to make okular compile standalone
2011-05-29 11:31:22 +02:00
Pino Toscano
a6e1ee3f8f
remove the mobipocket generator
...
it has been moved to the separate mobipocket repository
2011-05-29 11:30:38 +02:00
Albert Astals Cid
fb78a4c1b8
correctly update pos (shouldn't matter but let's do it correctly)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1233921
2011-05-28 17:13:43 +00:00
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
2011-05-28 17:08:34 +00:00
Script Kiddy
84cc400fd0
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1231700
2011-05-13 07:09:13 +00:00
Script Kiddy
b815d7356d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1231185
2011-05-10 10:01:23 +00:00
Script Kiddy
805a8e7f89
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230986
2011-05-09 07:42:08 +00:00
Albert Astals Cid
e1ae8200d2
fix typo uncovereted by gcc4.6 new warnings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230922
2011-05-08 18:18:03 +00:00
Albert Astals Cid
439e7b9799
remove unused variables
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230896
2011-05-08 15:33:17 +00:00
Script Kiddy
64b8965b35
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230852
2011-05-08 07:37:44 +00:00
Script Kiddy
1b38da667b
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230663
2011-05-06 07:24:37 +00:00
David Palacio
e45e7d8594
Make the file dialog accept directories if a generator offers to handle them.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230524
2011-05-05 20:52:46 +00:00
David Palacio
db7d8ff608
Test if the file is readable if it is a regular file.
...
*REVIEW: 6667
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230523
2011-05-05 20:51:05 +00:00
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
2011-05-05 20:48:41 +00:00
David Palacio
4aa3ebe4c6
Add support for reading a directory as a comicbook.
...
REVIEW: 6667
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230519
2011-05-05 20:40:59 +00:00
David Faure
d473477a5a
Look up kttsd.desktop correctly.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1228495
2011-04-19 09:10:23 +00:00
Burkhard Lück
ebb5118adb
add i18n() to make summary translatable
...
chenge TextBox to Inline Note to match the gui name, ack'd by pino
svn path=/trunk/KDE/kdegraphics/okular/; revision=1227906
2011-04-14 05:46:10 +00:00
Albert Astals Cid
38462d062a
"Normalize" strings so searching for ligatures like "fi" works
...
Patch by Christopher Reichert
BUGS: 181828
svn path=/trunk/KDE/kdegraphics/okular/; revision=1225994
2011-03-25 20:07:45 +00:00
Albert Astals Cid
50015ed233
kdelibs complains with a kError this is a QAction, move to KAction so users don't get pollution in their shells
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1225385
2011-03-20 13:46:43 +00:00
Albert Astals Cid
f95073babb
If we are going to copy raw data from src to dest we need to make sure both are in the same image format
...
Thanks to Adrià Arrufat for the testing
BUGS: 243434
svn path=/trunk/KDE/kdegraphics/okular/; revision=1225247
2011-03-18 18:47:18 +00:00
Albert Astals Cid
ec45cf9620
resizeEvent needs to call requestPixmaps too, not only relayoutPages
...
BUG: 266994
svn path=/trunk/KDE/kdegraphics/okular/; revision=1225158
2011-03-17 15:24:44 +00:00
Albert Astals Cid
50e3519ffc
Fix off by one error on setting the search boundary limits
...
Fix researched by Christopher Reichert
Will backport to 4.6 if works fine in trunk for a while
BUGS: 266535
svn path=/trunk/KDE/kdegraphics/okular/; revision=1224201
2011-03-08 23:47:08 +00:00
Rohan Garg
b9710a3cb6
FindKSane.cmake moved to git, removing unnecessary files
...
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1223126
2011-02-28 13:47:33 +00:00
Albert Astals Cid
57cdf76407
pdfdoc->page can return 0 protect against it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1222775
2011-02-25 22:20:33 +00:00
Pino Toscano
96ae09cfde
ignore setViewport() for page numbers out of the document
...
CCBUG: 266133
svn path=/trunk/KDE/kdegraphics/okular/; revision=1220028
2011-02-12 14:49:32 +00:00