-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAddons.xcu
177 lines (177 loc) · 6.5 KB
/
Addons.xcu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Addons" oor:package="org.openoffice.Office">
<node oor:name="AddonUI">
<!--
Menu merge
-->
<node oor:name="OfficeMenuBarMerging">
<node oor:name="se.commonsmachinery.extensions.paste_with_credit" oor:op="replace">
<!-- writer menu -->
<node oor:name="M1" oor:op="replace">
<prop oor:name="MergePoint">
<value>.uno:EditMenu\.uno:Paste</value>
</prop>
<prop oor:name="MergeCommand">
<value>AddAfter</value>
</prop>
<prop oor:name="MergeFallback">
<value>AddPath</value>
</prop>
<prop oor:name="MergeContext">
<value>com.sun.star.text.TextDocument</value>
</prop>
<node oor:name="MenuItems">
<node oor:name="I1" oor:op="replace">
<prop oor:name="URL">
<value>service:se.commonsmachinery.extensions.paste_with_credit.PasteWithCreditJob?execute</value>
</prop>
<prop oor:name="Title">
<value xml:lang="en">Paste with credits</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument</value>
</prop>
</node>
</node>
</node>
<!-- impress menu -->
<node oor:name="M2" oor:op="replace">
<prop oor:name="MergePoint">
<value>.uno:EditMenu\.uno:Paste</value>
</prop>
<prop oor:name="MergeCommand">
<value>AddAfter</value>
</prop>
<prop oor:name="MergeFallback">
<value>AddPath</value>
</prop>
<prop oor:name="MergeContext">
<value>com.sun.star.presentation.PresentationDocument</value>
</prop>
<node oor:name="MenuItems">
<node oor:name="I2" oor:op="replace">
<prop oor:name="URL">
<value>service:se.commonsmachinery.extensions.paste_with_credit.PasteWithCreditJob?execute</value>
</prop>
<prop oor:name="Title">
<value xml:lang="en">Paste with credits</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.presentation.PresentationDocument</value>
</prop>
</node>
</node>
</node>
<!-- impress insert credits -->
<node oor:name="M3" oor:op="replace">
<prop oor:name="MergePoint">
<value>.uno:InsertMenu\.uno:InsertObjectFloatingFrame</value>
</prop>
<prop oor:name="MergeCommand">
<value>AddAfter</value>
</prop>
<prop oor:name="MergeFallback">
<value>AddPath</value>
</prop>
<prop oor:name="MergeContext">
<value>com.sun.star.presentation.PresentationDocument</value>
</prop>
<node oor:name="MenuItems">
<node oor:name="I3" oor:op="replace">
<prop oor:name="URL">
<value>service:se.commonsmachinery.extensions.paste_with_credit.InsertCreditsJob?execute</value>
</prop>
<prop oor:name="Title">
<value xml:lang="en">Credits</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.presentation.PresentationDocument</value>
</prop>
</node>
</node>
</node>
</node>
</node>
<!--
Toolbar merge
-->
<node oor:name="OfficeToolbarMerging">
<node oor:name="se.commonsmachinery.extensions.paste_with_credit" oor:op="replace">
<!-- writer toolbar -->
<node oor:name="T1" oor:op="replace">
<prop oor:name="MergeToolBar">
<value>standardbar</value>
</prop>
<prop oor:name="MergePoint">
<value>.uno:Paste</value>
</prop>
<prop oor:name="MergeCommand">
<value>AddAfter</value>
</prop>
<prop oor:name="MergeFallback">
<value>AddLast</value>
</prop>
<prop oor:name="MergeContext">
<value>com.sun.star.text.TextDocument</value>
</prop>
<node oor:name="ToolBarItems">
<node oor:name="B1" oor:op="replace">
<prop oor:name="URL">
<value>service:se.commonsmachinery.extensions.paste_with_credit.PasteWithCreditJob?execute</value>
</prop>
<prop oor:name="Title">
<value>Paste with credits</value>
</prop>
</node>
</node>
</node>
<!-- impress toolbar -->
<node oor:name="T2" oor:op="replace">
<prop oor:name="MergeToolBar">
<value>standardbar</value>
</prop>
<prop oor:name="MergePoint">
<value>.uno:Paste</value>
</prop>
<prop oor:name="MergeCommand">
<value>AddAfter</value>
</prop>
<prop oor:name="MergeFallback">
<value>AddLast</value>
</prop>
<prop oor:name="MergeContext">
<value>com.sun.star.presentation.PresentationDocument</value>
</prop>
<node oor:name="ToolBarItems">
<node oor:name="B2" oor:op="replace">
<prop oor:name="URL">
<value>service:se.commonsmachinery.extensions.paste_with_credit.PasteWithCreditJob?execute</value>
</prop>
<prop oor:name="Title">
<value>Paste with credits</value>
</prop>
</node>
</node>
</node>
</node>
</node>
<!--
Images
-->
<node oor:name="Images">
<node oor:name="se.commonsmachinery.extensions.paste_with_credit.image1" oor:op="replace">
<prop oor:name="URL">
<value>service:se.commonsmachinery.extensions.paste_with_credit.PasteWithCreditJob?execute</value>
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL" oor:type="xs:string">
<value>%origin%/icons/icon_16.png</value>
</prop>
<prop oor:name="ImageBigURL" oor:type="xs:string">
<value>%origin%/icons/icon_24.png</value>
</prop>
</node>
</node>
</node>
</node>
</oor:component-data>