Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 398 → Rev 399

/trunk/Scribus/configure.in
13,7 → 13,7
AC_ARG_PROGRAM
 
dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(scribus,1.2)
AM_INIT_AUTOMAKE(scribus,1.2.1cvs)
 
dnl KDE_SET_PREFIX
 
70,7 → 70,25
else
AC_MSG_ERROR([You need at least freetype 2.1.0])
fi
XML_LIBS=""
XML_CFLAGS=""
 
XML_CONFIG=""
AC_PATH_PROG(XML_CONFIG, xml2-config, [AC_MSG_ERROR([Could not find libxml2 anywhere, check http://www.xmlsoft.org/])], [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin /usr/bin /usr/X11/bin])
 
haxml=no
if test -n "$XML_CONFIG"; then
XML_LIBS="`$XML_CONFIG --libs`"
XML_CFLAGS="`$XML_CONFIG --cflags`"
AC_CHECK_LIB(xml2, attribute, [haxml=yes],[haxml=no])
if test $hafree = yes; then
AC_DEFINE_UNQUOTED(HAVE_XML, 1, [Defines if your system has the libxml2 library])
AC_SUBST(XML_LIBS)
AC_SUBST(XML_CFLAGS)
fi
fi
 
AC_CHECK_LIB(socket,socket,
if test "$uname" != "IRIX"; then
LIBS="-lsocket $LIBS"
129,16 → 147,16
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL
hapy=no
hapython=yes
kde_python_link_found=no
KDE_CHECK_PYTHON(1.5)
 
COMPILE_PYTHON=no
AC_ARG_WITH(python, [ --without-python Do not compile the Scripter Plugin],[ COMPILE_PYTHON=no ],[ COMPILE_PYTHON=yes ])
if test $hapy = no; then
if test $kde_python_link_found = no; then
COMPILE_PYTHON=no
fi
if test $hapy = yes; then
if test $kde_python_link_found = yes; then
AC_CHECK_HEADER(python2.3/Python.h, [foo=""],[hapython=no])
if test $hapython = yes; then
AC_DEFINE_UNQUOTED(HAVE_PYTHON_23, 1, [Python])
184,6 → 202,7
AC_CONFIG_FILES([scribus/plugins/gettext/Makefile])
AC_CONFIG_FILES([scribus/plugins/gettext/txtim/Makefile])
AC_CONFIG_FILES([scribus/plugins/gettext/csvim/Makefile])
AC_CONFIG_FILES([scribus/plugins/gettext/htmlim/Makefile])
AC_CONFIG_FILES([scribus/profiles/Makefile])
AC_CONFIG_FILES([scribus/dicts/Makefile])
AC_CONFIG_FILES([scribus/qm/Makefile])
212,6 → 231,11
else
echo "TiffLib installed: No"
fi
if test $haxml = yes; then
echo "Libxml2 installed: Yes"
else
echo "Libxml2 installed: No"
fi
if test $COMPILE_PYTHON = no; then
echo "The Scripter-Plugin will not be compiled."
else
/trunk/Scribus/ChangeLogCVS
1,53 → 1,11
Changes since 1.2RC1
Changes since 1.2
 
26.08.2004
* bug # 583: if I try to change the level of a group, only the level of one object is changed
* bug #1004: PDF Export with annotations sometimes creates errors
29.08.2004
* bug #1009: SuSE Patches for scribus
* bug #1011: Serious problems with pasting copied content from some applications.
* feature #1010: Update of russian translation. many fixes
* feature #1013: middle mouse button refreshes screen when you use it to paste text
 
25.08.2004
* bug # 842: New file > landscape has width and height reversed.
* bug #1000: Layer selector does not align layer name properly
28.08.2004
* feature # 500: Create new documentation website for 1.2 release
 
24.08.2004
* bug # 263: distribute items shuffles the order of the items
* bug # 991: layer selector doesnt reflect the order of the layers
* bug # 996: Changing paragraph style in story editor then exit and text frame does not redraw, then goes blank
* bug # 998: Story Editor adds lines after paragraphs
* bug # 999: PDF Elements lose names on save
* feature # 993: New french translators
* feature # 995: Update of russian translation
 
23.08.2004
* bug # 804: Color tab for fill/line color doesn't jump to the specific color when entering the beginning character
* bug # 960: Python scripting only accepts text in Latin1
* bug # 985: Dingbat font did not work
* bug # 991: layer selector doesnt reflect the order of the layers
* bug # 992: French translation for Scribus 1.2
* feature # 988: Italian Translation Update for 1.2
* feature # 989: Russian Translation Update for 1.2
 
22.08.2004
* bug # 728: "Hanging Conjunctions"
* feature # 953: small improvement to the layer selector at the bottom
* feature # 983: German ts-file for 1.2
 
21.08.2004
* feature # 980: Finnish translation update
* feature # 981: czech translation
* feature # 982: scribus 1.2rc1slovene translation file
 
20.08.2004
* bug # 977: Font spacing problem
* bug # 978: Selecting text font size box deselects text inside the Story Editor
* bug # 979: Some characters need to be presented as entity references when saving as template
 
19.08.2004
* bug # 547: multi-frame text disappears from later frames
 
18.08.2004
* bug # 962: Scribus crashes when opening a document not in .sla format
* bug # 976: settings-->hyphenator: wrong window title in German
* feature # 973: Ukrainian Translation Update
* feature # 974: Czech translation for 1.2rc
* feature # 975: Updated Polish translation
 
/trunk/Scribus/scribus/profiles/Makefile.am
4,10 → 4,10
EXTRA_DIST = Readme
 
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(prefix)/lib/scribus/profiles/
$(INSTALL_DATA) $(srcdir)/Readme $(DESTDIR)$(prefix)/lib/scribus/profiles/ReadMe
$(mkinstalldirs) $(libdir)/scribus/profiles/
$(INSTALL_DATA) $(srcdir)/Readme $(libdir)/scribus/profiles/ReadMe
 
uninstall-local:
-rm -f $(DESTDIR)$(prefix)/lib/scribus/profiles/ReadMe
-rm -f $(libdir)/scribus/profiles/ReadMe
 
####### kdevelop will overwrite this part!!! (end)############
/trunk/Scribus/scribus/Makefile.am
5,7 → 5,7
INTERFACES =
TRANSLATIONS =
 
SUBDIRS = icons libabout libprefs plugins libpostscript libpdf profiles dicts templates po qm
SUBDIRS = icons libabout libprefs plugins libpostscript libpdf profiles dicts templates qm
 
EXTRA_DIST = main.cpp scribus.cpp scribus.h scribusdoc.cpp scribusdoc.h scribusview.cpp scribusview.h newfile.h newfile.cpp pageitem.cpp pageitem.h pageback.cpp pageback.h hruler.cpp hruler.h vruler.cpp vruler.h colorm.cpp colorm.h query.cpp query.h dcolor.cpp dcolor.h cpalette.cpp cpalette.h mdup.cpp mdup.h docinfo.cpp docinfo.h reformdoc.cpp reformdoc.h serializer.cpp serializer.h align.cpp align.h fmitem.cpp fmitem.h fontprefs.cpp fontprefs.h missing.cpp missing.h tree.cpp tree.h pdfopts.cpp pdfopts.h inspage.cpp inspage.h delpages.cpp delpages.h movepage.cpp movepage.h mspinbox.cpp mspinbox.h helpbrowser.cpp helpbrowser.h icons5.h linkbutton.cpp linkbutton.h icons6.h linecombo.cpp linecombo.h scribusXml.cpp scribusXml.h cmykfw.cpp cmykfw.h cmykcolor.cpp cmykcolor.h util.cpp colorchart.cpp colorchart.h druck.cpp druck.h editformats.cpp editformats.h edit1format.cpp edit1format.h spalette.cpp spalette.h frameedit.cpp frameedit.h scfonts.cpp scfonts.h scrap.cpp scrap.h scfonts_ttf.cpp scfonts_ttf.h muster.cpp muster.h applytemplate.cpp applytemplate.h newtemp.cpp newtemp.h picstatus.cpp picstatus.h picsearch.cpp picsearch.h customfdialog.cpp customfdialog.h cmsprefs.cpp cmsprefs.h bookmwin.cpp bookmwin.h annot.cpp annot.h navigator.cpp navigator.h keymanager.cpp keymanager.h werktoolb.cpp werktoolb.h mpalette.h mpalette.cpp polyprops.cpp polyprops.h layers.cpp layers.h page.cpp page.h editor.cpp editor.h selfield.cpp selfield.h javadocs.cpp javadocs.h buttonicon.cpp buttonicon.h annota.cpp annota.h fpoint.cpp fpoint.h fpointarray.cpp fpointarray.h seiten.cpp seiten.h hysettings.cpp hysettings.h hnjalloc.c hnjalloc.h hyask.cpp hyask.h hyphen.c hyphen.h hyphenator.cpp hyphenator.h scribuswin.cpp scribuswin.h guidemanager.cpp guidemanager.h cupsoptions.cpp cupsoptions.h md5.c md5.h rc4.c rc4.h mergedoc.cpp mergedoc.h bookpalette.cpp bookpalette.h splash.h fontcombo.h scpainter.cpp scpainter.h vgradient.cpp vgradient.h story.cpp story.h autoform.cpp autoform.h fparser.cpp fparser.h tabmanager.cpp tabmanager.h search.cpp search.h styleselect.cpp styleselect.h alignselect.cpp alignselect.h shadebutton.cpp shadebutton.h pageselector.cpp gtaction.cpp gtaction.h gtwriter.cpp gtwriter.h gtfont.cpp gtfont.h gtdialogs.cpp gtdialogs.h gtstyle.cpp gtstyle.h gtframestyle.cpp gtframestyle.h gtparagraphstyle.cpp gtparagraphstyle.h gtmeasure.cpp gtmeasure.h gradienteditor.cpp gradienteditor.h pageselector.h insertTable.cpp insertTable.h art_kmisc.c art_kmisc.h art_render_misc.c art_render_misc.h art_render_pattern.c art_render_pattern.h art_rgb.c art_rgb.h art_rgb_affine_private.c art_rgb_affine_private.h art_rgb_svp.c art_rgb_svp.h art_rgba_affine.c art_rgba_affine.h gdk-pixbuf-xlib-drawable.c gdk-pixbuf-xlib-private.h gdk-pixbuf-xlib-render.c gdk-pixbuf-xlib.c gdk-pixbuf-xlib.h gdk-pixbuf-xlibrgb.c gdk-pixbuf-xlibrgb.h LoremIpsum.txt rgbscribus.txt rgbscribusgreys.txt rgbscribusgnome.txt rgbsvg.txt
 
12,14 → 12,14
install-data-local:
$(mkinstalldirs) $(prefix)/share/scribus/samples/
$(INSTALL_DATA) $(srcdir)/LoremIpsum.txt $(prefix)/share/scribus/samples/LoremIpsum.txt
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/rgbsvg.txt $(prefix)/lib/scribus/rgbsvg.txt
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/rgbscribusgreys.txt $(prefix)/lib/scribus/rgbscribusgreys.txt
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/rgbscribusgnome.txt $(prefix)/lib/scribus/rgbscribusgnome.txt
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/rgbscribus.txt $(prefix)/lib/scribus/rgbscribus.txt
$(mkinstalldirs) $(libdir)/scribus/
$(INSTALL_DATA) $(srcdir)/rgbsvg.txt $(libdir)/scribus/rgbsvg.txt
$(mkinstalldirs) $(libdir)/scribus/
$(INSTALL_DATA) $(srcdir)/rgbscribusgreys.txt $(libdir)/scribus/rgbscribusgreys.txt
$(mkinstalldirs) $(libdir)/scribus/
$(INSTALL_DATA) $(srcdir)/rgbscribusgnome.txt $(libdir)/scribus/rgbscribusgnome.txt
$(mkinstalldirs) $(libdir)/scribus/
$(INSTALL_DATA) $(srcdir)/rgbscribus.txt $(libdir)/scribus/rgbscribus.txt
$(mkinstalldirs) $(prefix)/include/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.h $(prefix)/include/scribus/scribus.h
$(mkinstalldirs) $(prefix)/include/scribus/
129,10 → 129,10
 
uninstall-local:
-rm -f $(prefix)/share/scribus/samples/LoremIpsum.txt
-rm -f $(prefix)/lib/scribus/rgbsvg.txt
-rm -f $(prefix)/lib/scribus/rgbscribusgreys.txt
-rm -f $(prefix)/lib/scribus/rgbscribusgnome.txt
-rm -f $(prefix)/lib/scribus/rgbscribus.txt
-rm -f $(libdir)/scribus/rgbsvg.txt
-rm -f $(libdir)/scribus/rgbscribusgreys.txt
-rm -f $(libdir)/scribus/rgbscribusgnome.txt
-rm -f $(libdir)/scribus/rgbscribus.txt
-rm -f $(prefix)/include/scribus/scribus.h
-rm -f $(prefix)/include/scribus/styleselect.h
-rm -f $(prefix)/include/scribus/alignselect.h
/trunk/Scribus/scribus/libprefs/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/libs
pluginsdir = $(libdir)/scribus/libs
AM_CPPFLAGS = -I$(top_builddir)/scribus
plugins_LTLIBRARIES = libpreferences.la
 
/trunk/Scribus/scribus/page.cpp
5494,6 → 5494,34
qApp->setOverrideCursor(QCursor(ArrowCursor), true);
}
}
else
{
if ((m->button() == MidButton) && (b->PType == 4))
{
Mpressed = false;
MidButt = false;
QString cc;
cc = QApplication::clipboard()->text(QClipboard::Selection);
if (cc.isNull())
cc = QApplication::clipboard()->text(QClipboard::Clipboard);
if (!cc.isNull())
{
Serializer *ss = new Serializer("");
ss->Objekt = cc;
int st = doku->CurrentABStil;
ss->GetText(b, st, doku->Vorlagen[st].Font, doku->Vorlagen[st].FontSize, true);
delete ss;
if (doku->Trenner->AutoCheck)
doku->Trenner->slotHyphenate(b);
}
else
{
if (ScApp->Buffer2.startsWith("<SCRIBUSTEXT"))
ScApp->slotEditPaste();
}
RefreshItem(b);
}
}
break;
case 8:
SeleItem(m);
/trunk/Scribus/scribus/dicts/Makefile.am
4,71 → 4,71
EXTRA_DIST = hyph_sl.dic hyph_sv.dic hyph_lt.dic hyph_ga.dic hyph_fi.dic hyph_el.dic hyph_cs.dic hyph_de.dic hyph_en.dic hyph_es.dic hyph_fr.dic hyph_it.dic hyph_ru.dic hyph_da.dic hyph_sk.dic hyph_hu.dic hyph_pt.dic hyph_nl.dic hyph_uk.dic hyph_ca.dic
 
install-data-local:
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_lt.dic $(prefix)/lib/scribus/dicts/hyph_lt.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_sl.dic $(prefix)/lib/scribus/dicts/hyph_sl.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_sv.dic $(prefix)/lib/scribus/dicts/hyph_sv.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_cs.dic $(prefix)/lib/scribus/dicts/hyph_cs.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_de.dic $(prefix)/lib/scribus/dicts/hyph_de.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_en.dic $(prefix)/lib/scribus/dicts/hyph_en.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_es.dic $(prefix)/lib/scribus/dicts/hyph_es.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_fi.dic $(prefix)/lib/scribus/dicts/hyph_fi.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_fr.dic $(prefix)/lib/scribus/dicts/hyph_fr.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_it.dic $(prefix)/lib/scribus/dicts/hyph_it.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_ru.dic $(prefix)/lib/scribus/dicts/hyph_ru.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_da.dic $(prefix)/lib/scribus/dicts/hyph_da.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_sk.dic $(prefix)/lib/scribus/dicts/hyph_sk.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_hu.dic $(prefix)/lib/scribus/dicts/hyph_hu.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_nl.dic $(prefix)/lib/scribus/dicts/hyph_nl.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_pt.dic $(prefix)/lib/scribus/dicts/hyph_pt.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_uk.dic $(prefix)/lib/scribus/dicts/hyph_uk.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_pl.dic $(prefix)/lib/scribus/dicts/hyph_pl.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_el.dic $(prefix)/lib/scribus/dicts/hyph_el.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_ca.dic $(prefix)/lib/scribus/dicts/hyph_ca.dic
$(mkinstalldirs) $(prefix)/lib/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_ga.dic $(prefix)/lib/scribus/dicts/hyph_ga.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_lt.dic $(libdir)/scribus/dicts/hyph_lt.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_sl.dic $(libdir)/scribus/dicts/hyph_sl.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_sv.dic $(libdir)/scribus/dicts/hyph_sv.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_cs.dic $(libdir)/scribus/dicts/hyph_cs.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_de.dic $(libdir)/scribus/dicts/hyph_de.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_en.dic $(libdir)/scribus/dicts/hyph_en.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_es.dic $(libdir)/scribus/dicts/hyph_es.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_fi.dic $(libdir)/scribus/dicts/hyph_fi.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_fr.dic $(libdir)/scribus/dicts/hyph_fr.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_it.dic $(libdir)/scribus/dicts/hyph_it.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_ru.dic $(libdir)/scribus/dicts/hyph_ru.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_da.dic $(libdir)/scribus/dicts/hyph_da.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_sk.dic $(libdir)/scribus/dicts/hyph_sk.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_hu.dic $(libdir)/scribus/dicts/hyph_hu.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_nl.dic $(libdir)/scribus/dicts/hyph_nl.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_pt.dic $(libdir)/scribus/dicts/hyph_pt.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_uk.dic $(libdir)/scribus/dicts/hyph_uk.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_pl.dic $(libdir)/scribus/dicts/hyph_pl.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_el.dic $(libdir)/scribus/dicts/hyph_el.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_ca.dic $(libdir)/scribus/dicts/hyph_ca.dic
$(mkinstalldirs) $(libdir)/scribus/dicts/
$(INSTALL_DATA) $(srcdir)/hyph_ga.dic $(libdir)/scribus/dicts/hyph_ga.dic
 
uninstall-local:
-rm -f $(prefix)/lib/scribus/dicts/hyph_lt.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_sl.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_sv.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_cs.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_de.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_en.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_es.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_fi.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_fr.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_it.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_ru.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_da.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_sk.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_hu.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_nl.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_pt.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_uk.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_pl.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_el.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_ca.dic
-rm -f $(prefix)/lib/scribus/dicts/hyph_ga.dic
-rm -f $(libdir)/scribus/dicts/hyph_lt.dic
-rm -f $(libdir)/scribus/dicts/hyph_sl.dic
-rm -f $(libdir)/scribus/dicts/hyph_sv.dic
-rm -f $(libdir)/scribus/dicts/hyph_cs.dic
-rm -f $(libdir)/scribus/dicts/hyph_de.dic
-rm -f $(libdir)/scribus/dicts/hyph_en.dic
-rm -f $(libdir)/scribus/dicts/hyph_es.dic
-rm -f $(libdir)/scribus/dicts/hyph_fi.dic
-rm -f $(libdir)/scribus/dicts/hyph_fr.dic
-rm -f $(libdir)/scribus/dicts/hyph_it.dic
-rm -f $(libdir)/scribus/dicts/hyph_ru.dic
-rm -f $(libdir)/scribus/dicts/hyph_da.dic
-rm -f $(libdir)/scribus/dicts/hyph_sk.dic
-rm -f $(libdir)/scribus/dicts/hyph_hu.dic
-rm -f $(libdir)/scribus/dicts/hyph_nl.dic
-rm -f $(libdir)/scribus/dicts/hyph_pt.dic
-rm -f $(libdir)/scribus/dicts/hyph_uk.dic
-rm -f $(libdir)/scribus/dicts/hyph_pl.dic
-rm -f $(libdir)/scribus/dicts/hyph_el.dic
-rm -f $(libdir)/scribus/dicts/hyph_ca.dic
-rm -f $(libdir)/scribus/dicts/hyph_ga.dic
 
 
####### kdevelop will overwrite this part!!! (end)############
/trunk/Scribus/scribus/po/scribus.ru.ts
141,7 → 141,7
The C-C-T equates to C=CUPS C=littlecms T=TIFF support.
Missing library support is indicated by a *</source>
<translation>Здесь отображается версия, дата сборки и
статус различных библиотек вместо со Scribus.
статус поддержки различных библиотек в Scribus.
&quot;C-C-T&quot; расшифровывается так:
C=CUPS C=littlecms T=TIFF
Отсутствующая библиотека помечается символом *</translation>
211,15 → 211,15
</message>
<message>
<source>Mirror Page(s) &amp;Horizontal</source>
<translation>Зеркалировать по &amp;горизонтали</translation>
<translation>Зеркально отразить по &amp;горизонтали</translation>
</message>
<message>
<source>Mirror Page(s) &amp;Vertical</source>
<translation>Зеркалировать по &amp;вертикали</translation>
<translation>Зеркально отразить по &amp;вертикали</translation>
</message>
<message>
<source>Apply Under Color &amp;Removal</source>
<translation>Применить вычитание цветных &amp;красок из-под черной краски</translation>
<translation>Применить вычитание из-под &amp;чёрного</translation>
</message>
<message>
<source>Apply &amp;ICC Profiles</source>
259,7 → 259,7
метода способно улучшить печать некоторых изображений, но
каждый отдельный случай требует особого рассмотрения.
При использовании этого способа также снижается
вероятность избыточной яркости. изображения. </translation>
вероятность избыточной яркости изображения. </translation>
</message>
<message>
<source>Mirror Page(s) horizontal</source>
442,7 → 442,7
</message>
<message>
<source>Align Text Right</source>
<translation>Выровнять по левой стороне</translation>
<translation>Выровнять по правой стороне</translation>
</message>
<message>
<source>Align Text Center</source>
481,7 → 481,7
</message>
<message>
<source>Combo Box</source>
<translation>Выпадающий список</translation>
<translation>Раскрывающийся список</translation>
</message>
<message>
<source>List Box</source>
697,7 → 697,7
</message>
<message>
<source>Default is Checked</source>
<translation>По умолчанию выставлен</translation>
<translation>По умолчанию включён</translation>
</message>
<message>
<source>Editable</source>
717,11 → 717,11
</message>
<message>
<source>Submit Form</source>
<translation>Переслать форму</translation>
<translation>Отправить форму</translation>
</message>
<message>
<source>Reset Form</source>
<translation>Обнулить форму</translation>
<translation>Сбросить введённые данные</translation>
</message>
<message>
<source>Import Data</source>
877,7 → 877,7
</message>
<message>
<source>Keystroke:</source>
<translation>Нажатие клавиши:</translation>
<translation>Комбинация клавиш:</translation>
</message>
<message>
<source>Format</source>
961,8 → 961,8
</message>
<message>
<source>You need at least the Icon for Normal to use Icons for Buttons</source>
<translation>Необходима хотя бы пиктограмма для Normal,
чтобы вообще использовать пиктограммы.</translation>
<translation>Для использования пиктограмм в кнопках необходима,
как минимум, пиктограмма для Normal</translation>
</message>
<message>
<source>Open</source>
1030,7 → 1030,7
</message>
<message>
<source>External Web-Link</source>
<translation>Внешняя web-ссылка</translation>
<translation>Внешняя веб-ссылка</translation>
</message>
<message>
<source>Destination</source>
1427,9 → 1427,9
<source>Color profile that you have generated or received from the manufacturer.
This profile should be specific to your monitor and not a generic profile (i.e. sRGB).</source>
<translation>Цветовой профиль, созданный вами или полученный
от производителя устройства. Этот профиль дожен
быть уникальным для вашего монитора, а не общим
профилем (например, sRGB).</translation>
от производителя устройства. Этот должен быть
профиль для конкретного монитора, а не общий
профиль (например, sRGB).</translation>
</message>
<message>
<source>Color profile for your printer model from the manufacturer.
1463,7 → 1463,7
<message>
<source>Enable &apos;soft proofing&apos; of how your document colors will print,
based on the chosen printer profile.</source>
<translation>Включить &quot;мягую проверку&quot; печати цветов вашего
<translation>Включить мягкий режим цветопробы вашего
документа на основе выбранного профиля для принтера.</translation>
</message>
<message>
1471,7 → 1471,7
This requires very accurate profiles and serves only as a warning.</source>
<translation>Способ отображения на экране тех цветов, которые
могут быть некорректно напечатаны. Он требует очень
точных профилей и имеет лишь функцию предупреждения.</translation>
точных профилей и предназначен лишь для предупреждения.</translation>
</message>
<message>
<source>&amp;Activate Color Management</source>
2111,18 → 2111,20
ответственные за создание содержимого
этого документа. Это поле может быть встроено
в документ Scribus для справки, равно как и
в виде метаданных для PDF</translation>
в метаданные для PDF</translation>
</message>
<message>
<source>A name given to the document.
This field can be embedded in the Scribus document for reference, as well as in the metadata of a PDF</source>
<translation>Имя, данное этому документу.
Это поле может быть встроено в документ Scribus для справки, равно как и в виде метаданных для PDF</translation>
Это поле может быть встроено в
документ Scribus для справки,
равно как и в метаданные для PDF</translation>
</message>
<message>
<source>An account of the content of the document.
This field is for a brief description or abstract of the document. It is embedded in the PDF on export</source>
<translation>Оценка содержимого этого документа.
<translation>Характеристика этого документа.
Это поле предназначено для краткого описания документа.
Оно встраивается в PDF при экспорте</translation>
</message>
2129,10 → 2131,10
<message>
<source>The topic of the content of the document.
This field is for document keywords you wish to embed in a PDF, to assist searches and indexing of PDF files</source>
<translation>Тема содержимого этого документа. Это поле
для ключевых слов, которые будут встроены в PDF
для упрощения последующего поиска и
индексирования PDF-файлов</translation>
<translation>Тема этого документа. Это поле для
ключевых слов, которые будут встроены
в PDF для упрощения последующего
поиска и индексирования PDF-файлов</translation>
</message>
<message>
<source>A person or organisation responsible for making the document available</source>
2140,12 → 2142,13
</message>
<message>
<source>A person or organisation responsible for making contributions to the content of the document</source>
<translation>Человек или организация, ответственный
за вклад в содержимое этого документа</translation>
<translation>Человек или организация, внесшие вклад
в содержимое этого документа</translation>
</message>
<message>
<source>A date associated with an event in the life cycle of the document, in YYYY-MM-DD format, as per ISO 8601</source>
<translation>Дата, связанная с событием в цикле жизни этого документа, в формате ГГГГ-ММ-ДД согласно ISO 8601</translation>
<translation>Дата, связанная с событием в жизненном цикле этого
документа, в формате ГГГГ-ММ-ДД согласно ISO 8601</translation>
</message>
<message>
<source>The nature or genre of the content of the document, eg. categories, functions, genres, etc</source>
2154,18 → 2157,18
<message>
<source>The physical or digital manifestation of the document. Media type and dimensions would be worth noting.
RFC2045,RFC2046 for MIME types are also useful here</source>
<translation>Физическое или цифровое обнародование этого документа.
Рекомендуется указать тип носителя и измерения.
Указание RFC2045, RFC2046 для MIME-типов также не помешают.</translation>
<translation>Физическая или цифровая форма этого документа.
Рекомендуется указать тип носителя и количество.
Указание RFC2045, RFC2046 для MIME-типов также не помешает.</translation>
</message>
<message>
<source>An unambiguous reference to the document within a given context such as ISBN or URI</source>
<translation>Однозначная ссылка на этот документ посредством ISBN или URI.</translation>
<translation>Уникальная ссылка на этот документ посредством ISBN или URI</translation>
</message>
<message>
<source>The language in which the content of the document is written, usually a ISO-639 language code
optionally suffixed with a hypen and an ISO-3166 country code, eg. en-GB, fr-CH</source>
<translation>Язык, на котором написано содержимое этого
<translation>Код языка, на котором написано содержимое этого
документа -- обычно, в коде ISO-639, обычно
имеющее суффикс с дефисом и кодом страны
по ISO-3166, например, en-GB, fr-CH.</translation>
2178,7 → 2181,7
</message>
<message>
<source>The extent or scope of the content of the document, possibly including location, time and jurisdiction ranges</source>
<translation>Пределы содержания данного документа, возможно,
<translation>Область охвата данного документа, возможно,
включая место, время и область юрисдикции.</translation>
</message>
<message>
2286,9 → 2289,10
<source>Insert a comma separated list of tokens where
a token can be * for all the pages, 1-5 for
a range of pages or a single page number.</source>
<translation>Информация в документе о нём,
такая как авторские и смежные
права, патент или торговая марка</translation>
<translation>Вставить сюда разделённый запятыми список
маркёров, где каждый маркёр может быть * для
всех страниц, 1-5 для диапазона страниц или
номером одиночной страницы.</translation>
</message>
<message>
<source>Print Destination</source>
2347,7 → 2351,7
</message>
<message>
<source>Print &amp;Separations</source>
<translation>Напечатать ц&amp;ветоделения</translation>
<translation>Напечатать с ц&amp;ветоделением</translation>
</message>
<message>
<source>Pr&amp;int In Color If Available</source>
2545,12 → 2549,11
</message>
<message>
<source>Color of text stroke</source>
<translation>Цвет текстового штриха</translation>
<translation>Цвет контура текста</translation>
</message>
<message>
<source>Provides an oversized first letter for a paragraph. Used for stylistic effect</source>
<translation>Создать увеличенную первую букву абзаца.
Этот приём используется для стилизации.</translation>
<translation>Создать (буквицу) увеличенную первую букву абзаца.</translation>
</message>
<message>
<source>Determines the overall height, in line numbers, of the Drop Caps</source>
2562,11 → 2565,11
</message>
<message>
<source>Spacing above the paragraph</source>
<translation>Интервал над абзацем</translation>
<translation>Отбивка перед абзацем</translation>
</message>
<message>
<source>Spacing below the paragraph</source>
<translation>Интервал под абзацем</translation>
<translation>Отбивка под абзацем</translation>
</message>
<message>
<source>Tabulators and Indentation</source>
2590,7 → 2593,7
</message>
<message>
<source>&amp;Drop Caps</source>
<translation>&amp;Капитель</translation>
<translation type="unfinished">&amp;Буквица</translation>
</message>
<message>
<source>&amp;Lines:</source>
2602,7 → 2605,7
</message>
<message>
<source>St&amp;roke Color:</source>
<translation>Цвет &amp;штриха:</translation>
<translation>Цвет &amp;контура:</translation>
</message>
<message>
<source>Adjust to Baseline &amp;Grid</source>
2900,9 → 2903,10
<source>Insert a comma separated list of tokens where
a token can be * for all the pages, 1-5 for
a range of pages or a single page number.</source>
<translation>Информация в документе о нём,
такая как авторские и смежные
права, патент или торговая марка</translation>
<translation>Вставить сюда разделённый запятыми список
маркёров, где каждый маркёр может быть * для
всех страниц, 1-5 для диапазона страниц или
номером одиночной страницы.</translation>
</message>
<message>
<source>Export all pages</source>
3017,7 → 3021,7
</message>
<message>
<source>No Title</source>
<translation>No Title</translation>
<translation>Без заголовка</translation>
</message>
<message>
<source>Author:</source>
3456,7 → 3460,7
<name>HelpBrowser</name>
<message>
<source>Sorry, no manual available! Please see: http://scribus.net for updated docs and downloads.</source>
<translation>Извините, но руководство недоступно! Зайдите на www.scribus.net для получения документации.</translation>
<translation>Извините, но руководство недоступно! Посетите сайт www.scribus.net для получения актуальной документации.</translation>
</message>
</context>
<context>
3487,17 → 3491,17
<message>
<source>If you uncheck this you will get a dialog
everytime a possible Hyphenation is found.</source>
<translation>Если не включить этот параметр, то при каждой
возможности перенести слово будет появляться диалог.</translation>
<translation>Если этот флажок сброшен, диалоговое окно
открывается для каждого переноса.</translation>
</message>
<message>
<source>Enables automatic checking of your text while typing.</source>
<translation>Проверять набираемый текст на предмет
возможности вставки переносов.</translation>
<translation>Проверять возможности вставки
переносов при вводе текста.</translation>
</message>
<message>
<source>Length of the smallest word to be hyphenated.</source>
<translation>Размер самого маленького переносимого слова.</translation>
<translation>Размер наименьшего переносимого слова.</translation>
</message>
<message>
<source>Maximum number of Hyphenations following each other.
3507,7 → 3511,7
</message>
<message>
<source>&amp;Fully Automatic</source>
<translation>&amp;Автоматическая вставлять переносы</translation>
<translation>&amp;Автоматически вставлять переносы</translation>
</message>
<message>
<source>Check &amp;During Typing</source>
4212,9 → 4216,10
<source>Insert a comma separated list of tokens where
a token can be * for all the pages, 1-5 for
a range of pages or a single page number.</source>
<translation>Информация в документе о нём,
такая как авторские и смежные
права, патент или торговая марка</translation>
<translation>Вставить сюда разделённый запятыми список
маркёров, где каждый маркёр может быть * для
всех страниц, 1-5 для диапазона страниц или
номером одиночной страницы.</translation>
</message>
<message>
<source> from 0</source>
4265,7 → 4270,7
<name>MovePages</name>
<message>
<source>Move Pages</source>
<translation>Перемещение страницы</translation>
<translation>Перемещение страниц</translation>
</message>
<message>
<source>Copy Page</source>
4450,7 → 4455,7
</message>
<message>
<source>Basepoint:</source>
<translation>Точка основы:</translation>
<translation>Опорная точка:</translation>
</message>
<message>
<source>Shade:</source>
4482,11 → 4487,11
</message>
<message>
<source>Horizontal position of current basepoint</source>
<translation>Горизонтальное положение точки основы</translation>
<translation>Горизонтальное положение опорной точки</translation>
</message>
<message>
<source>Vertical position of current basepoint</source>
<translation>Вертикальное положение точки основы</translation>
<translation>Вертикальное положение опорной точки</translation>
</message>
<message>
<source>Width</source>
4498,7 → 4503,7
</message>
<message>
<source>Rotation of object at current basepoint</source>
<translation>Вращение объекта относительно точки основы</translation>
<translation>Вращение объекта относительно опорной точки</translation>
</message>
<message>
<source>Point from which measurements or rotation angles are referenced</source>
4506,23 → 4511,23
</message>
<message>
<source>Select top left for basepoint</source>
<translation>Выберите верхний левый угол в качестве точки основы</translation>
<translation>Выберите верхний левый угол в качестве опорной точки</translation>
</message>
<message>
<source>Select top right for basepoint</source>
<translation>Выберите верхний правый угол в качестве точки основы</translation>
<translation>Выберите верхний правый угол в качестве опорной точки</translation>
</message>
<message>
<source>Select bottom left for basepoint</source>
<translation>Выберите нижний левый угол в качестве точки основы</translation>
<translation>Выберите нижний левый угол в качестве опорной точки</translation>
</message>
<message>
<source>Select bottom right for basepoint</source>
<translation>Выберите нижний правый угол в качестве точки основы</translation>
<translation>Выберите нижний правый угол в качестве опорной точки</translation>
</message>
<message>
<source>Select center for basepoint</source>
<translation>Выберите центр в качестве точки основы</translation>
<translation>Выберите центр в качестве опорной точки</translation>
</message>
<message>
<source>Flip Horizontal</source>
4570,7 → 4575,7
</message>
<message>
<source>Color of text stroke</source>
<translation>Цвет текстового штриха</translation>
<translation>Цвет контура текста</translation>
</message>
<message>
<source>Color of text fill</source>
4578,7 → 4583,7
</message>
<message>
<source>Saturation of color of text stroke</source>
<translation>Насыщенность цвета текстового штриха</translation>
<translation>Насыщенность цвета контура текста</translation>
</message>
<message>
<source>Saturation of color of text fill</source>
4674,7 → 4679,7
</message>
<message>
<source>Keep the X and Y scaling the same</source>
<translation>Сохранить пропорции сторон при масштабировании</translation>
<translation>Сохранить пропорции при масштабировании</translation>
</message>
<message>
<source>Make the image fit within the size of the frame</source>
4719,7 → 4724,8
</message>
<message>
<source>Make text in lower frames flow around the object shape</source>
<translation>Включить обтекание текста вокруг объекта уровнем выше</translation>
<translation>Включить обтекание текста вокруг
объектов более высоких уровней</translation>
</message>
<message>
<source>Switches between Gap or Column width</source>
5361,7 → 5367,8
</message>
<message>
<source>Width of the document&apos;s pages, editable if you have chosen a custom page size</source>
<translation>Настраиваемая ширина страниц документа</translation>
<translation>Ширина страниц документа, настраиваемая в том случае, если
выбраны пользовательские настройки размера страницы</translation>
</message>
<message>
<source>Height of the document&apos;s pages, editable if you have chosen a custom page size</source>
5403,7 → 5410,7
</message>
<message>
<source>Default unit of measurement for document editing</source>
<translation>Стандартная единица измерения в работе</translation>
<translation>Единица измерения по умолчанию</translation>
</message>
<message>
<source>Create text frames automatically when new pages are added</source>
5636,17 → 5643,18
</message>
<message>
<source>Reset Control Points</source>
<translation>Перечитать контрольные точки</translation>
<translation>Восстановить контрольные точки</translation>
</message>
<message>
<source>Reset this Control Point</source>
<translation>Перечитать эту контрольную точку</translation>
<translation>Восстановить эту контрольную точку</translation>
</message>
<message>
<source>When checked use Coordinates relative to the Page,
otherwise Coordinates are relative to the Object.</source>
<translation>Если флажок выставлен, то координаты соотносятся
со страницей, а если не выставлен -- с объектом.</translation>
<translation>Если флажок выставлен, используются
координаты относительно страницы, в
противном случае -- относительно объекта.</translation>
</message>
<message>
<source>&amp;Absolute Coordinates</source>
5666,7 → 5674,8
</message>
<message>
<source>&amp;Reset Contour Line</source>
<translation>&amp;Обнулить контурную линию</translation>
<translation>&amp;Восстановить
контурную линию</translation>
</message>
<message>
<source>&amp;End Editing</source>
5750,8 → 5759,7
</message>
<message>
<source>Reset the Contour Line to the Original Shape of the Frame</source>
<translation>Обнулить контурную линию
до исходного состояния</translation>
<translation>Восстановить исходную контурную линию</translation>
</message>
<message>
<source>Absolute Coordinates</source>
5953,7 → 5961,7
</message>
<message>
<source>Printer</source>
<translation>Вывода на печать</translation>
<translation>Вывод на печать</translation>
</message>
<message>
<source>Solid Colors:</source>
6092,7 → 6100,7
<message>
<source>Choose a master password which enables or disables all the
security features in your exported PDF</source>
<translation>Основной пароль, на который запираются все параметры
<translation>Основной пароль, которым защищены все параметры
безопасности экспортируемого PDF-файла</translation>
</message>
<message>
6158,8 → 6166,8
<source>Generates thumbnails of each page in the PDF.
Some viewers can use the thumbnails for navigation.</source>
<translation>Если параметр включён, Scribus создаст миниатюры для
каждой страницы в PDF, которые в некоторых программах
затем можно использовать для навигации по документу.</translation>
каждой страницы в PDF, которые могут использоваться
для навигации по документу в некоторых программах.</translation>
</message>
<message>
<source>Generate PDF Articles, which is useful for navigating linked articles in a PDF.</source>
6169,16 → 6177,15
<message>
<source>Embed the bookmarks you created in your document.
These are useful for navigating long PDF documents.</source>
<translation>Встроить закладки, созданные в документе.
Это позволит с кофмфортом перемещаться
по PDF-документу.</translation>
<translation>Встроить закладки, созданные в документе.
Это позволит удобно перемещаться по PDF-документу.</translation>
</message>
<message>
<source>Export resolution of text and vector graphics.
This does not affect the resolution of bitmap images like photos.</source>
<translation>Экспортировать разрешение текста и векторной
графики. На растровые изображения вроде
фотографий это не распространяется.</translation>
графики. На растровые изображения, подобные
фотографиям, это не распространяется.</translation>
</message>
<message>
<source>Compression of text and graphics.
6195,9 → 6202,12
Leave it set to automatic, unless you have a need for special compression options.</source>
<translation>Способ сжатия изображения
Автоматический - Scribus сам выбирает подходящий способ.
ZIP - подходит для изображений с полными тонами.
JPEG - больше подходит для создания PDF файлов меньшего размера с большим количеством фотографий (и по возможности небольшой потерей в качестве).
Для типичных задач рекомендуется оставить автоматический выбор типа сжатия.</translation>
ZIP - подходит для изображений со сплошными тонами.
JPEG - больше подходит для создания PDF файлов меньшего
размера с большим количеством фотографий (и по
возможности небольшой потерей в качестве).
Для типичных задач рекомендуется оставить
автоматический выбор типа сжатия.</translation>
</message>
<message>
<source>Downsample your bitmap images to the selected DPI.
6252,8 → 6262,8
<translation>Здесь определяются настройки безопасности в экспортируемом PDF.
Выберите Acrobat 4.0, если вам нужно 40-битное шифрование.
Выберите Acrobat 5.0, если вам нужно 128-битное шифрование.
Помните, что шифрование в PDF не использует алгоритимы GPG или PGP
и имеет некоторые ограничения..</translation>
Помните, что шифрование в PDF не настолько надёжно, как системы
шифрования GPG или PGP.</translation>
</message>
<message>
<source>Color model for the output of your PDF.
6283,17 → 6293,16
</message>
<message>
<source>Output profile for printing. If possible, get some guidance from your printer on profile selection.</source>
<translation>Профиль вывода на принтер. При возможности
сверьтесь с разделом о профилях руководства
к используемому принтеру.</translation>
<translation>Профиль вывода на печать. При возможности
получите информацию в вашей типографии
о необходимом профиле.</translation>
</message>
<message>
<source>Mandatory string for PDF/X-3 or the PDF will fail
PDF/X-3 conformance. We recommend you use the title of the document.</source>
<translation>Обязательная строка для PDF/X-3 или PDF
не пройдёт тест на соответствие требованиям
PDF/X-3. Рекомендуется использовать
вместо текущей название документа.</translation>
<translation>Обязательная строка для PDF/X-3 или PDF не пройдёт
тест на соответствие требованиям PDF/X-3.
Рекомендуется использовать название документа.</translation>
</message>
<message>
<source>Compression levels: Minimum (25%), Low (50%), Medium (75%), High (85%), Maximum (95%)</source>
6334,9 → 6343,10
<source>Insert a comma separated list of tokens where
a token can be * for all the pages, 1-5 for
a range of pages or a single page number.</source>
<translation>Информация в документе о нём,
такая как авторские и смежные
права, патент или торговая марка</translation>
<translation>Вставить сюда разделённый запятыми список
маркёров, где каждый маркёр может быть * для
всех страниц, 1-5 для диапазона страниц или
номером одиночной страницы.</translation>
</message>
<message>
<source>Create PDF File</source>
6554,11 → 6564,12
<source>This is an advanced setting which is not enabled by default. This should only be enabled
when specifically requested by your printer and they have given you the exact details needed.
Otherwise, your exported PDF may not print properly and is truly not portable across systems.</source>
<translation>Это расширенная настройка, отключенная по умолчанию. Включается
она в особых случаях, когда этого требует принтер, причём вам
сообщаются все детали. В противном случае экспортированный вами
PDF-файл может не распечататься корректно и не отображаться
одинаково во всех операционных системах.</translation>
<translation>Это дополнительный параметр, отключенный по умолчанию.
Он включается в особых случаях, когда этого требует принтер,
причём вам сообщаются все детали. В противном случае
экспортированный вами PDF-файл может не распечататься
корректно и не отображаться одинаково во всех
операционных системах.</translation>
</message>
<message>
<source>PDF Files (*.pdf);;All Files (*)</source>
6770,13 → 6781,13
<message>
<source>Provides a more pleasant view of text items in the viewer, at the expense
of a slight slowdown in previewing. This only affects Type 1 fonts</source>
<translation>Включить более приятное отображение текста при просмотре
<translation>Включить более качественное отображение текста при просмотре
ценой замедления прорисовки. Работает только со шрифтами Type1.</translation>
</message>
<message>
<source>Provides a more pleasant view of True Type Fonts, Open Type Fonts, EPS, PDF and
vector graphics in the preview, at the expense of a slight slowdown in previewing</source>
<translation>Включить более приятное отображение шрифтов TrueType, Open Type Fonts,
<translation>Включить более качественное отображение шрифтов TrueType, Open Type Fonts,
EPS, PDF и векторной графики при просмотре ценой замедления прорисовки.</translation>
</message>
<message>
6786,7 → 6797,7
</message>
<message>
<source>Gives a print preview using simulations of generic CMYK inks, instead of RGB colors</source>
<translation>Включить режим эмуляции CMYK чернил вместо палитры RGB.</translation>
<translation>Включить режим эмуляции красок CMYK вместо палитры RGB</translation>
</message>
<message>
<source>Enable/disable the C (Cyan) ink plate</source>
6818,8 → 6829,7
</message>
<message>
<source>&amp;Under Color Removal</source>
<translation>Вычитание цветных &amp;красок
из-под черной краски</translation>
<translation>Вычитание из-под &amp;чёрного</translation>
</message>
<message>
<source>&amp;Display CMYK</source>
6855,7 → 6865,7
метода способно улучшить печать некоторых изображений, но
каждый отдельный случай требует особого рассмотрения.
При использовании этого способа также снижается
вероятность избыточной яркости. изображения. </translation>
вероятность избыточной яркости изображения. </translation>
</message>
<message>
<source>Anti-alias Text</source>
7114,11 → 7124,11
</message>
<message>
<source>Send to &amp;Back</source>
<translation>Послать на самый &amp;низкий уровень</translation>
<translation>Отправить на самый &amp;низкий уровень</translation>
</message>
<message>
<source>Bring to &amp;Front</source>
<translation>Послать на самый &amp;высокий уровень</translation>
<translation>Отправить на самый &amp;высокий уровень</translation>
</message>
<message>
<source>&amp;Lower</source>
7174,7 → 7184,7
</message>
<message>
<source>Hide P&amp;roperties...</source>
<translation>Спрятать &amp;свойства...</translation>
<translation>Скрыть &amp;свойства...</translation>
</message>
<message>
<source>Do you really want to clear all your Text?</source>
7791,7 → 7801,7
<message>
<source>Choose the default window decoration and looks.
Scribus inherits any available KDE or Qt themes</source>
<translation>Выберите стандартную тему внешеного вида интерфейса,
<translation>Выберите одну из доступных тем интерфейса,
наследуемую Scribus у KDE и Qt</translation>
</message>
<message>
7804,7 → 7814,7
</message>
<message>
<source>Number of lines Scribus will scroll for each move of the mouse wheel</source>
<translation>Количество прокручиваемых при помощи колеса мыши строк за один раз</translation>
<translation>Количество строк, прокручиваемых за один раз при помощи колеса мыши</translation>
</message>
<message>
<source>Radius of the area where Scribus will allow you to grab an objects handles</source>
7836,11 → 7846,13
</message>
<message>
<source>Width of document pages, editable if you have chosen a custom page size</source>
<translation>Настраиваемая ширина страниц документа</translation>
<translation>Ширина страниц документа, настраиваемая в том случае, если
выбраны пользовательские настройки размера страницы</translation>
</message>
<message>
<source>Height of document pages, editable if you have chosen a custom page size</source>
<translation>Настраиваемая высота страниц документа</translation>
<translation>Высота страниц документа, настраиваемая в том случае, если
выбраны пользовательские настройки размера страницы</translation>
</message>
<message>
<source>Enable single or spread based layout</source>
7945,11 → 7957,11
</message>
<message>
<source>Magnification Level Defaults</source>
<translation>Стандартные установки &quot;прилипания&quot;</translation>
<translation>Степень увеличения по умолчанию</translation>
</message>
<message>
<source>Line Drawing Properties</source>
<translation>Свойства нарисованной линии</translation>
<translation>Свойства линии</translation>
</message>
<message>
<source>Polygon Drawing Properties</source>
7981,7 → 7993,7
</message>
<message>
<source>Picture frames allow pictures to scale to any size</source>
<translation>Рамки позволяют масштабировать изображения как угодно</translation>
<translation>Рамки позволяют произвольно масштабировать изображения</translation>
</message>
<message>
<source>Horizontal scaling of images</source>
8087,7 → 8099,7
</message>
<message>
<source>When using facing pages, show the two pages side by side</source>
<translation>Если страницы укзаны как парные, разбрасывать
<translation>Если страницы указаны как парные, разбрасывать
их отображение по соответствующим сторонам</translation>
</message>
<message>
8112,7 → 8124,7
</message>
<message>
<source>Filesystem location for the Ghostscript interpreter</source>
<translation>Местоположение интерпретатора Ghostscript в системе</translation>
<translation>Путь к интерпретатору Ghostscript в системе</translation>
</message>
<message>
<source>Antialias text for EPS and PDF onscreen rendering</source>
8140,7 → 8152,7
</message>
<message>
<source>Filesystem location for graphics editor</source>
<translation>Местоположение графического редактора</translation>
<translation>Путь к графическому редактору</translation>
</message>
<message>
<source>Baseline Grid</source>
8491,8 → 8503,7
</message>
<message>
<source>Apply &amp;Under Color Removal</source>
<translation>Применить вычитание цветных
&amp;красок из-под черной краски</translation>
<translation>Применить вычитание из-под &amp;чёрного</translation>
</message>
<message>
<source>&amp;OK</source>
8890,11 → 8901,11
</message>
<message>
<source>Read: %1</source>
<translation type="unfinished"></translation>
<translation>Прочитать: %1</translation>
</message>
<message>
<source>Write: %1</source>
<translation type="unfinished"></translation>
<translation>Прочитать: %1</translation>
</message>
<message>
<source>File &amp;name:</source>
8942,7 → 8953,7
</message>
<message>
<source>Look &amp;in:</source>
<translation type="unfinished"></translation>
<translation>Посмотреть &amp;в^</translation>
</message>
<message>
<source>Back</source>
8962,11 → 8973,11
</message>
<message>
<source>Preview File Info</source>
<translation type="unfinished"></translation>
<translation>Информация о просматриваемом файле</translation>
</message>
<message>
<source>Preview File Contents</source>
<translation type="unfinished"></translation>
<translation>Содержимое просматриваемого файла</translation>
</message>
<message>
<source>Read-write</source>
9026,7 → 9037,7
</message>
<message>
<source>&amp;Rename</source>
<translation type="unfinished"></translation>
<translation>&amp;Переименовать</translation>
</message>
<message>
<source>&amp;Delete</source>
9034,7 → 9045,7
</message>
<message>
<source>R&amp;eload</source>
<translation type="unfinished"></translation>
<translation>Пере&amp;загрузить</translation>
</message>
<message>
<source>Sort by &amp;Name</source>
9368,7 → 9379,7
</message>
<message>
<source>Brochures</source>
<translation>Брошюры</translation>
<translation>Буклеты</translation>
</message>
<message>
<source>Catalogs</source>
9388,7 → 9399,7
</message>
<message>
<source>Letterheads</source>
<translation>Фирменные штампы</translation>
<translation>Фирменные бланки</translation>
</message>
<message>
<source>Envelopes</source>
9396,7 → 9407,7
</message>
<message>
<source>Business Cards</source>
<translation>Визитки</translation>
<translation>Визитные карточки</translation>
</message>
<message>
<source>Calendars</source>
9432,7 → 9443,7
</message>
<message>
<source>Posters</source>
<translation>Постеры</translation>
<translation>Плакаты</translation>
</message>
<message>
<source>Announcements</source>
9444,7 → 9455,7
</message>
<message>
<source>Folds</source>
<translation>Гармошки</translation>
<translation>Буклеты-гармошки</translation>
</message>
<message>
<source>Own Templates</source>
9516,7 → 9527,7
</message>
<message>
<source>Oook! Wrong arguments! Call: </source>
<translation>Неправильные аргументы! Call:</translation>
<translation>Неправильные аргументы! Вызов:</translation>
</message>
<message>
<source>Importing text</source>
9551,7 → 9562,7
</message>
<message>
<source>HTML Files</source>
<translation>Гипертекстовые документы</translation>
<translation>Документы HTML</translation>
</message>
<message>
<source>html</source>
9653,7 → 9664,7
</message>
<message>
<source>Unshade</source>
<translation>Растенить</translation>
<translation>Убрать тень</translation>
</message>
<message>
<source>Normalize</source>
9724,7 → 9735,7
</message>
<message>
<source>&amp;Unshade</source>
<translation>Р&amp;астенить</translation>
<translation>Убр&amp;ать тень</translation>
</message>
</context>
<context>
9777,7 → 9788,7
If Facing Pages is selected, this margin space can be used to achieve the correct margins for binding</source>
<translation>Расстояние между направляющей нижнего поля и краем страницы.
Если включён режим парных страниц, пространство полей может
быть использовано для просчёта правильных полей для переплёта.</translation>
быть использовано для расчёта правильных полей для переплёта.</translation>
</message>
<message>
<source>Distance between the right margin guide and the edge of the page.
9784,7 → 9795,7
If Facing Pages is selected, this margin space can be used to achieve the correct margins for binding</source>
<translation>Расстояние между направляющей правого поля и краем страницы.
Если включён режим парных страниц, пространство полей может
быть использовано для просчёта правильных полей для переплёта.</translation>
быть использовано для расчёта правильных полей для переплёта.</translation>
</message>
<message>
<source> pt</source>
9917,7 → 9928,7
<name>SToolBColorS</name>
<message>
<source>Stroke Color Settings</source>
<translation>Настройки цвета штриха</translation>
<translation>Настройки цвета контура</translation>
</message>
<message>
<source>None</source>
9925,11 → 9936,11
</message>
<message>
<source>Color of text stroke</source>
<translation>Цвет штриха текста</translation>
<translation>Цвет контура текста</translation>
</message>
<message>
<source>Saturation of color of text stroke</source>
<translation>Цветонасыщенность текстового штриха</translation>
<translation>Цветонасыщенность контура текста</translation>
</message>
</context>
<context>
10161,11 → 10172,11
</message>
<message>
<source>Duplicate</source>
<translation>Дублировать</translation>
<translation>Продублировать</translation>
</message>
<message>
<source>Multiple Duplicate</source>
<translation>Многократно дублировать</translation>
<translation>Продублировать многократно</translation>
</message>
<message>
<source>Delete</source>
10245,15 → 10256,15
</message>
<message>
<source>Hide Margins</source>
<translation>Спрятать поля</translation>
<translation>Скрыть поля</translation>
</message>
<message>
<source>Hide Frames</source>
<translation>Спрятать обрамление</translation>
<translation>Скрыть обрамление</translation>
</message>
<message>
<source>Hide Images</source>
<translation>Спрятать изображения</translation>
<translation>Скрыть изображения</translation>
</message>
<message>
<source>Show Grid</source>
10619,7 → 10630,7
</message>
<message>
<source>Hide Baseline Grid</source>
<translation>Спрятать опорную сетку</translation>
<translation>Скрыть опорную сетку</translation>
</message>
<message>
<source>Some Objects are locked.</source>
10815,7 → 10826,7
</message>
<message>
<source>&amp;Multiple Duplicate</source>
<translation>Мно&amp;гократно продублировать</translation>
<translation>Продублировать мно&amp;гократно</translation>
</message>
<message>
<source>&amp;Delete</source>
10971,7 → 10982,7
</message>
<message>
<source>&amp;Keyboard Shortcuts...</source>
<translation>&amp;Горячие клавишы...</translation>
<translation>&amp;Горячие клавиши...</translation>
</message>
<message>
<source>&amp;About Scribus</source>
11566,11 → 11577,11
</message>
<message>
<source>Stroke Color</source>
<translation>Цвет штриха</translation>
<translation>Цвет контура</translation>
</message>
<message>
<source>Stroke Shade</source>
<translation>Тень штриха</translation>
<translation>Тень контура</translation>
</message>
<message>
<source>Left</source>
11686,7 → 11697,7
<message>
<source>Drag Pages or Template Pages onto the Trashbin to delete them.</source>
<translation>Перетащите страницы или шаблоны
на значок корзины для их удаления.</translation>
на пиктограмму корзины для их удаления.</translation>
</message>
<message>
<source>Here are all your Templates, to create a new Page
11971,7 → 11982,7
</message>
<message>
<source>&amp;Reload Text from Frame</source>
<translation>&amp;Перечитать текст из рамки</translation>
<translation>&amp;Восстановить текст из рамки</translation>
</message>
<message>
<source>&amp;Save to File...</source>
12067,7 → 12078,7
</message>
<message>
<source>Reload Text from Frame</source>
<translation>Перечитать текст из рамки</translation>
<translation>Восстановить текст из рамки</translation>
</message>
<message>
<source>Search/Replace</source>
12303,7 → 12314,7
<name>Tree</name>
<message>
<source>Outline</source>
<translation>Схема</translation>
<translation>Структура</translation>
</message>
<message>
<source>Element</source>
12436,7 → 12447,7
</message>
<message>
<source>Zoom in or out</source>
<translation>Приблизить или отдалить вид страницы</translation>
<translation>Изменить масштаб</translation>
</message>
<message>
<source>Edit the text with the Story Editor</source>
12467,7 → 12478,7
</message>
<message>
<source>Combo Box</source>
<translation>Выпадающий список</translation>
<translation>Раскрывающийся список</translation>
</message>
<message>
<source>List Box</source>
12640,7 → 12651,7
</message>
<message>
<source>Extract the package to the template directory ~/.scribus/templates for the current user or PREFIX/share/scribus/templates for all users in the system.</source>
<translation>Распакуйте архив во каталог шаблонов ~/.scribus/templates
<translation>Распакуйте архив в каталог шаблонов ~/.scribus/templates
для текущего пользователя или в PREFIX/share/scribus/templates
для всех пользователей системы.</translation>
</message>
12670,7 → 12681,7
</message>
<message>
<source>The template creator should also make sure that the Installing Templates section above applies to their templates as well. This means a user should be able to download a template package and be able to extract them to the template directory and start using them.</source>
<translation>Создатель шаблога должен убедиться в том, что раздел &quot;Установка шаблонов&quot; действителен и для его шаблонов. Это означает, что у пользователя не должно возникнуть проблем при скачивании пакета, извлечении файлов шаблонов из него и использовании этих шаблонов.</translation>
<translation>Создатель шаблона должен убедиться в том, что раздел &quot;Установка шаблонов&quot; действителен и для его шаблонов. Это означает, что у пользователя не должно возникнуть проблем при скачивании пакета, извлечении файлов шаблонов из него и использовании этих шаблонов.</translation>
</message>
<message>
<source>Removing a template from the New From Template dialog will only remove the entry from the template.xml, it will not delete the document files. A popup menu with remove is only shown if you have write access to the template.xml file.</source>
/trunk/Scribus/scribus/qm/Makefile.am
4,88 → 4,62
EXTRA_DIST = scribus.eu.qm scribus.sl.qm scribus.se.qm scribus.fi.qm scribus.cy.qm scribus.id.qm scribus.nl.qm scribus.ru.qm scribus.cs.qm scribus.bg.qm scribus.ca.qm scribus.da.qm scribus.de.qm scribus.en_GB.qm scribus.es.qm scribus.fr.qm scribus.gl.qm scribus.hu.qm scribus.it.qm scribus.lt_LT.qm scribus.pl.qm scribus.sk.qm scribus.tr.qm scribus.uk.qm scribus.no.qm scribus.nb.qm scribus.br.qm
 
install-data-local:
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.bg.qm $(prefix)/lib/scribus/scribus.bg.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.br.qm $(prefix)/lib/scribus/scribus.br.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.cs.qm $(prefix)/lib/scribus/scribus.cs.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.ca.qm $(prefix)/lib/scribus/scribus.ca.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.da.qm $(prefix)/lib/scribus/scribus.da.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.de.qm $(prefix)/lib/scribus/scribus.de.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.en_GB.qm $(prefix)/lib/scribus/scribus.en_GB.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.es.qm $(prefix)/lib/scribus/scribus.es.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.eu.qm $(prefix)/lib/scribus/scribus.eu.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.fi.qm $(prefix)/lib/scribus/scribus.fi.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.fr.qm $(prefix)/lib/scribus/scribus.fr.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.gl.qm $(prefix)/lib/scribus/scribus.gl.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.id.qm $(prefix)/lib/scribus/scribus.id.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.it.qm $(prefix)/lib/scribus/scribus.it.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.pl.qm $(prefix)/lib/scribus/scribus.pl.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.sk.qm $(prefix)/lib/scribus/scribus.sk.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.tr.qm $(prefix)/lib/scribus/scribus.tr.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.hu.qm $(prefix)/lib/scribus/scribus.hu.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.uk.qm $(prefix)/lib/scribus/scribus.uk.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.nb.qm $(prefix)/lib/scribus/scribus.nb.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.no.qm $(prefix)/lib/scribus/scribus.no.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.ru.qm $(prefix)/lib/scribus/scribus.ru.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.nl.qm $(prefix)/lib/scribus/scribus.nl.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.cy.qm $(prefix)/lib/scribus/scribus.cy.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.sl.qm $(prefix)/lib/scribus/scribus.sl.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.se.qm $(prefix)/lib/scribus/scribus.se.qm
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.lt_LT.qm $(prefix)/lib/scribus/scribus.lt.qm
$(mkinstalldirs) $(libdir)/scribus/
$(INSTALL_DATA) $(srcdir)/scribus.bg.qm $(libdir)/scribus/scribus.bg.qm
$(INSTALL_DATA) $(srcdir)/scribus.br.qm $(libdir)/scribus/scribus.br.qm
$(INSTALL_DATA) $(srcdir)/scribus.cs.qm $(libdir)/scribus/scribus.cs.qm
$(INSTALL_DATA) $(srcdir)/scribus.ca.qm $(libdir)/scribus/scribus.ca.qm
$(INSTALL_DATA) $(srcdir)/scribus.da.qm $(libdir)/scribus/scribus.da.qm
$(INSTALL_DATA) $(srcdir)/scribus.de.qm $(libdir)/scribus/scribus.de.qm
$(INSTALL_DATA) $(srcdir)/scribus.en_GB.qm $(libdir)/scribus/scribus.en_GB.qm
$(INSTALL_DATA) $(srcdir)/scribus.es.qm $(libdir)/scribus/scribus.es.qm
$(INSTALL_DATA) $(srcdir)/scribus.eu.qm $(libdir)/scribus/scribus.eu.qm
$(INSTALL_DATA) $(srcdir)/scribus.fi.qm $(libdir)/scribus/scribus.fi.qm
$(INSTALL_DATA) $(srcdir)/scribus.fr.qm $(libdir)/scribus/scribus.fr.qm
$(INSTALL_DATA) $(srcdir)/scribus.gl.qm $(libdir)/scribus/scribus.gl.qm
$(INSTALL_DATA) $(srcdir)/scribus.id.qm $(libdir)/scribus/scribus.id.qm
$(INSTALL_DATA) $(srcdir)/scribus.it.qm $(libdir)/scribus/scribus.it.qm
$(INSTALL_DATA) $(srcdir)/scribus.pl.qm $(libdir)/scribus/scribus.pl.qm
$(INSTALL_DATA) $(srcdir)/scribus.sk.qm $(libdir)/scribus/scribus.sk.qm
$(INSTALL_DATA) $(srcdir)/scribus.tr.qm $(libdir)/scribus/scribus.tr.qm
$(INSTALL_DATA) $(srcdir)/scribus.hu.qm $(libdir)/scribus/scribus.hu.qm
$(INSTALL_DATA) $(srcdir)/scribus.uk.qm $(libdir)/scribus/scribus.uk.qm
$(INSTALL_DATA) $(srcdir)/scribus.nb.qm $(libdir)/scribus/scribus.nb.qm
$(INSTALL_DATA) $(srcdir)/scribus.no.qm $(libdir)/scribus/scribus.no.qm
$(INSTALL_DATA) $(srcdir)/scribus.ru.qm $(libdir)/scribus/scribus.ru.qm
$(INSTALL_DATA) $(srcdir)/scribus.nl.qm $(libdir)/scribus/scribus.nl.qm
$(INSTALL_DATA) $(srcdir)/scribus.cy.qm $(libdir)/scribus/scribus.cy.qm
$(INSTALL_DATA) $(srcdir)/scribus.sl.qm $(libdir)/scribus/scribus.sl.qm
$(INSTALL_DATA) $(srcdir)/scribus.se.qm $(libdir)/scribus/scribus.se.qm
$(INSTALL_DATA) $(srcdir)/scribus.lt_LT.qm $(libdir)/scribus/scribus.lt.qm
 
uninstall-local:
-rm -f $(prefix)/lib/scribus/scribus.bg.qm
-rm -f $(prefix)/lib/scribus/scribus.br.qm
-rm -f $(prefix)/lib/scribus/scribus.cs.qm
-rm -f $(prefix)/lib/scribus/scribus.ca.qm
-rm -f $(prefix)/lib/scribus/scribus.da.qm
-rm -f $(prefix)/lib/scribus/scribus.de.qm
-rm -f $(prefix)/lib/scribus/scribus.en_GB.qm
-rm -f $(prefix)/lib/scribus/scribus.es.qm
-rm -f $(prefix)/lib/scribus/scribus.eu.qm
-rm -f $(prefix)/lib/scribus/scribus.fi.qm
-rm -f $(prefix)/lib/scribus/scribus.fr.qm
-rm -f $(prefix)/lib/scribus/scribus.gl.qm
-rm -f $(prefix)/lib/scribus/scribus.id.qm
-rm -f $(prefix)/lib/scribus/scribus.it.qm
-rm -f $(prefix)/lib/scribus/scribus.pl.qm
-rm -f $(prefix)/lib/scribus/scribus.sk.qm
-rm -f $(prefix)/lib/scribus/scribus.tr.qm
-rm -f $(prefix)/lib/scribus/scribus.uk.qm
-rm -f $(prefix)/lib/scribus/scribus.hu.qm
-rm -f $(prefix)/lib/scribus/scribus.nb.qm
-rm -f $(prefix)/lib/scribus/scribus.no.qm
-rm -f $(prefix)/lib/scribus/scribus.ru.qm
-rm -f $(prefix)/lib/scribus/scribus.nl.qm
-rm -f $(prefix)/lib/scribus/scribus.cy.qm
-rm -f $(prefix)/lib/scribus/scribus.sl.qm
-rm -f $(prefix)/lib/scribus/scribus.lt.qm
-rm -f $(prefix)/lib/scribus/scribus.se.qm
-rm -f $(libdir)/scribus/scribus.bg.qm
-rm -f $(libdir)/scribus/scribus.br.qm
-rm -f $(libdir)/scribus/scribus.cs.qm
-rm -f $(libdir)/scribus/scribus.ca.qm
-rm -f $(libdir)/scribus/scribus.da.qm
-rm -f $(libdir)/scribus/scribus.de.qm
-rm -f $(libdir)/scribus/scribus.en_GB.qm
-rm -f $(libdir)/scribus/scribus.es.qm
-rm -f $(libdir)/scribus/scribus.eu.qm
-rm -f $(libdir)/scribus/scribus.fi.qm
-rm -f $(libdir)/scribus/scribus.fr.qm
-rm -f $(libdir)/scribus/scribus.gl.qm
-rm -f $(libdir)/scribus/scribus.id.qm
-rm -f $(libdir)/scribus/scribus.it.qm
-rm -f $(libdir)/scribus/scribus.pl.qm
-rm -f $(libdir)/scribus/scribus.sk.qm
-rm -f $(libdir)/scribus/scribus.tr.qm
-rm -f $(libdir)/scribus/scribus.uk.qm
-rm -f $(libdir)/scribus/scribus.hu.qm
-rm -f $(libdir)/scribus/scribus.nb.qm
-rm -f $(libdir)/scribus/scribus.no.qm
-rm -f $(libdir)/scribus/scribus.ru.qm
-rm -f $(libdir)/scribus/scribus.nl.qm
-rm -f $(libdir)/scribus/scribus.cy.qm
-rm -f $(libdir)/scribus/scribus.sl.qm
-rm -f $(libdir)/scribus/scribus.lt.qm
-rm -f $(libdir)/scribus/scribus.se.qm
 
####### kdevelop will overwrite this part!!! (end)############
/trunk/Scribus/scribus/qm/scribus.ru.qm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/Scribus/scribus/story.cpp
159,6 → 159,7
viewport()->setAcceptDrops(false);
ClipData = 0;
connect(QApplication::clipboard(), SIGNAL(dataChanged()), this, SLOT(ClipChange()));
connect(QApplication::clipboard(), SIGNAL(selectionChanged()), this, SLOT(SelClipChange()));
}
 
void SEditor::keyPressEvent(QKeyEvent *k)
1171,11 → 1172,13
if ((hasSelectedText()) && (selectedText() != ""))
{
disconnect(QApplication::clipboard(), SIGNAL(dataChanged()), this, SLOT(ClipChange()));
disconnect(QApplication::clipboard(), SIGNAL(selectionChanged()), this, SLOT(SelClipChange()));
tBuffer = selectedText();
copyStyledText();
QApplication::clipboard()->setText(tBuffer, QClipboard::Clipboard);
ClipData = 1;
connect(QApplication::clipboard(), SIGNAL(dataChanged()), this, SLOT(ClipChange()));
connect(QApplication::clipboard(), SIGNAL(selectionChanged()), this, SLOT(SelClipChange()));
emit PasteAvail();
}
emit SideBarUp(true);
1198,19 → 1201,29
{
emit SideBarUp(false);
int p, i;
QString data = "";
getCursorPosition(&p, &i);
if (ClipData == 2)
if (ClipData == 1)
insStyledText();
else
{
QString data = QApplication::clipboard()->text(QClipboard::Clipboard);
QString data = QApplication::clipboard()->text(QClipboard::Selection);
if (data.isNull())
data = QApplication::clipboard()->text(QClipboard::Clipboard);
if (!data.isNull())
{
data.replace(QRegExp("\r"), "");
data.replace(QRegExp("\n"), QChar(13));
insChars(data);
ClipData = 2;
emit PasteAvail();
}
else
{
emit SideBarUp(true);
return;
}
}
else
insStyledText();
updateAll();
emit SideBarUp(true);
emit SideBarUpdate();
1226,6 → 1239,12
return p;
}
 
void SEditor::SelClipChange()
{
ClipData = 3;
emit PasteAvail();
}
 
void SEditor::ClipChange()
{
ClipData = 2;
/trunk/Scribus/scribus/seiten.cpp
813,16 → 813,18
{
QString tmp;
QPainter p;
p.begin(&ret);
p.setBrush(white);
p.setBackgroundColor(white);
p.setBackgroundMode(QPainter::OpaqueMode);
p.setPen(QPen(black, 1, SolidLine, FlatCap, MiterJoin));
p.setFont(QFont("Helvetica", 12, QFont::Bold));
tmp = tmp.setNum(nr+1);
QRect b = p.boundingRect(3,0, ret.width(), ret.height(), Qt::AlignCenter, tmp);
p.drawRect(QRect(b.x()-2, b.y()-2, b.width()+4, b.height()+4));
p.drawText(b, Qt::AlignCenter, tmp);
p.end();
if (p.begin(&ret))
{
p.setBrush(white);
p.setBackgroundColor(white);
p.setBackgroundMode(QPainter::OpaqueMode);
p.setPen(QPen(black, 1, SolidLine, FlatCap, MiterJoin));
p.setFont(QFont("Helvetica", 12, QFont::Bold));
tmp = tmp.setNum(nr+1);
QRect b = p.boundingRect(3,0, ret.width(), ret.height(), Qt::AlignCenter, tmp);
p.drawRect(QRect(b.x()-2, b.y()-2, b.width()+4, b.height()+4));
p.drawText(b, Qt::AlignCenter, tmp);
p.end();
}
return ret;
}
/trunk/Scribus/scribus/libpostscript/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/libs
pluginsdir = $(libdir)/scribus/libs
AM_CPPFLAGS = -I$(top_builddir)/scribus
plugins_LTLIBRARIES = libpostscript.la
 
14,10 → 14,10
EXTRA_DIST = pslib.cpp pslib.h
 
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(prefix)/include/scribus/libpostscript/
$(INSTALL_DATA) $(srcdir)/pslib.h $(DESTDIR)$(prefix)/include/scribus/libpostscript/pslib.h
$(mkinstalldirs) $(prefix)/include/scribus/libpostscript/
$(INSTALL_DATA) $(srcdir)/pslib.h $(prefix)/include/scribus/libpostscript/pslib.h
 
uninstall-local:
-rm -f $(DESTDIR)$(prefix)/include/scribus/libpostscript/pslib.h
-rm -f $(prefix)/include/scribus/libpostscript/pslib.h
 
AM_LDFLAGS = -s $(LIBFREETYPE_LIBS)
/trunk/Scribus/scribus/libabout/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/libs
pluginsdir = $(libdir)/scribus/libs
plugins_LTLIBRARIES = libabout.la
 
INCLUDES = $(LIBFREETYPE_CFLAGS) $(all_includes)
/trunk/Scribus/scribus/libabout/about.cpp
56,7 → 56,7
tabLayout1->addWidget( PixmapLabel1 );
BuildID = new QLabel( tab, "BB" );
BuildID->setAlignment(Qt::AlignCenter);
QString bu = tr("%1. %2 %3 ").arg("28").arg("August").arg("2004");
QString bu = tr("%1. %2 %3 ").arg("29").arg("August").arg("2004");
#ifdef HAVE_CMS
bu += "C";
#else
/trunk/Scribus/scribus/scribus.cpp
4233,9 → 4233,9
{
QString cc;
#if QT_VERSION >= 0x030100
cc = ClipB->text(QClipboard::Clipboard);
cc = ClipB->text(QClipboard::Selection);
if (cc.isNull())
cc = ClipB->text(QClipboard::Selection);
cc = ClipB->text(QClipboard::Clipboard);
#else
cc = ClipB->text();
#endif
/trunk/Scribus/scribus/plugins/pixmapexport/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins
pluginsdir = $(libdir)/scribus/plugins
AM_CPPFLAGS = -I$(top_builddir)/scribus
 
SUBDIRS =
/trunk/Scribus/scribus/plugins/scriptplugin/Makefile.am
1,5 → 1,5
SUBDIRS = doc samples scripts
pluginsdir = $(prefix)/lib/scribus/plugins
pluginsdir = $(libdir)/scribus/plugins
AM_CPPFLAGS = -I$(top_builddir)/scribus $(PYTHONINC)
plugins_LTLIBRARIES = libscriptplugin.la
INCLUDES = $(LIBFREETYPE_CFLAGS) $(all_includes)
/trunk/Scribus/scribus/plugins/gettext/csvim/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins/gettext
pluginsdir = $(libdir)/scribus/plugins/gettext
AM_CPPFLAGS = -I$(top_builddir)/scribus
 
SUBDIRS =
/trunk/Scribus/scribus/plugins/gettext/txtim/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins/gettext
pluginsdir = $(libdir)/scribus/plugins/gettext
AM_CPPFLAGS = -I$(top_builddir)/scribus
 
SUBDIRS =
/trunk/Scribus/scribus/plugins/gettext/Makefile.am
1,5 → 1,5
####### kdevelop will overwrite this part!!! (begin)##########
 
SUBDIRS = txtim csvim
SUBDIRS = htmlim txtim csvim
 
####### kdevelop will overwrite this part!!! (end)############
/trunk/Scribus/scribus/plugins/gettext/htmlim/htmlim.h
3,8 → 3,9
 
#include <scribus.h>
#include <gtwriter.h>
#include "htmlreader.h"
 
#include "config.h"
 
extern "C" void GetText(QString filename, QString encoding, bool textOnly, gtWriter *writer);
 
extern "C" QString FileFormatName();
11,6 → 12,10
 
extern "C" QStringList FileExtensions();
 
#ifdef HAVE_XML
 
#include "htmlreader.h"
 
class HTMLIm
{
public:
24,4 → 29,6
void importText();
};
 
#endif // HAVE_XML
 
#endif // HTMLIM_H
/trunk/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp
4,12 → 4,20
 
#include "htmlreader.h"
 
using namespace std;
#ifdef HAVE_XML
 
#include <gtmeasure.h>
 
HTMLReader* HTMLReader::hreader = NULL;
 
extern htmlSAXHandlerPtr mySAXHandler;
 
HTMLReader::HTMLReader(gtParagraphStyle *ps, gtWriter *w)
{
pstyle = ps;
defaultColor = ps->getFont()->getColor();
defaultWeight = ps->getFont()->getWeight();
defaultSlant = ps->getFont()->getSlant();
initPStyles();
inH1 = false;
inH2 = false;
16,6 → 24,10
inH3 = false;
inA = false;
inCode = false;
inBody = false;
inPre = false;
inP = false;
inCenter = false;
writer = w;
href = "";
inOL = false;
23,6 → 35,8
inUL = false;
inLI = false;
addedLI = false;
lastCharWasSpace = false;
hreader = this;
}
 
void HTMLReader::initPStyles()
33,40 → 47,65
pstyleli = new gtParagraphStyle(*pstyle);
pstyleli->setIndent(pstyleli->getIndent()+50.0);
pstyleli->setName("HTML_li");
pstyleh4 = new gtParagraphStyle(*pstyle);
pstyleh4->getFont()->setSize(pstyle->getFont()->getSize() + 10);
pstyleh4->getFont()->setWeight(BOLD);
pstyleh4->setSpaceAbove(10.0);
pstyleh4->setSpaceBelow(5.0);
pstyleh4->setName("HTML_h4");
pstyleh3 = new gtParagraphStyle(*pstyle);
pstyleh3->getFont()->setSize(pstyle->getFont()->getSize() + 20);
pstyleh3->getFont()->setWeight(BOLD);
pstyleh3->setSpaceAbove(20.0);
pstyleh3->setSpaceBelow(10.0);
pstyleh3->setName("HTML_h3");
pstyleh2 = new gtParagraphStyle(*pstyle);
pstyleh2->getFont()->setSize(pstyle->getFont()->getSize() + 40);
pstyleh2->getFont()->setWeight(BOLD);
pstyleh2->setSpaceAbove(30.0);
pstyleh2->setSpaceBelow(20.0);
pstyleh2->setName("HTML_h2");
pstyleh1 = new gtParagraphStyle(*pstyle);
pstyleh1->getFont()->setSize(pstyle->getFont()->getSize() + 60);
pstyleh2->setSpaceAbove(40.0);
pstyleh2->setSpaceBelow(30.0);
pstyleh1->getFont()->setWeight(BOLD);
pstyleh1->setSpaceAbove(40.0);
pstyleh1->setSpaceBelow(30.0);
pstyleh1->setName("HTML_h1");
pstylecode = new gtParagraphStyle(*pstyle);
pstylecode->getFont()->setName("Courier Regular");
pstylecode->setName("HTML_code");
pstylep = new gtParagraphStyle(*pstyle);
pstylep->setSpaceBelow(gtMeasure::i2d(5, MM));
pstylep->setName("HTML_p");
pstylepre = new gtParagraphStyle(*pstyle);
pstylepre->setName("HTML_pre");
}
 
bool HTMLReader::startDocument()
void HTMLReader::startElement(void *user_data, const xmlChar * fullname, const xmlChar ** atts)
{
return true;
QString* name = new QString((const char*) fullname);
name = new QString(name->lower());
QXmlAttributes* attrs = new QXmlAttributes();
if (atts)
{
for(const xmlChar** cur = atts; cur && *cur; cur += 2)
attrs->append(QString((char*)*cur), NULL, QString((char*)*cur), QString((char*)*(cur + 1)));
}
hreader->startElement(NULL, NULL, *name, *attrs);
}
 
bool HTMLReader::startElement(const QString&, const QString&, const QString &name, const QXmlAttributes &attrs)
{
if (name == "center")
if (name == "p")
inP = true;
else if (name == "center")
inCenter = true;
else if (name == "br")
writer->append("\n", pstyle);
// else if (name == "p")
// writer->append("\n", pstyle);
else if (name == "a")
{
writer->append(" ", pstyle);
toggleUnderlining();
toggleEffect(UNDERLINE);
setBlueFont();
for (int i = 0; i < attrs.count(); i++)
{
89,128 → 128,250
inH2 = true;
else if (name == "h3")
inH3 = true;
else if (name == "h4")
inH4 = true;
else if ((name == "b") || (name == "strong"))
setBoldFont();
 
else if ((name == "i") || (name == "em"))
setItalicFont();
else if (name == "code")
inCode = true;
else if (name == "body")
inBody = true;
else if (name == "pre")
inPre = true;
else if (name == "img")
{
QString imgline("(img,");
for (int i = 0; i < attrs.count(); i++)
{
if (attrs.localName(i) == "src")
{
imgline += " src: " + attrs.value(i);
}
if (attrs.localName(i) == "alt")
{
if (attrs.value(i) != "")
imgline += ", alt: " + attrs.value(i);
}
}
imgline += ")\n\n";
writer->append(imgline, pstyle);
}
else if (name == "sub")
toggleEffect(SUBSCRIPT);
else if (name == "sup")
toggleEffect(SUPERSCRIPT);
else if (name == "del")
toggleEffect(STRIKETHROUGH);
else if ((name == "ins") && (!inA))
toggleEffect(UNDERLINE);
return true;
}
void HTMLReader::characters(void *user_data, const xmlChar * ch, int len)
{
QString chars = QString::fromUtf8((const char*) ch, len);
hreader->characters(chars);
}
 
bool HTMLReader::characters(const QString &ch)
{
QString tmp = "";
bool add;
for (uint i = 0; i < ch.length(); ++i)
if (inBody)
{
add = false;
if ((ch.at(i) != ' ') && (ch.at(i) != '\n') && (ch.at(i) != '\t'))
add = true;
if (i <= ch.length() - 2)
if ((ch.at(i) == ' ') && ((ch.at(i + 1) != ' ') && (ch.at(i + 1) != '\t') && (ch.at(i + 1) != '\n')))
add = true;
 
if (add)
tmp += ch.at(i);
}
if ((inLI) && (!addedLI))
{
if (inUL)
QString tmp = "";
bool add = true;
bool fcis = ch.left(1) == " ";
bool lcis = ch.right(1) == " ";
if (inPre)
tmp = ch;
else
{
if (tmp.at(0) != '\n')
tmp = "\n- " + tmp;
else
tmp = "- " + tmp;
for (uint i = 0; i < ch.length(); ++i)
{
if (ch.at(i) != "\n")
tmp += ch.at(i);
}
tmp = tmp.simplifyWhiteSpace();
}
else if (inOL)
if (!lastCharWasSpace)
if (fcis)
tmp = " " + tmp;
if (lcis)
tmp = tmp + " ";
bool lastCharWasSpace = lcis;
if ((inLI) && (!addedLI))
{
if (tmp.at(0) != '\n')
tmp = QString("\n%1. ").arg(nextItemNumber) + tmp;
else
if (inUL)
tmp = "- " + tmp;
else if (inOL)
{
tmp = QString("%1. ").arg(nextItemNumber) + tmp;
++nextItemNumber;
++nextItemNumber;
}
addedLI = true;
}
addedLI = true;
 
if (inP)
writer->append(tmp, pstylep);
else if (inLI)
writer->append(tmp, pstyleli);
else if (inH1)
writer->append(tmp, pstyleh1);
else if (inH2)
writer->append(tmp, pstyleh2);
else if (inH3)
writer->append(tmp, pstyleh3);
else if (inH4)
writer->append(tmp, pstyleh4);
else if (inCenter)
writer->append(tmp, pstylec);
else if (inCode)
writer->append(tmp, pstylecode);
else if (inPre)
writer->append(tmp, pstylepre);
else
writer->append(tmp, pstyle);
}
if (inLI)
writer->append(tmp, pstyleli);
else if (inH1)
writer->append(tmp, pstyleh1);
else if (inH2)
writer->append(tmp, pstyleh2);
else if (inH3)
writer->append(tmp, pstyleh3);
else if (inCenter)
writer->append(tmp, pstylec);
else
writer->append(tmp, pstyle);
return true;
}
 
void HTMLReader::endElement(void *user_data, const xmlChar * name)
{
QString *nname = new QString((const char*) name);
nname = new QString(nname->lower());
hreader->endElement(NULL, NULL, *nname);
}
 
bool HTMLReader::endElement(const QString&, const QString&, const QString &name)
{
if (name == "center")
{
inCenter = false;
if (name == "p")
writer->append("\n");
if (name == "a")
}
else if (name == "p")
{
toggleUnderlining();
if ((href != "") && (href.find("http") != -1))
writer->append("\n");
inP = false;
}
else if (name == "a")
{
toggleEffect(UNDERLINE);
if ((href != "") || (href.find("//") != -1) || (href.find("mailto:") != -1))
{
href = href.remove("mailto:");
writer->append(" ("+href+")", pstyle);
}
href = "";
setDefaultFont();
setDefaultColor();
inA = false;
}
if (name == "ul")
else if (name == "ul")
{
inUL = false;
if (name == "ol")
writer->append("\n");
}
else if (name == "ol")
{
inOL = false;
nextItemNumber = 1;
writer->append("\n");
}
if (name == "li")
else if (name == "li")
{
inLI = false;
addedLI = false;
writer->append("\n", pstyleli);
writer->append("\n");
}
if (name == "h1")
else if (name == "h1")
{
inH1 = false;
writer->append("\n", pstyleh1);
writer->append("\n");
}
if (name == "h2")
else if (name == "h2")
{
inH2 = false;
writer->append("\n", pstyleh2);
writer->append("\n");
}
if (name == "h3")
else if (name == "h3")
{
inH3 = false;
writer->append("\n", pstyleh3);
writer->append("\n");
}
if ((name == "b") || (name == "strong"))
else if (name == "h4")
{
inH4 = false;
writer->append("\n");
}
else if ((name == "b") || (name == "strong"))
unSetBoldFont();
else if ((name == "i") || (name == "em"))
unsetItalicFont();
else if (name == "code")
inCode = false;
else if (name == "body")
inBody = false;
else if (name == "pre")
{
inPre = false;
writer->append("\n");
}
else if (name == "div")
writer->append("\n");
else if (name == "sub")
toggleEffect(SUBSCRIPT);
else if (name == "sup")
toggleEffect(SUPERSCRIPT);
else if (name == "del")
toggleEffect(STRIKETHROUGH);
else if ((name == "ins") && (!inA))
toggleEffect(UNDERLINE);
return true;
}
 
bool HTMLReader::endDocument()
void HTMLReader::toggleEffect(FontEffect e)
{
writer->append("\n");
return true;
pstyle->getFont()->toggleEffect(e);
pstylec->getFont()->toggleEffect(e);
pstyleli->getFont()->toggleEffect(e);
pstyleh1->getFont()->toggleEffect(e);
pstyleh2->getFont()->toggleEffect(e);
pstyleh3->getFont()->toggleEffect(e);
pstyleh4->getFont()->toggleEffect(e);
pstylecode->getFont()->toggleEffect(e);
pstylep->getFont()->toggleEffect(e);
pstylepre->getFont()->toggleEffect(e);
}
 
void HTMLReader::toggleUnderlining()
void HTMLReader::setItalicFont()
{
pstyle->getFont()->toggleEffect(UNDERLINE);
pstylec->getFont()->toggleEffect(UNDERLINE);
pstyleli->getFont()->toggleEffect(UNDERLINE);
pstyleh1->getFont()->toggleEffect(UNDERLINE);
pstyleh2->getFont()->toggleEffect(UNDERLINE);
pstyleh3->getFont()->toggleEffect(UNDERLINE);
pstyle->getFont()->setSlant(ITALIC);
pstylec->getFont()->setSlant(ITALIC);
pstyleli->getFont()->setSlant(ITALIC);
pstyleh1->getFont()->setSlant(ITALIC);
pstyleh2->getFont()->setSlant(ITALIC);
pstyleh3->getFont()->setSlant(ITALIC);
pstyleh4->getFont()->setSlant(ITALIC);
pstylecode->getFont()->setSlant(ITALIC);
pstylep->getFont()->setSlant(ITALIC);
pstylepre->getFont()->setSlant(ITALIC);
}
 
void HTMLReader::unsetItalicFont()
{
pstyle->getFont()->setSlant(defaultSlant);
pstylec->getFont()->setSlant(defaultSlant);
pstyleli->getFont()->setSlant(defaultSlant);
pstyleh1->getFont()->setSlant(defaultSlant);
pstyleh2->getFont()->setSlant(defaultSlant);
pstyleh3->getFont()->setSlant(defaultSlant);
pstyleh4->getFont()->setSlant(defaultSlant);
pstylecode->getFont()->setSlant(defaultSlant);
pstylep->getFont()->setSlant(defaultSlant);
pstylepre->getFont()->setSlant(defaultSlant);
}
 
void HTMLReader::setBlueFont()
{
pstyle->getFont()->setColor("Blue");
219,9 → 380,13
pstyleh1->getFont()->setColor("Blue");
pstyleh2->getFont()->setColor("Blue");
pstyleh3->getFont()->setColor("Blue");
pstyleh4->getFont()->setColor("Blue");
pstylecode->getFont()->setColor("Blue");
pstylep->getFont()->setColor("Blue");
pstylepre->getFont()->setColor("Blue");
}
 
void HTMLReader::setDefaultFont()
void HTMLReader::setDefaultColor()
{
pstyle->getFont()->setColor(defaultColor);
pstylec->getFont()->setColor(defaultColor);
229,6 → 394,10
pstyleh1->getFont()->setColor(defaultColor);
pstyleh2->getFont()->setColor(defaultColor);
pstyleh3->getFont()->setColor(defaultColor);
pstyleh4->getFont()->setColor(defaultColor);
pstylecode->getFont()->setColor(defaultColor);
pstylep->getFont()->setColor(defaultColor);
pstylepre->getFont()->setColor(defaultColor);
}
 
void HTMLReader::setBoldFont()
236,21 → 405,65
pstyle->getFont()->setWeight(BOLD);
pstylec->getFont()->setWeight(BOLD);
pstyleli->getFont()->setWeight(BOLD);
pstyleh1->getFont()->setWeight(BOLD);
pstyleh2->getFont()->setWeight(BOLD);
pstyleh3->getFont()->setWeight(BOLD);
pstylecode->getFont()->setWeight(BOLD);
pstylep->getFont()->setWeight(BOLD);
pstylepre->getFont()->setWeight(BOLD);
}
 
void HTMLReader::unSetBoldFont()
{
pstyle->getFont()->setWeight(REGULAR);
pstylec->getFont()->setWeight(REGULAR);
pstyleli->getFont()->setWeight(REGULAR);
pstyleh1->getFont()->setWeight(REGULAR);
pstyleh2->getFont()->setWeight(REGULAR);
pstyleh3->getFont()->setWeight(REGULAR);
pstyle->getFont()->setWeight(defaultWeight);
pstylec->getFont()->setWeight(defaultWeight);
pstyleli->getFont()->setWeight(defaultWeight);
pstylecode->getFont()->setWeight(REGULAR);
pstylep->getFont()->setWeight(defaultWeight);
pstylepre->getFont()->setWeight(defaultWeight);
}
 
void HTMLReader::parse(QString filename)
{
// xmlSAXUserParseFile(debugSAXHandler, NULL, filename.latin1());
htmlSAXParseFile(filename.latin1(), NULL, mySAXHandler, NULL);
}
 
htmlSAXHandler mySAXHandlerStruct = {
NULL, // internalSubsetDebug,
NULL, // isStandaloneDebug,
NULL, // hasInternalSubsetDebug,
NULL, // hasExternalSubsetDebug,
NULL, // resolveEntityDebug,
NULL, // getEntityDebug,
NULL, // entityDeclDebug,
NULL, // notationDeclDebug,
NULL, // attributeDeclDebug,
NULL, // elementDeclDebug,
NULL, // unparsedEntityDeclDebug,
NULL, // setDocumentLocatorDebug,
NULL, // startDocument,
NULL, // endDocument,
HTMLReader::startElement,
HTMLReader::endElement,
NULL, // referenceDebug,
HTMLReader::characters,
NULL, // ignorableWhitespaceDebug,
NULL, // processingInstructionDebug,
NULL, // commentDebug,
NULL, // warningDebug,
NULL, // errorDebug,
NULL, // fatalErrorDebug,
NULL, // getParameterEntityDebug,
NULL, // cdataDebug,
NULL,
1
};
/* NULL,
NULL,
NULL,
NULL
}; */
 
htmlSAXHandlerPtr mySAXHandler = &mySAXHandlerStruct;
 
HTMLReader::~HTMLReader()
{
delete pstylec;
258,4 → 471,10
delete pstyleh1;
delete pstyleh2;
delete pstyleh3;
delete pstylecode;
delete pstylep;
delete pstylepre;
hreader = NULL;
}
 
#endif // HAVE_XML
/trunk/Scribus/scribus/plugins/gettext/htmlim/Makefile.am
5,7 → 5,7
 
plugins_LTLIBRARIES = libhtmlim.la
 
INCLUDES = $(LIBFREETYPE_CFLAGS) $(all_includes)
INCLUDES = $(LIBFREETYPE_CFLAGS) $(XML_CFLAGS) $(all_includes)
 
libhtmlim_la_LDFLAGS = -version-info 0:0:0
libhtmlim_la_METASOURCES = AUTO
14,5 → 14,5
EXTRA_DIST = htmlim.cpp htmlim.h htmlreader.cpp htmlreader.h
 
KDE_OPTIONS = qtonly
AM_LDFLAGS = -s $(LIBFREETYPE_LIBS)
AM_LDFLAGS = -s $(LIBFREETYPE_LIBS) -s $(XML_LIBS)
 
/trunk/Scribus/scribus/plugins/gettext/htmlim/htmlim.cpp
2,6 → 2,8
#include <qstring.h>
#include <qstringlist.h>
 
#ifdef HAVE_XML
 
#include <gtparagraphstyle.h> // Style for paragraph based formatting.
#include <gtframestyle.h>
 
40,13 → 42,7
void HTMLIm::importText()
{
HTMLReader* handler = new HTMLReader(pstyle, writer);
QFile* rc = new QFile(filename);
QXmlInputSource* source = new QXmlInputSource(rc);
QXmlSimpleReader* reader = new QXmlSimpleReader();
reader->setContentHandler(handler);
reader->parse(source);
delete source;
delete rc;
handler->parse(filename);
delete handler;
}
 
54,3 → 50,5
{
 
}
 
#endif // HAVE_XML
/trunk/Scribus/scribus/plugins/gettext/htmlim/htmlreader.h
4,6 → 4,17
#ifndef HTMLREADER_H
#define HTMLREADER_H
 
#include "config.h"
 
#ifdef HAVE_XML
 
#include <libxml/xmlmemory.h>
#include <libxml/HTMLparser.h>
#include <libxml/HTMLtree.h>
#include <libxml/debugXML.h>
#include <libxml/xmlerror.h>
#include <libxml/globals.h>
 
#include <qobject.h>
#include <qdir.h>
#include <qxml.h>
18,6 → 29,8
QString currentDir;
QString currentFile;
QString defaultColor;
QString defaultWeight;
QString defaultSlant;
QString templateCategory;
QString href;
gtWriter *writer;
27,6 → 40,10
gtParagraphStyle *pstyleh1;
gtParagraphStyle *pstyleh2;
gtParagraphStyle *pstyleh3;
gtParagraphStyle *pstyleh4;
gtParagraphStyle *pstylecode;
gtParagraphStyle *pstylep;
gtParagraphStyle *pstylepre;
bool inOL;
int nextItemNumber;
bool inUL;
35,23 → 52,35
bool inH1;
bool inH2;
bool inH3;
bool inH4;
bool inA;
bool inCenter;
bool inCode;
bool inBody;
bool inPre;
bool inP;
bool lastCharWasSpace;
void initPStyles();
void toggleUnderlining();
void toggleEffect(FontEffect e);
void setItalicFont();
void unsetItalicFont();
void setBlueFont();
void setDefaultFont();
void setDefaultColor();
void setBoldFont();
void unSetBoldFont();
static HTMLReader* hreader;
public:
HTMLReader(gtParagraphStyle *ps, gtWriter *w);
~HTMLReader();
bool startDocument();
void parse(QString filename);
static void startElement(void *user_data, const xmlChar * fullname, const xmlChar ** atts);
static void endElement(void *user_data, const xmlChar * name);
static void characters(void *user_data, const xmlChar * ch, int len);
bool startElement(const QString&, const QString&, const QString &name, const QXmlAttributes &attrs);
bool endElement(const QString&, const QString&, const QString &name);
bool characters(const QString &ch);
bool endDocument();
};
 
#endif // HAVE_XML
 
#endif
/trunk/Scribus/scribus/plugins/libchar/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins
pluginsdir = $(libdir)/scribus/plugins
AM_CPPFLAGS = -I$(top_builddir)/scribus
plugins_LTLIBRARIES = libcharselect.la
 
/trunk/Scribus/scribus/plugins/svgimplugin/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins
pluginsdir = $(libdir)/scribus/plugins
AM_CPPFLAGS = -I$(top_builddir)/scribus
plugins_LTLIBRARIES = libsvgimplugin.la
INCLUDES = $(LIBFREETYPE_CFLAGS) $(all_includes)
/trunk/Scribus/scribus/plugins/fontpreview/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins
pluginsdir = $(libdir)/scribus/plugins
AM_CPPFLAGS = -I$(top_builddir)/scribus
 
plugins_LTLIBRARIES = libfontpreview.la
/trunk/Scribus/scribus/plugins/newfromtemplateplugin/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins
pluginsdir = $(libdir)/scribus/plugins
AM_CPPFLAGS = -I$(top_builddir)/scribus
 
SUBDIRS =
/trunk/Scribus/scribus/plugins/svgexplugin/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins
pluginsdir = $(libdir)/scribus/plugins
AM_CPPFLAGS = -I$(top_builddir)/scribus
plugins_LTLIBRARIES = libsvgexplugin.la
INCLUDES = $(LIBFREETYPE_CFLAGS) $(all_includes)
/trunk/Scribus/scribus/plugins/psimport/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins
pluginsdir = $(libdir)/scribus/plugins
AM_CPPFLAGS = -I$(top_builddir)/scribus
 
SUBDIRS =
14,11 → 14,11
EXTRA_DIST = import.prolog importps.cpp importps.h
 
install-data-local:
$(mkinstalldirs) $(prefix)/lib/scribus/
$(INSTALL_DATA) $(srcdir)/import.prolog $(prefix)/lib/scribus/import.prolog
$(mkinstalldirs) $(libdir)/scribus/
$(INSTALL_DATA) $(srcdir)/import.prolog $(libdir)/scribus/import.prolog
 
uninstall-local:
-rm -f $(prefix)/lib/scribus/import.prolog
-rm -f $(libdir)/scribus/import.prolog
 
KDE_OPTIONS = qtonly
AM_LDFLAGS = -s $(LIBFREETYPE_LIBS)
/trunk/Scribus/scribus/plugins/saveastemplateplugin/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins
pluginsdir = $(libdir)/scribus/plugins
AM_CPPFLAGS = -I$(top_builddir)/scribus
 
SUBDIRS =
/trunk/Scribus/scribus/plugins/printpreview/Makefile.am
1,4 → 1,4
pluginsdir = $(prefix)/lib/scribus/plugins
pluginsdir = $(libdir)/scribus/plugins
AM_CPPFLAGS = -I$(top_builddir)/scribus
plugins_LTLIBRARIES = libpreview.la
 
/trunk/Scribus/scribus/libpdf/Makefile.am
1,5 → 1,5
AM_CPPFLAGS = -I$(top_builddir)/scribus
pluginsdir = $(prefix)/lib/scribus/libs
pluginsdir = $(libdir)/scribus/libs
plugins_LTLIBRARIES = libpdf.la
 
INCLUDES = $(LIBFREETYPE_CFLAGS) $(all_includes)
15,10 → 15,10
EXTRA_DIST = pdflib.cpp pdflib.h
 
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(prefix)/include/scribus/libpdf/
$(INSTALL_DATA) $(srcdir)/pdflib.h $(DESTDIR)$(prefix)/include/scribus/libpdf/pdflib.h
$(mkinstalldirs) $(prefix)/include/scribus/libpdf/
$(INSTALL_DATA) $(srcdir)/pdflib.h $(prefix)/include/scribus/libpdf/pdflib.h
 
uninstall-local:
-rm -f $(DESTDIR)$(prefix)/include/scribus/libpdf/pdflib.h
-rm -f $(prefix)/include/scribus/libpdf/pdflib.h
 
AM_LDFLAGS = -s $(LIBFREETYPE_LIBS)
/trunk/Scribus/scribus/story.h
114,6 → 114,7
void copy();
void paste();
void ClipChange();
void SelClipChange();
 
signals:
void setProps(int, int);
/trunk/Scribus/scribus/hyphen.c
327,7 → 327,7
for (i = 0; i < HASH_SIZE; i++)
for (e = hashtab->entries[i]; e; e = e->next)
{
// for (j = 1; 1; j++)
/* for (j = 1; 1; j++) */
for (j = 1; *(e->key); j++)
{
state_num = hnj_hash_lookup (hashtab, e->key + j);
334,7 → 334,7
if (state_num >= 0)
break;
}
// KBH: FIXME state 0 fallback_state should always be -1?
/* KBH: FIXME state 0 fallback_state should always be -1? */
if (e->val)
dict->states[e->val].fallback_state = state_num;
}
421,8 → 421,8
{
 
if (state == -1) {
// return 1;
// KBH: FIXME shouldn't this be as follows?
/* return 1;
KBH: FIXME shouldn't this be as follows? */
state = 0;
goto try_next_letter;
}