- 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
- fix once again the PixmapPreviewSelector to support adding a visible name and an id for each item: this way we can add new pixmaps to it associating every pixmap name to a visible string (usually i18n'ed)
- when clicking on Apply in the Annotation Properties dialog, there are no changes pending so the annotation is unchanged again
svn path=/trunk/playground/graphics/okular/; revision=584208
- really activate the Apply button of the Properties dialog only when something is changed
- apply the changed in real-time, so they cna be seen directly with Apply and no need to close the dialog
- add a small fix (last, I hope) for the PixmapPreviewSelector about the pixmap loading
svn path=/trunk/playground/graphics/okular/; revision=583922
- improve the icon loading strategy for Stamp and Text(Linked) annotations: first look where we have the custom icons, then in the system place(s)
- add a simple (for now) TextAnnotationWidget to change the icon of a Linked Text annotation
svn path=/trunk/playground/graphics/okular/; revision=583882
start a basic system for the annotation properties editing. Add a base class that will act as "interface", and a factory to create the right subclass depending on the annotation type.
Adapt the Annotation Properties dialog to interact with the annotation widget.
Add the editing support for Stamp Annotation (but the artwork are missing, grrr)
svn path=/trunk/playground/graphics/okular/; revision=583620
completely different code bases for generation of
XPS files.
In any case, we now handle FixedPage files where
the path provided is relative to the FixedDocument,
not an absolute path.
This allows us to load XPS samples from the
Office2007 set.
svn path=/trunk/playground/graphics/okular/; revision=583440
- make the PagePainter draw all the points specified in a LineAnnotation, as it can represent also a Polygon or Polyline annotation
- automatically read the annotation dom element in the base AnnotatorEngine class, so every engine won't need to read it on its own
- properly reset some vars in the engines
- when constructing a Stamp annotation, use the right 'icon' attribute of the annotation element (and not the icon of the engine)
- renamed the TwoPointsEngine into PolyLineEngine, and abstracted to construct a polygon/polyline with a specified number of sides
- added a polygon button on the annotation toolbar
- check better if the annotator has to paint something
svn path=/trunk/playground/graphics/okular/; revision=583102
specification renderer.
This doesn't work yet. And it crashes a lot. You
can help!
If you want to test this, a search for
"xps sample documents" will give you a sample set that
you can unzip.
svn path=/trunk/playground/graphics/okular/; revision=583014
- improve the calculation of the bounding rect for freetext annotations
- fix the drawing of the pixmap associated with the PickPointEngine
- implement the creation of stamp annotations
svn path=/trunk/playground/graphics/okular/; revision=582808
- use two standard kde widgets for the color selection and for the opacity slider
- clean up the code by storing only what we need to store, and by #include'ing most of the stuff in the cpp only
svn path=/trunk/playground/graphics/okular/; revision=581263
of 0 for the ThumbnailWidget => ThumbnailWidget::region() is empty => QWidget::repaint
won't paint the content of the widget.
Now the thumbnails are showed on startup again and when the orientation is
changed the layout of the thumbnails is adapted as well...
svn path=/trunk/playground/graphics/okular/; revision=578852