Skip to content

Commit 403dd84

Browse files
committed
完成將 ”漢字注音“ 工作表轉換成 HTML 網頁功能.
1 parent e67e5dd commit 403dd84

File tree

6 files changed

+720
-2
lines changed

6 files changed

+720
-2
lines changed

Tai_Gi_Zu_Im_Bun.xlsx

2.02 KB
Binary file not shown.

a700_Iong_Excel_Piau_Zu_Im.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import settings
99
from a720_Thiam_Zu_Im import thiam_zu_im
10+
from p730_Tng_Sing_Bang_Iah import tng_sing_bang_iah
1011

1112

1213
def get_input_and_output_options(argv):
@@ -69,12 +70,12 @@ def get_input_and_output_options(argv):
6970
# - 上方:台語音標
7071
# - 下方:台語注音符號
7172
# =========================================================================
72-
thiam_zu_im(CONVERT_FILE_NAME)
73+
# thiam_zu_im(CONVERT_FILE_NAME)
7374

7475
# =========================================================================
7576
# (4) 將已注音之「漢字注音表」,製作成 HTML 格式之「注音/拼音/標音」網頁。
7677
# =========================================================================
77-
# hoo_gua_tsu_im(CONVERT_FILE_NAME)
78+
tng_sing_bang_iah(CONVERT_FILE_NAME)
7879

7980
# =========================================================================
8081
# (5) 依據《文章標題》另存新檔。

a720_Thiam_Zu_Im.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,10 @@ def thiam_zu_im(file_name, sheet_name='漢字注音', cell='V3'):
6565
# 保存 Excel 檔案
6666
wb.save('Tai_Gi_Zu_Im_Bun.xlsx')
6767
# wb.close()
68+
69+
# 令人工手動填入的台語音標和注音符號不要顯示
70+
71+
# 選擇名為 "顯示注音輸入" 的命名範圍
72+
named_range = wb.names['顯示注音輸入']
73+
74+
named_range.refers_to_range.value = False

0 commit comments

Comments
 (0)