Skip to content

Commit d069829

Browse files
committed
Release v1.0
1 parent 02eb0b6 commit d069829

File tree

7 files changed

+46
-21
lines changed

7 files changed

+46
-21
lines changed
104 Bytes
Binary file not shown.

src/CustomUI/CustomUI.xml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@
8484
<menu idMso="CombineShapesMenu" showLabel="false" />
8585
<control idMso="ShapeWidth" showLabel="false" />
8686
<control idMso="ShapeHeight" showLabel="false" />
87-
<control idMso="ObjectSizeAndPositionDialog" imageMso="PositionFitToWindow" showLabel="false" />
87+
<control idMso="ObjectSizeAndPositionDialog" showLabel="false" />
8888
<control idMso="FormatPainter" showLabel="false" />
8989
<button id="ObjectsCopyRoundedCorner" label="Copy rounded corner of first selected shape to selected shapes" showLabel="false" imageMso="ShapeRoundedRectangle" onAction="ObjectsCopyRoundedCorner" />
90-
<button id="ObjectsCopyShapeTypeAndAdjustments" label="Copy shape type and all adjustments of first selected shape to selected shapes" showLabel="false" imageMso="ShapeName" onAction="ObjectsCopyShapeTypeAndAdjustments" />
90+
<button id="ObjectsCopyShapeTypeAndAdjustments" label="Copy shape type and all adjustments of first selected shape to selected shapes" showLabel="false" imageMso="OutlineTasksShowAll" onAction="ObjectsCopyShapeTypeAndAdjustments" />
9191
<toggleButton idMso="ObjectEditPoints" showLabel="false" />
9292
<button id="RectifyLines" label="Rectify lines" showLabel="false" imageMso="ArrowsMore" onAction="RectifyLines" />
93-
<menu id="ConnectRectanglesMenu" label="Connect sides of 2 rectangles" imageMso="AutoConnect" showLabel="false">
93+
<menu id="ConnectRectanglesMenu" label="Connect sides of 2 rectangles" imageMso="ZoomFitToWindow" showLabel="false">
9494
<button id="ConnectRectangleShapesRightToLeft" label="Shape 1 right side to shape 2 left side" onAction="ConnectRectangleShapesRightToLeft" />
9595
<button id="ConnectRectangleShapesLeftToRight" label="Shape 1 left side to shape 2 right side" onAction="ConnectRectangleShapesLeftToRight" />
9696
<button id="ConnectRectangleShapesBottomToTop" label="Shape 1 bottom side to shape 2 top side" onAction="ConnectRectangleShapesBottomToTop" />
@@ -157,14 +157,14 @@
157157
<button idMso="ObjectRotateRight90" showLabel="false" />
158158
</box>
159159
<box id="DimensionsBox" boxStyle="horizontal">
160-
<button id="ObjectsSwapPosition" imageMso="MailMergeMatchFields" label="Swap position of two shapes" showLabel="false" onAction="ObjectsSwapPosition" />
160+
<button id="ObjectsSwapPosition" imageMso="CircularReferences" label="Swap position of two shapes" showLabel="false" onAction="ObjectsSwapPosition" />
161161
<button id="ObjectsSameHeightButton" imageMso="RowHeight" label="Set same height" showLabel="false" onAction="ObjectsSameHeight" />
162162
<button id="ObjectsSameWidthButton" imageMso="ColumnWidth" label="Set same width" showLabel="false" onAction="ObjectsSameWidth" />
163163
<button id="ObjectsSameHeightAndWidthButton" imageMso="SizeToControlHeightAndWidth" label="Set same height and width" showLabel="false" onAction="ObjectsSameHeightAndWidth" />
164-
<button id="ObjectsSizeToTallest" imageMso="SizeToTallest" label="Size to tallest" showLabel="false" onAction="ObjectsSizeToTallest" />
165-
<button id="ObjectsSizeShortest" imageMso="SizeToShortest" label="Size to shortest" showLabel="false" onAction="ObjectsSizeToShortest" />
166-
<button id="ObjectsSizeToWidest" imageMso="SizeToWidest" label="Size to widest" showLabel="false" onAction="ObjectsSizeToWidest" />
167-
<button id="ObjectsSizeNarrowest" imageMso="SizeToNarrowest" label="Size to narrowest" showLabel="false" onAction="ObjectsSizeToNarrowest" />
164+
<button id="ObjectsSizeToTallest" getImage="RibbonObjectGetImage" label="Size to tallest" showLabel="false" onAction="ObjectsSizeToTallest" />
165+
<button id="ObjectsSizeShortest" getImage="RibbonObjectGetImage" label="Size to shortest" showLabel="false" onAction="ObjectsSizeToShortest" />
166+
<button id="ObjectsSizeToWidest" getImage="RibbonObjectGetImage" label="Size to widest" showLabel="false" onAction="ObjectsSizeToWidest" />
167+
<button id="ObjectsSizeNarrowest" getImage="RibbonObjectGetImage" label="Size to narrowest" showLabel="false" onAction="ObjectsSizeToNarrowest" />
168168
</box>
169169
<separator id="separatorSpacing" />
170170
<button id="ObjectsRemoveSpaceHorizontal" imageMso="ObjectsAlignDistributeHorizontallyRemove" label="Remove horizontal gap between shapes" showLabel="false" onAction="ObjectsRemoveSpacingHorizontal" />
@@ -217,7 +217,7 @@
217217
</menu>
218218
</splitButton>
219219
<button id="TableConvertTableToShapes" imageMso="ConvertTableToText" label="Convert table to shapes" showLabel="false" onAction="ConvertTableToShapes" />
220-
<button id="TableTranspose" imageMso="PivotTableReport" label="Transpose table" showLabel="false" onAction="TableTranspose" />
220+
<button id="TableTranspose" imageMso="ChartSwitchRowColumn" label="Transpose table" showLabel="false" onAction="TableTranspose" />
221221
<splitButton id="TableSplitSplitButton" size="normal" showLabel="false">
222222
<button id="SplitTableByRowButton" imageMso="SplitTable" label="Split table by row" showLabel="false" onAction="SplitTableByRow" />
223223
<menu id="TableSplitMenu" itemSize="normal">
@@ -285,7 +285,7 @@
285285
<button idMso="PastePng" showLabel="false" />
286286
<button idMso="ScreenClipping" showLabel="false" />
287287
<button idMso="DateAndTimeInsert" showLabel="false" />
288-
<button id="AgendaPages" imageMso="MeetingsToolAppointmentAgenda" label="Create or update agenda pages" showLabel="false" onAction="CreateOrUpdateMasterAgenda" />
288+
<button id="AgendaPages" imageMso="GroupTableOfContents" label="Create or update agenda pages" showLabel="false" onAction="CreateOrUpdateMasterAgenda" />
289289
<menu id="EmojiMenu" label="Emoji" imageMso="HappyFace" showLabel="false">
290290
<gallery id="EmojiGallery1" label="Smileys" showLabel="false" columns="10" showItemImage="true" showItemLabel="true" getItemWidth="EmojiGallery_GetItemWidth" getItemHeight="EmojiGallery_GetItemHeight" getItemScreentip="EmojiGallery_GetItemScreentip" getItemImage="EmojiGallery_GetItemImage" getItemCount="EmojiGallery_GetItemCount" getItemID="EmojiGallery_GetItemID" getItemLabel="EmojiGallery_GetItemLabel" onAction="EmojiGallery_OnAction" />
291291
<gallery id="EmojiGallery2" label="Gestures and body parts" showLabel="false" columns="10" showItemImage="true" showItemLabel="true" getItemWidth="EmojiGallery_GetItemWidth" getItemHeight="EmojiGallery_GetItemHeight" getItemScreentip="EmojiGallery_GetItemScreentip" getItemImage="EmojiGallery_GetItemImage" getItemCount="EmojiGallery_GetItemCount" getItemID="EmojiGallery_GetItemID" getItemLabel="EmojiGallery_GetItemLabel" onAction="EmojiGallery_OnAction" />
@@ -363,15 +363,15 @@
363363
</menu>
364364
</splitButton>
365365
<splitButton id="StepsCounterSplitButton" size="normal" showLabel="false">
366-
<button id="NewStepsCounterButton" label="Steps counter" imageMso="_1" onAction="GenerateStepsCounter" />
366+
<button id="NewStepsCounterButton" label="Steps counter" imageMso="NumberStyleGallery" onAction="GenerateStepsCounter" />
367367
<menu id="StepCounterMenu" itemSize="normal">
368368
<button id="NewCrossSlideStepsCounterButton" label="Add cross-slide steps counter" onAction="GenerateCrossSlideStepsCounter" />
369369
<menuSeparator id="separatorStepsCounterSelect" />
370370
<button id="SelectAllStepsCounter" label="Select all step counters on this slide" onAction="SelectAllStepsCounter" />
371371
<button id="SelectAllCrossSlideStepsCounter" label="Select all cross-slide step counters on this slide" onAction="SelectAllCrossSlideStepsCounter" />
372372
</menu>
373373
</splitButton>
374-
<menu id="StampsMenu" label="Stamps" imageMso="StampTool" showLabel="false">
374+
<menu id="StampsMenu" label="Stamps" showLabel="false" getImage="RibbonObjectGetImage">
375375
<button id="StampConfidential" label="CONFIDENTIAL" onAction="GenerateStampConfidential" />
376376
<button id="StampDoNotDistribute" label="DO NOT DISTRIBUTE" onAction="GenerateStampDoNotDistribute" />
377377
<button id="StampDraft" label="DRAFT" onAction="GenerateStampDraft" />
@@ -393,7 +393,7 @@
393393
</group>
394394
<group id="AllGroup" label="Advanced" imageMso="AdvancedFileProperties">
395395
<button idMso="ReplaceDialog" showLabel="false" />
396-
<button idMso="AdvancedFileProperties" showLabel="false" />
396+
<button idMso="AdvancedFileProperties" imageMso="ChooseForm" showLabel="false" />
397397
<menu id="CleaningMenu" label="Cleaning tools" imageMso="ClearMenu" showLabel="false">
398398
<button id="cleaning1" label="Remove animations from all slides" imageMso="Clear" onAction="CleanUpRemoveAnimationsFromAllSlides" />
399399
<button id="cleaning2" label="Remove entry transitions from all slides" imageMso="Clear" onAction="CleanUpRemoveSlideShowTransitionsFromAllSlides" />
@@ -419,10 +419,10 @@
419419
<button id="ExcelMailMerge" label="Mail merge this slide based on Excel-file (duplicate slide within this presentation)" showLabel="false" imageMso="MailMergeDocument" onAction="ExcelMailMerge" />
420420
<button id="ExcelFullFileMailMerge" label="Mail merge full presentation based on Excel-file (duplicate presentation file)" showLabel="false" imageMso="MailMergeDocument" onAction="ExcelFullFileMailMerge" />
421421
<menuSeparator id="separatorInsertMergeFielde" />
422-
<button id="InsertMergeField" label="Insert empty merge field" showLabel="false" imageMso="MailMergeGreetingLineInsert" onAction="InsertMergeField" />
423-
<button id="ImportHeadersFromExcel" label="Insert merge fields from Excel-file" showLabel="false" imageMso="MailMergeGreetingLineInsert" onAction="ImportHeadersFromExcel" />
422+
<button id="InsertMergeField" label="Insert empty merge field" showLabel="false" imageMso="FieldCodes" onAction="InsertMergeField" />
423+
<button id="ImportHeadersFromExcel" label="Insert merge fields from Excel-file" showLabel="false" imageMso="FieldCodes" onAction="ImportHeadersFromExcel" />
424424
<menuSeparator id="separatorManualMailMerge" />
425-
<button id="ManualMailMerge" label="Manually replace all merge fields on all slides" showLabel="false" imageMso="MailMergeGreetingLineInsert" onAction="ManualMailMerge" />
425+
<button id="ManualMailMerge" label="Manually replace all merge fields on all slides" showLabel="false" imageMso="MailMergeDocument" onAction="ManualMailMerge" />
426426
</menu>
427427
<button id="ShowAboutDialogButton" label="Show about dialog" imageMso="Help" showLabel="false" onAction="ShowAboutDialog" />
428428
</group>
95 Bytes
Binary file not shown.

