Ai
5 Star 6 Fork 1

Gitee 极速下载/python-docx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/python-openxml/python-docx
克隆/下载
doc-styles.feature 598 Bytes
一键复制 编辑 原始数据 按行查看 历史
Steve Canny 提交于 2015-03-16 11:21 +08:00 . acpt: add scenarios for Document.settings
Feature: Access a document style
In order to operate on a particular document style
As a developer using python-docx
I access to each style in the document style collection
Scenario Outline: Access style in style collection
Given a document having <styles-state>
Then len(styles) is <style-count>
And I can iterate over its styles
And I can access a style by style id
And I can access a style by its UI name
Examples: having styles or not
| styles-state | style-count |
| a styles part | 6 |
| no styles part | 4 |
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/python-docx.git
git@gitee.com:mirrors/python-docx.git
mirrors
python-docx
python-docx
master

搜索帮助