C# Класс Aspose.Words.Examples.CSharp.Loading_Saving.Worker

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

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

Метод Описание
Execute ( string srcFileName, string tocTemplate, string dstDir ) : void

Performs the Word to HTML conversion.

InsertSectionBreaks ( ArrayList topicStartParas ) : void

Inserts section breaks before the specified paragraphs.

MakeTopicFileName ( string paraText ) : string

Leaves alphanumeric characters, replaces white space with underscore And removes all other characters from a string.

MakeTopicTitle ( string paraText ) : string

Removes the last character (which is a paragraph break character from the given string).

SaveHtmlTopic ( Section section, Topic topic ) : void

Saves one section of a document as an HTML file. Any embedded images are saved as separate files in the same folder as the HTML file.

SaveHtmlTopics ( ) : ArrayList

Splits the current document into one topic per section and saves each topic As an HTML file. Returns a collection of Topic objects.

SaveTableOfContents ( ArrayList topics ) : void

Generates a table of contents for the topics and saves to contents.html.

SelectTopicStarts ( ) : ArrayList

Selects heading paragraphs that must become topic starts. We can't modify them in this loop, we have to remember them in an array first.