mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-20 00:11:19 +00:00
8bc571160e
Restarting working on the Engines. Readded annotation creation for SmoothPath engine / InkAnnotation annot. Tools.xml: Format changed, makes more sense now. Fileformat described in comment. svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405145
67 lines
2 KiB
XML
67 lines
2 KiB
XML
<!DOCTYPE KPDFAnnotatingTools>
|
|
<!--
|
|
Engine/Annotation Types [specific attributes]:
|
|
[color]
|
|
SmoothLine [lowPassFilter{true,false}]
|
|
[color]
|
|
[opacity]
|
|
Highlight
|
|
Ink [width]
|
|
PickPoint [hoverIcon{string}]
|
|
[color]
|
|
Stamp[icon]
|
|
Text
|
|
TwoPoints [block{true,false}]
|
|
[color]
|
|
Line[width]
|
|
Geom
|
|
-->
|
|
<annotatingTools>
|
|
<tool id="1" name="Yellow Highlighter" pixmap="highlight_yellow">
|
|
<tooltip>this ..</tooltip>
|
|
<engine type="SmoothLine" color="#FFFF00">
|
|
<annotation type="Highlight" color="#FFFF00" />
|
|
</engine>
|
|
<shortcut>1</shortcut>
|
|
</tool>
|
|
<tool id="2" name="Pink Highlighter" pixmap="highlight_pink">
|
|
<tooltip>.. is ..</tooltip>
|
|
<engine type="SmoothLine" color="#FF0080">
|
|
<annotation type="Ink" color="#FF0080" />
|
|
</engine>
|
|
<shortcut>2</shortcut>
|
|
</tool>
|
|
<tool id="3" name="Yellow Highlighter" pixmap="highlight_yellow">
|
|
<tooltip>.. a ..</tooltip>
|
|
<engine type="TwoPoints" color="#F8FF00" block="true">
|
|
<annotation type="Highlight" color="#F8FF00" />
|
|
</engine>
|
|
<shortcut>3</shortcut>
|
|
</tool>
|
|
<tool id="4" name="note" pixmap="pinnote">
|
|
<tooltip>.. tooltip ..</tooltip>
|
|
<engine type="PickPoint" color="#FF00FF" hoverIcon="pinnote">
|
|
<annotation type="Text" color="#FF00FF" />
|
|
</engine>
|
|
</tool>
|
|
<tool id="5" name="Straight Yellow Line" pixmap="color_line">
|
|
<tooltip>.. test</tooltip>
|
|
<engine type="TwoPoints" color="#FFE000">
|
|
<annotation type="Line" width="4" color="#FFE000" />
|
|
</engine>
|
|
<shortcut>5</shortcut>
|
|
</tool>
|
|
<tool id="6" name="Arrowed Black Line" pixmap="color_line">
|
|
<engine type="TwoPoints">
|
|
<annotation type="Line" />
|
|
</engine>
|
|
<shortcut>6</shortcut>
|
|
</tool>
|
|
<tool id="7" name="Warning Stamp" pixmap="messagebox_warning">
|
|
<engine type="PickPoint" hoverIcon="messagebox_warning">
|
|
<annotation type="Stamp" icon="messagebox_warning" />
|
|
</engine>
|
|
<shortcut>7</shortcut>
|
|
</tool>
|
|
</annotatingTools>
|