dropcapspage.ui 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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="adjustmentFLD_DISTANCE">
  6. <property name="upper">2</property>
  7. <property name="step_increment">0.1</property>
  8. <property name="page_increment">1</property>
  9. </object>
  10. <object class="GtkAdjustment" id="adjustmentFLD_DROPCAPS">
  11. <property name="lower">1</property>
  12. <property name="upper">9</property>
  13. <property name="step_increment">1</property>
  14. <property name="page_increment">1</property>
  15. </object>
  16. <object class="GtkAdjustment" id="adjustmentFLD_LINES">
  17. <property name="lower">2</property>
  18. <property name="upper">9</property>
  19. <property name="value">2</property>
  20. <property name="step_increment">1</property>
  21. <property name="page_increment">10</property>
  22. </object>
  23. <!-- n-columns=1 n-rows=1 -->
  24. <object class="GtkGrid" id="DropCapPage">
  25. <property name="visible">True</property>
  26. <property name="can_focus">False</property>
  27. <property name="valign">start</property>
  28. <property name="hexpand">True</property>
  29. <property name="border_width">6</property>
  30. <property name="column_spacing">6</property>
  31. <child>
  32. <!-- n-columns=1 n-rows=1 -->
  33. <object class="GtkGrid" id="maingrid">
  34. <property name="visible">True</property>
  35. <property name="can_focus">False</property>
  36. <property name="halign">start</property>
  37. <property name="valign">start</property>
  38. <property name="hexpand">True</property>
  39. <property name="vexpand">True</property>
  40. <property name="row_spacing">12</property>
  41. <child>
  42. <object class="GtkFrame" id="frame1">
  43. <property name="visible">True</property>
  44. <property name="can_focus">False</property>
  45. <property name="label_xalign">0</property>
  46. <property name="shadow_type">none</property>
  47. <child>
  48. <object class="GtkAlignment" id="alignment1">
  49. <property name="visible">True</property>
  50. <property name="can_focus">False</property>
  51. <property name="top_padding">6</property>
  52. <property name="left_padding">12</property>
  53. <child>
  54. <!-- n-columns=1 n-rows=1 -->
  55. <object class="GtkGrid" id="grid2">
  56. <property name="visible">True</property>
  57. <property name="can_focus">False</property>
  58. <property name="row_spacing">6</property>
  59. <property name="column_spacing">12</property>
  60. <child>
  61. <object class="GtkCheckButton" id="checkCB_SWITCH">
  62. <property name="label" translatable="yes" context="dropcapspage|checkCB_SWITCH">_Display drop caps</property>
  63. <property name="visible">True</property>
  64. <property name="can_focus">True</property>
  65. <property name="receives_default">False</property>
  66. <property name="use_underline">True</property>
  67. <property name="xalign">0</property>
  68. <property name="draw_indicator">True</property>
  69. <child internal-child="accessible">
  70. <object class="AtkObject" id="checkCB_SWITCH-atkobject">
  71. <property name="AtkObject::accessible-description" translatable="yes" context="dropcapspage|extended_tip|checkCB_SWITCH">Applies the drop cap settings to the selected paragraph.</property>
  72. </object>
  73. </child>
  74. </object>
  75. <packing>
  76. <property name="left_attach">0</property>
  77. <property name="top_attach">0</property>
  78. <property name="width">2</property>
  79. </packing>
  80. </child>
  81. <child>
  82. <object class="GtkCheckButton" id="checkCB_WORD">
  83. <property name="label" translatable="yes" context="dropcapspage|checkCB_WORD">_Whole word</property>
  84. <property name="visible">True</property>
  85. <property name="can_focus">True</property>
  86. <property name="receives_default">False</property>
  87. <property name="use_underline">True</property>
  88. <property name="xalign">0</property>
  89. <property name="draw_indicator">True</property>
  90. <child internal-child="accessible">
  91. <object class="AtkObject" id="checkCB_WORD-atkobject">
  92. <property name="AtkObject::accessible-description" translatable="yes" context="dropcapspage|extended_tip|checkCB_WORD">Displays the first letter of the first word in the paragraph as a drop cap, and the remaining letters of the word as large type.</property>
  93. </object>
  94. </child>
  95. </object>
  96. <packing>
  97. <property name="left_attach">0</property>
  98. <property name="top_attach">1</property>
  99. <property name="width">2</property>
  100. </packing>
  101. </child>
  102. <child>
  103. <object class="GtkLabel" id="labelFT_DROPCAPS">
  104. <property name="visible">True</property>
  105. <property name="can_focus">False</property>
  106. <property name="label" translatable="yes" context="dropcapspage|labelFT_DROPCAPS">Number of _characters:</property>
  107. <property name="use_underline">True</property>
  108. <property name="mnemonic_widget">spinFLD_DROPCAPS</property>
  109. <property name="xalign">1</property>
  110. </object>
  111. <packing>
  112. <property name="left_attach">0</property>
  113. <property name="top_attach">2</property>
  114. </packing>
  115. </child>
  116. <child>
  117. <object class="GtkLabel" id="labelTXT_LINES">
  118. <property name="visible">True</property>
  119. <property name="can_focus">False</property>
  120. <property name="label" translatable="yes" context="dropcapspage|labelTXT_LINES">_Lines:</property>
  121. <property name="use_underline">True</property>
  122. <property name="mnemonic_widget">spinFLD_LINES</property>
  123. <property name="xalign">1</property>
  124. </object>
  125. <packing>
  126. <property name="left_attach">0</property>
  127. <property name="top_attach">3</property>
  128. </packing>
  129. </child>
  130. <child>
  131. <object class="GtkLabel" id="labelTXT_DISTANCE">
  132. <property name="visible">True</property>
  133. <property name="can_focus">False</property>
  134. <property name="label" translatable="yes" context="dropcapspage|labelTXT_DISTANCE">_Space to text:</property>
  135. <property name="use_underline">True</property>
  136. <property name="mnemonic_widget">spinFLD_DISTANCE</property>
  137. <property name="xalign">1</property>
  138. </object>
  139. <packing>
  140. <property name="left_attach">0</property>
  141. <property name="top_attach">4</property>
  142. </packing>
  143. </child>
  144. <child>
  145. <object class="GtkSpinButton" id="spinFLD_DROPCAPS">
  146. <property name="visible">True</property>
  147. <property name="can_focus">True</property>
  148. <property name="halign">start</property>
  149. <property name="activates_default">True</property>
  150. <property name="adjustment">adjustmentFLD_DROPCAPS</property>
  151. <property name="truncate-multiline">True</property>
  152. <child internal-child="accessible">
  153. <object class="AtkObject" id="spinFLD_DROPCAPS-atkobject">
  154. <property name="AtkObject::accessible-description" translatable="yes" context="dropcapspage|extended_tip|spinFLD_DROPCAPS">Enter the number of characters to convert to drop caps.</property>
  155. </object>
  156. </child>
  157. </object>
  158. <packing>
  159. <property name="left_attach">1</property>
  160. <property name="top_attach">2</property>
  161. </packing>
  162. </child>
  163. <child>
  164. <object class="GtkSpinButton" id="spinFLD_LINES">
  165. <property name="visible">True</property>
  166. <property name="can_focus">True</property>
  167. <property name="halign">start</property>
  168. <property name="activates_default">True</property>
  169. <property name="adjustment">adjustmentFLD_LINES</property>
  170. <property name="truncate-multiline">True</property>
  171. <child internal-child="accessible">
  172. <object class="AtkObject" id="spinFLD_LINES-atkobject">
  173. <property name="AtkObject::accessible-description" translatable="yes" context="dropcapspage|extended_tip|spinFLD_LINES">Enter the number of lines that you want the drop cap to extend downward from the first line of the paragraph. Shorter paragraphs will not get drop caps.</property>
  174. </object>
  175. </child>
  176. </object>
  177. <packing>
  178. <property name="left_attach">1</property>
  179. <property name="top_attach">3</property>
  180. </packing>
  181. </child>
  182. <child>
  183. <object class="GtkSpinButton" id="spinFLD_DISTANCE">
  184. <property name="visible">True</property>
  185. <property name="can_focus">True</property>
  186. <property name="halign">start</property>
  187. <property name="activates_default">True</property>
  188. <property name="adjustment">adjustmentFLD_DISTANCE</property>
  189. <property name="digits">2</property>
  190. <property name="truncate-multiline">True</property>
  191. <child internal-child="accessible">
  192. <object class="AtkObject" id="spinFLD_DISTANCE-atkobject">
  193. <property name="AtkObject::accessible-description" translatable="yes" context="dropcapspage|extended_tip|spinFLD_DISTANCE">Enter the amount of space to leave between the drop caps and the rest of the text in the paragraph.</property>
  194. </object>
  195. </child>
  196. </object>
  197. <packing>
  198. <property name="left_attach">1</property>
  199. <property name="top_attach">4</property>
  200. </packing>
  201. </child>
  202. </object>
  203. </child>
  204. </object>
  205. </child>
  206. <child type="label">
  207. <object class="GtkLabel" id="labelFL_SETTING">
  208. <property name="visible">True</property>
  209. <property name="can_focus">False</property>
  210. <property name="label" translatable="yes" context="dropcapspage|labelFL_SETTING">Settings</property>
  211. <attributes>
  212. <attribute name="weight" value="bold"/>
  213. </attributes>
  214. </object>
  215. </child>
  216. </object>
  217. <packing>
  218. <property name="left_attach">0</property>
  219. <property name="top_attach">0</property>
  220. </packing>
  221. </child>
  222. <child>
  223. <object class="GtkFrame" id="frameFL_CONTENT">
  224. <property name="visible">True</property>
  225. <property name="can_focus">False</property>
  226. <property name="label_xalign">0</property>
  227. <property name="shadow_type">none</property>
  228. <child>
  229. <object class="GtkAlignment" id="alignment2">
  230. <property name="visible">True</property>
  231. <property name="can_focus">False</property>
  232. <property name="top_padding">6</property>
  233. <property name="left_padding">12</property>
  234. <child>
  235. <!-- n-columns=1 n-rows=1 -->
  236. <object class="GtkGrid" id="grid1">
  237. <property name="visible">True</property>
  238. <property name="can_focus">False</property>
  239. <property name="row_spacing">6</property>
  240. <property name="column_spacing">12</property>
  241. <child>
  242. <object class="GtkLabel" id="labelTXT_TEXT">
  243. <property name="visible">True</property>
  244. <property name="can_focus">False</property>
  245. <property name="label" translatable="yes" context="dropcapspage|labelTXT_TEXT">_Text:</property>
  246. <property name="use_underline">True</property>
  247. <property name="mnemonic_widget">entryEDT_TEXT</property>
  248. <property name="xalign">1</property>
  249. </object>
  250. <packing>
  251. <property name="left_attach">0</property>
  252. <property name="top_attach">0</property>
  253. </packing>
  254. </child>
  255. <child>
  256. <object class="GtkLabel" id="labelTXT_TEMPLATE">
  257. <property name="visible">True</property>
  258. <property name="can_focus">False</property>
  259. <property name="label" translatable="yes" context="dropcapspage|labelTXT_TEMPLATE">Character st_yle:</property>
  260. <property name="use_underline">True</property>
  261. <property name="mnemonic_widget">comboBOX_TEMPLATE</property>
  262. <property name="xalign">1</property>
  263. </object>
  264. <packing>
  265. <property name="left_attach">0</property>
  266. <property name="top_attach">1</property>
  267. </packing>
  268. </child>
  269. <child>
  270. <object class="GtkEntry" id="entryEDT_TEXT">
  271. <property name="visible">True</property>
  272. <property name="can_focus">True</property>
  273. <property name="max_length">9</property>
  274. <property name="activates_default">True</property>
  275. <property name="truncate-multiline">True</property>
  276. <child internal-child="accessible">
  277. <object class="AtkObject" id="entryEDT_TEXT-atkobject">
  278. <property name="AtkObject::accessible-description" translatable="yes" context="dropcapspage|extended_tip|entryEDT_TEXT">Enter the text that you want to display as drop caps instead of the first letters of the paragraph.</property>
  279. </object>
  280. </child>
  281. </object>
  282. <packing>
  283. <property name="left_attach">1</property>
  284. <property name="top_attach">0</property>
  285. </packing>
  286. </child>
  287. <child>
  288. <object class="GtkComboBoxText" id="comboBOX_TEMPLATE">
  289. <property name="visible">True</property>
  290. <property name="can_focus">False</property>
  291. <child internal-child="accessible">
  292. <object class="AtkObject" id="comboBOX_TEMPLATE-atkobject">
  293. <property name="AtkObject::accessible-description" translatable="yes" context="dropcapspage|extended_tip|comboBOX_TEMPLATE">Select the formatting style that you want to apply to the drop caps.</property>
  294. </object>
  295. </child>
  296. </object>
  297. <packing>
  298. <property name="left_attach">1</property>
  299. <property name="top_attach">1</property>
  300. </packing>
  301. </child>
  302. </object>
  303. </child>
  304. </object>
  305. </child>
  306. <child type="label">
  307. <object class="GtkLabel" id="labelFL_CONTENT">
  308. <property name="visible">True</property>
  309. <property name="can_focus">False</property>
  310. <property name="label" translatable="yes" context="dropcapspage|labelFL_CONTENT">Contents</property>
  311. <attributes>
  312. <attribute name="weight" value="bold"/>
  313. </attributes>
  314. </object>
  315. </child>
  316. </object>
  317. <packing>
  318. <property name="left_attach">0</property>
  319. <property name="top_attach">1</property>
  320. </packing>
  321. </child>
  322. </object>
  323. <packing>
  324. <property name="left_attach">0</property>
  325. <property name="top_attach">0</property>
  326. </packing>
  327. </child>
  328. <child>
  329. <object class="GtkAlignment" id="alignment3">
  330. <property name="visible">True</property>
  331. <property name="can_focus">False</property>
  332. <property name="top_padding">24</property>
  333. <child>
  334. <object class="GtkScrolledWindow">
  335. <property name="visible">True</property>
  336. <property name="can_focus">True</property>
  337. <property name="halign">center</property>
  338. <property name="valign">start</property>
  339. <property name="hscrollbar_policy">never</property>
  340. <property name="vscrollbar_policy">never</property>
  341. <property name="shadow_type">in</property>
  342. <child>
  343. <object class="GtkViewport">
  344. <property name="visible">True</property>
  345. <property name="can_focus">False</property>
  346. <child>
  347. <object class="GtkDrawingArea" id="drawingareaWN_EXAMPLE">
  348. <property name="visible">True</property>
  349. <property name="can_focus">False</property>
  350. <property name="halign">center</property>
  351. <property name="valign">start</property>
  352. </object>
  353. </child>
  354. </object>
  355. </child>
  356. </object>
  357. </child>
  358. </object>
  359. <packing>
  360. <property name="left_attach">1</property>
  361. <property name="top_attach">0</property>
  362. </packing>
  363. </child>
  364. <child internal-child="accessible">
  365. <object class="AtkObject" id="DropCapPage-atkobject">
  366. <property name="AtkObject::accessible-description" translatable="yes" context="dropcapspage|extended_tip|DropCapPage">Formats the first letter of a paragraph with a large capital letter, that can span several lines. The paragraph must span at least as many lines as you specify in the Lines box.</property>
  367. </object>
  368. </child>
  369. </object>
  370. <object class="GtkSizeGroup" id="sizegroup1">
  371. <widgets>
  372. <widget name="checkCB_SWITCH"/>
  373. <widget name="checkCB_WORD"/>
  374. <widget name="labelFT_DROPCAPS"/>
  375. <widget name="labelTXT_LINES"/>
  376. <widget name="labelTXT_DISTANCE"/>
  377. <widget name="labelTXT_TEXT"/>
  378. <widget name="labelTXT_TEMPLATE"/>
  379. </widgets>
  380. </object>
  381. <object class="GtkSizeGroup" id="sizegroup2">
  382. <widgets>
  383. <widget name="spinFLD_DROPCAPS"/>
  384. <widget name="spinFLD_LINES"/>
  385. <widget name="spinFLD_DISTANCE"/>
  386. </widgets>
  387. </object>
  388. </interface>