Show / Hide Table of Contents

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.

Inheritance
object
CKRibbon
Implements
IRibbonExtensibility
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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.

Implements

IRibbonExtensibility

Extension Methods

PingService.PingPong<T>(T, string)
PingService.PingPong<T>(T, string, string)
PingService.PingPong<T, TResult>(T, Func<TResult>, string, string)
PingService.Ping<T>(T, string)
PingService.Ping<T>(T, string, string)
PingService.Ping<T>(T, Type[], string)
PingService.Pong<T>(T, string)
PingService.Pong<T>(T, string, string)
PingService.Pong<T>(T, Type, string)
PingService.Pong<T>(T, Type[], string)
PingService.Pong<T, TResult>(T, Func<TResult>, string, string)
In this article
Back to top Generated by DocFX