File tree Expand file tree Collapse file tree 10 files changed +136
-4
lines changed
Expand file tree Collapse file tree 10 files changed +136
-4
lines changed Original file line number Diff line number Diff line change 1+ Attribute VB_Name = "Ribbon"
2+ ' functions exposed to Ribbon interface
3+ Option Explicit
4+
5+
6+ ' called by ribbon button to perform action
7+ Private Sub Ribbon_ButtonDoAction (ctrl As IRibbonControl )
8+ Stop
9+ End Sub
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2- <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="bin" ContentType="application/vnd.ms-office.vbaProject"/><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.ms-excel.sheet.macroEnabled.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
1+ <?xml version="1.0" encoding="utf-8"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="bin" ContentType="application/vnd.ms-office.vbaProject" /><Default Extension="png" ContentType="image/png" /><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="svg" ContentType="image/svg+xml" /><Default Extension="xml" ContentType="application/xml" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.ms-excel.sheet.macroEnabled.main+xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml" /><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" /><Override PartName="/customUI/images/PdfIcon.png" ContentType="image/.PNG" /><Override PartName="/customUI/images/PdfIconAlt.png" ContentType="image/.PNG" /></Types>
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2- <Relationships xmlns =" http://schemas.openxmlformats.org/package/2006/relationships" ><Relationship Id =" rId3" Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target =" docProps/app.xml" /><Relationship Id =" rId2" Type =" http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target =" docProps/core.xml" /><Relationship Id =" rId1" Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target =" xl/workbook.xml" /></Relationships >
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Relationships xmlns =" http://schemas.openxmlformats.org/package/2006/relationships" >
3+ <Relationship Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target =" docProps/app.xml" Id =" rId3" />
4+ <Relationship Type =" http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target =" docProps/core.xml" Id =" rId2" />
5+ <Relationship Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target =" xl/workbook.xml" Id =" rId1" />
6+ <Relationship Type =" http://schemas.microsoft.com/office/2006/relationships/ui/extensibility" Target =" /customUI/customUI.xml" Id =" Rcfaa099e7d09451e" />
7+ </Relationships >
Original file line number Diff line number Diff line change 1+ <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="images/PdfIcon.png" Id="PdfIcon" /><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="images/PdfIconAlt.png" Id="PdfIconAlt" /></Relationships>
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2+ <customUI xmlns =" http://schemas.microsoft.com/office/2006/01/customui" xmlns : x =" PerditionC" >
3+
4+ <ribbon >
5+ <tabs >
6+ <tab idMso =" TabHome" >
7+ <group id =" vbaPDF_MainGroup1" label =" PDF" insertBeforeMso =" GroupEditing" >
8+ <box id =" vbaPDF_MainBox1" boxStyle =" vertical" >
9+ <!-- <labelControl id="vbaPDF_MainBox1_Button1_Spacer" /> -->
10+ <button id =" testbutn" label =" my menu" image =" PdfIconAlt" description =" Howdy World!" />
11+ <button id =" vbaPDF_MainBox1_Button2"
12+ onAction=" VBAPortableDocumentFormat.Ribbon.Ribbon_ButtonDoAction"
13+ label=" PDF Action"
14+ image=" PdfIcon"
15+ screentip=" View/Edit or Combine PDF documents"
16+ supertip=" SuperTip: View/Edit or Combine PDF documents"
17+ visible=" true"
18+ />
19+ <!-- <labelControl id="vbaPDF_MainBox1_Button3_Spacer" /> -->
20+ <button id =" mybutton" label =" my button" imageMso =" HappyFace" description =" Howdy World!" />
21+ </box >
22+ </group >
23+ </tab >
24+ </tabs >
25+ </ribbon >
26+
27+ </customUI >
You can’t perform that action at this time.
0 commit comments