标签: powerpoint

并行化powershell脚本执行

我有8个powershell脚本.他们中很少有依赖.这意味着它们不能并行执行.它们应该一个接一个地执行.

一些Powershell脚本没有依赖性,它可以并行执行.

以下是详细解释的依赖关系

    Powershell scripts 1, 2, and 3 depend on nothing else
    Powershell script 4 depends on Powershell script 1
    Powershell script 5 depends on Powershell scripts 1, 2, and 3
    Powershell script 6 depends on Powershell scripts 3 and 4
    Powershell script 7 depends on Powershell scripts 5 and 6
    Powershell script 8 depends on Powershell script 5
Run Code Online (Sandbox Code Playgroud)

我知道通过手动硬编码可以实现依赖性.但是可以添加10个powershell脚本,并且可以添加它们之间的依赖性.

通过寻找依赖性,有没有人实现并行性?如果是这样,请分享我如何进行.

parallel-processing powershell powerpoint dependencies

1
推荐指数
1
解决办法
1628
查看次数

使用C#动态创建PowerPoint演示文稿

我已经尝试使用C#查看PowerPoint演示文稿的创建,但我无法找到如何从模板克隆幻灯片并使用C#动态添加图表到演示文稿幻灯片.

创建演示文稿后,也保存文件.

使用Aspose.slide for .NET

c# powerpoint

1
推荐指数
1
解决办法
9550
查看次数

如何在没有MS Powerpoint的计算机上在Delphi App中显示Powerpoint演示文稿?

我想构建一个自包含的Delphi应用程序,该应用程序包括显示一系列powepoint演示文稿的功能,而无需最终用户在其计算机上安装MS Powerpoint或MS Powerpoint查看器.

我想知道两件事:

  1. 这可能吗?
  2. 有什么vcl组件可以实现这一点?

更新:

Microsoft PowerPoint允许用户将演示文稿另存为Windows Media Video(.wmv).有几个组件允许您在Delphi中播放.wmv文件.这就是我使用Delphi解决挑战的方法.

delphi powerpoint vcl

1
推荐指数
1
解决办法
1552
查看次数

LibreOffice 命令行转换 - 没有输出文件?

我正在使用安装在 Linux 机器上的 LibreOffice,我似乎遇到了一个奇怪的问题,转换似乎正在发生,并且似乎没有错误,但是指定的输出目录中没有输出文件。

这是我正在使用的命令的示例:

/opt/libreoffice3.6/program/soffice --headless --invisible --convert-to pdf /dir/file.pptx --outdir /dir
Run Code Online (Sandbox Code Playgroud)

这是该命令的结果:

convert /dir/file.pptx -> /dir/file.pdf using impress_pdf_Export
Run Code Online (Sandbox Code Playgroud)

但问题是运行后转换 /dir/file.pdf 不存在。

你们有什么建议吗?

linux pdf powerpoint openoffice.org libreoffice

1
推荐指数
1
解决办法
6652
查看次数

如何在powerpoint中添加项目符号

看看这个截图:http://imagizer.imageshack.us/a/img844/4241/at9t.jpg ......这是来自Powerpoint.在那里你可以改变你的子弹.但是我创建了一个Powerpoint加载项,我需要在c#中更改项目符号.

这是如何添加第一个子弹(黑色小圆圈),但我想添加其他(白色大圆圈或其他).我怎样才能做到这一点?

char myCharacter = (char)9675; // white circle unicode
textRange.Paragraphs(i).ParagraphFormat.Bullet.Character = myCharacter;
textRange.Paragraphs(i).ParagraphFormat.Bullet.Type = PpBulletType.ppBulletUnnumbered;
Run Code Online (Sandbox Code Playgroud)

这是微软的网页,但我没有看到对我有用的东西. http://msdn.microsoft.com/en-us/library/microsoft.office.interop.powerpoint.ppbullettype(v=office.14).aspx

c# powerpoint

1
推荐指数
1
解决办法
1584
查看次数

OpenXML-为演示文稿中的幻灯片设置幻灯片布局

这是我用来创建演示文稿的代码。

我在这里尝试的是创建一张幻灯片并将形状插入其中并将幻灯片附加到已创建的演示文稿中。这很好用。

我的问题是如何设置插入幻灯片的布局。我的意思是这里的幻灯片布局是

slideLayoutpart.SlideLayout = new SlideLayout() {
    Type = SlideLayoutValues.VerticalTitleAndText
};
Run Code Online (Sandbox Code Playgroud)

我想将此布局设置为我的幻灯片。

我曾在此处使用幻灯片布局

Slide slide = new Slide(new CommonSlideData(new ShapeTree()));

uint drawingObjectId = 1;

