mirror of https://github.com/JakubMelka/PDF4QT.git
321 lines
18 KiB
XML
321 lines
18 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<root class="codegen::GeneratedCodeStorage">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="functions">
|
||
|
<QObject class="codegen::GeneratedFunction">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items">
|
||
|
<QObject class="codegen::GeneratedAction">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items">
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">page</property>
|
||
|
<property name="parameterType">_PDFObjectReference</property>
|
||
|
<property name="parameterDescription">Page to which is annotation added</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">rectangle</property>
|
||
|
<property name="parameterType">_QRectF</property>
|
||
|
<property name="parameterDescription">Area in which is rectangle displayed</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">borderWidth</property>
|
||
|
<property name="parameterType">_PDFReal</property>
|
||
|
<property name="parameterDescription">Width of the border line of rectangle</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">fillColor</property>
|
||
|
<property name="parameterType">_QColor</property>
|
||
|
<property name="parameterDescription">Fill color of rectangle (interior color). If you do not want to have area color filled, then use invalid QColor.</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">strokeColor</property>
|
||
|
<property name="parameterType">_QColor</property>
|
||
|
<property name="parameterDescription">Stroke color (color of the rectangle border). If you do not want to have a border, then use invalid QColor.</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">title</property>
|
||
|
<property name="parameterType">_QString</property>
|
||
|
<property name="parameterDescription">Title of the annotation</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">subject</property>
|
||
|
<property name="parameterType">_QString</property>
|
||
|
<property name="parameterDescription">Subject of the annotation (short description of the subject being adressed by the annotation)</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">contents</property>
|
||
|
<property name="parameterType">_QString</property>
|
||
|
<property name="parameterDescription">Contents of the annotation (text displayed, for example, in the marked annotation dialog)</property>
|
||
|
</QObject>
|
||
|
</property>
|
||
|
<property name="actionType">Parameters</property>
|
||
|
<property name="variableName"></property>
|
||
|
<property name="variableType">_void</property>
|
||
|
<property name="code"></property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedAction">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items">
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items">
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">Subtype</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">WrapName("Square")</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">Rect</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">rectangle</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">F</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">4</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">P</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">page</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">M</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">WrapCurrentDateTime()</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">CreationDate</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">WrapCurrentDateTime()</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">Border</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">{ 0.0, 0.0, borderWidth }</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">C</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">WrapAnnotationColor(strokeColor)</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">IC</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">WrapAnnotationColor(fillColor)</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">T</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">title</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">Contents</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">comment</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">Subj</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">subject</property>
|
||
|
</QObject>
|
||
|
</property>
|
||
|
<property name="dictionaryItemName"></property>
|
||
|
<property name="objectType">Dictionary</property>
|
||
|
<property name="value"></property>
|
||
|
</QObject>
|
||
|
</property>
|
||
|
<property name="actionType">CreateObject</property>
|
||
|
<property name="variableName">annotationObject</property>
|
||
|
<property name="variableType">_PDFObjectReference</property>
|
||
|
<property name="code"></property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedAction">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="actionType">Code</property>
|
||
|
<property name="variableName"></property>
|
||
|
<property name="variableType">_void</property>
|
||
|
<property name="code">PDFObjectReference popupAnnotation = createAnnotationPopup(page, annotationObject, getPopupWindowRect(rectangle), false);</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedAction">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items">
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">Popup</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">popupAnnotation</property>
|
||
|
</QObject>
|
||
|
</property>
|
||
|
<property name="actionType">CreateObject</property>
|
||
|
<property name="variableName">updateAnnotationPopup</property>
|
||
|
<property name="variableType">_PDFObject</property>
|
||
|
<property name="code"></property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedAction">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="actionType">Code</property>
|
||
|
<property name="variableName"></property>
|
||
|
<property name="variableType">_void</property>
|
||
|
<property name="code">mergeTo(annotationObject, popupAnnotation);
|
||
|
return annotationObject;</property>
|
||
|
</QObject>
|
||
|
</property>
|
||
|
<property name="functionType">Annotations</property>
|
||
|
<property name="functionName">createAnnotationSquare</property>
|
||
|
<property name="functionDescription">Square annotation displays rectangle (or square). When opened, they display pop-up window containing the text of associated note (and window title). Square border/fill color can be defined, along with border width.</property>
|
||
|
<property name="returnType">_PDFObjectReference</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedFunction">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items">
|
||
|
<QObject class="codegen::GeneratedAction">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items">
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">page</property>
|
||
|
<property name="parameterType">_PDFObjectReference</property>
|
||
|
<property name="parameterDescription">Page to which is annotation added</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">parentAnnotation</property>
|
||
|
<property name="parameterType">_PDFObjectReference</property>
|
||
|
<property name="parameterDescription">Parent annotation (for which is popup window displayed)</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">rectangle</property>
|
||
|
<property name="parameterType">_QRectF</property>
|
||
|
<property name="parameterDescription">Area on the page, where popup window appears</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedParameter">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="parameterName">opened</property>
|
||
|
<property name="parameterType">_bool</property>
|
||
|
<property name="parameterDescription">Is the window opened?</property>
|
||
|
</QObject>
|
||
|
</property>
|
||
|
<property name="actionType">Parameters</property>
|
||
|
<property name="variableName"></property>
|
||
|
<property name="variableType">_void</property>
|
||
|
<property name="code"></property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedAction">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items">
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items">
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">Subtype</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">WrapName("Popup")</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">Rect</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">rectangle</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">P</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">page</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">Parent</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">parentAnnotation</property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedPDFObject">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="dictionaryItemName">Open</property>
|
||
|
<property name="objectType">DictionaryItemSimple</property>
|
||
|
<property name="value">opened</property>
|
||
|
</QObject>
|
||
|
</property>
|
||
|
<property name="dictionaryItemName"></property>
|
||
|
<property name="objectType">Dictionary</property>
|
||
|
<property name="value"></property>
|
||
|
</QObject>
|
||
|
</property>
|
||
|
<property name="actionType">CreateObject</property>
|
||
|
<property name="variableName">popupAnnotation</property>
|
||
|
<property name="variableType">_PDFObjectReference</property>
|
||
|
<property name="code"></property>
|
||
|
</QObject>
|
||
|
<QObject class="codegen::GeneratedAction">
|
||
|
<property name="objectName"></property>
|
||
|
<property name="items"/>
|
||
|
<property name="actionType">Code</property>
|
||
|
<property name="variableName"></property>
|
||
|
<property name="variableType">_void</property>
|
||
|
<property name="code">return popupAnnotation;</property>
|
||
|
</QObject>
|
||
|
</property>
|
||
|
<property name="functionType">Annotations</property>
|
||
|
<property name="functionName">createAnnotationPopup</property>
|
||
|
<property name="functionDescription">Creates a new popup annotation on the page. Popup annotation is represented usually by floating window, which can be opened, or closed. Popup annotation is associated with parent annotation, which can be usually markup annotation. Popup annotation displays parent annotation's texts, for example, title, comment, date etc.</property>
|
||
|
<property name="returnType">_PDFObjectReference</property>
|
||
|
</QObject>
|
||
|
</property>
|
||
|
</root>
|