Difference between revisions of "XML Samples"

From Ribbon Commander Documentation
Jump to: navigation, search
(Created page with "{{Under Construction}}")
 
(Before we start)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Under Construction}}
+
== Before we start ==
 +
Before we get started you need to:
 +
* [[Installation | Install the Ribbon Commander Framework]]
 +
* [[Activation| Activate the Ribbon Commander Framework]]
 +
* [[Referencing the Ribbon Commander library in VBA | Reference the Ribbon Commander library]]
 +
 
 +
== Introduction ==
 +
Ribbon Commander fully supports XML. All controls are serializable to XML and instantiatable from XML. The main package installs a few XML samples and a workbook (''XMLSamplesLoader.xls'') that can load the samples and contains delegate stubs for control callbacks.
 +
 
 +
 
 +
== Locating the samples ==
 +
To locate the samples:
 +
* Navigate to the ''Samples Directory'' through the ''Ribbon Commander'' [[Installation#Verifying Installation Success|Menu shortcut]].
 +
* Find the samples under ''XML''
 +
* Open workbook ''XMLSamplesLoader.xls'' and use its UI to load the samples.
 +
 
 +
 
 +
== Samples reference ==
 +
{{DocTableBegin | Col1Name=Sample File Name | Col2Name=Description}}
 +
{{DocTableNakedEntry | col1=RibbonSample1.xml|col2=A Ribbon sample}}
 +
{{DocTableNakedEntry | col1=RibbonSample2.xml|col2=A Ribbon sample}}
 +
{{DocTableNakedEntry | col1=DictatorSample2007.xml|col2=A dictator application UI sample for Office 2007}}
 +
{{DocTableNakedEntry | col1=DictatorSample2010.xml|col2=A dictator application UI sample for Office 2010}}
 +
{{DocTableNakedEntry | col1=BackstageSample1.xml|col2=A Backstage sample (Office 2010+)}}
 +
{{DocTableNakedEntry | col1=BackstageSample2.xml|col2=A Backstage sample (Office 2010+)}}
 +
{{DocTableNakedEntry | col1=XMLSamplesLoader.xls|col2=Automates loading of the XML samples and provides delegate stubs for control callbacks}}
 +
{{DocTableEnd}}

Latest revision as of 16:36, 8 November 2013

Before we start

Before we get started you need to:

Introduction

Ribbon Commander fully supports XML. All controls are serializable to XML and instantiatable from XML. The main package installs a few XML samples and a workbook (XMLSamplesLoader.xls) that can load the samples and contains delegate stubs for control callbacks.


Locating the samples

To locate the samples:

  • Navigate to the Samples Directory through the Ribbon Commander Menu shortcut.
  • Find the samples under XML
  • Open workbook XMLSamplesLoader.xls and use its UI to load the samples.


Samples reference

Sample File Name
Description
RibbonSample1.xml A Ribbon sample
RibbonSample2.xml A Ribbon sample
DictatorSample2007.xml A dictator application UI sample for Office 2007
DictatorSample2010.xml A dictator application UI sample for Office 2010
BackstageSample1.xml A Backstage sample (Office 2010+)
BackstageSample2.xml A Backstage sample (Office 2010+)
XMLSamplesLoader.xls Automates loading of the XML samples and provides delegate stubs for control callbacks