[texworks] 04/73: Imported Debian patch 0.3~svn569-1
This is an automated email from the git hooks/post-receive script.
preining pushed a commit to branch master
in repository texworks.
commit eca3b2010d5d55ff4b36587795a41d339ae89537
Merge: ddfb0d6 c2ecb13
Author: Atsuhito KOHDA <kohda@debian.org>
Date: Mon Feb 15 22:09:05 2010 +0900
Imported Debian patch 0.3~svn569-1
.svn/all-wcprops | 71 +
.svn/entries | 420 ++
.svn/prop-base/TeXworks-doc.icns.svn-base | 5 +
.svn/prop-base/TeXworks.icns.svn-base | 5 +
.svn/prop-base/getDefaultBinPaths.sh.svn-base | 5 +
.svn/prop-base/getSvnRev.sh.svn-base | 5 +
.svn/prop-base/mkresfilelist.sh.svn-base | 5 +
.svn/prop-base/texworks-setup-script.iss.svn-base | 5 +
.svn/text-base/COPYING.svn-base | 339 +
.svn/text-base/README.svn-base | 44 +
.svn/text-base/TeXworks-doc.icns.svn-base | Bin 0 -> 144952 bytes
.svn/text-base/TeXworks.icns.svn-base | Bin 0 -> 262966 bytes
.../text-base/TeXworks.plist.in.svn-base | 2 +-
.../text-base/TeXworks.plist.svn-base | 6 +-
.../text-base/TeXworks.pro.svn-base | 50 +-
.../text-base/getDefaultBinPaths.sh.svn-base | 20 +-
.svn/text-base/getSvnRev.sh.svn-base | 36 +
.svn/text-base/mkresfilelist.sh.svn-base | 37 +
.svn/text-base/texworks-setup-script.iss.svn-base | 104 +
TeXworks.plist | 6 +-
TeXworks.plist.in | 2 +-
TeXworks.pro | 50 +-
debian/changelog | 6 +
debian/patch-print | 32 +-
extra-setup-languages/.svn/all-wcprops | 41 +
extra-setup-languages/.svn/entries | 232 +
.../.svn/text-base/Arabic-4-5.1.11.isl.svn-base | 317 +
.../text-base/ChineseSimp-12-5.1.11.isl.svn-base | 320 +
.../.svn/text-base/Farsi-2-5.1.11.isl.svn-base | 318 +
.../.svn/text-base/Japanese-5-5.1.11.isl.svn-base | 312 +
.../.svn/text-base/Korean-5-5.1.11.isl.svn-base | 324 +
.../.svn/text-base/Turkish-3-5.1.11.isl.svn-base | 310 +
extra-setup-languages/Arabic-4-5.1.11.isl | 317 +
extra-setup-languages/ChineseSimp-12-5.1.11.isl | 320 +
extra-setup-languages/Farsi-2-5.1.11.isl | 318 +
extra-setup-languages/Japanese-5-5.1.11.isl | 312 +
extra-setup-languages/Korean-5-5.1.11.isl | 324 +
extra-setup-languages/Turkish-3-5.1.11.isl | 310 +
getDefaultBinPaths.sh | 20 +-
plugins-src/.svn/all-wcprops | 5 +
plugins-src/.svn/entries | 34 +
plugins-src/TWLuaPlugin/.svn/all-wcprops | 23 +
plugins-src/TWLuaPlugin/.svn/entries | 130 +
.../.svn/text-base/TWLuaPlugin.cpp.svn-base | 411 +
.../.svn/text-base/TWLuaPlugin.h.svn-base | 182 +
.../.svn/text-base/TWLuaPlugin.pro.svn-base | 68 +
plugins-src/TWLuaPlugin/TWLuaPlugin.cpp | 411 +
plugins-src/TWLuaPlugin/TWLuaPlugin.h | 182 +
plugins-src/TWLuaPlugin/TWLuaPlugin.pro | 68 +
plugins-src/TWPythonPlugin/.svn/all-wcprops | 23 +
plugins-src/TWPythonPlugin/.svn/entries | 130 +
.../.svn/text-base/TWPythonPlugin.cpp.svn-base | 497 ++
.../.svn/text-base/TWPythonPlugin.h.svn-base | 188 +
.../.svn/text-base/TWPythonPlugin.pro.svn-base | 76 +
plugins-src/TWPythonPlugin/TWPythonPlugin.cpp | 497 ++
plugins-src/TWPythonPlugin/TWPythonPlugin.h | 188 +
plugins-src/TWPythonPlugin/TWPythonPlugin.pro | 76 +
poppler-patches/.svn/all-wcprops | 23 +
poppler-patches/.svn/entries | 130 +
poppler-patches/.svn/text-base/README.svn-base | 11 +
.../text-base/poppler-font-handling.patch.svn-base | 568 ++
.../poppler-qt4-globalparams.patch.svn-base | 80 +
res/.svn/all-wcprops | 23 +
res/.svn/entries | 139 +
res/.svn/text-base/TeXworks.rc.svn-base | 36 +
.../text-base/resfiles.qrc.svn-base} | 10 +
res/.svn/text-base/resources.qrc.svn-base | 48 +
res/images/.svn/all-wcprops | 299 +
res/images/.svn/entries | 1694 +++++
.../.svn/prop-base/TeXworks-doc-48.png.svn-base | 5 +
.../.svn/prop-base/TeXworks-doc.ico.svn-base | 5 +
.../.svn/prop-base/TeXworks-doc.png.svn-base | 5 +
.../.svn/prop-base/TeXworks-small.bmp.svn-base | 5 +
res/images/.svn/prop-base/TeXworks.ico.svn-base | 5 +
res/images/.svn/prop-base/TeXworks.png.svn-base | 5 +
res/images/.svn/prop-base/actualsize.png.svn-base | 5 +
res/images/.svn/prop-base/back.PSD.svn-base | 5 +
res/images/.svn/prop-base/back.png.svn-base | 5 +
res/images/.svn/prop-base/back2.PSD.svn-base | 5 +
res/images/.svn/prop-base/back2.png.svn-base | 5 +
res/images/.svn/prop-base/down.png.svn-base | 5 +
res/images/.svn/prop-base/editcopy.png.svn-base | 5 +
res/images/.svn/prop-base/editcut.png.svn-base | 5 +
res/images/.svn/prop-base/editgrid.png.svn-base | 5 +
res/images/.svn/prop-base/edithlayout.png.svn-base | 5 +
res/images/.svn/prop-base/editlower.png.svn-base | 5 +
res/images/.svn/prop-base/editpaste.png.svn-base | 5 +
res/images/.svn/prop-base/editredo.png.svn-base | 5 +
res/images/.svn/prop-base/editundo.png.svn-base | 5 +
res/images/.svn/prop-base/editvlayout.png.svn-base | 5 +
res/images/.svn/prop-base/filenew.png.svn-base | 5 +
res/images/.svn/prop-base/fileopen.png.svn-base | 5 +
res/images/.svn/prop-base/fileprint.png.svn-base | 5 +
res/images/.svn/prop-base/filesave.png.svn-base | 5 +
res/images/.svn/prop-base/first.PSD.svn-base | 5 +
res/images/.svn/prop-base/first.png.svn-base | 5 +
res/images/.svn/prop-base/fitwidth.png.svn-base | 5 +
res/images/.svn/prop-base/fitwindow.png.svn-base | 5 +
res/images/.svn/prop-base/forward.png.svn-base | 5 +
res/images/.svn/prop-base/forward2.PSD.svn-base | 5 +
res/images/.svn/prop-base/forward2.png.svn-base | 5 +
res/images/.svn/prop-base/hand.png.svn-base | 5 +
res/images/.svn/prop-base/last.PSD.svn-base | 5 +
res/images/.svn/prop-base/last.png.svn-base | 5 +
.../.svn/prop-base/magnifiercursor.png.svn-base | 5 +
res/images/.svn/prop-base/minus.png.svn-base | 5 +
res/images/.svn/prop-base/pdfdoc.png.svn-base | 5 +
res/images/.svn/prop-base/plus.png.svn-base | 5 +
res/images/.svn/prop-base/rect-select.png.svn-base | 5 +
res/images/.svn/prop-base/runtool.png.svn-base | 5 +
res/images/.svn/prop-base/searchfind.png.svn-base | 5 +
res/images/.svn/prop-base/texdoc.png.svn-base | 5 +
res/images/.svn/prop-base/text-tool.png.svn-base | 5 +
res/images/.svn/prop-base/up.png.svn-base | 5 +
res/images/.svn/prop-base/zoomin.png.svn-base | 5 +
.../.svn/prop-base/zoomincursor.png.svn-base | 5 +
res/images/.svn/prop-base/zoomout.png.svn-base | 5 +
.../.svn/prop-base/zoomoutcursor.png.svn-base | 5 +
.../.svn/text-base/TeXworks-doc-48.png.svn-base | Bin 0 -> 5248 bytes
.../.svn/text-base/TeXworks-doc.ico.svn-base | Bin 0 -> 105063 bytes
.../.svn/text-base/TeXworks-doc.png.svn-base | Bin 0 -> 105368 bytes
.../.svn/text-base/TeXworks-small.bmp.svn-base | Bin 0 -> 9800 bytes
res/images/.svn/text-base/TeXworks.ico.svn-base | Bin 0 -> 175905 bytes
res/images/.svn/text-base/TeXworks.png.svn-base | Bin 0 -> 203924 bytes
res/images/.svn/text-base/actualsize.png.svn-base | Bin 0 -> 1338 bytes
res/images/.svn/text-base/back.PSD.svn-base | Bin 0 -> 3706 bytes
res/images/.svn/text-base/back.png.svn-base | Bin 0 -> 678 bytes
res/images/.svn/text-base/back2.PSD.svn-base | Bin 0 -> 3641 bytes
res/images/.svn/text-base/back2.png.svn-base | Bin 0 -> 1200 bytes
res/images/.svn/text-base/down.png.svn-base | Bin 0 -> 594 bytes
res/images/.svn/text-base/editcopy.png.svn-base | Bin 0 -> 1468 bytes
res/images/.svn/text-base/editcut.png.svn-base | Bin 0 -> 1512 bytes
res/images/.svn/text-base/editgrid.png.svn-base | Bin 0 -> 751 bytes
res/images/.svn/text-base/edithlayout.png.svn-base | Bin 0 -> 1395 bytes
res/images/.svn/text-base/editlower.png.svn-base | Bin 0 -> 595 bytes
res/images/.svn/text-base/editpaste.png.svn-base | Bin 0 -> 1906 bytes
res/images/.svn/text-base/editredo.png.svn-base | Bin 0 -> 1752 bytes
res/images/.svn/text-base/editundo.png.svn-base | Bin 0 -> 1746 bytes
res/images/.svn/text-base/editvlayout.png.svn-base | Bin 0 -> 586 bytes
res/images/.svn/text-base/filenew.png.svn-base | Bin 0 -> 1172 bytes
res/images/.svn/text-base/fileopen.png.svn-base | Bin 0 -> 2185 bytes
res/images/.svn/text-base/fileprint.png.svn-base | Bin 0 -> 2106 bytes
res/images/.svn/text-base/filesave.png.svn-base | Bin 0 -> 1206 bytes
res/images/.svn/text-base/first.PSD.svn-base | Bin 0 -> 4341 bytes
res/images/.svn/text-base/first.png.svn-base | Bin 0 -> 1309 bytes
res/images/.svn/text-base/fitwidth.png.svn-base | Bin 0 -> 1169 bytes
res/images/.svn/text-base/fitwindow.png.svn-base | Bin 0 -> 1130 bytes
res/images/.svn/text-base/forward.png.svn-base | Bin 0 -> 655 bytes
res/images/.svn/text-base/forward2.PSD.svn-base | Bin 0 -> 3816 bytes
res/images/.svn/text-base/forward2.png.svn-base | Bin 0 -> 1189 bytes
res/images/.svn/text-base/hand.png.svn-base | Bin 0 -> 5030 bytes
res/images/.svn/text-base/last.PSD.svn-base | Bin 0 -> 4504 bytes
res/images/.svn/text-base/last.png.svn-base | Bin 0 -> 1292 bytes
.../.svn/text-base/magnifiercursor.png.svn-base | Bin 0 -> 3798 bytes
res/images/.svn/text-base/minus.png.svn-base | Bin 0 -> 250 bytes
res/images/.svn/text-base/pdfdoc.png.svn-base | Bin 0 -> 844 bytes
res/images/.svn/text-base/plus.png.svn-base | Bin 0 -> 462 bytes
res/images/.svn/text-base/rect-select.png.svn-base | Bin 0 -> 499 bytes
res/images/.svn/text-base/runtool.png.svn-base | Bin 0 -> 5047 bytes
res/images/.svn/text-base/searchfind.png.svn-base | Bin 0 -> 1836 bytes
res/images/.svn/text-base/texdoc.png.svn-base | Bin 0 -> 744 bytes
res/images/.svn/text-base/text-tool.png.svn-base | Bin 0 -> 3075 bytes
res/images/.svn/text-base/up.png.svn-base | Bin 0 -> 692 bytes
res/images/.svn/text-base/zoomin.png.svn-base | Bin 0 -> 1714 bytes
.../.svn/text-base/zoomincursor.png.svn-base | Bin 0 -> 4162 bytes
res/images/.svn/text-base/zoomout.png.svn-base | Bin 0 -> 1711 bytes
.../.svn/text-base/zoomoutcursor.png.svn-base | Bin 0 -> 4113 bytes
res/resfiles.qrc | 10 +
res/resfiles/.svn/all-wcprops | 5 +
res/resfiles/.svn/entries | 43 +
res/resfiles/completion/.svn/all-wcprops | 23 +
res/resfiles/completion/.svn/entries | 130 +
.../.svn/text-base/tw-basic.txt.svn-base | 98 +
.../.svn/text-base/tw-context.txt.svn-base | 3 +
.../.svn/text-base/tw-latex.txt.svn-base | 614 ++
res/resfiles/configuration/.svn/all-wcprops | 41 +
res/resfiles/configuration/.svn/entries | 232 +
.../text-base/auto-indent-patterns.txt.svn-base | 18 +
.../.svn/text-base/delimiter-pairs.txt.svn-base | 12 +
.../.svn/text-base/smart-quotes-modes.txt.svn-base | 20 +
.../text-base/syntax-patterns.txt.svn-base} | 21 +-
.../.svn/text-base/tag-patterns.txt.svn-base | 29 +
.../.svn/text-base/texworks-config.txt.svn-base | 35 +
res/resfiles/configuration/syntax-patterns.txt | 21 +-
res/resfiles/scripts/.svn/all-wcprops | 29 +
res/resfiles/scripts/.svn/entries | 173 +
.../scripts/.svn/text-base/launchPdf.js.svn-base | 10 +
.../scripts/.svn/text-base/makeBold.lua.svn-base | 15 +
.../scripts/.svn/text-base/makeBold.py.svn-base | 14 +
.../scripts/.svn/text-base/system.js.svn-base | 16 +
res/resfiles/scripts/Hooks/.svn/all-wcprops | 17 +
res/resfiles/scripts/Hooks/.svn/entries | 96 +
.../Hooks/.svn/text-base/babelLanguage.js.svn-base | 63 +
.../Hooks/.svn/text-base/latexErrors.js.svn-base | 119 +
res/resfiles/scripts/Hooks/babelLanguage.js | 63 +
res/resfiles/scripts/Hooks/latexErrors.js | 119 +
res/resfiles/scripts/LaTeX styles/.svn/all-wcprops | 17 +
res/resfiles/scripts/LaTeX styles/.svn/entries | 96 +
.../.svn/text-base/toggleBold.js.svn-base | 30 +
.../.svn/text-base/toggleEmph.js.svn-base | 30 +
res/resfiles/scripts/LaTeX styles/toggleBold.js | 30 +
res/resfiles/scripts/LaTeX styles/toggleEmph.js | 30 +
.../scripts/Text transforms/.svn/all-wcprops | 11 +
res/resfiles/scripts/Text transforms/.svn/entries | 62 +
.../.svn/text-base/titlecase.js.svn-base | 61 +
res/resfiles/scripts/Text transforms/titlecase.js | 61 +
res/resfiles/scripts/launchPdf.js | 10 +
res/resfiles/scripts/makeBold.lua | 15 +
res/resfiles/scripts/makeBold.py | 14 +
res/resfiles/scripts/system.js | 16 +
res/resfiles/templates/.svn/all-wcprops | 5 +
res/resfiles/templates/.svn/entries | 43 +
.../Basic LaTeX documents/.svn/all-wcprops | 17 +
.../templates/Basic LaTeX documents/.svn/entries | 96 +
.../.svn/text-base/article.tex.svn-base | 72 +
.../.svn/text-base/letter.tex.svn-base | 26 +
.../Beamer presentations/.svn/all-wcprops | 23 +
.../templates/Beamer presentations/.svn/entries | 130 +
.../conference-ornate-20min.en.tex.svn-base | 288 +
.../generic-ornate-15min-45min.en.tex.svn-base | 219 +
...peaker_introduction-ornate-2min.en.tex.svn-base | 105 +
res/resfiles/templates/ConTeXt/.svn/all-wcprops | 5 +
res/resfiles/templates/ConTeXt/.svn/entries | 28 +
.../templates/More LaTeX classes/.svn/all-wcprops | 17 +
.../templates/More LaTeX classes/.svn/entries | 96 +
.../.svn/text-base/KOMA-letter.tex.svn-base | 30 +
.../.svn/text-base/memoir.tex.svn-base | 71 +
.../templates/XeLaTeX documents/.svn/all-wcprops | 11 +
.../templates/XeLaTeX documents/.svn/entries | 62 +
.../.svn/text-base/article-fontspec.tex.svn-base | 39 +
res/resfiles/translations/.svn/all-wcprops | 65 +
res/resfiles/translations/.svn/entries | 368 +
.../translations/.svn/prop-base/qt_ar.qm.svn-base | 5 +
.../translations/.svn/prop-base/qt_de.qm.svn-base | 5 +
.../translations/.svn/prop-base/qt_es.qm.svn-base | 5 +
.../translations/.svn/prop-base/qt_fr.qm.svn-base | 5 +
.../translations/.svn/prop-base/qt_ja.qm.svn-base | 5 +
.../translations/.svn/prop-base/qt_ko.qm.svn-base | 5 +
.../translations/.svn/prop-base/qt_nl.qm.svn-base | 5 +
.../translations/.svn/prop-base/qt_pl.qm.svn-base | 5 +
.../translations/.svn/prop-base/qt_ru.qm.svn-base | 5 +
.../.svn/prop-base/qt_zh_CN.qm.svn-base | 5 +
.../translations/.svn/text-base/qt_ar.qm.svn-base | Bin 0 -> 116781 bytes
.../translations/.svn/text-base/qt_de.qm.svn-base | Bin 0 -> 181348 bytes
.../translations/.svn/text-base/qt_es.qm.svn-base | Bin 0 -> 81845 bytes
.../translations/.svn/text-base/qt_fr.qm.svn-base | Bin 0 -> 168579 bytes
.../translations/.svn/text-base/qt_ja.qm.svn-base | Bin 0 -> 55805 bytes
.../translations/.svn/text-base/qt_ko.qm.svn-base | Bin 0 -> 68364 bytes
.../translations/.svn/text-base/qt_nl.qm.svn-base | Bin 0 -> 85620 bytes
.../translations/.svn/text-base/qt_pl.qm.svn-base | Bin 0 -> 158795 bytes
.../translations/.svn/text-base/qt_ru.qm.svn-base | Bin 0 -> 36218 bytes
.../.svn/text-base/qt_zh_CN.qm.svn-base | Bin 0 -> 31960 bytes
res/resfiles/translations/qt_zh_CN.qm | Bin 116873 -> 31960 bytes
res/tango/.svn/all-wcprops | 167 +
res/tango/.svn/entries | 946 +++
res/tango/.svn/prop-base/document-new.png.svn-base | 5 +
.../.svn/prop-base/document-open.png.svn-base | 5 +
.../.svn/prop-base/document-save.png.svn-base | 5 +
res/tango/.svn/prop-base/edit-copy.png.svn-base | 5 +
res/tango/.svn/prop-base/edit-cut.png.svn-base | 5 +
res/tango/.svn/prop-base/edit-delete.png.svn-base | 5 +
.../.svn/prop-base/edit-find-replace.png.svn-base | 5 +
res/tango/.svn/prop-base/edit-find.png.svn-base | 5 +
res/tango/.svn/prop-base/edit-paste.png.svn-base | 5 +
res/tango/.svn/prop-base/edit-redo.png.svn-base | 5 +
.../.svn/prop-base/edit-select-all.png.svn-base | 5 +
res/tango/.svn/prop-base/edit-undo.png.svn-base | 5 +
.../.svn/prop-base/format-indent-less.png.svn-base | 5 +
.../.svn/prop-base/format-indent-more.png.svn-base | 5 +
res/tango/.svn/prop-base/go-down.png.svn-base | 5 +
res/tango/.svn/prop-base/go-first.png.svn-base | 5 +
res/tango/.svn/prop-base/go-jump.png.svn-base | 5 +
res/tango/.svn/prop-base/go-last.png.svn-base | 5 +
res/tango/.svn/prop-base/go-next.png.svn-base | 5 +
res/tango/.svn/prop-base/go-previous.png.svn-base | 5 +
res/tango/.svn/prop-base/go-up.png.svn-base | 5 +
res/tango/.svn/prop-base/list-add.png.svn-base | 5 +
res/tango/.svn/prop-base/list-remove.png.svn-base | 5 +
.../.svn/prop-base/preferences-system.png.svn-base | 5 +
res/tango/.svn/prop-base/process-stop.png.svn-base | 5 +
.../.svn/prop-base/text-x-generic.png.svn-base | 5 +
.../.svn/prop-base/view-fullscreen.png.svn-base | 5 +
res/tango/.svn/text-base/document-new.png.svn-base | Bin 0 -> 1008 bytes
.../.svn/text-base/document-open.png.svn-base | Bin 0 -> 1437 bytes
.../.svn/text-base/document-save.png.svn-base | Bin 0 -> 1971 bytes
res/tango/.svn/text-base/edit-copy.png.svn-base | Bin 0 -> 723 bytes
res/tango/.svn/text-base/edit-cut.png.svn-base | Bin 0 -> 2087 bytes
res/tango/.svn/text-base/edit-delete.png.svn-base | Bin 0 -> 2049 bytes
.../.svn/text-base/edit-find-replace.png.svn-base | Bin 0 -> 2104 bytes
res/tango/.svn/text-base/edit-find.png.svn-base | Bin 0 -> 1636 bytes
res/tango/.svn/text-base/edit-paste.png.svn-base | Bin 0 -> 1027 bytes
res/tango/.svn/text-base/edit-redo.png.svn-base | Bin 0 -> 1502 bytes
.../.svn/text-base/edit-select-all.png.svn-base | Bin 0 -> 631 bytes
res/tango/.svn/text-base/edit-undo.png.svn-base | Bin 0 -> 1601 bytes
.../.svn/text-base/format-indent-less.png.svn-base | Bin 0 -> 767 bytes
.../.svn/text-base/format-indent-more.png.svn-base | Bin 0 -> 766 bytes
res/tango/.svn/text-base/go-down.png.svn-base | Bin 0 -> 1187 bytes
res/tango/.svn/text-base/go-first.png.svn-base | Bin 0 -> 1331 bytes
res/tango/.svn/text-base/go-jump.png.svn-base | Bin 0 -> 1491 bytes
res/tango/.svn/text-base/go-last.png.svn-base | Bin 0 -> 1342 bytes
res/tango/.svn/text-base/go-next.png.svn-base | Bin 0 -> 1219 bytes
res/tango/.svn/text-base/go-previous.png.svn-base | Bin 0 -> 1200 bytes
res/tango/.svn/text-base/go-up.png.svn-base | Bin 0 -> 1193 bytes
res/tango/.svn/text-base/list-add.png.svn-base | Bin 0 -> 601 bytes
res/tango/.svn/text-base/list-remove.png.svn-base | Bin 0 -> 317 bytes
.../.svn/text-base/preferences-system.png.svn-base | Bin 0 -> 2129 bytes
res/tango/.svn/text-base/process-stop.png.svn-base | Bin 0 -> 1927 bytes
.../.svn/text-base/text-x-generic.png.svn-base | Bin 0 -> 744 bytes
.../.svn/text-base/view-fullscreen.png.svn-base | Bin 0 -> 1256 bytes
src/.svn/all-wcprops | 311 +
src/.svn/entries | 1762 +++++
src/.svn/prop-base/synctex_parser.c.svn-base | 5 +
src/.svn/prop-base/synctex_parser.h.svn-base | 5 +
.../text-base/CompletingEdit.cpp.svn-base} | 53 +-
.../text-base/CompletingEdit.h.svn-base} | 3 +-
.../text-base/ConfirmDelete.cpp.svn-base} | 40 +-
.../text-base/ConfirmDelete.h.svn-base} | 6 +-
src/.svn/text-base/ConfirmDelete.ui.svn-base | 133 +
src/.svn/text-base/Find.ui.svn-base | 271 +
.../text-base/FindDialog.cpp.svn-base} | 40 +-
.../text-base/FindDialog.h.svn-base} | 4 +-
.../text-base/HardWrapDialog.cpp.svn-base} | 2 +-
.../text-base/HardWrapDialog.h.svn-base} | 2 +-
src/.svn/text-base/HardWrapDialog.ui.svn-base | 155 +
.../text-base/PDFDocks.cpp.svn-base} | 6 +-
.../text-base/PDFDocks.h.svn-base} | 2 +-
.../text-base/PDFDocument.cpp.svn-base} | 37 +-
.../text-base/PDFDocument.h.svn-base} | 34 +-
.../text-base/PDFDocument.ui.svn-base} | 52 +
src/.svn/text-base/PDFFind.ui.svn-base | 152 +
.../text-base/PrefsDialog.cpp.svn-base} | 72 +-
.../text-base/PrefsDialog.h.svn-base} | 15 +-
.../text-base/PrefsDialog.ui.svn-base} | 101 +-
src/.svn/text-base/Replace.ui.svn-base | 267 +
src/.svn/text-base/ScriptManager.cpp.svn-base | 216 +
src/.svn/text-base/ScriptManager.h.svn-base | 65 +
src/.svn/text-base/ScriptManager.ui.svn-base | 82 +
src/.svn/text-base/SearchResults.ui.svn-base | 60 +
src/.svn/text-base/SvnRev.h.svn-base | 2 +
.../text-base/TWApp.cpp.svn-base} | 145 +-
src/{TWApp.h => .svn/text-base/TWApp.h.svn-base} | 49 +-
src/.svn/text-base/TWScript.cpp.svn-base | 295 +
src/.svn/text-base/TWScript.h.svn-base | 369 +
src/.svn/text-base/TWScriptable.cpp.svn-base | 426 ++
src/.svn/text-base/TWScriptable.h.svn-base | 207 +
.../text-base/TWUtils.cpp.svn-base} | 25 +-
.../text-base/TWUtils.h.svn-base} | 2 +-
src/.svn/text-base/TWVersion.h.svn-base | 4 +
.../text-base/TeXDocks.cpp.svn-base} | 3 +-
.../text-base/TeXDocks.h.svn-base} | 2 +-
.../text-base/TeXDocument.cpp.svn-base} | 539 +-
.../text-base/TeXDocument.h.svn-base} | 68 +-
.../text-base/TeXDocument.ui.svn-base} | 191 +-
.../text-base/TeXHighlighter.cpp.svn-base} | 46 +-
.../text-base/TeXHighlighter.h.svn-base} | 2 +-
.../text-base/TemplateDialog.cpp.svn-base} | 2 +-
.../text-base/TemplateDialog.h.svn-base} | 2 +-
src/.svn/text-base/TemplateDialog.ui.svn-base | 118 +
src/.svn/text-base/ToolConfig.ui.svn-base | 212 +
src/{main.cpp => .svn/text-base/main.cpp.svn-base} | 20 +-
src/.svn/text-base/synctex_parser.c.svn-base | 4157 +++++++++++
src/.svn/text-base/synctex_parser.h.svn-base | 345 +
src/.svn/text-base/synctex_parser_utils.c.svn-base | 451 ++
src/.svn/text-base/synctex_parser_utils.h.svn-base | 123 +
src/CompletingEdit.cpp | 53 +-
src/CompletingEdit.h | 3 +-
src/ConfirmDelete.cpp | 40 +-
src/ConfirmDelete.h | 6 +-
src/ConfirmDelete.ui | 113 +-
src/FindDialog.cpp | 40 +-
src/FindDialog.h | 4 +-
src/HardWrapDialog.cpp | 2 +-
src/HardWrapDialog.h | 2 +-
src/PDFDocks.cpp | 6 +-
src/PDFDocks.h | 2 +-
src/PDFDocument.cpp | 37 +-
src/PDFDocument.h | 34 +-
src/PDFDocument.ui | 52 +
src/PrefsDialog.cpp | 72 +-
src/PrefsDialog.h | 15 +-
src/PrefsDialog.ui | 101 +-
src/ScriptManager.cpp | 216 +
src/ScriptManager.h | 65 +
src/ScriptManager.ui | 82 +
src/SvnRev.h | 4 +-
src/TWApp.cpp | 145 +-
src/TWApp.h | 49 +-
src/TWScript.cpp | 295 +
src/TWScript.h | 369 +
src/TWScriptable.cpp | 426 ++
src/TWScriptable.h | 207 +
src/TWUtils.cpp | 25 +-
src/TWUtils.h | 2 +-
src/TWVersion.h | 6 +-
src/TeXDocks.cpp | 3 +-
src/TeXDocks.h | 2 +-
src/TeXDocument.cpp | 539 +-
src/TeXDocument.h | 68 +-
src/TeXDocument.ui | 191 +-
src/TeXHighlighter.cpp | 46 +-
src/TeXHighlighter.h | 2 +-
src/TemplateDialog.cpp | 2 +-
src/TemplateDialog.h | 2 +-
src/ToolConfig.ui | 149 +-
src/main.cpp | 20 +-
texworks-setup-script.iss | 104 +
trans/.svn/all-wcprops | 233 +
trans/.svn/entries | 1320 ++++
trans/.svn/prop-base/TeXworks_af.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_ar.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_ca.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_cs.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_de.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_es.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_fa.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_fr.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_fr.ts.svn-base | 5 +
trans/.svn/prop-base/TeXworks_it.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_ja.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_ko.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_nl.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_pl.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_pt_BR.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_ru.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_sl.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_tr.qm.svn-base | 5 +
trans/.svn/prop-base/TeXworks_zh_CN.qm.svn-base | 5 +
trans/.svn/text-base/TeXworks_af.qm.svn-base | Bin 0 -> 44617 bytes
trans/.svn/text-base/TeXworks_af.ts.svn-base | 2497 +++++++
.../text-base/TeXworks_ar.qm.svn-base} | Bin 37750 -> 37751 bytes
.../text-base/TeXworks_ar.ts.svn-base} | 1142 ++-
.../text-base/TeXworks_ca.qm.svn-base} | Bin 40609 -> 40632 bytes
.../text-base/TeXworks_ca.ts.svn-base} | 4486 ++++++-----
.../text-base/TeXworks_cs.qm.svn-base} | Bin 39851 -> 39851 bytes
.../text-base/TeXworks_cs.ts.svn-base} | 1368 ++--
trans/.svn/text-base/TeXworks_de.qm.svn-base | Bin 0 -> 47267 bytes
.../text-base/TeXworks_de.ts.svn-base} | 1137 +--
trans/.svn/text-base/TeXworks_es.qm.svn-base | Bin 0 -> 46832 bytes
.../text-base/TeXworks_es.ts.svn-base} | 294 +-
trans/.svn/text-base/TeXworks_fa.qm.svn-base | Bin 0 -> 38435 bytes
.../text-base/TeXworks_fa.ts.svn-base} | 795 +-
.../text-base/TeXworks_fr.qm.svn-base} | Bin 41248 -> 38859 bytes
.../text-base/TeXworks_fr.ts.svn-base} | 1579 ++--
trans/.svn/text-base/TeXworks_it.qm.svn-base | Bin 0 -> 39875 bytes
.../text-base/TeXworks_it.ts.svn-base} | 1048 +--
.../text-base/TeXworks_ja.qm.svn-base} | Bin 31297 -> 32212 bytes
.../text-base/TeXworks_ja.ts.svn-base} | 61 +-
trans/.svn/text-base/TeXworks_ko.qm.svn-base | Bin 0 -> 31679 bytes
.../text-base/TeXworks_ko.ts.svn-base} | 757 +-
trans/.svn/text-base/TeXworks_nl.qm.svn-base | Bin 0 -> 38588 bytes
.../text-base/TeXworks_nl.ts.svn-base} | 967 ++-
trans/.svn/text-base/TeXworks_pl.qm.svn-base | Bin 0 -> 40893 bytes
trans/.svn/text-base/TeXworks_pl.ts.svn-base | 2205 ++++++
trans/.svn/text-base/TeXworks_pt_BR.qm.svn-base | Bin 0 -> 40296 bytes
.../text-base/TeXworks_pt_BR.ts.svn-base} | 814 +-
.../text-base/TeXworks_ru.qm.svn-base} | Bin 40865 -> 45951 bytes
.../text-base/TeXworks_ru.ts.svn-base} | 455 +-
trans/.svn/text-base/TeXworks_sl.qm.svn-base | Bin 0 -> 40749 bytes
.../text-base/TeXworks_sl.ts.svn-base} | 1734 ++---
.../text-base/TeXworks_tr.qm.svn-base} | Bin 39570 -> 39563 bytes
.../text-base/TeXworks_tr.ts.svn-base} | 898 +--
trans/.svn/text-base/TeXworks_zh_CN.qm.svn-base | Bin 0 -> 32571 bytes
.../text-base/TeXworks_zh_CN.ts.svn-base} | 158 +-
trans/.svn/text-base/qt_ar.ts.svn-base | 7843 ++++++++++++++++++++
trans/.svn/text-base/qt_ko.ts.svn-base | 4460 +++++++++++
trans/TeXworks_af.qm | Bin 0 -> 44617 bytes
trans/TeXworks_af.ts | 2497 +++++++
trans/TeXworks_ar.qm | Bin 37750 -> 37751 bytes
trans/TeXworks_ca.qm | Bin 40609 -> 40632 bytes
trans/TeXworks_cs.qm | Bin 39851 -> 39851 bytes
trans/TeXworks_de.qm | Bin 41551 -> 47267 bytes
trans/TeXworks_de.ts | 1137 +--
trans/TeXworks_es.qm | Bin 41901 -> 46832 bytes
trans/TeXworks_es.ts | 294 +-
trans/TeXworks_fr.qm | Bin 41248 -> 38859 bytes
trans/TeXworks_ja.qm | Bin 31297 -> 32212 bytes
trans/TeXworks_ja.ts | 61 +-
trans/TeXworks_ru.qm | Bin 40865 -> 45951 bytes
trans/TeXworks_ru.ts | 455 +-
trans/TeXworks_tr.qm | Bin 39570 -> 39563 bytes
trans/TeXworks_zh_CN.qm | Bin 30350 -> 32571 bytes
trans/TeXworks_zh_CN.ts | 158 +-
482 files changed, 63716 insertions(+), 10122 deletions(-)
diff --cc debian/changelog
index 04f2c23,0000000..aba55f6
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,17 -1,0 +1,23 @@@
++texworks (0.3~svn569-1) experimental; urgency=low
++
++ * SVN version for experiment.
++
++ -- Atsuhito KOHDA <kohda@debian.org> Mon, 15 Feb 2010 22:09:05 +0900
++
+texworks (0.2.3-2) unstable; urgency=low
+
+ * Rebuild under poppler 0.12 (Closes: #551435)
+ * Added note on synctex feature in README.Debian
+ * Fixed copyright file to express Jérôme Laurens correctly
+ * Added texlive-latex-base and texlive-xetex to Recommends and Suggests
+ respectively.
+ * Moved "uudecode debian/document-print.png.enc" to configure-stamp
+ from build-stamp because configure searched it.
+
+ -- Atsuhito KOHDA <kohda@debian.org> Sun, 18 Oct 2009 19:16:52 +0900
+
+texworks (0.2.3-1) unstable; urgency=low
+
+ * Initial release (Closes: #538211)
+
+ -- Atsuhito KOHDA <kohda@debian.org> Sun, 11 Oct 2009 15:25:52 +0900
diff --cc debian/patch-print
index e8523ca,0000000..5a4d067
mode 100644,000000..100644
--- a/debian/patch-print
+++ b/debian/patch-print
@@@ -1,378 -1,0 +1,378 @@@
+--- texworks-0.0.1~svn337.orig/src/TeXDocument.h
++++ texworks-0.0.1~svn337/src/TeXDocument.h
- @@ -116,6 +116,7 @@
++@@ -124,6 +124,7 @@
+ void selectWindow(bool activate = true);
+ void typeset();
+ void interrupt();
++ void print();
-
- private slots:
+ void newFile();
++ void newFromTemplate();
++ void open();
+--- texworks-0.0.1~svn337.orig/src/PDFDocument.cpp
++++ texworks-0.0.1~svn337/src/PDFDocument.cpp
+@@ -50,6 +50,11 @@
+ #include <QFileSystemWatcher>
+ #include <QDebug>
+ #include <QToolTip>
++#include <QPrinter>
++#include <QPrintDialog>
++#include <QPrintEngine>
++#include <QBuffer>
++#include <QProgressDialog>
+
+ #include <math.h>
+
- @@ -1100,6 +1105,7 @@
++@@ -1115,6 +1120,7 @@
+ connect(actionNew, SIGNAL(triggered()), qApp, SLOT(newFile()));
+ connect(actionNew_from_Template, SIGNAL(triggered()), qApp, SLOT(newFromTemplate()));
+ connect(actionOpen, SIGNAL(triggered()), qApp, SLOT(open()));
++ connect(actionPrintPDF, SIGNAL(triggered()), this, SLOT(print()));
+
+ connect(actionQuit_TeXworks, SIGNAL(triggered()), TWApp::instance(), SLOT(maybeQuit()));
+
- @@ -1710,3 +1716,203 @@
++@@ -1733,3 +1739,203 @@
+ }
+ }
+
++void PDFDocument::print()
++{
++ QPrinter printer(QPrinter::HighResolution);
++ QPrintDialog printDlg(&printer, this);
++ QPainter painter;
++ QProgressDialog progressDlg(this);
++ Poppler::Page * page;
++ QImage pageImage;
++ QRect viewport;
++ int dpiX, dpiY;
++ double dpiXScale = 1.0, dpiYScale = 1.0;
++ double scale;
++ unsigned int firstPage, lastPage, i;
++ bool success = false;
++
++ // check if there's a pdf document to print
++ if(!document) return;
++
++ // check if we have permission to print the document
++ if(!document->okToPrint()) {
++ QMessageBox::critical(this, tr("Printing denied"), tr("You are not permitted to print this document"));
++ return;
++ }
++
++ // Set up some basic information about the document
++ printer.setCreator(TEXWORKS_NAME);
++ printer.setDocName(document->info("Title"));
++ if(printer.docName().isEmpty()) printer.setDocName(QFileInfo(curFile).baseName());
++
++ // do some setup for the print dialog
++ printDlg.setMinMax(1, document->numPages());
++ printDlg.setOption(QAbstractPrintDialog::PrintToFile, true);
++ printDlg.setOption(QAbstractPrintDialog::PrintSelection, false);
++ printDlg.setOption(QAbstractPrintDialog::PrintPageRange, true);
++ printDlg.setOption(QAbstractPrintDialog::PrintCollateCopies, true);
++ printDlg.setWindowTitle(tr("Print %1").arg(QFileInfo(curFile).fileName()));
++
++ // show the print dialog to the user
++ if(printDlg.exec() != QDialog::Accepted) return;
++
++ // determine the print range
++ switch(printDlg.printRange()) {
++ case QAbstractPrintDialog::PageRange:
++ firstPage = printDlg.fromPage();
++ lastPage = printDlg.toPage();
++ break;
++ default:
++ firstPage = 1;
++ lastPage = document->numPages();
++ }
++
++ // On *nix-like platforms, try using lp for printing
++ #if defined(Q_WS_X11) || defined(Q_WS_MAC)
++ // Catch empty printer names (e.g. used by CUPS for "printing to pdf")
++ if(!printer.printerName().isEmpty()) {
++ QStringList arguments;
++
++ arguments << "lp";
++
++ arguments << QString("-d %1").arg(printer.printerName());
++ arguments << QString("-n %1").arg(printer.numCopies());
++ arguments << QString("-t \"%1\"").arg(printer.docName());
++ arguments << QString("-P %1-%2").arg(firstPage).arg(lastPage);
++
++ switch(printer.duplex()) {
++ case QPrinter::DuplexNone:
++ arguments << "-o sides=one-sided";
++ break;
++ case QPrinter::DuplexShortSide:
++ arguments << "-o sides=two-sided-short-edge";
++ break;
++ case QPrinter::DuplexLongSide:
++ arguments << "-o sides=two-sided-long-edge";
++ break;
++ default:
++ break;
++ }
++ arguments << "--";
++
++ arguments << QString("\"%1\"").arg(curFile);
++
++ // passing arguments as QStringList didn't work for me - probably
++ // because of improper quoting of spaces
++ if(QProcess::execute(arguments.join(" ")) == 0) return;
++ }
++ #endif // On *nix, try using lpr for printing
++
++ // On Windows, try using OS native operation
++ #if defined(Q_WS_WIN)
++ {
++ // First try: directly passing postscript to the printer (if supported)
++ // I'm not sure if this is supported anywhere
++ // Note: QPrinter::getDC and QPrinter::releaseDC are undocumented
++ HDC dc;
++ Poppler::PSConverter * psConv;
++
++ dc = printer.getDC();
++
++ if(dc) {
++ int nEscapeCode = POSTSCRIPT_PASSTHROUGH;
++ if(ExtEscape(dc, QUERYESCSUPPORT, sizeof(int), (LPCSTR)&nEscapeCode, 0, NULL ) > 0 && (psConv = document->psConverter())) {
++ // Convert the pdf to postscript instructions
++ QBuffer buffer;
++
++ buffer.open(QBuffer::ReadWrite);
++ psConv->setOutputDevice(&buffer);
++ psConv->convert();
++
++ // and send them to the printer
++ success = (ExtEscape(dc, POSTSCRIPT_PASSTHROUGH, buffer.data().size(), buffer.data().data(), 0, NULL) > 0);
++
++ buffer.close();
++ }
++ printer.releaseDC(dc);
++ if(success) return;
++ }
++ // Second try: print by calling the system's standard printing program for pdf
++ // Seems to only print to the default printer, hence disabled for now
++/*
++ wchar_t * filename;
++ HRESULT coInit;
++ filename = new wchar_t[curFile.size()];
++
++ curFile.toWCharArray(filename);
++ coInit = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
++ if(coInit == S_OK || coInit == S_FALSE) {
++ success = ((int)ShellExecute(NULL, L"print", filename, NULL, NULL, SW_NORMAL) > 32);
++ CoUninitialize();
++ }
++ delete[] filename;
++ if(success) return;
++*/
++ }
++ #endif // On Windows, try using OS native operation
++
++ // Fallback: use Qt for printing
++ //
++ // This means rendering the pages as images via poppler and printing those
++ // To keep the rendering time and file size reasonable, resolution is
++ // clamped to a maximum of 300dpi. If you need more, use another program ;).
++
++ {
++ // ignore printer margins while painting - the margins are included in the
++ // pdf file
++ printer.setFullPage(true);
++
++ painter.begin(&printer);
++ viewport = painter.viewport();
++
++ dpiX = printer.printEngine()->metric(QPaintDevice::PdmDpiX);
++ dpiY = printer.printEngine()->metric(QPaintDevice::PdmDpiY);
++
++ // clamp the resolution to 300 dpi (postscript devices return 1200 dpi to
++ // Qt by default) to reduce file size and render time
++ dpiXScale = qMax(1, dpiX / 300);
++ dpiYScale = qMax(1, dpiY / 300);
++ dpiX = qMin(300, dpiX);
++ dpiY = qMin(300, dpiY);
++
++ progressDlg.setAutoClose(true);
++ progressDlg.setRange(firstPage, lastPage + 1);
++ progressDlg.setWindowModality(Qt::WindowModal);
++ for(i = firstPage; i <= lastPage && !progressDlg.wasCanceled(); ++i) {
++ progressDlg.setValue(i - firstPage);
++ progressDlg.setLabelText(tr("Printing page %1 of %2").arg(i - firstPage + 1).arg(lastPage - firstPage + 1));
++
++ page = document->page(i - 1);
++ if(page) {
++ pageImage = page->renderToImage(dpiX, dpiY);
++ painter.save();
++
++ // calculate the scale factor necessary to resize the page image to
++ // the real page while retaining the aspect ratio
++ scale = qMin((double)viewport.width() / (dpiXScale * pageImage.width()), (double)viewport.height() / (dpiYScale * pageImage.height()));
++
++ // if we need to shrink the page, so be it
++ if(scale < 1) {
++ painter.scale(scale, scale);
++ }
++ // otherwise center the page image on the page
++ // TODO: handle landscape etc.
++ else {
++ painter.translate( (viewport.width() - dpiXScale * pageImage.width()) / 2, (viewport.height() - dpiYScale * pageImage.height()) / 2);
++ }
++ painter.scale(dpiXScale, dpiYScale);
++
++ painter.drawImage(0, 0, pageImage);
++
++ painter.restore();
++ }
++
++ if(i != lastPage) printer.newPage();
++ }
++
++ if(progressDlg.wasCanceled()) printer.abort();
++ else painter.end();
++
++ progressDlg.reset();
++ }
++}
+--- texworks-0.0.1~svn337.orig/src/TeXDocument.ui
++++ texworks-0.0.1~svn337/src/TeXDocument.ui
- @@ -183,7 +183,7 @@
++@@ -163,7 +163,7 @@
+ <x>0</x>
+ <y>0</y>
+ <width>780</width>
+- <height>22</height>
++ <height>25</height>
+ </rect>
+ </property>
+ <widget class="QMenu" name="menuFile">
- @@ -199,6 +199,7 @@
++@@ -179,6 +179,7 @@
+ <addaction name="actionSave"/>
+ <addaction name="actionSave_As"/>
+ <addaction name="actionRevert_to_Saved"/>
++ <addaction name="actionPrintSource"/>
+ <addaction name="separator"/>
+ <addaction name="actionRemove_Aux_Files"/>
+ <addaction name="separator"/>
- @@ -1025,6 +1026,18 @@
++@@ -1084,6 +1085,18 @@
+ <enum>QAction::NoRole</enum>
+ </property>
+ </action>
++ <action name="actionPrintSource">
++ <property name="icon">
++ <iconset resource="../res/resources.qrc">
++ <normaloff>:/images/tango/document-print.png</normaloff>:/images/tango/document-print.png</iconset>
++ </property>
++ <property name="text">
++ <string>Print</string>
++ </property>
++ <property name="shortcut">
++ <string>Ctrl+P</string>
++ </property>
++ </action>
+ </widget>
+ <customwidgets>
+ <customwidget>
+--- texworks-0.0.1~svn337.orig/src/TeXDocument.cpp
++++ texworks-0.0.1~svn337/src/TeXDocument.cpp
- @@ -56,6 +56,8 @@
++@@ -58,6 +58,8 @@
+ #include <QPushButton>
+ #include <QFileSystemWatcher>
+ #include <QDebug>
++#include <QPrinter>
++#include <QPrintDialog>
+
+ #ifdef Q_WS_WIN
+ #include <windows.h>
- @@ -135,6 +137,7 @@
++@@ -167,6 +169,7 @@
+ connect(actionSave_As, SIGNAL(triggered()), this, SLOT(saveAs()));
+ connect(actionRevert_to_Saved, SIGNAL(triggered()), this, SLOT(revert()));
+ connect(actionClose, SIGNAL(triggered()), this, SLOT(close()));
++ connect(actionPrintSource, SIGNAL(triggered()), this, SLOT(print()));
+
+ connect(actionRemove_Aux_Files, SIGNAL(triggered()), this, SLOT(removeAuxFiles()));
+
- @@ -2441,3 +2444,26 @@
++@@ -2794,3 +2797,26 @@
+ pdfDoc = NULL;
+ }
+ }
++
++void TeXDocument::print()
++{
++ QPrinter printer(QPrinter::HighResolution);
++ QPrintDialog printDlg(&printer, this);
++
++ // Set up some basic information about the document
++ printer.setCreator(TEXWORKS_NAME);
++ printer.setDocName(QFileInfo(curFile).baseName());
++
++ // do some setup for the print dialog
++ // Note: no page range since we don't know how many pages this will be.
++ printDlg.setOption(QAbstractPrintDialog::PrintToFile, true);
++ printDlg.setOption(QAbstractPrintDialog::PrintSelection, true);
++ printDlg.setOption(QAbstractPrintDialog::PrintPageRange, false);
++ printDlg.setOption(QAbstractPrintDialog::PrintCollateCopies, true);
++ printDlg.setWindowTitle(tr("Print %1").arg(QFileInfo(curFile).fileName()));
++
++ // show the print dialog to the user
++ if(printDlg.exec() != QDialog::Accepted) return;
++
++ textEdit->print(&printer);
++}
+--- texworks-0.0.1~svn337.orig/src/PDFDocument.ui
++++ texworks-0.0.1~svn337/src/PDFDocument.ui
+@@ -23,7 +23,7 @@
+ <x>0</x>
+ <y>0</y>
+ <width>800</width>
+- <height>22</height>
++ <height>25</height>
+ </rect>
+ </property>
+ <widget class="QMenu" name="menuHelp">
+@@ -43,6 +43,7 @@
+ <addaction name="actionNew_from_Template"/>
+ <addaction name="actionOpen"/>
+ <addaction name="actionOpen_Recent"/>
++ <addaction name="actionPrintPDF"/>
+ <addaction name="separator"/>
+ <addaction name="actionClose"/>
+ <addaction name="separator"/>
- @@ -677,6 +678,18 @@
++@@ -729,6 +730,18 @@
+ <enum>QAction::NoRole</enum>
+ </property>
+ </action>
++ <action name="actionPrintPDF">
++ <property name="icon">
++ <iconset resource="../res/resources.qrc">
++ <normaloff>:/images/tango/document-print.png</normaloff>:/images/tango/document-print.png</iconset>
++ </property>
++ <property name="text">
++ <string>Print...</string>
++ </property>
++ <property name="shortcut">
++ <string>Ctrl+P</string>
++ </property>
++ </action>
+ </widget>
+ <resources>
+ <include location="../res/resources.qrc"/>
+--- texworks-0.0.1~svn337.orig/src/PDFDocument.h
++++ texworks-0.0.1~svn337/src/PDFDocument.h
- @@ -244,6 +244,7 @@
++@@ -250,6 +250,7 @@
+ void selectWindow(bool activate = true);
+ void texClosed(QObject *obj);
+ void reload();
++ void print();
-
- private slots:
- void updateRecentFileActions();
++ void retypeset();
++ void interrupt();
++ void sideBySide();
+--- texworks-0.0.1~svn337.orig/res/resources.qrc
++++ texworks-0.0.1~svn337/res/resources.qrc
+@@ -19,6 +19,7 @@
+ <file>tango/document-open.png</file>
+ <file>images/fileprint.png</file>
+ <file>tango/document-save.png</file>
++ <file>tango/document-print.png</file>
+ <file>tango/go-first.png</file>
+ <file>images/fitwidth.png</file>
+ <file>images/fitwindow.png</file>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texworks.git
Reply to: