如何让PowerPoint在启动时重排文本? [英] How to get PowerPoint to reflow text on startup?

查看:98
本文介绍了如何让PowerPoint在启动时重排文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Open XML SDK编写powerpoint文件,我需要让PowerPoint在启动时重排文本。我正在为"溢出时收缩文本"设置PP的GUI选项。和"包裹文字形状"在我生成的pptx xml中,但是在我编辑文件之前,PowerPoint没有
重排文本。嵌入VB可能不是一个选项。

I'm writing powerpoint files with the Open XML SDK, and I need to get PowerPoint to reflow text on startup. I'm setting PP's GUI options for "Shrink text on overflow" and "Wrap text in shape" in my generated pptx xml, but PowerPoint doesn't reflow the text until I edit the file. Embedding VB probably isn't an option.

推荐答案

嗨Howard Rubin,

Hi Howard Rubin,

我试图在PowerPoint 2010,2013中重现此问题,但失败了。

I am trying to reproduce this issue in PowerPoint 2010, 2013, however failed.

以下是我的测试步骤:

1。创建演示文稿

2。创建两张幻灯片

3。在第一张幻灯片上创建一个形状并键入一些文本

3. Create a shape on first slide and type some text

4。将形状从第一张幻灯片复制到第二张幻灯片,然后设置"收缩文字溢出"。和"包裹文字形状"选项。

4. Copy the shape from the first slide to second slide and set the "Shrink text on overflow" and "Wrap text in shape" option.

5。保存演示文稿并使用zip文件扩展名重命名

5. Save the presentation and rename it with zip file extension

6。修改与第一张幻灯片上的形状相对应的XML,以模拟设置"溢出时收缩文本"。和"包裹文字形状"(默认情况下) 选项代码如下:

6. modify XML corresponding to the shape on the first the slide to simulate setting the "Shrink text on overflow" and "Wrap text in shape"(by default) option with code below:

<a:bodyPr wrap="square" rtlCol="0" anchor="ctr" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
  <a:normAutofit fontScale="70000" lnSpcReduction="20000" />
</a:bodyPr>

在PowerPoint 2010或PowerPoint 2013中打开演示文稿后,第一面的形状显示为第二种形状。

After I open the presentation in PowerPoint 2010 or PowerPoint 2013, the shape on the first side display well as the shape on the second shape.

您使用的是什么版本的PowerPoint?您是否愿意分享详细步骤以帮助我们重现此问题。

What's version of PowerPoint are you using? Would you minding sharing the detail steps to help us to reproduce this issue.

问候和费用


这篇关于如何让PowerPoint在启动时重排文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