C# Класс XWord.XWikiAddIn

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
cookies List
currentLocalFilePath string
currentPageFullName string
panes XWikiNavigationPane>.Dictionary
password string
serverURL string
username string
wiki XWiki.Model.Wiki

Открытые методы

Метод Описание
HasVisibleWikiExplorer ( ) : bool

Specifies if the addin has WikiEx

HideTaskPanes ( ) : void

Hides all WikiExploer taskpanes in the addin.

InitializeAddin ( ) : void

Makes the login to the server, using the ConnectionSettingsForm or the last stored credentials. Adds the taskpanes.

ReinforceApplicationOptions ( ) : void

Sets the application(Word) options.

ShowTaskPanes ( ) : void

Shows all WikiExplorer taskpanes in the addin.

ToggleActiveTaskPane ( bool newState ) : void

Shows or hides the active Wiki Explorer.

ToggleTaskPanes ( ) : void

Hides/Shows the Wiki Explorer taskpanes.

Приватные методы

Метод Описание
AddTaskPane ( Microsoft.Office.Interop.Word doc ) : void

Adds a custom task pane to the addin's taskpanes collection. The task pane is assigned to the given document's active window.

AddTaskPanes ( ) : void

Adds a XWiki task pane to each opened document.

Application_DocumentBeforeClose ( Microsoft doc, bool &cancel ) : void

Event triggered before closing a document.

Application_DocumentChange ( ) : void

Event triggered when the active document changes. This event is triggered every time you switch to a different document window. It does NOT refer to content changing.

Application_DocumentOpen ( Microsoft Doc ) : void

Event triggered when a document is openend.

BeginInitialization ( ) : void
BindToData ( ) : void
EndInitialization ( ) : void
FinishInitialization ( ) : void
GetActiveWikiExplorer ( ) : Microsoft.Office.Tools.CustomTaskPane
GetWikiExplorer ( Microsoft.Office.Interop.Word document ) : Microsoft.Office.Tools.CustomTaskPane
Initialize ( ) : void
InitializeCachedData ( ) : void
InitializeComponents ( ) : void
InitializeControls ( ) : void
InitializeData ( ) : void
InitializeDataBindings ( ) : void
InitializeEventsHandlers ( ) : void
InternalStartup ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IsCached ( string MemberName ) : bool
LoadCredentials ( ) : bool

Loads the last used credentials of the user.

NeedsFill ( string MemberName ) : bool
OnShutdown ( ) : void
RemoveAllTaskPanes ( ) : void

Removes all XWiki task panes. RemoveTaskPane

RemoveOrphans ( ) : void

Removes all task pane instances that not longer have an existing window.

RemoveTaskPane ( Microsoft.Office.Interop.Word doc ) : void

Removes all XWiki task panes from the given document.

SetFolderSuffix ( XOfficeCommonSettings settings ) : void
ShowConnectToServerUI ( ) : bool
ShowTaskPanes ( bool visible ) : void

Hides all WikiExplorers in all documents

StartCaching ( string MemberName ) : void
StopCaching ( string MemberName ) : void
ThisAddIn_NewDocument ( Microsoft Doc ) : void

Event triggered when a new document is created.

ThisAddIn_Shutdown ( object sender, System e ) : void

Event triggered before closing the addin.

ThisAddIn_Startup ( object sender, System e ) : void

Event triggered when a new word instance is starting.

UpdateWikiExplorerButtonState ( ) : void
XWikiAddIn ( )
XWikiAddIn_ClientInstanceChanged ( object sender, EventArgs e ) : void
XWikiAddIn_LoginFailed ( ) : void
XWikiAddIn_LoginSuccessul ( ) : void
timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

Executes when the specified amount of time has passed.

wikiExplorer_VisibleChanged ( object sender, EventArgs e ) : void

Описание методов

HasVisibleWikiExplorer() публичный Метод

Specifies if the addin has WikiEx
public HasVisibleWikiExplorer ( ) : bool
Результат bool

HideTaskPanes() публичный Метод

Hides all WikiExploer taskpanes in the addin.
public HideTaskPanes ( ) : void
Результат void

InitializeAddin() публичный Метод

Makes the login to the server, using the ConnectionSettingsForm or the last stored credentials. Adds the taskpanes.
public InitializeAddin ( ) : void
Результат void

ReinforceApplicationOptions() публичный Метод

Sets the application(Word) options.
public ReinforceApplicationOptions ( ) : void
Результат void

ShowTaskPanes() публичный Метод

Shows all WikiExplorer taskpanes in the addin.
public ShowTaskPanes ( ) : void
Результат void

ToggleActiveTaskPane() публичный Метод

Shows or hides the active Wiki Explorer.
public ToggleActiveTaskPane ( bool newState ) : void
newState bool The new state of the pane. TRUE for visible, FALSE for hidden.
Результат void

ToggleTaskPanes() публичный Метод

Hides/Shows the Wiki Explorer taskpanes.
public ToggleTaskPanes ( ) : void
Результат void

Описание свойств

cookies публичное статическое свойство

A list of the web client's cookies.
public static List cookies
Результат List

currentLocalFilePath публичное свойство

Specifies the path to the active document.
public string currentLocalFilePath
Результат string

currentPageFullName публичное свойство

Specifies the full name of the currently edited page(if any).
public string currentPageFullName
Результат string

panes публичное свойство

Collection containing all custom task panes in all opened Word instances.
public Dictionary panes
Результат XWikiNavigationPane>.Dictionary

password публичное свойство

The password used to connect to the server.
public string password
Результат string

serverURL публичное свойство

The url of the server that the user is currently connected to.
public string serverURL
Результат string

username публичное свойство

The username used to connect to the server.
public string username
Результат string

wiki публичное свойство

Object containing the structure(Spaces,Pages,Attachment names) of the wiki the use is connected to.
public Wiki,XWiki.Model wiki
Результат XWiki.Model.Wiki