update 20240925

This commit is contained in:
Stefan Hutter
2024-09-25 19:14:14 +02:00
parent d4b9318d96
commit 9fcecb2c35
324 changed files with 1886317 additions and 353 deletions

View File

@@ -32,7 +32,7 @@ namespace DOCGEN.Klassen
}
try
{
ITextSelection[] textSelections = pptxDoc.FindAll(property, false, false);
ITextSelection[] textSelections = pptxDoc.FindAll("{"+property+"}", false, false);
foreach (ITextSelection textSelection in textSelections)
{
@@ -40,17 +40,6 @@ namespace DOCGEN.Klassen
textPart.Text = value;
}
// ITextSelection[] textSelection = pptxDoc.FindAll(property, false, false);
// foreach (ITextSelection textSelection in textSelections)
// {
// //Get the found text as a single text part.
// ITextPart textPart = textSelection.GetAsOneTextPart();
// //Replace the text.
// textPart.Text = value;
// }
//// ITextPart textPart = textSelection.GetAsOneTextPart();
// // textPart.Text = value;
}
catch { }