From f1f33f640f30b6b5c62cfded010e423e95eb65bc Mon Sep 17 00:00:00 2001 From: Suresh-Maran21 Date: Sun, 8 Dec 2024 20:43:21 +0530 Subject: [PATCH] Updated GitHub for FT changes --- .../Output/{Output.pptx => Result.pptx} | Bin .../Program.cs | 2 +- .../README.md | 2 +- .../Output/{Output.pptx => Result.pptx} | Bin .../.NET/Find-and-Replace-in-PowerPoint/Program.cs | 2 +- .../.NET/Find-and-Replace-in-PowerPoint/README.md | 2 +- .../Output/{Output0.jpg => Image0.jpg} | Bin .../Output/{Output1.jpg => Image1.jpg} | Bin .../Output/{Output2.jpg => Image2.jpg} | Bin .../Program.cs | 2 +- .../Output/{Output.jpg => Image.jpg} | Bin .../Convert-PowerPoint-slide-to-Image/Program.cs | 2 +- .../Convert-PowerPoint-slide-to-Image/README.md | 2 +- 13 files changed, 7 insertions(+), 7 deletions(-) rename Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/Output/{Output.pptx => Result.pptx} (100%) rename Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/Output/{Output.pptx => Result.pptx} (100%) rename PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/{Output0.jpg => Image0.jpg} (100%) rename PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/{Output1.jpg => Image1.jpg} (100%) rename PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/{Output2.jpg => Image2.jpg} (100%) rename PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/Output/{Output.jpg => Image.jpg} (100%) diff --git a/Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/Output/Output.pptx b/Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/Output/Result.pptx similarity index 100% rename from Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/Output/Output.pptx rename to Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/Output/Result.pptx diff --git a/Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/Program.cs b/Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/Program.cs index 23e314f0..b9284ca5 100644 --- a/Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/Program.cs +++ b/Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/Program.cs @@ -10,5 +10,5 @@ ISequence sequence = slide.Timeline.MainSequence; //Add bounce effect to the shape. IEffect bounceEffect = sequence.AddEffect(cubeShape, EffectType.Bounce, EffectSubtype.None, EffectTriggerType.OnClick); -using FileStream outputStream = new(Path.GetFullPath(@"Output/Output.pptx"), FileMode.Create, FileAccess.ReadWrite); +using FileStream outputStream = new(Path.GetFullPath(@"Output/Result.pptx"), FileMode.Create, FileAccess.ReadWrite); pptxDoc.Save(outputStream); \ No newline at end of file diff --git a/Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/README.md b/Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/README.md index 005cd49c..99ae6e73 100644 --- a/Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/README.md +++ b/Animations/Add-animation-effect-to-PowerPoint-shapes/.NET/Add-animation-effect-to-PowerPoint-shapes/README.md @@ -28,7 +28,7 @@ IShape cubeShape = slide.Shapes.AddShape(AutoShapeType.Cube, 100, 100, 300, 300) ISequence sequence = slide.Timeline.MainSequence; //Add bounce effect to the shape. IEffect bounceEffect = sequence.AddEffect(cubeShape, EffectType.Bounce, EffectSubtype.None, EffectTriggerType.OnClick); -using FileStream outputStream = new(Path.GetFullPath(@"Output/Output.pptx"), FileMode.Create, FileAccess.ReadWrite); +using FileStream outputStream = new(Path.GetFullPath(@"Output/Result.pptx"), FileMode.Create, FileAccess.ReadWrite); pptxDoc.Save(outputStream); ``` diff --git a/Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/Output/Output.pptx b/Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/Output/Result.pptx similarity index 100% rename from Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/Output/Output.pptx rename to Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/Output/Result.pptx diff --git a/Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/Program.cs b/Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/Program.cs index d4cdd8cd..66e88968 100644 --- a/Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/Program.cs +++ b/Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/Program.cs @@ -13,5 +13,5 @@ //Replace the text. textPart.Text = "Service"; } -using FileStream outputStream = new(Path.GetFullPath(@"Output/Output.pptx"), FileMode.Create, FileAccess.ReadWrite); +using FileStream outputStream = new(Path.GetFullPath(@"Output/Result.pptx"), FileMode.Create, FileAccess.ReadWrite); pptxDoc.Save(outputStream); \ No newline at end of file diff --git a/Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/README.md b/Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/README.md index 23b3188b..86f75d01 100644 --- a/Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/README.md +++ b/Find-and-Replace/Find-and-Replace-in-PowerPoint/.NET/Find-and-Replace-in-PowerPoint/README.md @@ -31,7 +31,7 @@ foreach (ITextSelection textSelection in textSelections) //Replace the text. textPart.Text = "Service"; } -using FileStream outputStream = new(Path.GetFullPath(@"Output/Output.pptx"), FileMode.Create, FileAccess.ReadWrite); +using FileStream outputStream = new(Path.GetFullPath(@"Output/Result.pptx"), FileMode.Create, FileAccess.ReadWrite); pptxDoc.Save(outputStream); ``` diff --git a/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Output0.jpg b/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Image0.jpg similarity index 100% rename from PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Output0.jpg rename to PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Image0.jpg diff --git a/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Output1.jpg b/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Image1.jpg similarity index 100% rename from PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Output1.jpg rename to PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Image1.jpg diff --git a/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Output2.jpg b/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Image2.jpg similarity index 100% rename from PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Output2.jpg rename to PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Output/Image2.jpg diff --git a/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Program.cs b/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Program.cs index db231886..994033f9 100644 --- a/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Program.cs +++ b/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/.NET/Convert-PowerPoint-presentation-to-Image/Program.cs @@ -24,7 +24,7 @@ static void Main(string[] args) using (Stream stream = images[i]) { //Save the image stream to a file. - using (FileStream fileStreamOutput = File.Create(Path.GetFullPath("Output/Output" + i + ".jpg"))) + using (FileStream fileStreamOutput = File.Create(Path.GetFullPath("Output/Image" + i + ".jpg"))) { stream.CopyTo(fileStreamOutput); } diff --git a/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/Output/Output.jpg b/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/Output/Image.jpg similarity index 100% rename from PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/Output/Output.jpg rename to PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/Output/Image.jpg diff --git a/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/Program.cs b/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/Program.cs index dd59a6a6..476695f0 100644 --- a/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/Program.cs +++ b/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/Program.cs @@ -13,7 +13,7 @@ using (Stream stream = pptxDoc.Slides[0].ConvertToImage(ExportImageFormat.Jpeg)) { //Save the image stream to a file. - using (FileStream fileStreamOutput = File.Create(Path.GetFullPath(@"Output/Output.jpg"))) + using (FileStream fileStreamOutput = File.Create(Path.GetFullPath(@"Output/Image.jpg"))) { stream.CopyTo(fileStreamOutput); } diff --git a/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/README.md b/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/README.md index 089c085f..0034d4f0 100644 --- a/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/README.md +++ b/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET/Convert-PowerPoint-slide-to-Image/README.md @@ -31,7 +31,7 @@ using (FileStream inputStream = new(Path.GetFullPath(@"Data/Template.pptx"), Fil using (Stream stream = pptxDoc.Slides[0].ConvertToImage(ExportImageFormat.Jpeg)) { //Create the output image file stream. - using (FileStream fileStreamOutput = File.Create(Path.GetFullPath(@"Output/Output.jpg"))) + using (FileStream fileStreamOutput = File.Create(Path.GetFullPath(@"Output/Image.jpg"))) { //Copy the converted image stream into created output stream. stream.CopyTo(fileStreamOutput);