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