pywpsrpc icon indicating copy to clipboard operation
pywpsrpc copied to clipboard

请问如何设置word标尺?

Open xlg-go opened this issue 4 years ago • 2 comments

把标尺设置成纸张的宽度,或者页边距的宽度。

xlg-go avatar Dec 01 '21 08:12 xlg-go

这个得查一下api :)

timxx avatar Dec 01 '21 14:12 timxx

这个得查一下api :)

@timxx 您好,找了几天,貌似没找到设置word标尺的方法。 倒是找到indent缩进相关的方法,但是对于我的这种情况,貌似设置右缩进是没有用的,但设置左缩进就是可以的。 您要是方便的话,能帮我一把吗?谢谢了!!! doc.Paragraphs.put_RightIndent(0.0)

image

c34a34bf-4ccd-460f-96c7-a54d8a608669.docx

xlg-go avatar Dec 07 '21 10:12 xlg-go