C# 클래스 XWord.XWikiRibbon

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

공개 프로퍼티들

프로퍼티 타입 설명
attachmentsGroup Microsoft.Office.Tools.Ribbon.RibbonGroup
btnAddPage Microsoft.Office.Tools.Ribbon.RibbonButton
btnDownload Microsoft.Office.Tools.Ribbon.RibbonButton
btnDownloadAndOpen Microsoft.Office.Tools.Ribbon.RibbonButton
btnEditPage Microsoft.Office.Tools.Ribbon.RibbonButton
btnNewPage Microsoft.Office.Tools.Ribbon.RibbonButton
btnPreview Microsoft.Office.Tools.Ribbon.RibbonButton
btnPublishDocument Microsoft.Office.Tools.Ribbon.RibbonButton
btnRefresh Microsoft.Office.Tools.Ribbon.RibbonButton
btnShowAttachments Microsoft.Office.Tools.Ribbon.RibbonButton
btnShowPages Microsoft.Office.Tools.Ribbon.RibbonButton
btnUpload Microsoft.Office.Tools.Ribbon.RibbonButton
btnViewActiveDocInBrowser Microsoft.Office.Tools.Ribbon.RibbonButton
btnViewInBrowser Microsoft.Office.Tools.Ribbon.RibbonButton
downloadAtt Microsoft.Office.Tools.Ribbon.RibbonButton
dropDownSaveFormat Microsoft.Office.Tools.Ribbon.RibbonDropDown
dropDownSyntax Microsoft.Office.Tools.Ribbon.RibbonDropDown
uploadAttToPage Microsoft.Office.Tools.Ribbon.RibbonButton

Private Properties

프로퍼티 타입 설명
ActivateXWordMenu void
Addin_ClientInstanceChanged void
Addin_DocumentChanged void
Application_DocumentBeforeSave void
InitializeComponent void
Show_ConnectionDialog void
SyncSaving_Click void
UploadAttToPage_Click void
XWikiRibbon_Load void
btnAboutXWord_Click void
btnAddPage_Click void
btnDownloadAndOpen_Click void
btnEditPage_Click void
btnNewPage_Click void
btnRefresh_Click void
btnSavePage_Click void
btnShowAttachments_Click void
btnShowPages_Click void
btnUpdateAnnotations_Click void
btnViewActiveDocInBrowser_Click void
btnViewInBrowser_Click void
button1_Click void
downloadAtt_Click void
dropDownSaveFormat_ItemsLoading void
dropDownSaveFormat_SelectionChanged void
dropDownSyntax_SelectionChanged void
toggleAnnotations_Click void
toggleWikiExplorer_Click void

공개 메소드들

메소드 설명
DisableTreeNavigationActions ( ) : void

Disables all buttons in the wiki explorer context menu.

Refresh ( object sender, EventArgs e ) : void

Refreshes the buttons from the selectionOptionsGroup according to the connection state.

SetWikiExplorerButtonState ( bool state ) : void

Sets the Wiki Explorer toggle button to the given state.

SwitchSyntax ( string toSyntax ) : void

Changes the selected item from dropDownSyntax control with the one that is labeled with toSyntax string.

SwitchToOfflineMode ( ) : void

Disables the UI groups that need a server connection.

SwitchToOnlineMode ( ) : void

Enables the UI groups that need a server connection.

XWikiRibbon ( ) : System

Default constructor. Initializes all components.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
ActivateXWordMenu ( ) : void

Activates the XWord tab. This method isn't guarantted to succeed due to other user interactions in the addin.

Addin_ClientInstanceChanged ( object sender, EventArgs e ) : void
Addin_DocumentChanged ( ) : void
Application_DocumentBeforeSave ( Microsoft Doc, bool &SaveAsUI, bool &Cancel ) : void
InitializeComponent ( ) : void

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

Show_ConnectionDialog ( object sender, RibbonControlEventArgs e ) : void
SyncSaving_Click ( object sender, RibbonControlEventArgs e ) : void
UploadAttToPage_Click ( object sender, RibbonControlEventArgs e ) : void
XWikiRibbon_Load ( object sender, RibbonUIEventArgs e ) : void
btnAboutXWord_Click ( object sender, RibbonControlEventArgs e ) : void
btnAddPage_Click ( object sender, RibbonControlEventArgs e ) : void
btnDownloadAndOpen_Click ( object sender, RibbonControlEventArgs e ) : void
btnEditPage_Click ( object sender, RibbonControlEventArgs e ) : void
btnNewPage_Click ( object sender, RibbonControlEventArgs e ) : void
btnRefresh_Click ( object sender, RibbonControlEventArgs e ) : void

Refreshes the active document. If the document is not a wiki page no action is done.

btnSavePage_Click ( object sender, RibbonControlEventArgs e ) : void
btnShowAttachments_Click ( object sender, RibbonControlEventArgs e ) : void
btnShowPages_Click ( object sender, RibbonControlEventArgs e ) : void
btnUpdateAnnotations_Click ( object sender, RibbonControlEventArgs e ) : void
btnViewActiveDocInBrowser_Click ( object sender, RibbonControlEventArgs e ) : void
btnViewInBrowser_Click ( object sender, RibbonControlEventArgs e ) : void
button1_Click ( object sender, RibbonControlEventArgs e ) : void
downloadAtt_Click ( object sender, RibbonControlEventArgs e ) : void
dropDownSaveFormat_ItemsLoading ( object sender, RibbonControlEventArgs e ) : void
dropDownSaveFormat_SelectionChanged ( object sender, RibbonControlEventArgs e ) : void
dropDownSyntax_SelectionChanged ( object sender, RibbonControlEventArgs e ) : void
toggleAnnotations_Click ( object sender, RibbonControlEventArgs e ) : void
toggleWikiExplorer_Click ( object sender, RibbonControlEventArgs e ) : void

