-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.cs
115 lines (107 loc) · 7.29 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
using System;
using Openize.Words.Examples;
namespace TestOpenizeWordsExamples24._5._0
{
class Program
{
static void Main(string[] args)
{
// Prepares directory Documents/Paragraph at the root of your project.
// Check reference for more options and details.
var paragraphExamples = new ParagraphExamples();
// Creates a word document with paragraphs and saves word document to the specified
// directory. Check reference for more options and details.
paragraphExamples.CreateWordParagraphs();
// Reads Paragraphs from the specified Word Document and displays plain text and formatting.
// Check reference for more options and details.
paragraphExamples.ReadWordParagraphs();
// Modifies Paragraphs in the specified Word Document and saves the modified word document.
// Check reference for more options and details.
paragraphExamples.ModifyWordParagraphs();
// Prepares directory Documents/Image at the root of your project.
// Check reference for more options and details.
var imageExamples = new ImageExamples();
// Reads images from the specified directory, creates and saves word document to the specified
// directory. Check reference for more options and details.
imageExamples.CreateWordDocumentWithImages();
// Read Images from the specified Word Document and displays image metadata.
// Check reference for more options and details.
imageExamples.ReadImagesInWordDocument();
// Modify Images in the specified Word Document and saves the modified word document.
// Check reference for more options and details.
imageExamples.ModifyImagesInWordDocument();
// Prepares directory Documents/Table at the root of your project.
// Check reference for more options and details.
var tableExamples = new TableExamples();
// Creates a word document with tables and saves word document to the specified
// directory. Check reference for more options and details.
tableExamples.CreateWordDocumentWithTables();
// Read tables from the specified Word Document and displays table contents.
// Check reference for more options and details.
tableExamples.ReadTablesInWordDocument();
// Modify Images in the specified Word Document and saves the modified word document.
// Check reference for more options and details.
tableExamples.ModifyTablesInWordDocument();
// Prepares directory Documents/Paragraph/Alignment at the root of your project.
// Check reference for more options and details.
var paragraphAlignment = new ParagraphAlignmentExamples();
// Creates a word document with paragraphs having different alignments and saves word document
// to the specified directory. Check reference for more options and details.
paragraphAlignment.CreateAlignment();
// Reads Paragraphs from the specified Word Document and displays plain text alongwith alignment.
// Check reference for more options and details.
paragraphAlignment.ReadAlignment();
// Modifies Paragraph's alignment in the specified Word Document and saves the modified word document.
// Check reference for more options and details.
paragraphAlignment.ModifyAlignment();
// Prepares directory Documents/Paragraph/Indent at the root of your project.
// Check reference for more options and details.
var paragraphIndentExamples = new ParagraphIndentExamples();
// Creates a word document with paragraphs having various indentations and saves word document
// to the specified directory. Check reference for more options and details.
paragraphIndentExamples.CreateIndent();
// Reads Paragraphs from the specified Word Document and displays plain text with indentation.
// Check reference for more options and details.
paragraphIndentExamples.ReadIndent();
// Modifies Paragraph's indentation in the Word Document and saves the modified word document.
// Check reference for more options and details.
paragraphIndentExamples.ModifyIndent();
// Prepares directory Documents/Paragraph/Numbering at the root of your project.
// Check reference for more options and details.
var paragraphNumberExamples = new ParagraphNumberExamples();
// Creates a word document with paragraphs having various numbering levels and saves word
// document to the specified directory. Check reference for more options and details.
paragraphNumberExamples.CreateNumberedParagraphs();
// Reads Paragraphs from the specified Word Document and displays plain text with numbering info.
// Check reference for more options and details.
paragraphNumberExamples.ReadNumberedParagraphs();
// Modifies Paragraph's numbering in the Word Document and saves the modified word document.
// Check reference for more options and details.
paragraphNumberExamples.ModifyNumberedParagraphs();
// Prepares directory Documents/Paragraph/RomanAlphabeitc at the root of your project.
// Check reference for more options and details.
var paragraphRomanAlphabeticExamples = new ParagraphRomanAlphabeticExamples();
// Creates a word document with paragraphs having roman and alphabetic levels and saves word
// document to the specified directory. Check reference for more options and details.
paragraphRomanAlphabeticExamples.CreateRomanAlphabeticParagraphs();
// Reads Paragraphs from the specified Word Document and displays plain text with roman and alphabetic info.
// Check reference for more options and details.
paragraphRomanAlphabeticExamples.ReadRomanAlphabeticParagraphs();
// Modifies Roman and Alphabetic paragraphs in the Word Document and saves the modified word document.
// Check reference for more options and details.
paragraphRomanAlphabeticExamples.ModifyRomanAlphabeticParagraphs();
// Prepares directory Documents/Paragraph/List at the root of your project.
// Check reference for more options and details.
var listExamples = new ListExamples();
// Creates a word document with two mulitlevel lists each having 3 levels and saves word
// document to the specified directory. Check reference for more options and details.
listExamples.CreateMultilevelLists();
// Reads Paragraphs from the specified Word Document and displays plain text with prefix info at each level.
// Check reference for more options and details.
listExamples.ReadMultilevelLists();
// Modifies list paragraphs in the Word Document and saves the modified word document.
// Check reference for more options and details.
listExamples.ModifyMultilevelLists();
}
}
}