// Construct the slide content.            
// Specify the non-visual properties of the new slide.
NonVisualGroupShapeProperties nonVisualProperties = slide.CommonSlideData.ShapeTree.AppendChild(new NonVisualGroupShapeProperties());
nonVisualProperties.NonVisualDrawingProperties = new NonVisualDrawingProperties() { Id = 1, Name = "" };
nonVisualProperties.NonVisualGroupShapeDrawingProperties = new NonVisualGroupShapeDrawingProperties();
nonVisualProperties.ApplicationNonVisualDrawingProperties = new ApplicationNonVisualDrawingProperties();

// Specify the group shape properties of the new slide.
slide.CommonSlideData.ShapeTree.AppendChild(new GroupShapeProperties()); …
Run Code Online (Sandbox Code Playgroud)

powerpoint openxml presentation openxml-sdk presentationml

1
推荐指数
1
解决办法
1888
查看次数

使用VBA从Excel打开PowerPoint演示文稿,然后将该演示文稿设置为变量

我必须将大量Excel图表发布到特定的PowerPoint文档中,然后在Excel VBA中构建一个宏来为我完成.

我能够正确地打开我想要更新的PowerPoint演示文稿,但是我不知道如何设置我刚刚打开的演示文稿到一个名为的变量MyPresentation.

Dim myPresentation As PowerPoint.Presentation
Dim PowerPointApp As PowerPoint.Application

PowerPointApp.Presentations.Open Filename:="obscured filepath and name"`
Run Code Online (Sandbox Code Playgroud)

显然还有一些额外的代码,但我正在尝试将我刚刚在第3行设置的Presentation设置为MyPresentation变量,这样我就可以引用刚刚打开的文档了.

excel powerpoint vba excel-vba powerpoint-vba

1
推荐指数
2
解决办法
5万
查看次数

将形状大小转换为厘米

我有用于更改形状大小的 VBA 代码,但我想将数字转换为厘米。关于如何转换这些数字的任何建议?
另一个问题是我想为多个选定的形状更改相同的大小;你能帮我解决这个问题吗?

非常感谢!

Sub test()
    Dim objHeigh As Integer
    Dim objWidth As Integer
    Dim oSh As Shape

    On Error GoTo CheckErrors

    With ActiveWindow.Selection.ShapeRange
        If .Count = 0 Then
            MsgBox "You need to select a shape first"
            Exit Sub
        End If
    End With

    For Each oSh In ActiveWindow.Selection.ShapeRange
        objHeigh = oSh.Height
        objWidth = oSh.Width

        objHeigh = CInt(InputBox$("Assign a new size of Height", "Heigh", objHeigh))
        ' give the user a way out
        If objHeigh = 0 Then
            Exit Sub
        End …
Run Code Online (Sandbox Code Playgroud)

powerpoint vba

1
推荐指数
1
解决办法
1万
查看次数

PowerPoint pptx文件中的这些字体是什么?

我想借助Apache POI收集pptx的字体信息。

我基本上typeface=是在PowerPoint幻灯片的xmlObject中搜索字符串。

在我的一些文件中,我可以看到包含搜索字符串的几行内容:

              <a:latin typeface="+mn-lt"/>
              <a:ea typeface="+mn-ea"/>
              <a:cs typeface="+mn-cs"/>
              <a:latin typeface="+mn-lt"/>
              <a:ea typeface="+mn-ea"/>
              <a:cs typeface="+mn-cs"/>
              <a:latin typeface="+mn-lt"/>
              <a:ea typeface="+mn-ea"/>
              <a:cs typeface="+mn-cs"/>
              <a:latin typeface="+mn-lt"/>
              <a:ea typeface="+mn-ea"/>
              <a:cs typeface="+mn-cs"/>
              <a:latin typeface="+mn-lt"/>
              <a:ea typeface="+mn-ea"/>
              <a:cs typeface="+mn-cs"/>
              <a:latin typeface="+mn-lt"/>
              <a:ea typeface="+mn-ea"/>
              <a:cs typeface="+mn-cs"/>
              <a:latin typeface="+mn-lt"/>
              <a:ea typeface="+mn-ea"/>
Run Code Online (Sandbox Code Playgroud)

但是,如果我检查文件属性对话框,则只能看到这些字体

在此处输入图片说明

没有+mn-lt+mn-ea

我的问题:

哪里字型脸喜欢+mn-ea+mn-cs来自哪里?

powerpoint apache-poi

1
推荐指数
1
解决办法
123
查看次数

有没有可能插入新的 SlideMaster?

我正在尝试将幻灯片添加到演示文稿中,但这张幻灯片有不同的主母版(主题、页脚等)。有没有办法使用 Interop.PowerPoint 将新的母版幻灯片添加到演示文稿中?

我研究了官方文档,但没有发现像其他图书馆那样的直接方法,比如 presentation.Masters.Add(newMaster);

c# powerpoint office-interop

1
推荐指数
1
解决办法
71
查看次数