C# 클래스 XWord.XWikiAddIn

파일 보기 프로젝트 열기: xwiki-contrib/xwiki-office 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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