Albert Astals Cid
86dd9e8801
Move the ooo wallet code to use the part.cpp one
...
Less widgets in generators/core \o/
12 years ago
Albert Astals Cid
96c78eae6f
odt: Seems styles.xml and meta.xml are not mandatory
...
At least libreoffice opens the file from bug 324241 that has neither of them.
With this change we open it too, it looks crap when compared to libreoffice,
but that's just because our ooo generator needs to die in favour of a calligra one.
BUGS: 324241
FIXED-IN: 4.11.5
12 years ago
Azat Khuzhin
1fdb0a0a06
Font selector for TextDocumentGenerator
...
REVIEW: 109021
13 years ago
Albert Astals Cid
aea2ec8f75
Return 0 not false for pointers
14 years ago
Pino Toscano
505139af31
generators: fix core #includes removing the okular prefix
15 years ago
Tobias Koenig
ea8c21630b
Make parsing ODT files more robust if page width/height is wrong or missing
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=977958
17 years ago
Pino Toscano
685d737f21
properly calculate the page size, converting from points to pixels using the current screen dpi
...
CCBUG: 171463
CCBUG: 193916
also, it seems to fix the crash of testcase documents in #193542 (not that the resulting quality when open is that good...)
BUG: 193542
svn path=/trunk/KDE/kdegraphics/okular/; revision=973209
17 years ago
Brad Hards
20b83ac8de
General improvements to visual rendering of .odt
...
documents.
We can now (more) correctly render cell widths,
documents containing more than just a table,
documents containing lists within table cells,
and documents containing variable formatting
within a single table cell.
Significantly improves rendering of example in
http://bugs.kde.org/show_bug.cgi?id=154980
There is still an issue relating to list indenting.
CCBUG:154980.
svn path=/trunk/KDE/kdegraphics/okular/; revision=906395
17 years ago
Pino Toscano
3f2f754dab
when reading a table, do not assume there are only <table-row> elements as children of <table>; in case, read inside <table-header-rows>
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=824835
18 years ago
Sebastian Sauer
9a0bbcd36a
fix crash on the try to load the OpenDocument1.1-specs ;)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=806899
18 years ago
Pino Toscano
242891d48e
create the style information object only during the conversion; this way, there are no stale information across multiple openings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=798890
18 years ago
Tobias Koenig
7f5e24af52
Improved the presentation of nested lists, the structure is
...
shown correctly, just the enumeration doesn't equal the oowriter
representation.
BUG: 157452
svn path=/trunk/KDE/kdegraphics/okular/; revision=780109
18 years ago
Tobias Koenig
eb25ad0f18
First part of fixing representation of lists
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=780098
18 years ago
Tobias Koenig
cdcde2aeaf
Don't delete the documents in the converters, they are deleted
...
by the TextDocumentGenerator.
svn path=/trunk/KDE/kdegraphics/okular/; revision=710348
19 years ago
Pino Toscano
106e96240c
rename (almost) every ActionFoo class to FooAction
...
exception to this is the ActionDocumentAction, renamed to DocumentAction and whose id is DocAction
svn path=/trunk/KDE/kdegraphics/okular/; revision=660523
19 years ago
Pino Toscano
0e12746a92
Link -> Action renaming.
...
TextDocumentConverter::addLink -> addAction
Document::processLink -> processAction
svn path=/trunk/KDE/kdegraphics/okular/; revision=656145
19 years ago
Pino Toscano
5f21b15d99
Link -> Action renaming.
...
Step #2 : Link -> Action for the action hierarchy, and for the ObjectRect type.
svn path=/trunk/KDE/kdegraphics/okular/; revision=656140
19 years ago
Pino Toscano
f3e484082d
Link -> Action renaming.
...
Step #1 : link.(cpp|h) -> action.(cpp|h)
svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Tobias Koenig
baf1fb2870
Several changes:
...
- renamed signalRequestDone to signalPixmapRequestDone to allow a future signalTextPageRequestDone
- added error/warning/notice signals to TextDocumentConverter and add meaningful error messages
to ooo and fictionbook generator
- code cleanup in chm generator
- print improvements and error notification in kimgio generator
svn path=/trunk/playground/graphics/okular/; revision=628124
19 years ago
Tobias Koenig
ce289e816d
Port OOO generator to TextDocumentGenerator, so it supports text
...
extraction now as well
svn path=/trunk/playground/graphics/okular/; revision=623084
19 years ago
Tobias Koenig
ea51ee18f5
Do a lot of include cleanups... we install all important
...
header files now
svn path=/trunk/playground/graphics/okular/; revision=619492
19 years ago
Tobias Koenig
0166264223
Add patch written by Leandro Emanuel Lopez which adds master-page-support
...
svn path=/trunk/playground/graphics/okular/; revision=610404
20 years ago
Tobias Koenig
d276fc4aa1
Add support for annotations
...
@Pino : Can you write a big, green 'Yes' on the website, please? :)
svn path=/trunk/playground/graphics/okular/; revision=609168
20 years ago
Tobias Koenig
d45d7b31b1
Performance improvement: parse content dom only once
...
svn path=/trunk/playground/graphics/okular/; revision=608234
20 years ago
Tobias Koenig
47636c5ae0
Improved support for href links, the calculation of the bounding
...
rect is correct now.
svn path=/trunk/playground/graphics/okular/; revision=607189
20 years ago
Tobias Koenig
65eae2664a
Fixed generation of 'table of contents'
...
svn path=/trunk/playground/graphics/okular/; revision=598329
20 years ago
Tobias Koenig
df7d144c10
Moved all classes in core/ into the 'Okular' namespace and removed
...
nearly all references to kpdf (knewstuff still missing).
svn path=/trunk/playground/graphics/okular/; revision=586993
20 years ago
Tobias Koenig
7f8f7b4d0e
* Add initial version of link support
...
* Improved rendering of tables
* Refactoring
svn path=/trunk/playground/graphics/okular/; revision=586706
20 years ago
Tobias Koenig
265c541925
Prevent endless-loops
...
svn path=/trunk/playground/graphics/okular/; revision=586047
20 years ago
Tobias Koenig
21b3dc4263
* reimplemented table of contents parsing in a faster way (thanks to tronical!)
...
svn path=/trunk/playground/graphics/okular/; revision=586039
20 years ago
Tobias Koenig
e21d2af66a
* Add support for TableOfContents
...
* Add basic table rendering
svn path=/trunk/playground/graphics/okular/; revision=585990
20 years ago
Tobias Koenig
dd5b91ca40
* Add support for style families (text looks much more consistent now)
...
* Add support for images
* Add support for spaces and tabs
svn path=/trunk/playground/graphics/okular/; revision=585220
20 years ago
Tobias Koenig
8518b9e17b
* Add basic support for enumerations
...
* Fixed page margins
svn path=/trunk/playground/graphics/okular/; revision=585178
20 years ago
Tobias Koenig
30aed9edb0
- borrowed code from KOffice to convert units correctly
...
- split styles into text and block styles to apply them seperated
- add support for 'h' (header) tag
svn path=/trunk/playground/graphics/okular/; revision=584818
20 years ago
Tobias Koenig
b3c4359d60
Initial version of generator for OpenDocument(Text) documents.
...
It renders just text atm, but also provides support for meta data,
printing and rotation.
svn path=/trunk/playground/graphics/okular/; revision=583769
20 years ago