Skip to content

Commit de1a06e

Browse files
committed
init commit. Uploading all the code
1 parent ef3f33c commit de1a06e

35 files changed

+4454
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ local.properties
99
.settings/
1010
.loadpath
1111
.recommenders
12+
build/
13+
dist/
14+
15+
# Libre Office Stuff
16+
.unoproject
1217

1318
# Eclipse Core
1419
.project

description.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<identifier value="com.monkey.pickled.interpolateshapes"/>
4+
<display-name>
5+
<name lang="en">InterpolateShapes</name>
6+
</display-name>
7+
</description>

description/desc_en.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Interpolates intermediate shapes

dialog/RenameShapeDialog.xdl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
3+
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="RenameShapeDialog" dlg:left="173" dlg:top="59" dlg:width="161" dlg:height="75" dlg:closeable="true" dlg:moveable="true" dlg:title="Rename Shape">
4+
<dlg:bulletinboard>
5+
<dlg:button dlg:id="SetShapeNameButton" dlg:tab-index="2" dlg:left="100" dlg:top="15" dlg:width="52" dlg:height="16" dlg:value="Set Name">
6+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:onSetNameButtonPressed" script:language="UNO"/>
7+
</dlg:button>
8+
<dlg:button dlg:id="CloseButton" dlg:tab-index="0" dlg:left="101" dlg:top="52" dlg:width="52" dlg:height="16" dlg:value="Close">
9+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:onCloseButtonPressed" script:language="UNO"/>
10+
</dlg:button>
11+
<dlg:textfield dlg:id="NameEntryField" dlg:tab-index="1" dlg:left="11" dlg:top="15" dlg:width="81" dlg:height="16">
12+
</dlg:textfield>
13+
</dlg:bulletinboard>
14+
</dlg:window>

