update 20260412
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user