src/Modules/ModuleAbout.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Attribute VB_Name = "ModuleAbout"
2424
Public InstrumentaVersion As String
2525

2626
Sub ShowAboutDialog()
27-
InstrumentaVersion = "1.0 beta-4"
27+
InstrumentaVersion = "1.0"
2828
AboutDialog.Label1.Caption = "Instrumenta Powerpoint Toolbar v" & InstrumentaVersion
2929
AboutDialog.Show
3030
End Sub

src/Modules/ModuleCallbacks.bas

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,33 @@ Sub RibbonObjectGetImage(control As IRibbonControl, ByRef returnedVal)
4949
Select Case control.id
5050
Case "FivePointStarMenu"
5151
returnedVal = "ShapeStar"
52+
Case "StampsMenu"
53+
returnedVal = "CustomHeaderGallery"
54+
Case "ObjectsSizeToTallest"
55+
returnedVal = "ObjectNudgeDown"
56+
Case "ObjectsSizeShortest"
57+
returnedVal = "ObjectNudgeUp"
58+
Case "ObjectsSizeToWidest"
59+
returnedVal = "ObjectNudgeRight"
60+
Case "ObjectsSizeNarrowest"
61+
returnedVal = "ObjectNudgeLeft"
5262
End Select
5363

5464
#Else
5565

