C# 클래스 XWiki.Office.Word.ConversionManager

Manages the bidirectional conversion.(Web to Word and Word to Web)
파일 보기 프로젝트 열기: xwiki-contrib/xwiki-office 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ConversionManager ( XOfficeCommonSettings settings, String serverURL, String localFolder, String docFullName, String localFileName, IXWikiClient client ) : System

Creates a new instance of the ConversionManager class.

ConvertFromWebToWord ( String content ) : String

Converts a html source from a Web form to Word compatible format.

ConvertFromWordToWeb ( String content ) : String

Converts a html source from local Word format to xhtml usable on web.

RegisterForUpload ( String attachmentPath ) : void

Adds an file to the list of files to be attached to the page.

UploadAttachments ( ) : void

메소드 상세

ConversionManager() 공개 메소드

Creates a new instance of the ConversionManager class.
public ConversionManager ( XOfficeCommonSettings settings, String serverURL, String localFolder, String docFullName, String localFileName, IXWikiClient client ) : System
settings XOffice.XOfficeCommonSettings
serverURL String The url of the server.
localFolder String The local folder where documents are saved/
docFullName String The full name of the wiki page.
localFileName String The local file coresponding to the edited wiki page.
client IXWikiClient IXWikiClient implementation, handling Client server communication.
리턴 System

ConvertFromWebToWord() 공개 메소드

Converts a html source from a Web form to Word compatible format.
public ConvertFromWebToWord ( String content ) : String
content String The html to be converted.
리턴 String

ConvertFromWordToWeb() 공개 메소드

Converts a html source from local Word format to xhtml usable on web.
public ConvertFromWordToWeb ( String content ) : String
content String The html to be converted.
리턴 String

RegisterForUpload() 공개 메소드

Adds an file to the list of files to be attached to the page.
public RegisterForUpload ( String attachmentPath ) : void
attachmentPath String The path to the attachment to be uploaded.
리턴 void

UploadAttachments() 공개 메소드

public UploadAttachments ( ) : void
리턴 void