@@ -109,97 +109,10 @@ private static void Main(string[] args)
109109 }
110110 }
111111
112- // Generates content of extendedFilePropertiesPart1.
113- private static void GenerateExtendedFilePropertiesPart1Content ( ExtendedFilePropertiesPart extendedFilePropertiesPart1 )
114- {
115- Ap . Properties properties1 = new Ap . Properties ( ) ;
116- properties1 . AddNamespaceDeclaration ( "vt" , "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes" ) ;
117- Ap . Template template1 = new Ap . Template ( ) ;
118- template1 . Text = "Normal.dotm" ;
119- Ap . TotalTime totalTime1 = new Ap . TotalTime ( ) ;
120- totalTime1 . Text = "0" ;
121- Ap . Pages pages1 = new Ap . Pages ( ) ;
122- pages1 . Text = "1" ;
123- Ap . Words words1 = new Ap . Words ( ) ;
124- words1 . Text = "0" ;
125- Ap . Characters characters1 = new Ap . Characters ( ) ;
126- characters1 . Text = "0" ;
127- Ap . Application application1 = new Ap . Application ( ) ;
128- application1 . Text = "Microsoft Office Word" ;
129- Ap . DocumentSecurity documentSecurity1 = new Ap . DocumentSecurity ( ) ;
130- documentSecurity1 . Text = "0" ;
131- Ap . Lines lines1 = new Ap . Lines ( ) ;
132- lines1 . Text = "0" ;
133- Ap . Paragraphs paragraphs1 = new Ap . Paragraphs ( ) ;
134- paragraphs1 . Text = "0" ;
135- Ap . ScaleCrop scaleCrop1 = new Ap . ScaleCrop ( ) ;
136- scaleCrop1 . Text = "false" ;
137- Ap . Company company1 = new Ap . Company ( ) ;
138- company1 . Text = "" ;
139- Ap . LinksUpToDate linksUpToDate1 = new Ap . LinksUpToDate ( ) ;
140- linksUpToDate1 . Text = "false" ;
141- Ap . CharactersWithSpaces charactersWithSpaces1 = new Ap . CharactersWithSpaces ( ) ;
142- charactersWithSpaces1 . Text = "0" ;
143- Ap . SharedDocument sharedDocument1 = new Ap . SharedDocument ( ) ;
144- sharedDocument1 . Text = "false" ;
145- Ap . HyperlinksChanged hyperlinksChanged1 = new Ap . HyperlinksChanged ( ) ;
146- hyperlinksChanged1 . Text = "false" ;
147- Ap . ApplicationVersion applicationVersion1 = new Ap . ApplicationVersion ( ) ;
148- applicationVersion1 . Text = "16.0000" ;
149-
150- properties1 . Append ( template1 ) ;
151- properties1 . Append ( totalTime1 ) ;
152- properties1 . Append ( pages1 ) ;
153- properties1 . Append ( words1 ) ;
154- properties1 . Append ( characters1 ) ;
155- properties1 . Append ( application1 ) ;
156- properties1 . Append ( documentSecurity1 ) ;
157- properties1 . Append ( lines1 ) ;
158- properties1 . Append ( paragraphs1 ) ;
159- properties1 . Append ( scaleCrop1 ) ;
160- properties1 . Append ( company1 ) ;
161- properties1 . Append ( linksUpToDate1 ) ;
162- properties1 . Append ( charactersWithSpaces1 ) ;
163- properties1 . Append ( sharedDocument1 ) ;
164- properties1 . Append ( hyperlinksChanged1 ) ;
165- properties1 . Append ( applicationVersion1 ) ;
166-
167- extendedFilePropertiesPart1 . Properties = properties1 ;
168- }
169-
170112 // Generates content of mainDocumentPart1.
171113 private static void GenerateMainDocumentPart1Content ( MainDocumentPart mainDocumentPart1 , MarkdownDocument document )
172114 {
173- Document document1 = new Document ( ) { MCAttributes = new MarkupCompatibilityAttributes ( ) { Ignorable = "w14 w15 w16se w16cid wp14" } } ;
174- document1 . AddNamespaceDeclaration ( "wpc" , "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" ) ;
175- document1 . AddNamespaceDeclaration ( "cx" , "http://schemas.microsoft.com/office/drawing/2014/chartex" ) ;
176- document1 . AddNamespaceDeclaration ( "cx1" , "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" ) ;
177- document1 . AddNamespaceDeclaration ( "cx2" , "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex" ) ;
178- document1 . AddNamespaceDeclaration ( "cx3" , "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex" ) ;
179- document1 . AddNamespaceDeclaration ( "cx4" , "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex" ) ;
180- document1 . AddNamespaceDeclaration ( "cx5" , "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex" ) ;
181- document1 . AddNamespaceDeclaration ( "cx6" , "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex" ) ;
182- document1 . AddNamespaceDeclaration ( "cx7" , "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex" ) ;
183- document1 . AddNamespaceDeclaration ( "cx8" , "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex" ) ;
184- document1 . AddNamespaceDeclaration ( "mc" , "http://schemas.openxmlformats.org/markup-compatibility/2006" ) ;
185- document1 . AddNamespaceDeclaration ( "aink" , "http://schemas.microsoft.com/office/drawing/2016/ink" ) ;
186- document1 . AddNamespaceDeclaration ( "am3d" , "http://schemas.microsoft.com/office/drawing/2017/model3d" ) ;
187- document1 . AddNamespaceDeclaration ( "o" , "urn:schemas-microsoft-com:office:office" ) ;
188- document1 . AddNamespaceDeclaration ( "r" , "http://schemas.openxmlformats.org/officeDocument/2006/relationships" ) ;
189- document1 . AddNamespaceDeclaration ( "m" , "http://schemas.openxmlformats.org/officeDocument/2006/math" ) ;
190- document1 . AddNamespaceDeclaration ( "v" , "urn:schemas-microsoft-com:vml" ) ;
191- document1 . AddNamespaceDeclaration ( "wp14" , "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" ) ;
192- document1 . AddNamespaceDeclaration ( "wp" , "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" ) ;
193- document1 . AddNamespaceDeclaration ( "w10" , "urn:schemas-microsoft-com:office:word" ) ;
194- document1 . AddNamespaceDeclaration ( "w" , "http://schemas.openxmlformats.org/wordprocessingml/2006/main" ) ;
195- document1 . AddNamespaceDeclaration ( "w14" , "http://schemas.microsoft.com/office/word/2010/wordml" ) ;
196- document1 . AddNamespaceDeclaration ( "w15" , "http://schemas.microsoft.com/office/word/2012/wordml" ) ;
197- document1 . AddNamespaceDeclaration ( "w16cid" , "http://schemas.microsoft.com/office/word/2016/wordml/cid" ) ;
198- document1 . AddNamespaceDeclaration ( "w16se" , "http://schemas.microsoft.com/office/word/2015/wordml/symex" ) ;
199- document1 . AddNamespaceDeclaration ( "wpg" , "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" ) ;
200- document1 . AddNamespaceDeclaration ( "wpi" , "http://schemas.microsoft.com/office/word/2010/wordprocessingInk" ) ;
201- document1 . AddNamespaceDeclaration ( "wne" , "http://schemas.microsoft.com/office/word/2006/wordml" ) ;
202- document1 . AddNamespaceDeclaration ( "wps" , "http://schemas.microsoft.com/office/word/2010/wordprocessingShape" ) ;
115+ Document document1 = new Document ( ) { MCAttributes = new MarkupCompatibilityAttributes ( ) } ;
203116
204117 Body docBody = new Body ( ) ;
205118
@@ -1785,14 +1698,7 @@ private static void Add_endnote(string endnote, string title, ref Body docBody)
17851698 // Generates content of webSettingsPart1.
17861699 private static void GenerateWebSettingsPart1Content ( WebSettingsPart webSettingsPart1 )
17871700 {
1788- WebSettings webSettings1 = new WebSettings ( ) { MCAttributes = new MarkupCompatibilityAttributes ( ) { Ignorable = "w14 w15 w16se w16cid" } } ;
1789- webSettings1 . AddNamespaceDeclaration ( "mc" , "http://schemas.openxmlformats.org/markup-compatibility/2006" ) ;
1790- webSettings1 . AddNamespaceDeclaration ( "r" , "http://schemas.openxmlformats.org/officeDocument/2006/relationships" ) ;
1791- webSettings1 . AddNamespaceDeclaration ( "w" , "http://schemas.openxmlformats.org/wordprocessingml/2006/main" ) ;
1792- webSettings1 . AddNamespaceDeclaration ( "w14" , "http://schemas.microsoft.com/office/word/2010/wordml" ) ;
1793- webSettings1 . AddNamespaceDeclaration ( "w15" , "http://schemas.microsoft.com/office/word/2012/wordml" ) ;
1794- webSettings1 . AddNamespaceDeclaration ( "w16cid" , "http://schemas.microsoft.com/office/word/2016/wordml/cid" ) ;
1795- webSettings1 . AddNamespaceDeclaration ( "w16se" , "http://schemas.microsoft.com/office/word/2015/wordml/symex" ) ;
1701+ WebSettings webSettings1 = new WebSettings ( ) { MCAttributes = new MarkupCompatibilityAttributes ( ) } ;
17961702 OptimizeForBrowser optimizeForBrowser1 = new OptimizeForBrowser ( ) ;
17971703 AllowPNG allowPNG1 = new AllowPNG ( ) ;
17981704
@@ -2397,19 +2303,7 @@ private static void GenerateThemePart1Content(ThemePart themePart1)
23972303 // Generates content of documentSettingsPart1.
23982304 private static void GenerateDocumentSettingsPart1Content ( DocumentSettingsPart documentSettingsPart1 )
23992305 {
2400- Settings settings1 = new Settings ( ) { MCAttributes = new MarkupCompatibilityAttributes ( ) { Ignorable = "w14 w15 w16se w16cid" } } ;
2401- settings1 . AddNamespaceDeclaration ( "mc" , "http://schemas.openxmlformats.org/markup-compatibility/2006" ) ;
2402- settings1 . AddNamespaceDeclaration ( "o" , "urn:schemas-microsoft-com:office:office" ) ;
2403- settings1 . AddNamespaceDeclaration ( "r" , "http://schemas.openxmlformats.org/officeDocument/2006/relationships" ) ;
2404- settings1 . AddNamespaceDeclaration ( "m" , "http://schemas.openxmlformats.org/officeDocument/2006/math" ) ;
2405- settings1 . AddNamespaceDeclaration ( "v" , "urn:schemas-microsoft-com:vml" ) ;
2406- settings1 . AddNamespaceDeclaration ( "w10" , "urn:schemas-microsoft-com:office:word" ) ;
2407- settings1 . AddNamespaceDeclaration ( "w" , "http://schemas.openxmlformats.org/wordprocessingml/2006/main" ) ;
2408- settings1 . AddNamespaceDeclaration ( "w14" , "http://schemas.microsoft.com/office/word/2010/wordml" ) ;
2409- settings1 . AddNamespaceDeclaration ( "w15" , "http://schemas.microsoft.com/office/word/2012/wordml" ) ;
2410- settings1 . AddNamespaceDeclaration ( "w16cid" , "http://schemas.microsoft.com/office/word/2016/wordml/cid" ) ;
2411- settings1 . AddNamespaceDeclaration ( "w16se" , "http://schemas.microsoft.com/office/word/2015/wordml/symex" ) ;
2412- settings1 . AddNamespaceDeclaration ( "sl" , "http://schemas.openxmlformats.org/schemaLibrary/2006/main" ) ;
2306+ Settings settings1 = new Settings ( ) { MCAttributes = new MarkupCompatibilityAttributes ( ) } ;
24132307 Zoom zoom1 = new Zoom ( ) { Percent = "110" } ;
24142308 BordersDoNotSurroundHeader bordersDoNotSurroundHeader1 = new BordersDoNotSurroundHeader ( ) ;
24152309 BordersDoNotSurroundFooter bordersDoNotSurroundFooter1 = new BordersDoNotSurroundFooter ( ) ;
@@ -2542,14 +2436,7 @@ private static void GenerateDocumentSettingsPart1Content(DocumentSettingsPart do
25422436 // Generates content of styleDefinitionsPart1.
25432437 private static void GenerateStyleDefinitionsPart1Content ( StyleDefinitionsPart styleDefinitionsPart1 )
25442438 {
2545- Styles styles1 = new Styles ( ) { MCAttributes = new MarkupCompatibilityAttributes ( ) { Ignorable = "w14 w15 w16se w16cid" } } ;
2546- styles1 . AddNamespaceDeclaration ( "mc" , "http://schemas.openxmlformats.org/markup-compatibility/2006" ) ;
2547- styles1 . AddNamespaceDeclaration ( "r" , "http://schemas.openxmlformats.org/officeDocument/2006/relationships" ) ;
2548- styles1 . AddNamespaceDeclaration ( "w" , "http://schemas.openxmlformats.org/wordprocessingml/2006/main" ) ;
2549- styles1 . AddNamespaceDeclaration ( "w14" , "http://schemas.microsoft.com/office/word/2010/wordml" ) ;
2550- styles1 . AddNamespaceDeclaration ( "w15" , "http://schemas.microsoft.com/office/word/2012/wordml" ) ;
2551- styles1 . AddNamespaceDeclaration ( "w16cid" , "http://schemas.microsoft.com/office/word/2016/wordml/cid" ) ;
2552- styles1 . AddNamespaceDeclaration ( "w16se" , "http://schemas.microsoft.com/office/word/2015/wordml/symex" ) ;
2439+ Styles styles1 = new Styles ( ) { MCAttributes = new MarkupCompatibilityAttributes ( ) } ;
25532440
25542441 DocDefaults docDefaults1 = new DocDefaults ( ) ;
25552442
@@ -3694,14 +3581,7 @@ private static void GenerateStyleDefinitionsPart1Content(StyleDefinitionsPart st
36943581 // Generates content of fontTablePart1.
36953582 private static void GenerateFontTablePart1Content ( FontTablePart fontTablePart1 )
36963583 {
3697- Fonts fonts1 = new Fonts ( ) { MCAttributes = new MarkupCompatibilityAttributes ( ) { Ignorable = "w14 w15 w16se w16cid" } } ;
3698- fonts1 . AddNamespaceDeclaration ( "mc" , "http://schemas.openxmlformats.org/markup-compatibility/2006" ) ;
3699- fonts1 . AddNamespaceDeclaration ( "r" , "http://schemas.openxmlformats.org/officeDocument/2006/relationships" ) ;
3700- fonts1 . AddNamespaceDeclaration ( "w" , "http://schemas.openxmlformats.org/wordprocessingml/2006/main" ) ;
3701- fonts1 . AddNamespaceDeclaration ( "w14" , "http://schemas.microsoft.com/office/word/2010/wordml" ) ;
3702- fonts1 . AddNamespaceDeclaration ( "w15" , "http://schemas.microsoft.com/office/word/2012/wordml" ) ;
3703- fonts1 . AddNamespaceDeclaration ( "w16cid" , "http://schemas.microsoft.com/office/word/2016/wordml/cid" ) ;
3704- fonts1 . AddNamespaceDeclaration ( "w16se" , "http://schemas.microsoft.com/office/word/2015/wordml/symex" ) ;
3584+ Fonts fonts1 = new Fonts ( ) { MCAttributes = new MarkupCompatibilityAttributes ( ) } ;
37053585
37063586 Font font1 = new Font ( ) { Name = "Times New Roman" } ;
37073587 Panose1Number panose1Number1 = new Panose1Number ( ) { Val = "02020603050405020304" } ;
0 commit comments