메소드 상세

DisableTreeNavigationActions() 공개 메소드

Disables all buttons in the wiki explorer context menu.
public DisableTreeNavigationActions ( ) : void
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

Refresh() 공개 메소드

Refreshes the buttons from the selectionOptionsGroup according to the connection state.
public Refresh ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

SetWikiExplorerButtonState() 공개 메소드

Sets the Wiki Explorer toggle button to the given state.
public SetWikiExplorerButtonState ( bool state ) : void
state bool The state of the button.
리턴 void

SwitchSyntax() 공개 메소드

Changes the selected item from dropDownSyntax control with the one that is labeled with toSyntax string.
public SwitchSyntax ( string toSyntax ) : void
toSyntax string Existing item in dropDownSyntax to be selected.
리턴 void

SwitchToOfflineMode() 공개 메소드

Disables the UI groups that need a server connection.
public SwitchToOfflineMode ( ) : void
리턴 void

SwitchToOnlineMode() 공개 메소드

Enables the UI groups that need a server connection.
public SwitchToOnlineMode ( ) : void
리턴 void

XWikiRibbon() 공개 메소드

Default constructor. Initializes all components.
public XWikiRibbon ( ) : System
리턴 System

프로퍼티 상세

attachmentsGroup 공개적으로 프로퍼티

Group containing the buttons for handling attachments.
public Microsoft.Office.Tools.Ribbon.RibbonGroup attachmentsGroup
리턴 Microsoft.Office.Tools.Ribbon.RibbonGroup

btnAddPage 공개적으로 프로퍼티

Button used to add the a new page to the wiki.
public Microsoft.Office.Tools.Ribbon.RibbonButton btnAddPage
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnDownload 공개적으로 프로퍼티

Button used to donwload the selected attachment.
public Microsoft.Office.Tools.Ribbon.RibbonButton btnDownload
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnDownloadAndOpen 공개적으로 프로퍼티

Downloads and opens the selected attachement with the assigned application.
public Microsoft.Office.Tools.Ribbon.RibbonButton btnDownloadAndOpen
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnEditPage 공개적으로 프로퍼티

Edit the selected page with Word.
public Microsoft.Office.Tools.Ribbon.RibbonButton btnEditPage
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnNewPage 공개적으로 프로퍼티

Button used to create a new page.
public Microsoft.Office.Tools.Ribbon.RibbonButton btnNewPage
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnPreview 공개적으로 프로퍼티

public Microsoft.Office.Tools.Ribbon.RibbonButton btnPreview
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnPublishDocument 공개적으로 프로퍼티

Button used to save/publish the active document to the wiki.
public Microsoft.Office.Tools.Ribbon.RibbonButton btnPublishDocument
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnRefresh 공개적으로 프로퍼티

public Microsoft.Office.Tools.Ribbon.RibbonButton btnRefresh
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnShowAttachments 공개적으로 프로퍼티

Button used to show the attachments of a page in Wiki Exploerer.
public Microsoft.Office.Tools.Ribbon.RibbonButton btnShowAttachments
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnShowPages 공개적으로 프로퍼티

Button used to show the pages of a space in Wiki Explorer.
public Microsoft.Office.Tools.Ribbon.RibbonButton btnShowPages
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnUpload 공개적으로 프로퍼티

Button used to upload the active document to the seleted page.
public Microsoft.Office.Tools.Ribbon.RibbonButton btnUpload
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnViewActiveDocInBrowser 공개적으로 프로퍼티

public Microsoft.Office.Tools.Ribbon.RibbonButton btnViewActiveDocInBrowser
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

btnViewInBrowser 공개적으로 프로퍼티

Button used to view the selected page in the default browser.
public Microsoft.Office.Tools.Ribbon.RibbonButton btnViewInBrowser
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

downloadAtt 공개적으로 프로퍼티

Button used to upload the download the selected attachment.
public Microsoft.Office.Tools.Ribbon.RibbonButton downloadAtt
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton

dropDownSaveFormat 공개적으로 프로퍼티

Contains a list with the html formats that Word can use to save the local wiki pages.
public Microsoft.Office.Tools.Ribbon.RibbonDropDown dropDownSaveFormat
리턴 Microsoft.Office.Tools.Ribbon.RibbonDropDown

dropDownSyntax 공개적으로 프로퍼티

public Microsoft.Office.Tools.Ribbon.RibbonDropDown dropDownSyntax
리턴 Microsoft.Office.Tools.Ribbon.RibbonDropDown

uploadAttToPage 공개적으로 프로퍼티

Button used to upload the active document to the selected page.
public Microsoft.Office.Tools.Ribbon.RibbonButton uploadAttToPage
리턴 Microsoft.Office.Tools.Ribbon.RibbonButton