dialog/ShapePrinterDialog.xdl

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
3+
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="PrintShapeDialog" dlg:left="13" dlg:top="10" dlg:width="291" dlg:height="157" dlg:closeable="true" dlg:moveable="true" dlg:title="Shape Printer">
4+
<dlg:bulletinboard>
5+
<dlg:menulist dlg:id="ListBox1" dlg:tab-index="2" dlg:left="101" dlg:top="49" dlg:width="33" dlg:height="36" dlg:multiselection="true">
6+
<dlg:menupopup>
7+
<dlg:menuitem dlg:value="One"/>
8+
<dlg:menuitem dlg:value="Two"/>
9+
<dlg:menuitem dlg:value="Three"/>
10+
<dlg:menuitem dlg:value="Four"/>
11+
</dlg:menupopup>
12+
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:splineConstantsChanged" script:language="UNO"/>
13+
</dlg:menulist>
14+
<dlg:menulist dlg:id="PointsList" dlg:tab-index="4" dlg:left="57" dlg:top="49" dlg:width="40" dlg:height="69" dlg:multiselection="true">
15+
<dlg:menupopup>
16+
<dlg:menuitem dlg:value="Coord1"/>
17+
<dlg:menuitem dlg:value="Bez1_1"/>
18+
<dlg:menuitem dlg:value="Bez1_2"/>
19+
<dlg:menuitem dlg:value="Coord2"/>
20+
<dlg:menuitem dlg:value="Bez2_1"/>
21+
<dlg:menuitem dlg:value="Bez2_2"/>
22+
</dlg:menupopup>
23+
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:pointSelectionChanged" script:language="UNO"/>
24+
</dlg:menulist>
25+
<dlg:radiogroup>
26+
<dlg:radio dlg:id="OptionButton1" dlg:tab-index="5" dlg:left="153" dlg:top="117" dlg:width="44" dlg:height="8" dlg:value="Exact" dlg:group-name="ValueModGroup">
27+
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:setConstantModExact" script:language="UNO"/>
28+
</dlg:radio>
29+
<dlg:radio dlg:id="OptionButton2" dlg:tab-index="6" dlg:left="153" dlg:top="101" dlg:width="44" dlg:height="8" dlg:value="Add" dlg:group-name="ValueModGroup" dlg:checked="true">
30+
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:setConstantModAdd" script:language="UNO"/>
31+
</dlg:radio>
32+
<dlg:radio dlg:id="OptionButton3" dlg:tab-index="7" dlg:left="153" dlg:top="109" dlg:width="44" dlg:height="8" dlg:value="Multiply" dlg:group-name="ValueModGroup">
33+
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:setConstantModMult" script:language="UNO"/>
34+
</dlg:radio>
35+
</dlg:radiogroup>
36+
<dlg:text dlg:id="ShapeListLabel" dlg:tab-index="8" dlg:left="6" dlg:top="35" dlg:width="46" dlg:height="10" dlg:value="Shapes" dlg:align="center" dlg:valign="center"/>
37+
<dlg:text dlg:id="PointListLabel" dlg:tab-index="9" dlg:left="57" dlg:top="35" dlg:width="40" dlg:height="10" dlg:value="Points" dlg:align="center" dlg:valign="center"/>
38+
<dlg:text dlg:id="PolyConstantsListLabel" dlg:tab-index="10" dlg:left="101" dlg:top="35" dlg:width="33" dlg:height="10" dlg:value="Constants" dlg:align="center" dlg:valign="center"/>
39+
<dlg:text dlg:id="ModTypeSelectionLabel" dlg:tab-index="11" dlg:left="151" dlg:top="85" dlg:width="48" dlg:height="10" dlg:value="Modify Type" dlg:align="center" dlg:valign="center"/>
40+
<dlg:text dlg:id="ConstantModEntryLabel" dlg:tab-index="12" dlg:left="220" dlg:top="57" dlg:width="52" dlg:height="10" dlg:value="Constant Modifier" dlg:align="center" dlg:valign="center"/>
41+
<dlg:button dlg:id="CloseButton" dlg:tab-index="0" dlg:left="6" dlg:top="132" dlg:width="56" dlg:height="16" dlg:value="Close">
42+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:closeShapePrinter" script:language="UNO"/>
43+
</dlg:button>
44+
<dlg:button dlg:id="PrintShapeButton" dlg:tab-index="13" dlg:left="227" dlg:top="136" dlg:width="56" dlg:height="16" dlg:value="Print Shape">
45+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:printShape" script:language="UNO"/>
46+
</dlg:button>
47+
<dlg:menulist dlg:id="ShapeList" dlg:tab-index="3" dlg:left="6" dlg:top="49" dlg:width="46" dlg:height="70" dlg:multiselection="true">
48+
<dlg:menupopup>
49+
<dlg:menuitem dlg:value="Shape1"/>
50+
<dlg:menuitem dlg:value="Shape2"/>
51+
<dlg:menuitem dlg:value="Shape3"/>
52+
<dlg:menuitem dlg:value="Shape4"/>
53+
</dlg:menupopup>
54+
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:shapeSelectionChanged" script:language="UNO"/>
55+
</dlg:menulist>
56+
<dlg:button dlg:id="SaveSplineButton" dlg:tab-index="14" dlg:left="149" dlg:top="61" dlg:width="56" dlg:height="16" dlg:value="Save Spline Set">
57+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:saveSplines" script:language="UNO"/>
58+
</dlg:button>
59+
<dlg:numericfield dlg:id="ConstantModifierField" dlg:tab-index="1" dlg:left="220" dlg:top="71" dlg:width="54" dlg:height="16">
60+
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.UNO:constantModifierChanged" script:language="UNO"/>
61+
</dlg:numericfield>
62+
<dlg:numericfield dlg:id="TimeModifierField" dlg:tab-index="15" dlg:left="220" dlg:top="105" dlg:width="54" dlg:height="16">
63+
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.UNO:timeModifierChanged" script:language="UNO"/>
64+
</dlg:numericfield>
65+
<dlg:text dlg:id="TimeModifierLabel" dlg:tab-index="16" dlg:left="220" dlg:top="91" dlg:width="52" dlg:height="10" dlg:value="Time Modifier" dlg:align="center" dlg:valign="center"/>
66+
<dlg:button dlg:id="LoadSplineButton" dlg:tab-index="17" dlg:left="149" dlg:top="39" dlg:width="56" dlg:height="16" dlg:value="Load Spline Set">
67+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:loadSplines" script:language="UNO"/>
68+
</dlg:button>
69+
<dlg:button dlg:id="LoadShapesButton" dlg:tab-index="18" dlg:left="6" dlg:top="13" dlg:width="56" dlg:height="16" dlg:value="Load Shape Set">
70+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:loadShapeSet" script:language="UNO"/>
71+
</dlg:button>
72+
<dlg:titledbox dlg:id="ShapeSelectionBox" dlg:tab-index="19" dlg:left="4" dlg:top="3" dlg:width="137" dlg:height="127">
73+
<dlg:title dlg:value="Shapes and Points"/>
74+
</dlg:titledbox>
75+
<dlg:button dlg:id="GenerateSplinesButton" dlg:tab-index="20" dlg:left="221" dlg:top="13" dlg:width="56" dlg:height="16" dlg:value="Generate Splines">
76+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:generateSplines" script:language="UNO"/>
77+
</dlg:button>
78+
<dlg:button dlg:id="SaveShapesButton" dlg:tab-index="21" dlg:left="76" dlg:top="13" dlg:width="56" dlg:height="16" dlg:value="Save Shape Set">
79+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:saveShapeSet" script:language="UNO"/>
80+
</dlg:button>
81+
<dlg:titledbox dlg:id="Splines" dlg:tab-index="22" dlg:left="146" dlg:top="3" dlg:width="137" dlg:height="127">
82+
<dlg:title dlg:value="Splines"/>
83+
</dlg:titledbox>
84+
<dlg:button dlg:id="LoadSplintGenSetButton" dlg:tab-index="23" dlg:left="149" dlg:top="13" dlg:width="56" dlg:height="16" dlg:value="Load Spline Gen Set">
85+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:loadSplineGenSet" script:language="UNO"/>
86+
</dlg:button>
87+
</dlg:bulletinboard>
88+
</dlg:window>

