G
Guest
I am creating a custom ribbon and would like to limit the commands available
to a few report printing and exporting options.
How can I show a big button for Close Print Preview like on the standard
Print Preview Ribbon?
My current code just shows a small icon:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab id="dbCMAppTab" label="CMApp" visible="true">
<group id="dbExportGroup" label="Export Options">
<control idMso="ExportWord" label="Export to Word" enabled="true"/>
<control idMso="ExportTextFile" label="Export to Notepad"
enabled="true"/>
<control idMso="FileSendAsAttachment" label="Email" enabled="true"/>
</group>
<group id="dbPrintGroup" label="Print Options">
<control idMso="FilePrintQuick" label="Print" enabled="true"/>
<control idMso="FilePrintPreview" label="Print Preview"
enabled="true"/>
<control idMso="PrintPreviewClose" label="CLOSE" enabled="true"/>
</group>
<group id="dbClosePreview" label="Close Preview">
<control idMso="PrintPreviewClose" label="CLOSE" enabled="true"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
to a few report printing and exporting options.
How can I show a big button for Close Print Preview like on the standard
Print Preview Ribbon?
My current code just shows a small icon:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab id="dbCMAppTab" label="CMApp" visible="true">
<group id="dbExportGroup" label="Export Options">
<control idMso="ExportWord" label="Export to Word" enabled="true"/>
<control idMso="ExportTextFile" label="Export to Notepad"
enabled="true"/>
<control idMso="FileSendAsAttachment" label="Email" enabled="true"/>
</group>
<group id="dbPrintGroup" label="Print Options">
<control idMso="FilePrintQuick" label="Print" enabled="true"/>
<control idMso="FilePrintPreview" label="Print Preview"
enabled="true"/>
<control idMso="PrintPreviewClose" label="CLOSE" enabled="true"/>
</group>
<group id="dbClosePreview" label="Close Preview">
<control idMso="PrintPreviewClose" label="CLOSE" enabled="true"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>