Class CKRibbon
Custom Ribbon class for the Word add-in, implementing the IRibbonExtensibility interface. It includes callback methods for various ribbon buttons to fix PCTEL documents.
Implements
Inherited Members
Namespace: CoverageKiller2
Assembly: CoverageKiller2.dll
Syntax
[ComVisible(true)]
public class CKRibbon : IRibbonExtensibility
Constructors
CKRibbon()
Initializes a new instance of the CKRibbon class.
Declaration
public CKRibbon()
Methods
GetCustomUI(string)
Loads the custom Ribbon XML.
Declaration
public string GetCustomUI(string ribbonID)
Parameters
Type | Name | Description |
---|---|---|
string | ribbonID | The Ribbon ID to load. |
Returns
Type | Description |
---|---|
string | The Ribbon XML as a string. |
OnDebugLoader(IRibbonControl)
Declaration
public void OnDebugLoader(IRibbonControl control)
Parameters
Type | Name | Description |
---|---|---|
IRibbonControl | control |
OnFixPCTELDocButton(IRibbonControl)
Callback for the "Fix PCTEL Doc" button. Attempts to fix headers and footers in the active PCTEL document.
Declaration
public void OnFixPCTELDocButton(IRibbonControl control)
Parameters
Type | Name | Description |
---|---|---|
IRibbonControl | control | The Ribbon control that triggered the callback. |
OnFix_PRMCE_PCTELDoc800Button(IRibbonControl)
Callback for the "Fix PRMCE PCTEL Doc 800" button. Attempts to fix the PRMCE 800 version of the PCTEL document.
Declaration
public void OnFix_PRMCE_PCTELDoc800Button(IRibbonControl control)
Parameters
Type | Name | Description |
---|---|---|
IRibbonControl | control | The Ribbon control that triggered the callback. |
OnFix_PRMCE_PCTELDocUHFButton(IRibbonControl)
Declaration
public void OnFix_PRMCE_PCTELDocUHFButton(IRibbonControl control)
Parameters
Type | Name | Description |
---|---|---|
IRibbonControl | control |
OnRunProcessor(IRibbonControl)
Declaration
public void OnRunProcessor(IRibbonControl control)
Parameters
Type | Name | Description |
---|---|---|
IRibbonControl | control |
OnTestProcessor(IRibbonControl)
Declaration
public void OnTestProcessor(IRibbonControl control)
Parameters
Type | Name | Description |
---|---|---|
IRibbonControl | control |
Ribbon_Load(IRibbonUI)
Called when the Ribbon is loaded.
Declaration
public void Ribbon_Load(IRibbonUI ribbonUI)
Parameters
Type | Name | Description |
---|---|---|
IRibbonUI | ribbonUI | The Ribbon UI instance. |