dialog/SplineDialog.xdl

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
3+
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="SplineDialog" dlg:left="107" dlg:top="46" dlg:width="174" dlg:height="67" dlg:closeable="true" dlg:moveable="true" dlg:title="Splined Shape Creator">
4+
<dlg:bulletinboard>
5+
<dlg:numericfield dlg:id="SplineValField" dlg:tab-index="2" dlg:left="46" dlg:top="29" dlg:width="42" dlg:height="16" dlg:decimal-accuracy="5" dlg:value="0.0" dlg:value-min="0" dlg:value-max="1" dlg:value-step="0.01" dlg:spin="true">
6+
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.UNO:onSplineValFieldChange" script:language="UNO"/>
7+
</dlg:numericfield>
8+
<dlg:button dlg:id="CloseButton" dlg:tab-index="1" dlg:left="124" dlg:top="43" dlg:width="44" dlg:height="16" dlg:value="Close">
9+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:onCloseButtonPressed" script:language="UNO"/>
10+
</dlg:button>
11+
<dlg:button dlg:id="CreateShapesButton" dlg:tab-index="0" dlg:left="9" dlg:top="9" dlg:width="62" dlg:height="16" dlg:value="Create Shapes">
12+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:onCreateShapesButtonPressed" script:language="UNO"/>
13+
</dlg:button>
14+
<dlg:button dlg:id="SaveShapesButton" dlg:tab-index="3" dlg:left="80" dlg:top="9" dlg:width="62" dlg:height="16" dlg:value="Save Shapes">
15+
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.UNO:onSaveShapesButtonPressed" script:language="UNO"/>
16+
</dlg:button>
17+
<dlg:text dlg:id="SplineValLabel" dlg:tab-index="4" dlg:left="9" dlg:top="29" dlg:width="34" dlg:height="16" dlg:value="Spline Val" dlg:align="center" dlg:valign="center"/>
18+
</dlg:bulletinboard>
19+
</dlg:window>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#ifndef __com_monkey_pickled_interpolateshapes_idl__
2+
#define __com_monkey_pickled_interpolateshapes_idl__
3+
4+
#include <com/monkey/pickled/XInterpolateShapes.idl>
5+
module com { module monkey { module pickled {
6+
7+
service InterpolateShapes : com::monkey::pickled::XInterpolateShapes {
8+
9+
};
10+
11+
}; }; };
12+
#endif
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#ifndef __com_monkey_pickled_xinterpolateshapes_idl__
2+
#define __com_monkey_pickled_xinterpolateshapes_idl__
3+
4+
#include <com/sun/star/task/XJobExecutor.idl>
5+
module com { module monkey { module pickled {
6+
7+
interface XInterpolateShapes : com::sun::star::task::XJobExecutor {
8+
9+
};
10+
11+
}; }; };
12+
#endif

images/JiveAvatar_1.png

720 Bytes
Loading

images/JiveAvatar_2.png

1.23 KB
Loading

0 commit comments

Comments
 (0)