Skip to content

Commit

Permalink
Merge branch 'AddCustomLists' of https://github.com/EvotecIT/OfficeIMO
Browse files Browse the repository at this point in the history
…into AddCustomLists
  • Loading branch information
PrzemyslawKlys committed Dec 11, 2024
2 parents 31b34ad + 45bb633 commit 0917c00
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 79 deletions.
160 changes: 82 additions & 78 deletions OfficeIMO.Examples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ static void Main(string[] args) {
BasicDocument.Example_BasicWordWithLineSpacing(folderPath, false);
BasicDocument.Example_BasicWordWithSomeParagraphs(folderPath, false);

// AdvancedDocument.Example_AdvancedWord(folderPath, false);
// AdvancedDocument.Example_AdvancedWord2(folderPath, false);
AdvancedDocument.Example_AdvancedWord(folderPath, false);
AdvancedDocument.Example_AdvancedWord2(folderPath, false);

// Paragraphs.Example_BasicParagraphs(folderPath, false);
// Paragraphs.Example_BasicParagraphStyles(folderPath, false);
// Paragraphs.Example_MultipleParagraphsViaDifferentWays(folderPath, false);
// Paragraphs.Example_BasicTabStops(folderPath, false);
Paragraphs.Example_BasicParagraphs(folderPath, false);
Paragraphs.Example_BasicParagraphStyles(folderPath, false);
Paragraphs.Example_MultipleParagraphsViaDifferentWays(folderPath, false);
Paragraphs.Example_BasicTabStops(folderPath, false);

// BasicDocument.Example_BasicDocument(folderPath, false);
// BasicDocument.Example_BasicDocumentSaveAs1(folderPath, false);
// BasicDocument.Example_BasicDocumentSaveAs2(folderPath, false);
// BasicDocument.Example_BasicDocumentSaveAs3(folderPath, false);
// BasicDocument.Example_BasicDocumentWithoutUsing(folderPath, false);
BasicDocument.Example_BasicDocument(folderPath, false);
BasicDocument.Example_BasicDocumentSaveAs1(folderPath, false);
BasicDocument.Example_BasicDocumentSaveAs2(folderPath, false);
BasicDocument.Example_BasicDocumentSaveAs3(folderPath, false);
BasicDocument.Example_BasicDocumentWithoutUsing(folderPath, false);

Lists.Example_BasicLists(folderPath, false);
Lists.Example_BasicLists6(folderPath, false);
Expand All @@ -55,6 +55,10 @@ static void Main(string[] args) {
Lists.Example_BasicLists2Load(folderPath, false);
Lists.Example_BasicLists7(folderPath, false);
Lists.Example_BasicLists8(folderPath, false);

Lists.Example_CustomList1(folderPath, true);
Tables.Example_BasicTables1(folderPath, true);

Tables.Example_BasicTables1(folderPath, false);
Tables.Example_BasicTablesLoad1(folderPath, false);
Tables.Example_BasicTablesLoad2(templatesPath, folderPath, false);
Expand All @@ -68,74 +72,74 @@ static void Main(string[] args) {
Tables.Example_BasicTables8(folderPath, false);
Tables.Example_Tables1CopyRow(folderPath, false);

// PageSettings.Example_BasicSettings(folderPath, false);
// PageSettings.Example_PageOrientation(folderPath, false);
PageSettings.Example_BasicSettings(folderPath, false);
PageSettings.Example_PageOrientation(folderPath, false);

// PageNumbers.Example_PageNumbers1(folderPath, false);
PageNumbers.Example_PageNumbers1(folderPath, false);

// Sections.Example_BasicSections(folderPath, false);
// Sections.Example_BasicSections2(folderPath, false);
// Sections.Example_BasicSections3WithColumns(folderPath, false);
// Sections.Example_SectionsWithParagraphs(folderPath, false);
// Sections.Example_SectionsWithHeadersDefault(folderPath, false);
// Sections.Example_SectionsWithHeaders(folderPath, false);
// Sections.Example_BasicWordWithSections(folderPath, false);
Sections.Example_BasicSections(folderPath, false);
Sections.Example_BasicSections2(folderPath, false);
Sections.Example_BasicSections3WithColumns(folderPath, false);
Sections.Example_SectionsWithParagraphs(folderPath, false);
Sections.Example_SectionsWithHeadersDefault(folderPath, false);
Sections.Example_SectionsWithHeaders(folderPath, false);
Sections.Example_BasicWordWithSections(folderPath, false);

// CoverPages.Example_AddingCoverPage(folderPath, false);
// CoverPages.Example_AddingCoverPage2(folderPath, false);
CoverPages.Example_AddingCoverPage(folderPath, false);
CoverPages.Example_AddingCoverPage2(folderPath, false);

// LoadDocuments.LoadWordDocument_Sample1(false);
// LoadDocuments.LoadWordDocument_Sample2(false);
// LoadDocuments.LoadWordDocument_Sample3(false);
LoadDocuments.LoadWordDocument_Sample1(false);
LoadDocuments.LoadWordDocument_Sample2(false);
LoadDocuments.LoadWordDocument_Sample3(false);

// CustomAndBuiltinProperties.Example_BasicDocumentProperties(folderPath, false);
// CustomAndBuiltinProperties.Example_ReadWord(false);
// CustomAndBuiltinProperties.Example_BasicCustomProperties(folderPath, false);
// CustomAndBuiltinProperties.Example_ValidateDocument(folderPath);
// CustomAndBuiltinProperties.Example_ValidateDocument_BeforeSave();
// CustomAndBuiltinProperties.Example_LoadDocumentWithProperties(false);
// CustomAndBuiltinProperties.Example_Load(false);
CustomAndBuiltinProperties.Example_BasicDocumentProperties(folderPath, false);
CustomAndBuiltinProperties.Example_ReadWord(false);
CustomAndBuiltinProperties.Example_BasicCustomProperties(folderPath, false);
CustomAndBuiltinProperties.Example_ValidateDocument(folderPath);
CustomAndBuiltinProperties.Example_ValidateDocument_BeforeSave();
CustomAndBuiltinProperties.Example_LoadDocumentWithProperties(false);
CustomAndBuiltinProperties.Example_Load(false);

// HyperLinks.EasyExample(folderPath, false);
// HyperLinks.Example_BasicWordWithHyperLinks(folderPath, false);
// HyperLinks.Example_AddingFields(folderPath, false);
// HyperLinks.Example_BasicWordWithHyperLinksInTables(folderPath, false);
HyperLinks.EasyExample(folderPath, false);
HyperLinks.Example_BasicWordWithHyperLinks(folderPath, false);
HyperLinks.Example_AddingFields(folderPath, false);
HyperLinks.Example_BasicWordWithHyperLinksInTables(folderPath, false);

// HeadersAndFooters.Sections1(folderPath, false);
// HeadersAndFooters.Example_BasicWordWithHeaderAndFooter0(folderPath, false);
// HeadersAndFooters.Example_BasicWordWithHeaderAndFooter(folderPath, false);
// HeadersAndFooters.Example_BasicWordWithHeaderAndFooter1(folderPath, false);
HeadersAndFooters.Sections1(folderPath, false);
HeadersAndFooters.Example_BasicWordWithHeaderAndFooter0(folderPath, false);
HeadersAndFooters.Example_BasicWordWithHeaderAndFooter(folderPath, false);
HeadersAndFooters.Example_BasicWordWithHeaderAndFooter1(folderPath, false);

// Charts.Example_AddingMultipleCharts(folderPath, false);
Charts.Example_AddingMultipleCharts(folderPath, false);

// Images.Example_AddingImages(folderPath, false);
// Images.Example_ReadWordWithImages();
// Images.Example_AddingImagesMultipleTypes(folderPath, false);
// Images.Example_ReadWordWithImagesAndDiffWraps();
// Images.Example_AddingFixedImages(folderPath, false);
// Images.Example_AddingImagesSampleToTable(folderPath, false);
Images.Example_AddingImages(folderPath, false);
Images.Example_ReadWordWithImages();
Images.Example_AddingImagesMultipleTypes(folderPath, false);
Images.Example_ReadWordWithImagesAndDiffWraps();
Images.Example_AddingFixedImages(folderPath, false);
Images.Example_AddingImagesSampleToTable(folderPath, false);

// PageBreaks.Example_PageBreaks(folderPath, false);
// PageBreaks.Example_PageBreaks1(folderPath, false);
PageBreaks.Example_PageBreaks(folderPath, false);
PageBreaks.Example_PageBreaks1(folderPath, false);

// HeadersAndFooters.Example_BasicWordWithHeaderAndFooterWithoutSections(folderPath, false);
HeadersAndFooters.Example_BasicWordWithHeaderAndFooterWithoutSections(folderPath, false);

// TOC.Example_BasicTOC1(folderPath, false);
// TOC.Example_BasicTOC2(folderPath, false);
TOC.Example_BasicTOC1(folderPath, false);
TOC.Example_BasicTOC2(folderPath, false);

// Comments.Example_PlayingWithComments(folderPath, false);
Comments.Example_PlayingWithComments(folderPath, false);

// BasicExcelFunctionality.BasicExcel_Example1(folderPath, false);
// BasicExcelFunctionality.BasicExcel_Example2(folderPath, false);
// BasicExcelFunctionality.BasicExcel_Example3(false);
BasicExcelFunctionality.BasicExcel_Example1(folderPath, false);
BasicExcelFunctionality.BasicExcel_Example2(folderPath, false);
BasicExcelFunctionality.BasicExcel_Example3(false);

// BordersAndMargins.Example_BasicWordMarginsSizes(folderPath, false);
// BordersAndMargins.Example_BasicPageBorders1(folderPath, false);
// BordersAndMargins.Example_BasicPageBorders2(folderPath, false);
BordersAndMargins.Example_BasicWordMarginsSizes(folderPath, false);
BordersAndMargins.Example_BasicPageBorders1(folderPath, false);
BordersAndMargins.Example_BasicPageBorders2(folderPath, false);

// Bookmarks.Example_BasicWordWithBookmarks(folderPath, false);
// Fields.Example_DocumentWithFields(folderPath, false);
// Fields.Example_DocumentWithFields02(folderPath, false);
Bookmarks.Example_BasicWordWithBookmarks(folderPath, false);
Fields.Example_DocumentWithFields(folderPath, false);
Fields.Example_DocumentWithFields02(folderPath, false);

Watermark.Watermark_Sample2(folderPath, false);
Watermark.Watermark_Sample1(folderPath, false);
Expand All @@ -149,26 +153,26 @@ static void Main(string[] args) {
Embed.Example_EmbedFileMultiple(folderPath, templatesPath, false);
Embed.Example_EmbedHTMLFragment(folderPath, false);

// CleanupDocuments.CleanupDocuments_Sample01(false);
// CleanupDocuments.CleanupDocuments_Sample02(folderPath, false);
CleanupDocuments.CleanupDocuments_Sample01(false);
CleanupDocuments.CleanupDocuments_Sample02(folderPath, false);

// FindAndReplace.Example_FindAndReplace01(folderPath, false);
// FindAndReplace.Example_FindAndReplace02(folderPath, false);
FindAndReplace.Example_FindAndReplace01(folderPath, false);
FindAndReplace.Example_FindAndReplace02(folderPath, false);

// FootNotes.Example_DocumentWithFootNotes(templatesPath, false);
// FootNotes.Example_DocumentWithFootNotesEmpty(folderPath, false);
FootNotes.Example_DocumentWithFootNotes(templatesPath, false);
FootNotes.Example_DocumentWithFootNotesEmpty(folderPath, false);

// SaveToStream.Example_StreamDocumentProperties(folderPath, false);
SaveToStream.Example_StreamDocumentProperties(folderPath, false);

// Protect.Example_ProtectFinalDocument(folderPath, false);
// Protect.Example_ProtectAlwaysReadOnly(folderPath, false);
Protect.Example_ProtectFinalDocument(folderPath, false);
Protect.Example_ProtectAlwaysReadOnly(folderPath, false);

// WordTextBox.Example_AddingTextbox(folderPath, false);
// WordTextBox.Example_AddingTextbox2(folderPath, false);
// WordTextBox.Example_AddingTextbox4(folderPath, false);
// WordTextBox.Example_AddingTextbox5(folderPath, false);
// WordTextBox.Example_AddingTextbox3(folderPath, false);
// WordTextBox.Example_AddingTextboxCentimeters(folderPath, false);
WordTextBox.Example_AddingTextbox(folderPath, false);
WordTextBox.Example_AddingTextbox2(folderPath, false);
WordTextBox.Example_AddingTextbox4(folderPath, false);
WordTextBox.Example_AddingTextbox5(folderPath, false);
WordTextBox.Example_AddingTextbox3(folderPath, false);
WordTextBox.Example_AddingTextboxCentimeters(folderPath, false);
}
}
}
4 changes: 3 additions & 1 deletion OfficeImo.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=nsid/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=rsid/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Twips/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

0 comments on commit 0917c00

Please sign in to comment.