~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kword/plugins/scripting/scripts/scripts.rc

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
               name="pyimportfile"
10
10
               interpreter="python"
11
11
               file="extensions/importfile.py" />
 
12
        <script text="Doxygen XML" comment="Python script to import content from a combined doxygen XML file"
 
13
               name="pyimportdoxyxml"
 
14
               interpreter="python"
 
15
               file="extensions/importdoxyxml.py" />
12
16
        <script text="OpenOffice.org UNO" comment="Python script to import content using OpenOffice.org PyUNO"
13
17
               name="pyooimport"
14
18
               interpreter="python"
16
20
    </collection>
17
21
 
18
22
    <!--
 
23
        The "export" collection provides scripts to export content from KWord.
 
24
        //-->
 
25
    <collection name="export" text="Export" comment="Export content">
 
26
        <script text="Text or HTML File" comment="Python script to export content to a text or html file"
 
27
               name="pyexportfile"
 
28
               interpreter="python"
 
29
               file="extensions/exportfile.py" />
 
30
        <script text="ReportLab.org PDF" comment="Python script to export content to a PDF file using ReportLab.org"
 
31
               name="kwreportlab"
 
32
               interpreter="python"
 
33
               file="extensions/kwreportlab.py" />
 
34
    </collection>
 
35
 
 
36
    <!--
19
37
        The "tools" collection provides misc example scripts to demonstrate
20
38
        parts of the KWord scripting functionality.
21
39
        //-->
28
46
               name="rbdoctree"
29
47
               interpreter="ruby"
30
48
               file="extensions/doctree.rb" />
31
 
    </collection>
 
49
        <script text="Online Help" comment="Python script that uses the KHTML Part to display the KWord Scripting online help"
 
50
               name="pyonlinehelp"
 
51
               interpreter="python"
 
52
               file="extensions/onlinehelp.py" />
 
53
    </collection>
 
54
 
 
55
    <!--
 
56
        The "variables" collection provides scripting variables to KWord. Those
 
57
        scripting variables are displayed in the Insert=>Variable menu and
 
58
        they are able to map functions like to get the variable content or to
 
59
        create an options widget for a variable from within scripts.
 
60
    <collection name="variables" text="Variables" comment="Scripting variables for KWord" enabled="false">
 
61
            This script reads the value of a variable from an external file.
 
62
        <script text="Read From File..." comment="Python script to read a variable from a file"
 
63
            name="pyvariablereadfile"
 
64
            interpreter="python"
 
65
            file="variables/variable_readfile.py">
 
66
                This is the default value the variable has.
 
67
            <property name="value">The Value</property>
 
68
                Map a getValue-request to a scripting function.
 
69
            <property name="getValue">callbackGetValue</property>
 
70
                Map a createOptionsWidget-request to a scripting function.
 
71
            <property name="createOptionsWidget">callbackCreateOptionsWidget</property>
 
72
        </script>
 
73
    </collection>
 
74
    //-->
32
75
 
33
76
    <!--
34
77
        The "samples" collection provides misc example scripts to demonstrate
35
78
        parts of the KWord scripting functionality.
36
79
        //-->
37
80
    <collection name="samples" text="Samples" comment="Samples to demonstrate scripting with KWord" enabled="false">
 
81
        <script text="Insert Shape..." comment="Python script to insert a shape"
 
82
            name="pysampleinsertshape"
 
83
            interpreter="python"
 
84
            file="samples/sample_insertshape.py" />
 
85
        <script text="Control Cursor..." comment="Ruby script that demonstrates how to control the cursor"
 
86
            name="rbsamplecursor"
 
87
            interpreter="ruby"
 
88
            file="samples/sample_cursor.rb" />
 
89
        <script text="Execute Action..." comment="Python script that demonstrates usage of actions"
 
90
            name="pysampleactions"
 
91
            interpreter="python"
 
92
            file="samples/sample_actions.py" />
 
93
        <script text="Tool Actions..." comment="Python script that demonstrates usage of tool actions"
 
94
            name="pysampletoolactions"
 
95
            interpreter="python"
 
96
            file="samples/sample_toolactions.py" />
38
97
        <script text="Progressbar" comment="Python script that demonstrates how to use the progressbar"
39
98
            name="pysampleprogressbar"
40
99
            interpreter="python"
41
100
            file="samples/sample_progressbar.py" />
 
101
        <script text="Text" comment="Python script that demonstrates usage of the text engine"
 
102
            name="pysampletext"
 
103
            interpreter="python"
 
104
            file="samples/sample_text.py" />
 
105
        <script text="Lists with HTML" comment="Python script that demonstrates how to create lists with HTML"
 
106
            name="pysamplelisthtml"
 
107
            text="Lists with HTML"
 
108
            interpreter="python"
 
109
            file="samples/sample_lists_html.py" />
 
110
        <script text="Lists with Cursor" comment="Python script that demonstrates how to create lists with a cursor"
 
111
            name="pysamplelistcursor"
 
112
            interpreter="python"
 
113
            file="samples/sample_lists_cursor.py" />
 
114
        <script text="Tables" comment="Python script that demonstrates how to deal with tables"
 
115
            name="pysampletables"
 
116
            interpreter="python"
 
117
            file="samples/sample_tables.py" />
 
118
        <script text="Variables" comment="Python script that demonstrates how to handle variables"
 
119
            name="pysamplevariables"
 
120
            interpreter="python"
 
121
            file="samples/sample_variables.py" />
 
122
        <script text="All Shapes" comment="Python script adds all shapes"
 
123
            name="pysampleallshapes"
 
124
            interpreter="python"
 
125
            file="samples/sample_allshapes.py" />
42
126
    </collection>
43
127
 
44
128
</KrossScripting>