更改Dropcap的字体 [英] Change Font of Dropcap

查看:76
本文介绍了更改Dropcap的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



 我的要求是更改文档中所有dropcaps的font-family。

我能做到这一点的唯一方法是迭代通过所有段落逐一检查是否有一个dropcap并更新相同。



如果文件有很多段落,这需要很长时间。

有没有一种有效的方法呢?



谢谢,¥b $ b Nandu

Hi,
 My requirement is to change the font-family of all the dropcaps in the document.
The only way I could do this is to iterate through all paragraphs one by one and check if this has a dropcap and update the same.

This takes a lot of time if the document has many paragraphs.
Is there an efficient way to do this?

Thanks,
Nandu

推荐答案

你好Nandu,

Hello Nandu,

没有DropCaps集合;每个Paragraph对象只包含一个DropCap对象。 (请访问
DropCap对象(Word) )所以没有任何其他方式来获取DropCap对象。 

There is no DropCaps collection; each Paragraph object contains only one DropCap object. (Please visit DropCap Object (Word) ) So there is no any other way to get the DropCap object. 

问候,

Celeste


这篇关于更改Dropcap的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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