update 20260412

This commit is contained in:
Stefan Hutter
2026-04-12 08:32:01 +02:00
parent 7a28e0c2bb
commit a110be5021
82 changed files with 2405 additions and 190 deletions

View File

@@ -366,34 +366,7 @@ namespace DOCGEN
//wordDocument.Properties.Hyphenation.
if (updatefields) { wordDocument.UpdateDocumentFields(); }
//FileStream dictornyrystream = new FileStream(AppDomain.CurrentDomain.BaseDirectory + @"\hyph_de_CH.dic", FileMode.Open, FileAccess.Read);
//Hyphenator.Dictionaries.Add("de-CH", dictornyrystream);
// Keine Parameter / Dokument als PDF konvertieren
//CultureInfo culture = new CultureInfo("de-CH");
//CultureInfo.DefaultThreadCurrentCulture = culture;
//CultureInfo.DefaultThreadCurrentUICulture = culture;
//foreach (WSection section in wordDocument.Sections)
//{
// foreach (WParagraph para in section.Paragraphs)
// {
// try
// {
// foreach (WTextRange textRange in para.ChildEntities)
// {
// try
// {
// textRange.CharacterFormat.LocaleIdASCII = (short)culture.LCID;
// textRange.CharacterFormat.LocaleIdFarEast = (short)culture.LCID;
// textRange.CharacterFormat.LocaleIdBidi = (short)culture.LCID;
// }
// catch { }
// }
// }
// catch { }
// }
//}
if (pdfparameters == null)