outlinenumberingpage.ui 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="sw">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkAdjustment" id="adjustment1">
  6. <property name="upper">999</property>
  7. <property name="step_increment">1</property>
  8. <property name="page_increment">10</property>
  9. </object>
  10. <object class="GtkAdjustment" id="adjustment2">
  11. <property name="lower">1</property>
  12. <property name="upper">10</property>
  13. <property name="value">1</property>
  14. <property name="step_increment">1</property>
  15. <property name="page_increment">1</property>
  16. </object>
  17. <object class="GtkTreeStore" id="liststore1">
  18. <columns>
  19. <!-- column-name text -->
  20. <column type="gchararray"/>
  21. <!-- column-name id -->
  22. <column type="gchararray"/>
  23. </columns>
  24. </object>
  25. <!-- n-columns=1 n-rows=1 -->
  26. <object class="GtkGrid" id="OutlineNumberingPage">
  27. <property name="visible">True</property>
  28. <property name="can_focus">False</property>
  29. <property name="border_width">6</property>
  30. <property name="row_spacing">6</property>
  31. <property name="column_spacing">12</property>
  32. <child>
  33. <object class="GtkFrame" id="frame1">
  34. <property name="visible">True</property>
  35. <property name="can_focus">False</property>
  36. <property name="label_xalign">0</property>
  37. <property name="shadow_type">none</property>
  38. <child>
  39. <object class="GtkAlignment" id="alignment1">
  40. <property name="visible">True</property>
  41. <property name="can_focus">False</property>
  42. <property name="top_padding">6</property>
  43. <property name="left_padding">12</property>
  44. <child>
  45. <object class="GtkScrolledWindow">
  46. <property name="width_request">50</property>
  47. <property name="visible">True</property>
  48. <property name="can_focus">True</property>
  49. <property name="shadow_type">in</property>
  50. <child>
  51. <object class="GtkTreeView" id="level">
  52. <property name="visible">True</property>
  53. <property name="can_focus">True</property>
  54. <property name="model">liststore1</property>
  55. <property name="headers_visible">False</property>
  56. <property name="headers_clickable">False</property>
  57. <property name="search_column">0</property>
  58. <property name="show_expanders">False</property>
  59. <child internal-child="selection">
  60. <object class="GtkTreeSelection" id="treeview-selection1"/>
  61. </child>
  62. <child>
  63. <object class="GtkTreeViewColumn" id="treeviewcolumn1">
  64. <child>
  65. <object class="GtkCellRendererText" id="cellrenderertext1"/>
  66. <attributes>
  67. <attribute name="text">0</attribute>
  68. </attributes>
  69. </child>
  70. </object>
  71. </child>
  72. <child internal-child="accessible">
  73. <object class="AtkObject" id="level-atkobject">
  74. <property name="AtkObject::accessible-description" translatable="yes" context="outlinenumberingpage|extended_tip|level">Click the chapter and outline level that you want to modify, and then specify the numbering options for the level.</property>
  75. </object>
  76. </child>
  77. </object>
  78. </child>
  79. </object>
  80. </child>
  81. </object>
  82. </child>
  83. <child type="label">
  84. <object class="GtkLabel" id="label1">
  85. <property name="visible">True</property>
  86. <property name="can_focus">False</property>
  87. <property name="label" translatable="yes" context="outlinenumberingpage|label1">Level</property>
  88. <property name="use_underline">True</property>
  89. <attributes>
  90. <attribute name="weight" value="bold"/>
  91. </attributes>
  92. </object>
  93. </child>
  94. </object>
  95. <packing>
  96. <property name="left_attach">0</property>
  97. <property name="top_attach">0</property>
  98. <property name="height">2</property>
  99. </packing>
  100. </child>
  101. <child>
  102. <object class="GtkFrame" id="frame2">
  103. <property name="visible">True</property>
  104. <property name="can_focus">False</property>
  105. <property name="label_xalign">0</property>
  106. <property name="shadow_type">none</property>
  107. <child>
  108. <object class="GtkAlignment" id="alignment2">
  109. <property name="visible">True</property>
  110. <property name="can_focus">False</property>
  111. <property name="top_padding">6</property>
  112. <property name="left_padding">12</property>
  113. <child>
  114. <!-- n-columns=1 n-rows=1 -->
  115. <object class="GtkGrid" id="grid2">
  116. <property name="visible">True</property>
  117. <property name="can_focus">False</property>
  118. <property name="row_spacing">6</property>
  119. <property name="column_spacing">12</property>
  120. <child>
  121. <object class="GtkLabel" id="label3">
  122. <property name="visible">True</property>
  123. <property name="can_focus">False</property>
  124. <property name="label" translatable="yes" context="outlinenumberingpage|label3">Paragraph style:</property>
  125. <property name="use_underline">True</property>
  126. <property name="mnemonic_widget">style</property>
  127. <property name="xalign">0</property>
  128. </object>
  129. <packing>
  130. <property name="left_attach">0</property>
  131. <property name="top_attach">2</property>
  132. </packing>
  133. </child>
  134. <child>
  135. <object class="GtkComboBoxText" id="style">
  136. <property name="visible">True</property>
  137. <property name="can_focus">False</property>
  138. <property name="hexpand">True</property>
  139. <child internal-child="accessible">
  140. <object class="AtkObject" id="style-atkobject">
  141. <property name="AtkObject::accessible-description" translatable="yes" context="outlinenumberingpage|extended_tip|style">Select the paragraph style that you want to assign to the selected chapter and outline level.</property>
  142. </object>
  143. </child>
  144. </object>
  145. <packing>
  146. <property name="left_attach">1</property>
  147. <property name="top_attach">2</property>
  148. </packing>
  149. </child>
  150. <child>
  151. <object class="GtkLabel" id="label4">
  152. <property name="visible">True</property>
  153. <property name="can_focus">False</property>
  154. <property name="label" translatable="yes" context="outlinenumberingpage|label4">Number:</property>
  155. <property name="use_underline">True</property>
  156. <property name="mnemonic_widget">numbering</property>
  157. <property name="xalign">0</property>
  158. </object>
  159. <packing>
  160. <property name="left_attach">0</property>
  161. <property name="top_attach">0</property>
  162. </packing>
  163. </child>
  164. <child>
  165. <object class="GtkLabel" id="label5">
  166. <property name="visible">True</property>
  167. <property name="can_focus">False</property>
  168. <property name="label" translatable="yes" context="outlinenumberingpage|label5">Character style:</property>
  169. <property name="use_underline">True</property>
  170. <property name="mnemonic_widget">charstyle</property>
  171. <property name="xalign">0</property>
  172. </object>
  173. <packing>
  174. <property name="left_attach">0</property>
  175. <property name="top_attach">3</property>
  176. </packing>
  177. </child>
  178. <child>
  179. <object class="GtkLabel" id="sublevelsft">
  180. <property name="visible">True</property>
  181. <property name="can_focus">False</property>
  182. <property name="label" translatable="yes" context="outlinenumberingpage|sublevelsft">Show sublevels:</property>
  183. <property name="use_underline">True</property>
  184. <property name="mnemonic_widget">sublevelsnf</property>
  185. <property name="xalign">0</property>
  186. </object>
  187. <packing>
  188. <property name="left_attach">0</property>
  189. <property name="top_attach">4</property>
  190. </packing>
  191. </child>
  192. <child>
  193. <object class="GtkComboBoxText" id="numbering">
  194. <property name="visible">True</property>
  195. <property name="can_focus">False</property>
  196. <property name="hexpand">True</property>
  197. <child internal-child="accessible">
  198. <object class="AtkObject" id="numbering-atkobject">
  199. <property name="AtkObject::accessible-description" translatable="yes" context="outlinenumberingpage|extended_tip|numbering">Select the numbering style that you want to apply to the selected outline level.</property>
  200. </object>
  201. </child>
  202. </object>
  203. <packing>
  204. <property name="left_attach">1</property>
  205. <property name="top_attach">0</property>
  206. </packing>
  207. </child>
  208. <child>
  209. <object class="GtkComboBoxText" id="charstyle">
  210. <property name="visible">True</property>
  211. <property name="can_focus">False</property>
  212. <property name="hexpand">True</property>
  213. <child internal-child="accessible">
  214. <object class="AtkObject" id="charstyle-atkobject">
  215. <property name="AtkObject::accessible-description" translatable="yes" context="outlinenumberingpage|extended_tip|charstyle">Select the format of the numbering character.</property>
  216. </object>
  217. </child>
  218. </object>
  219. <packing>
  220. <property name="left_attach">1</property>
  221. <property name="top_attach">3</property>
  222. </packing>
  223. </child>
  224. <child>
  225. <object class="GtkSpinButton" id="sublevelsnf">
  226. <property name="visible">True</property>
  227. <property name="sensitive">False</property>
  228. <property name="can_focus">True</property>
  229. <property name="hexpand">True</property>
  230. <property name="activates_default">True</property>
  231. <property name="adjustment">adjustment2</property>
  232. <property name="value">1</property>
  233. <property name="truncate-multiline">True</property>
  234. <child internal-child="accessible">
  235. <object class="AtkObject" id="sublevelsnf-atkobject">
  236. <property name="AtkObject::accessible-description" translatable="yes" context="outlinenumberingpage|extended_tip|sublevelsnf">Select the number of outline levels to include in the chapter numbering. For example, select "3" to display three levels of chapter numbering: 1.1.1</property>
  237. </object>
  238. </child>
  239. </object>
  240. <packing>
  241. <property name="left_attach">1</property>
  242. <property name="top_attach">4</property>
  243. </packing>
  244. </child>
  245. <child>
  246. <object class="GtkLabel" id="label10">
  247. <property name="visible">True</property>
  248. <property name="can_focus">False</property>
  249. <property name="label" translatable="yes" context="outlinenumberingpage|label10">Start at:</property>
  250. <property name="use_underline">True</property>
  251. <property name="mnemonic_widget">startat</property>
  252. <property name="xalign">0</property>
  253. </object>
  254. <packing>
  255. <property name="left_attach">0</property>
  256. <property name="top_attach">1</property>
  257. </packing>
  258. </child>
  259. <child>
  260. <object class="GtkSpinButton" id="startat">
  261. <property name="visible">True</property>
  262. <property name="can_focus">True</property>
  263. <property name="hexpand">True</property>
  264. <property name="activates_default">True</property>
  265. <property name="adjustment">adjustment1</property>
  266. <property name="truncate-multiline">True</property>
  267. <child internal-child="accessible">
  268. <object class="AtkObject" id="startat-atkobject">
  269. <property name="AtkObject::accessible-description" translatable="yes" context="outlinenumberingpage|extended_tip|startat">Enter the number that you want to restart the chapter numbering at.</property>
  270. </object>
  271. </child>
  272. </object>
  273. <packing>
  274. <property name="left_attach">1</property>
  275. <property name="top_attach">1</property>
  276. </packing>
  277. </child>
  278. </object>
  279. </child>
  280. </object>
  281. </child>
  282. <child type="label">
  283. <object class="GtkLabel" id="label2">
  284. <property name="visible">True</property>
  285. <property name="can_focus">False</property>
  286. <property name="label" translatable="yes" context="outlinenumberingpage|label2">Numbering</property>
  287. <attributes>
  288. <attribute name="weight" value="bold"/>
  289. </attributes>
  290. </object>
  291. </child>
  292. </object>
  293. <packing>
  294. <property name="left_attach">1</property>
  295. <property name="top_attach">0</property>
  296. </packing>
  297. </child>
  298. <child>
  299. <object class="GtkFrame" id="frame3">
  300. <property name="visible">True</property>
  301. <property name="can_focus">False</property>
  302. <property name="hexpand">True</property>
  303. <property name="vexpand">True</property>
  304. <property name="label_xalign">0</property>
  305. <property name="shadow_type">none</property>
  306. <child>
  307. <object class="GtkAlignment" id="alignment5">
  308. <property name="visible">True</property>
  309. <property name="can_focus">False</property>
  310. <property name="hexpand">True</property>
  311. <property name="vexpand">True</property>
  312. <property name="top_padding">6</property>
  313. <property name="left_padding">12</property>
  314. <child>
  315. <object class="GtkBox" id="box1">
  316. <property name="visible">True</property>
  317. <property name="can_focus">False</property>
  318. <property name="spacing">12</property>
  319. <child>
  320. <object class="GtkDrawingArea" id="preview">
  321. <property name="width_request">150</property>
  322. <property name="height_request">260</property>
  323. <property name="visible">True</property>
  324. <property name="can_focus">False</property>
  325. </object>
  326. <packing>
  327. <property name="expand">True</property>
  328. <property name="fill">True</property>
  329. <property name="position">0</property>
  330. </packing>
  331. </child>
  332. </object>
  333. </child>
  334. </object>
  335. </child>
  336. <child type="label">
  337. <object class="GtkLabel" id="label17">
  338. <property name="visible">True</property>
  339. <property name="can_focus">False</property>
  340. <property name="label" translatable="yes" context="outlinenumberingpage|label17">Preview</property>
  341. <attributes>
  342. <attribute name="weight" value="bold"/>
  343. </attributes>
  344. </object>
  345. </child>
  346. </object>
  347. <packing>
  348. <property name="left_attach">2</property>
  349. <property name="top_attach">0</property>
  350. <property name="height">2</property>
  351. </packing>
  352. </child>
  353. <child>
  354. <object class="GtkFrame" id="frame4">
  355. <property name="visible">True</property>
  356. <property name="can_focus">False</property>
  357. <property name="label_xalign">0</property>
  358. <property name="shadow_type">none</property>
  359. <child>
  360. <object class="GtkAlignment" id="alignment3">
  361. <property name="visible">True</property>
  362. <property name="can_focus">False</property>
  363. <property name="top_padding">6</property>
  364. <property name="left_padding">12</property>
  365. <child>
  366. <!-- n-columns=1 n-rows=1 -->
  367. <object class="GtkGrid" id="grid1">
  368. <property name="visible">True</property>
  369. <property name="can_focus">False</property>
  370. <property name="row_spacing">6</property>
  371. <property name="column_spacing">12</property>
  372. <child>
  373. <object class="GtkEntry" id="prefix">
  374. <property name="visible">True</property>
  375. <property name="can_focus">True</property>
  376. <property name="hexpand">True</property>
  377. <property name="activates_default">True</property>
  378. <property name="truncate-multiline">True</property>
  379. <child internal-child="accessible">
  380. <object class="AtkObject" id="prefix-atkobject">
  381. <property name="AtkObject::accessible-description" translatable="yes" context="outlinenumberingpage|extended_tip|prefix">Enter the text that you want to display before the chapter number.</property>
  382. </object>
  383. </child>
  384. </object>
  385. <packing>
  386. <property name="left_attach">1</property>
  387. <property name="top_attach">0</property>
  388. </packing>
  389. </child>
  390. <child>
  391. <object class="GtkEntry" id="suffix">
  392. <property name="visible">True</property>
  393. <property name="can_focus">True</property>
  394. <property name="hexpand">True</property>
  395. <property name="activates_default">True</property>
  396. <property name="truncate-multiline">True</property>
  397. <child internal-child="accessible">
  398. <object class="AtkObject" id="suffix-atkobject">
  399. <property name="AtkObject::accessible-description" translatable="yes" context="outlinenumberingpage|extended_tip|suffix">Enter the text that you want to display after the chapter number.</property>
  400. </object>
  401. </child>
  402. </object>
  403. <packing>
  404. <property name="left_attach">1</property>
  405. <property name="top_attach">1</property>
  406. </packing>
  407. </child>
  408. <child>
  409. <object class="GtkLabel" id="label8">
  410. <property name="visible">True</property>
  411. <property name="can_focus">False</property>
  412. <property name="label" translatable="yes" context="outlinenumberingpage|label8">Before:</property>
  413. <property name="use_underline">True</property>
  414. <property name="mnemonic_widget">prefix</property>
  415. <property name="xalign">0</property>
  416. </object>
  417. <packing>
  418. <property name="left_attach">0</property>
  419. <property name="top_attach">0</property>
  420. </packing>
  421. </child>
  422. <child>
  423. <object class="GtkLabel" id="label9">
  424. <property name="visible">True</property>
  425. <property name="can_focus">False</property>
  426. <property name="label" translatable="yes" context="outlinenumberingpage|label9">After:</property>
  427. <property name="use_underline">True</property>
  428. <property name="mnemonic_widget">suffix</property>
  429. <property name="xalign">0</property>
  430. </object>
  431. <packing>
  432. <property name="left_attach">0</property>
  433. <property name="top_attach">1</property>
  434. </packing>
  435. </child>
  436. </object>
  437. </child>
  438. </object>
  439. </child>
  440. <child type="label">
  441. <object class="GtkLabel" id="label6">
  442. <property name="visible">True</property>
  443. <property name="can_focus">False</property>
  444. <property name="label" translatable="yes" context="outlinenumberingpage|label7">Separator</property>
  445. <property name="xalign">0</property>
  446. <attributes>
  447. <attribute name="weight" value="bold"/>
  448. </attributes>
  449. </object>
  450. </child>
  451. </object>
  452. <packing>
  453. <property name="left_attach">1</property>
  454. <property name="top_attach">1</property>
  455. </packing>
  456. </child>
  457. </object>
  458. <object class="GtkSizeGroup" id="sizegroupLabel">
  459. <widgets>
  460. <widget name="label3"/>
  461. <widget name="label4"/>
  462. <widget name="label5"/>
  463. <widget name="sublevelsft"/>
  464. <widget name="label10"/>
  465. </widgets>
  466. </object>
  467. <object class="GtkSizeGroup" id="sizegroupWidget">
  468. <widgets>
  469. <widget name="style"/>
  470. <widget name="numbering"/>
  471. <widget name="charstyle"/>
  472. <widget name="sublevelsnf"/>
  473. <widget name="prefix"/>
  474. <widget name="suffix"/>
  475. <widget name="startat"/>
  476. </widgets>
  477. </object>
  478. </interface>