5666
Select Case control.id
5767
Case "FivePointStarMenu"
5868
returnedVal = "StarRatedFull"
69+
Case "StampsMenu"
70+
returnedVal = "StampTool"
71+
Case "ObjectsSizeToTallest"
72+
returnedVal = "SizeToTallest"
73+
Case "ObjectsSizeShortest"
74+
returnedVal = "SizeToShortest"
75+
Case "ObjectsSizeToWidest"
76+
returnedVal = "SizeToWidest"
77+
Case "ObjectsSizeNarrowest"
78+
returnedVal = "SizeToNarrowest"
5979
End Select
6080

6181
#End If

v/1.0 beta-4.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
## You are using the latest version of Instrumenta!
1+
## There is a new version available!
22

3-
If you want to re-download it:
4-
- Direct download: https://github.com/iappyx/Instrumenta/raw/main/Instrumenta%20Powerpoint%20Toolbar.ppam
5-
- More info: https://github.com/iappyx/Instrumenta/
3+
You can download it here: https://github.com/iappyx/Instrumenta/raw/main/Instrumenta%20Powerpoint%20Toolbar.ppam
4+
5+
More info: https://github.com/iappyx/Instrumenta/

v/1.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## You are using the latest version of Instrumenta!
2+
3+
If you want to re-download it:
4+
- Direct download: https://github.com/iappyx/Instrumenta/raw/main/Instrumenta%20Powerpoint%20Toolbar.ppam
5+
- More info: https://github.com/iappyx/Instrumenta/

0 commit comments

Comments
 (0)