This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import docx | |
import sys | |
#日本語フォントの取得に必要?? | |
from docx.oxml.ns import qn | |
#パラグラフのリストを受け取り、 | |
#所属するrunsのフォント情報をチェックする関数 | |
def check_paragraphs_fonts(paragraphs, fonts_result, styles_result): | |
#各段落のrunを順番に見ていく |