Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

Inhalt
maxLevel1

...

Initialize the Congree application. You should call this method after creating the ICongreeBootstrapper. Use thirdPartySystemIdentifier parameter if it is necessary to initialize Congree with predefined third-party system identifier.

Parameters 

BSTR thirdPartySystemIdentifier - 

Remark: The thirdPartySystemIdentifier can be empty

...

VARIANT control The COM object that defines the editor. E.g it can be specific ActiveX control or other well known for Congree COM object which provides access to the editor. 

VARIANT placeHolders - The collection of AxPlaceHolderControl controls. The argument can be either collection (SAFEARRAY) of AxPlaceHolderControl or certain AxPlaceHolderControl ActiveX control. 

Remark: Each placeholder is used by Congree as the container to place inside the specific Congree panel (e.g. Terminology Research Panel). The placeholder is the ActiveX object, which is installed with Congree and registered in the operating system. Thus, for example, if you are using WinForms, you can simply open the list of ActiveX components and drag the AxPlaceHolderControl to the form. For each Congree panel you want to use in your application, you need to create an AxPlaceHolderControl.

Returns

The instance of IControlContext.

Properties

PanelInfos

Returns

...

Returns the instance of IAuthorizationManager.


IControlContext

The instance of IControlContext is responsible for binding external editor (control) with Congree placeholders (AxPlaceHolderControl).

...

Adds new placeholders to the control context. With this method you can dynamically add some Congree panels.

Parameters

VARIANT placeHolders - The collection of AxPlaceHolderControl controls.

Remark: This can be useful in the following scenario:

...

Releases the certain placeholder from the control context.

Parameters

VARIANT placeHolders - The collection of AxPlaceHolderControl controls.

Remark: You should use this method to release the placeholder from the certain context when, e.g., user closes some window which contains the placeholder.

...

Fig.3. Congree Authoring Client placeholders are shared between different control contexts.


IPanelInfo

Provides information about Congree panels. Congree is modular application and consists of many modules (extensions). Each module implements its own collection (one or more) of Congree panel (e.g. Language Check Panel, Authoring Memory Panel, Terminology Research Panel and so on). 

...

Returns the check report. The report is XML based document.

Parameters 

BSTR modules - a list of modules for which a report is required.  The list of modules must be listed via ";". The allowed list of names you can find in the this table

...

Remark: Congree provides the UserNamePasswordClientCredentialComShim co-class which implements IUserNamePasswordClientCredential interface and internally is Inherited from IClientCredentials. 

...