Commit 0beedebe authored by Enrico Ros's avatar Enrico Ros
Browse files

Added icons for Text annotations (ake the 'page sybols'). Changed naming to

existing ones, updated 'tools.xml' with new names and made generator_pdf
parse pdf icon names as lowercase. Added SVG sources too for the icons.

- note that I suck as icon maker, so plz make good looking icons and don't
complain about these - :-))

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405395
parent 96a28d59
......@@ -893,6 +893,11 @@ void PDFGenerator::addAnnotations( Page * pdfPage, KPDFPage * page )
t->textType = TextAnnotation::Linked;
// -> textIcon
XPDFReader::lookupName( annotDict, "Name", t->textIcon );
if ( !t->textIcon.isEmpty() )
{
t->textIcon = t->textIcon.lower();
t->textIcon.remove( ' ' );
}
// request for postprocessing window geometry
PostProcessText request;
request.textAnnotation = t;
......
pics_DATA = highlight_green.png highlight_orange.png highlight_pink.png \
highlight_yellow.png pencil.png pinnote.png coprex-white.png
picsdir = $(kde_datadir)/kpdf/pics
# install annotation tool images
toolpicsdir = $(kde_datadir)/kpdf/pics
toolpics_DATA = tool_eraser.png tool_hl_orange.png tool_hl_pink.png \
tool_hl_yellow.png tool_ink_green.png tool_note.png
xml_DATA = tools.xml
# install annotation page images
annpicsdir = $(kde_datadir)/kpdf/pics
annpics_DATA = checkmark.png circle.png comment.png cross.png help.png \
insert.png key.png newparagraph.png note.png paragraph.png \
rightarrow.png rightpointer.png star.png uparrow.png \
upleftarrow.png
# install annotator xml tools description
xmldir = $(kde_datadir)/kpdf
xml_DATA = tools.xml
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment