Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 20 → Rev 21

/trunk/Scribus/configure.in
132,6 → 132,7
AC_CONFIG_FILES([scribus/libabout/Makefile])
AC_CONFIG_FILES([scribus/libprefs/Makefile])
AC_CONFIG_FILES([scribus/plugins/libchar/Makefile])
AC_CONFIG_FILES([scribus/plugins/svgexplugin/Makefile])
AC_CONFIG_FILES([scribus/plugins/Makefile])
AC_CONFIG_FILES([scribus/libpostscript/Makefile])
AC_CONFIG_FILES([scribus/profiles/Makefile])
/trunk/Scribus/ChangeLogCVS
1,4 → 1,7
Changes since Version 0.9.10
31.05.2003 svgexplugin.cpp Moved the SVG-Export Plugin to the Main Package
and added Support for Gradients and combined Polygons.
 
30.05.2003 scribus.cpp Now you can invert Images.
navigator.cpp External PDF-Documents can have now a different Size.
 
/trunk/Scribus/scribus/plugins/Makefile.am
1,5 → 1,5
####### kdevelop will overwrite this part!!! (begin)##########
 
SUBDIRS = libchar
SUBDIRS = libchar svgexplugin
 
####### kdevelop will overwrite this part!!! (end)############
/trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.h
0,0 → 1,37
#ifndef SVGPLUG_H
#define SVGPLUG_H
 
#include <qdom.h>
#include "scribus.h"
 
/** Calls the Plugin with the main Application window as parent
* and the main Application Class as parameter */
extern "C" void Run(QWidget *d, ScribusApp *plug);
/** Returns the Name of the Plugin.
* This name appears in the relevant Menue-Entrys */
extern "C" QString Name();
/** Returns the Type of the Plugin.
* 1 = the Plugin is a normal Plugin, which appears in the Extras Menue
* 2 = the Plugins is a import Plugin, which appears in the Import Menue
* 3 = the Plugins is a export Plugin, which appears in the Export Menue */
extern "C" int Type();
 
class SVGExPlug : public QObject
{
Q_OBJECT
 
public:
SVGExPlug( QWidget* parent, ScribusApp *plug, QString fName );
~SVGExPlug();
 
private:
void ProcessPage(ScribusApp *plug, Page *Seite, QDomDocument *docu, QDomElement *elem);
QString SetClipPath(PageItem *ite);
QString FToStr(float c);
QString IToStr(int c);
void SetTextProps(QDomElement *tp, struct Pti *hl, ScribusApp *plug);
QString SetFarbe(QString farbe, int shad, ScribusApp *plug);
int GradCount;
};
 
#endif // CMSPLUG_H
Property changes:
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property
Index: Scribus/scribus/plugins/svgexplugin/Makefile.am
===================================================================
--- Scribus/scribus/plugins/svgexplugin/Makefile.am (nonexistent)
+++ Scribus/scribus/plugins/svgexplugin/Makefile.am (revision 21)
@@ -0,0 +1,11 @@
+libdir = $(prefix)/lib/scribus/plugins
+AM_CPPFLAGS = -I$(top_builddir)/scribus
+lib_LTLIBRARIES = libsvgexplugin.la
+INCLUDES = $(LIBFREETYPE_CFLAGS) $(all_includes)
+AM_LDFLAGS = -s $(LIBFREETYPE_LIBS)
+libsvgexplugin_la_LDFLAGS = -version-info 0:0:0
+libsvgexplugin_la_METASOURCES = AUTO
+libsvgexplugin_la_SOURCES = svgexplugin.cpp
+KDE_OPTIONS = qtonly
+EXTRA_DIST = svgexplugin.cpp svgexplugin.h
+
/Scribus/scribus/plugins/svgexplugin/Makefile.am
Property changes:
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property
Index: Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp
===================================================================
--- Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp (nonexistent)
+++ Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp (revision 21)
@@ -0,0 +1,419 @@
+/***************************************************************************
+ svgexplugin.cpp - description
+ -------------------
+ begin : Sun Aug 3 08:00:00 CEST 2002
+ copyright : (C) 2002 by Franz Schmid
+ email : Franz.Schmid@altmuehlnet.de
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+#include "svgexplugin.h"
+#include "svgexplugin.moc"
+#include "config.h"
+#include "customfdialog.h"
+#include <qfile.h>
+#include <qtextstream.h>
+extern void Level2Layer(ScribusDoc *doc, struct Layer *ll, int Level);
+
+QString Name()
+{
+ return QObject::tr("Save Page as SVG...");
+}
+
+int Type()
+{
+ return 3;
+}
+
+void Run(QWidget *d, ScribusApp *plug)
+{
+ if (plug->HaveDoc)
+ {
+ QString fileName = plug->CFileDialog(QObject::tr("Save as"), QObject::tr("SVG-Images (*.svg);; All Files (*)"),"", false, false);
+ if (!fileName.isEmpty())
+ {
+ QFile f(fileName);
+ if (f.exists())
+ {
+ int exit=QMessageBox::warning(d, QObject::tr("Warning"),
+ QObject::tr("Do you really want to overwrite the File:\n%1 ?").arg(fileName),
+ QObject::tr("Yes"),
+ QObject::tr("No"),
+ 0, 0, 1);
+ if (exit != 0)
+ return;
+ }
+ SVGExPlug *dia = new SVGExPlug(d, plug, fileName);
+ delete dia;
+ }
+ else
+ return;
+ }
+}
+
+SVGExPlug::SVGExPlug( QWidget* parent, ScribusApp *plug, QString fName )
+{
+ QDomDocument docu("svgdoc");
+ QString vo = "<?xml version=\"1.0\" standalone=\"yes\"?>\n";
+ QString st = "<svg></svg>";
+ docu.setContent(st);
+ QDomElement elem = docu.documentElement();
+ elem.setAttribute("width", plug->doc->PageB);
+ elem.setAttribute("height", plug->doc->PageH);
+ Page *Seite;
+ Seite = plug->doc->ActPage;
+ GradCount = 0;
+ ProcessPage(plug, Seite, &docu, &elem);
+ QFile f(fName);
+ if(!f.open(IO_WriteOnly))
+ return;
+ QTextStream s(&f);
+ s.setEncoding( QTextStream::UnicodeUTF8 );
+ s<<vo;
+ s<<docu.toString();
+ f.close();
+}
+
+
+void SVGExPlug::ProcessPage(ScribusApp *plug, Page *Seite, QDomDocument *docu, QDomElement *elem)
+{
+ QString tmp, trans, fill, stroke, strokeW, strokeLC, strokeLJ, strokeDA, gradi;
+ uint d;
+ struct Pti *hl;
+ int Lnr = 0;
+ struct Layer ll;
+ ll.Drucken = false;
+ ll.LNr = 0;
+ QDomElement ob, gr, tp, tp2, defi, grad;
+ QDomText tp1;
+ PageItem *Item;
+ gradi = "Grad";
+ for (uint la = 0; la < plug->doc->Layers.count(); la++)
+ {
+ Level2Layer(plug->doc, &ll, Lnr);
+ if (ll.Drucken)
+ {
+ for(uint j = 0; j < Seite->Items.count();j++)
+ {
+ Item = Seite->Items.at(j);
+ if (Item->LayerNr != ll.LNr)
+ continue;
+ if (Item->Pcolor != "None")
+ {
+ fill = "fill:"+SetFarbe(Item->Pcolor, Item->Shade, plug)+";";
+ if (Item->GrType != 0)
+ {
+ defi = docu->createElement("defs");
+ if (Item->GrType == 5)
+ grad = docu->createElement("radialGradient");
+ else
+ grad = docu->createElement("linearGradient");
+ grad.setAttribute("id", gradi+IToStr(GradCount));
+ switch (Item->GrType)
+ {
+ case 1:
+ grad.setAttribute("x1", "0");
+ grad.setAttribute("y1", FToStr(Item->Height / 2));
+ grad.setAttribute("x2", FToStr(Item->Width));
+ grad.setAttribute("y2", FToStr(Item->Height / 2));
+ break;
+ case 2:
+ grad.setAttribute("x1", FToStr(Item->Width / 2));
+ grad.setAttribute("y1", "0");
+ grad.setAttribute("x2", FToStr(Item->Width/ 2));
+ grad.setAttribute("y2", FToStr(Item->Height));
+ break;
+ case 3:
+ grad.setAttribute("x1", "0");
+ grad.setAttribute("y1", "0");
+ grad.setAttribute("x2", FToStr(Item->Width));
+ grad.setAttribute("y2", FToStr(Item->Height));
+ break;
+ case 4:
+ grad.setAttribute("x1", FToStr(Item->Width));
+ grad.setAttribute("y1", "0");
+ grad.setAttribute("x2", "0");
+ grad.setAttribute("y2", FToStr(Item->Height));
+ break;
+ case 5:
+ grad.setAttribute("r", FToStr(QMIN(Item->Width / 2, Item->Height / 2)));
+ grad.setAttribute("cx", FToStr(Item->Width / 2));
+ grad.setAttribute("cy", FToStr(Item->Height / 2));
+ break;
+ }
+ QDomElement s1 = docu->createElement("stop");
+ s1.setAttribute("offset","0%");
+ s1.setAttribute("stop-color",SetFarbe(Item->GrColor2, Item->GrShade2, plug));
+ grad.appendChild(s1);
+ QDomElement s2 = docu->createElement("stop");
+ s2.setAttribute("offset","100%");
+ s2.setAttribute("stop-color",SetFarbe(Item->GrColor, Item->GrShade, plug));
+ grad.appendChild(s2);
+ defi.appendChild(grad);
+ fill = "fill:url(#"+gradi+IToStr(GradCount)+");";
+ GradCount++;
+ }
+ fill += " fill-rule:even-odd;";
+ if (Item->Transparency != 0)
+ fill += " fill-opacity:"+FToStr(1.0 - Item->Transparency)+";";
+ }
+ else
+ fill = "fill:none;";
+ if (Item->Pcolor2 != "None")
+ {
+ stroke = "stroke:"+SetFarbe(Item->Pcolor2, Item->Shade2, plug)+";";
+ if (Item->Transparency != 0)
+ stroke += " stroke-opacity:"+FToStr(1.0 - Item->Transparency)+";";
+ }
+ else
+ stroke = "stroke:none;";
+ trans = "translate("+FToStr(Item->Xpos)+" "+FToStr(Item->Ypos)+")";
+ if (Item->Rot != 0)
+ trans += " rotate("+FToStr(Item->Rot)+")";
+ strokeW = "stroke-width:"+FToStr(Item->Pwidth)+";";
+ strokeLC = "stroke-linecap:";
+ switch (Item->PLineEnd)
+ {
+ case Qt::FlatCap:
+ strokeLC += "butt;";
+ break;
+ case Qt::SquareCap:
+ strokeLC += "square;";
+ break;
+ case Qt::RoundCap:
+ strokeLC += "round;";
+ break;
+ default:
+ strokeLC += "butt;";
+ break;
+ }
+ strokeLJ = "stroke-linejoin:";
+ switch (Item->PLineJoin)
+ {
+ case Qt::MiterJoin:
+ strokeLJ += "miter;";
+ break;
+ case Qt::BevelJoin:
+ strokeLJ += "bevel;";
+ break;
+ case Qt::RoundJoin:
+ strokeLJ += "round;";
+ break;
+ default:
+ strokeLJ += "miter;";
+ break;
+ }
+ strokeDA = "stroke-dasharray:";
+ QString Dt = FToStr(QMAX(Item->Pwidth, 1));
+ QString Da = FToStr(QMAX(3*Item->Pwidth, 1));
+ switch (Item->PLineArt)
+ {
+ case Qt::SolidLine:
+ strokeDA += "none;";
+ break;
+ case Qt::DashLine:
+ strokeDA += Da+","+Dt+";";
+ break;
+ case Qt::DotLine:
+ strokeDA += Dt+";";
+ break;
+ case Qt::DashDotLine:
+ strokeDA += Da+","+Dt+","+Dt+","+Dt+";";
+ break;
+ case Qt::DashDotDotLine:
+ strokeDA += Da+","+Dt+","+Dt+","+Dt+","+Dt+","+Dt+";";
+ break;
+ default:
+ strokeDA += "none;";
+ break;
+ }
+ gr = docu->createElement("g");
+ gr.setAttribute("transform", trans);
+ if (Item->PType != 4)
+ {
+ if ((Item->PType == 5) || (Item->PType == 7) || (Item->PType == 8))
+ gr.setAttribute("style", "fill:none; "+stroke+" "+strokeW+" "+strokeLC+" "+strokeLJ+" "+strokeDA);
+ else
+ gr.setAttribute("style", fill+" "+stroke+" "+strokeW+" "+strokeLC+" "+strokeLJ+" "+strokeDA);
+ }
+ switch (Item->PType)
+ {
+ case 1:
+ case 3:
+ case 6:
+ ob = docu->createElement("path");
+ ob.setAttribute("d", SetClipPath(Item)+"Z");
+ break;
+ case 2:
+ break;
+ case 7:
+ ob = docu->createElement("path");
+ ob.setAttribute("d", SetClipPath(Item));
+ break;
+ case 4:
+ if (Item->Pcolor != "None")
+ {
+ ob = docu->createElement("path");
+ ob.setAttribute("d", SetClipPath(Item)+"Z");
+ ob.setAttribute("style", fill);
+ gr.appendChild(ob);
+ }
+ ob = docu->createElement("text");
+ for (d = 0; d < Item->MaxChars; d++)
+ {
+ hl = Item->Ptext.at(d);
+ if ((hl->ch == QChar(13)) || (hl->ch == QChar(10)))
+ continue;
+ if (hl->yp == 0)
+ break;
+ tp = docu->createElement("tspan");
+ tp.setAttribute("x", hl->xp);
+ tp.setAttribute("y", hl->yp);
+ SetTextProps(&tp, hl, plug);
+ tp1 = docu->createTextNode(hl->ch);
+ tp.appendChild(tp1);
+ ob.appendChild(tp);
+ }
+ break;
+ case 5:
+ ob = docu->createElement("path");
+ ob.setAttribute("d", "M 0 0 L "+FToStr(Item->Width)+" 0");
+ break;
+ case 8:
+ if (Item->PoShow)
+ {
+ ob = docu->createElement("path");
+ ob.setAttribute("d", SetClipPath(Item));
+ gr.appendChild(ob);
+ }
+ ob = docu->createElement("text");
+ for (d = 0; d < Item->MaxChars; d++)
+ {
+ hl = Item->Ptext.at(d);
+ if ((hl->ch == QChar(13)) || (hl->ch == QChar(10)))
+ continue;
+ tp = docu->createElement("tspan");
+ tp.setAttribute("x", hl->PtransX);
+ tp.setAttribute("y", hl->PtransY);
+ tp.setAttribute("rotate", hl->PRot);
+ tp2 = docu->createElement("tspan");
+ tp2.setAttribute("dx", hl->xp);
+ tp2.setAttribute("dy", hl->yp);
+ SetTextProps(&tp2, hl, plug);
+ tp1 = docu->createTextNode(hl->ch);
+ tp2.appendChild(tp1);
+ tp.appendChild(tp2);
+ ob.appendChild(tp);
+ }
+ break;
+ }
+ if (Item->GrType != 0)
+ elem->appendChild(defi);
+ gr.appendChild(ob);
+ elem->appendChild(gr);
+ }
+ }
+ Lnr++;
+ }
+}
+
+QString SVGExPlug::SetClipPath(PageItem *ite)
+{
+ QString tmp = "";
+ FPoint np, np1, np2;
+ bool nPath = true;
+ if (ite->PoLine.size() > 3)
+ {
+ for (uint poi=0; poi<ite->PoLine.size()-3; poi += 4)
+ {
+ if (ite->PoLine.point(poi).x() > 900000)
+ {
+ tmp += "Z ";
+ nPath = true;
+ continue;
+ }
+ if (nPath)
+ {
+ np = ite->PoLine.point(poi);
+ tmp += "M"+FToStr(np.x())+" "+FToStr(np.y())+" ";
+ nPath = false;
+ }
+ np = ite->PoLine.point(poi+1);
+ tmp += "C"+FToStr(np.x())+" "+FToStr(np.y())+" ";
+ np1 = ite->PoLine.point(poi+3);
+ tmp += FToStr(np1.x())+" "+FToStr(np1.y())+" ";
+ np2 = ite->PoLine.point(poi+2);
+ tmp += FToStr(np2.x())+" "+FToStr(np2.y())+" ";
+ }
+ }
+ return tmp;
+}
+
+QString SVGExPlug::FToStr(float c)
+{
+ QString cc;
+ return cc.setNum(c);
+}
+
+QString SVGExPlug::IToStr(int c)
+{
+ QString cc;
+ return cc.setNum(c);
+}
+
+void SVGExPlug::SetTextProps(QDomElement *tp, struct Pti *hl, ScribusApp *plug)
+{
+ int chst;
+ if (hl->ccolor != "None")
+ tp->setAttribute("fill", SetFarbe(hl->ccolor, hl->cshade, plug));
+ else
+ tp->setAttribute("fill", "none");
+ tp->setAttribute("font-size", hl->csize);
+ tp->setAttribute("font-family", plug->doc->UsedFonts[hl->cfont].family());
+ chst = hl->cstyle & 127;
+ if (chst != 0)
+ {
+ if (chst & 64)
+ tp->setAttribute("font-variant", "small-caps");
+ if (chst & 32)
+ tp->setAttribute("font-weight", "bold");
+ if (chst & 16)
+ tp->setAttribute("text-decoration", "line-through");
+ if (chst & 8)
+ tp->setAttribute("text-decoration", "underline");
+ if (chst & 4)
+ tp->setAttribute("font-style", "italic");
+ }
+}
+
+QString SVGExPlug::SetFarbe(QString farbe, int shad, ScribusApp *plug)
+{
+ int h, s, v, sneu;
+ QColor tmp;
+ plug->doc->PageColors[farbe].getRGBColor().rgb(&h, &s, &v);
+ if ((h == s) && (s == v))
+ {
+ plug->doc->PageColors[farbe].getRGBColor().hsv(&h, &s, &v);
+ sneu = 255 - ((255 - v) * shad / 100);
+ tmp.setHsv(h, s, sneu);
+ }
+ else
+ {
+ plug->doc->PageColors[farbe].getRGBColor().hsv(&h, &s, &v);
+ sneu = s * shad / 100;
+ tmp.setHsv(h, sneu, v);
+ }
+ return tmp.name();
+}
+
+SVGExPlug::~SVGExPlug()
+{
+}
+
/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp
Property changes:
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property
Index: Scribus/scribus/po/svgexport.sk.po
===================================================================
--- Scribus/scribus/po/svgexport.sk.po (nonexistent)
+++ Scribus/scribus/po/svgexport.sk.po (revision 21)
@@ -0,0 +1,20 @@
+# This is a Qt message file in .po format. Each msgid starts with
+# a scope. This scope should *NOT* be translated - eg. "Foo::Bar"
+# would be translated to "Pub", not "Foo::Pub".
+msgid ""
+msgstr ""
+"Project-Id-Version: Scribus SVG-Export Plugin\n"
+"POT-Creation-Date: 1999-02-23 15:38+0200\n"
+"PO-Revision-Date: 2002-09-03 17:03+0100\n"
+"Last-Translator: Zdenko Podobný <zdpo@mailbox.sk>\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"X-Generator: KBabel 0.9.6\n"
+
+msgid "Save Page as SVG..."
+msgstr "Ulo¾i» stranu ako SVG..."
+
+msgid "SVG-Images (*.svg);; All Files (*)"
+msgstr "SVG obrázky (*.svg);; V¹etky súbory (*)"
+
/Scribus/scribus/po/svgexport.sk.po
Property changes:
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property
Index: Scribus/scribus/po/svgexport.de.po
===================================================================
--- Scribus/scribus/po/svgexport.de.po (nonexistent)
+++ Scribus/scribus/po/svgexport.de.po (revision 21)
@@ -0,0 +1,17 @@
+# This is a Qt message file in .po format. Each msgid starts with
+# a scope. This scope should *NOT* be translated - eg. "Foo::Bar"
+# would be translated to "Pub", not "Foo::Pub".
+msgid ""
+msgstr ""
+"Project-Id-Version: Scribus SVG-Export Plugin\n"
+"POT-Creation-Date: 1999-02-23 15:38+0200\n"
+"PO-Revision-Date: 2002-08-01 15:38+0200\n"
+"Last-Translator: Franz Schmid <Franz.Schmid@altmuehlnet.de>\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+msgid "Save Page as SVG..."
+msgstr "Seite als SVG sichern..."
+
+msgid "SVG-Images (*.svg);; All Files (*)"
+msgstr "SVG Grafiken (*.svg);; Alle Dateien (*)"
/Scribus/scribus/po/svgexport.de.po
Property changes:
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property
Index: Scribus/scribus/qm/svgexport.sk.qm
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/Scribus/scribus/qm/svgexport.sk.qm
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: Scribus/scribus/qm/svgexport.de.qm
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/Scribus/scribus/qm/svgexport.de.qm
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: Scribus/scribus/qm/Makefile.am
===================================================================
--- Scribus/scribus/qm/Makefile.am (revision 20)
+++ Scribus/scribus/qm/Makefile.am (revision 21)
@@ -1,7 +1,7 @@
####### kdevelop will overwrite this part!!! (begin)##########
-EXTRA_DIST = 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 charselect.da.qm charselect.de.qm charselect.sk.qm charselect.no.qm scribus.no.qm
+EXTRA_DIST = 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 charselect.da.qm charselect.de.qm charselect.sk.qm charselect.no.qm scribus.no.qm svgexport.de.qm svgexport.sk.qm
install-data-local:
$(mkinstalldirs) $(prefix)/lib/scribus/
@@ -40,6 +40,10 @@
$(INSTALL_DATA) $(srcdir)/charselect.sk.qm $(prefix)/lib/scribus/plugins/charselect.sk.qm
$(mkinstalldirs) $(prefix)/lib/scribus/plugins/
$(INSTALL_DATA) $(srcdir)/charselect.no.qm $(prefix)/lib/scribus/plugins/charselect.no.qm
+ $(mkinstalldirs) $(prefix)/lib/scribus/plugins/
+ $(INSTALL_DATA) $(srcdir)/svgexport.de.qm $(prefix)/lib/scribus/plugins/svgexport.de.qm
+ $(mkinstalldirs) $(prefix)/lib/scribus/plugins/
+ $(INSTALL_DATA) $(srcdir)/svgexport.sk.qm $(prefix)/lib/scribus/plugins/svgexport.sk.qm
uninstall-local:
-rm -f $(prefix)/lib/scribus/scribus.bg.qm
@@ -60,5 +64,7 @@
-rm -f $(prefix)/lib/scribus/plugins/charselect.de.qm
-rm -f $(prefix)/lib/scribus/plugins/charselect.sk.qm
-rm -f $(prefix)/lib/scribus/plugins/charselect.no.qm
+ -rm -f $(prefix)/lib/scribus/plugins/svgexport.de.qm
+ -rm -f $(prefix)/lib/scribus/plugins/svgexport.sk.qm
####### kdevelop will overwrite this part!!! (end)############
/trunk/Scribus/scribus.kdevprj
23,7 → 23,7
cppflags=
cxxflags=\s-O0 -Wall
ldadd=-ldl -lcms -ltiff -lm $(LIB_QT) -lXext -lX11
ldflags=\s-s -export-dynamic\s
ldflags=\s-s -export-dynamic\s
 
[General]
AMChanged=false
33,7 → 33,7
kdevprj_version=1.3
lfv_open_groups=
make_options=\s-j1
makefiles=Makefile.am,scribus/Makefile.am,scribus/icons/Makefile.am,scribus/libabout/Makefile.am,scribus/libprefs/Makefile.am,scribus/plugins/libchar/Makefile.am,scribus/plugins/Makefile.am,scribus/libpostscript/Makefile.am,scribus/profiles/Makefile.am,scribus/libpdf/Makefile.am,scribus/dicts/Makefile.am,scribus/po/Makefile.am,scribus/qm/Makefile.am
makefiles=Makefile.am,scribus/Makefile.am,scribus/icons/Makefile.am,scribus/libabout/Makefile.am,scribus/libprefs/Makefile.am,scribus/plugins/libchar/Makefile.am,scribus/plugins/svgexplugin/Makefile.am,scribus/plugins/Makefile.am,scribus/libpostscript/Makefile.am,scribus/profiles/Makefile.am,scribus/libpdf/Makefile.am,scribus/dicts/Makefile.am,scribus/po/Makefile.am,scribus/qm/Makefile.am
modifyMakefiles=false
project_name=Scribus
project_type=normal_qt2
40,7 → 40,7
sgml_file=
short_info=
sub_dir=scribus/
version=0.9.10
version=0.9.11cvs
version_control=CVS
workspace=1
 
101,7 → 101,7
type=DATA
 
[scribus/Makefile.am]
files=scribus/main.cpp,scribus/scribus.cpp,scribus/scribus.h,scribus/scribusdoc.cpp,scribus/scribusdoc.h,scribus/scribusview.cpp,scribus/scribusview.h,scribus/newfile.h,scribus/newfile.cpp,scribus/pageitem.cpp,scribus/pageitem.h,scribus/pageback.cpp,scribus/pageback.h,scribus/hruler.cpp,scribus/hruler.h,scribus/vruler.cpp,scribus/vruler.h,scribus/colorm.cpp,scribus/colorm.h,scribus/query.cpp,scribus/query.h,scribus/dcolor.cpp,scribus/dcolor.h,scribus/cpalette.cpp,scribus/cpalette.h,scribus/mdup.cpp,scribus/mdup.h,scribus/docinfo.cpp,scribus/docinfo.h,scribus/reformdoc.cpp,scribus/reformdoc.h,scribus/serializer.cpp,scribus/serializer.h,scribus/align.cpp,scribus/align.h,scribus/fmitem.cpp,scribus/fmitem.h,scribus/fontprefs.cpp,scribus/fontprefs.h,scribus/missing.cpp,scribus/missing.h,scribus/tree.cpp,scribus/tree.h,scribus/pdfopts.cpp,scribus/pdfopts.h,scribus/inspage.cpp,scribus/inspage.h,scribus/delpages.cpp,scribus/delpages.h,scribus/movepage.cpp,scribus/movepage.h,scribus/modify.cpp,scribus/modify.h,scribus/mspinbox.cpp,scribus/mspinbox.h,scribus/helpbrowser.cpp,scribus/helpbrowser.h,scribus/icons5.h,scribus/linkbutton.cpp,scribus/linkbutton.h,scribus/icons6.h,scribus/linecombo.cpp,scribus/linecombo.h,scribus/scribusXml.cpp,scribus/scribusXml.h,scribus/cmykfw.cpp,scribus/cmykfw.h,scribus/cmykcolor.cpp,scribus/cmykcolor.h,scribus/util.cpp,scribus/colorchart.cpp,scribus/colorchart.h,scribus/druck.cpp,scribus/druck.h,scribus/editformats.cpp,scribus/editformats.h,scribus/edit1format.cpp,scribus/edit1format.h,scribus/spalette.cpp,scribus/spalette.h,scribus/ISOenc.txt,scribus/frameedit.cpp,scribus/frameedit.h,scribus/scfonts.cpp,scribus/scfonts.h,scribus/scrap.cpp,scribus/scrap.h,scribus/TTFenc.txt,scribus/Stdenc.txt,scribus/scfonts_encoding.cpp,scribus/scfonts_encoding.h,scribus/scfonts_ttf.cpp,scribus/scfonts_ttf.h,scribus/scfonts_ttftypes.h,scribus/muster.cpp,scribus/muster.h,scribus/applytemplate.cpp,scribus/applytemplate.h,scribus/newtemp.cpp,scribus/newtemp.h,scribus/picstatus.cpp,scribus/picstatus.h,scribus/picsearch.cpp,scribus/picsearch.h,scribus/customfdialog.cpp,scribus/customfdialog.h,scribus/cmsprefs.cpp,scribus/cmsprefs.h,scribus/bookmwin.cpp,scribus/bookmwin.h,scribus/annot.cpp,scribus/annot.h,scribus/navigator.cpp,scribus/navigator.h,scribus/keymanager.cpp,scribus/keymanager.h,scribus/icc34.h,scribus/iso8859-15.enc,scribus/iso8859-2.enc,scribus/iso8859-2ps.enc,scribus/werktoolb.cpp,scribus/werktoolb.h,scribus/mpalette.h,scribus/mpalette.cpp,scribus/polyprops.cpp,scribus/polyprops.h,scribus/layers.cpp,scribus/layers.h,scribus/page.cpp,scribus/page.h,scribus/editor.cpp,scribus/editor.h,scribus/selfield.cpp,scribus/selfield.h,scribus/javadocs.cpp,scribus/javadocs.h,scribus/buttonicon.cpp,scribus/buttonicon.h,scribus/annota.cpp,scribus/annota.h,scribus/fpoint.cpp,scribus/fpoint.h,scribus/fpointarray.cpp,scribus/fpointarray.h,scribus/seiten.cpp,scribus/seiten.h,scribus/hysettings.cpp,scribus/hysettings.h,scribus/hnjalloc.c,scribus/hnjalloc.h,scribus/hyask.cpp,scribus/hyask.h,scribus/hyphen.c,scribus/hyphen.h,scribus/hyphenator.cpp,scribus/hyphenator.h,scribus/scribuswin.cpp,scribus/scribuswin.h,scribus/kimageeffect.cpp,scribus/kimageeffect.h,scribus/guidemanager.cpp,scribus/guidemanager.h,scribus/cupsoptions.cpp,scribus/cupsoptions.h,scribus/md5.c,scribus/md5.h,scribus/rc4.c,scribus/rc4.h,scribus/bookpalette.cpp,scribus/bookpalette.h,scribus/mergedoc.cpp,scribus/mergedoc.h
files=scribus/main.cpp,scribus/scribus.cpp,scribus/scribus.h,scribus/scribusdoc.cpp,scribus/scribusdoc.h,scribus/scribusview.cpp,scribus/scribusview.h,scribus/newfile.h,scribus/newfile.cpp,scribus/pageitem.cpp,scribus/pageitem.h,scribus/pageback.cpp,scribus/pageback.h,scribus/hruler.cpp,scribus/hruler.h,scribus/vruler.cpp,scribus/vruler.h,scribus/colorm.cpp,scribus/colorm.h,scribus/query.cpp,scribus/query.h,scribus/dcolor.cpp,scribus/dcolor.h,scribus/cpalette.cpp,scribus/cpalette.h,scribus/mdup.cpp,scribus/mdup.h,scribus/docinfo.cpp,scribus/docinfo.h,scribus/reformdoc.cpp,scribus/reformdoc.h,scribus/serializer.cpp,scribus/serializer.h,scribus/align.cpp,scribus/align.h,scribus/fmitem.cpp,scribus/fmitem.h,scribus/fontprefs.cpp,scribus/fontprefs.h,scribus/missing.cpp,scribus/missing.h,scribus/tree.cpp,scribus/tree.h,scribus/pdfopts.cpp,scribus/pdfopts.h,scribus/inspage.cpp,scribus/inspage.h,scribus/delpages.cpp,scribus/delpages.h,scribus/movepage.cpp,scribus/movepage.h,scribus/modify.cpp,scribus/modify.h,scribus/mspinbox.cpp,scribus/mspinbox.h,scribus/helpbrowser.cpp,scribus/helpbrowser.h,scribus/icons5.h,scribus/linkbutton.cpp,scribus/linkbutton.h,scribus/icons6.h,scribus/linecombo.cpp,scribus/linecombo.h,scribus/scribusXml.cpp,scribus/scribusXml.h,scribus/cmykfw.cpp,scribus/cmykfw.h,scribus/cmykcolor.cpp,scribus/cmykcolor.h,scribus/util.cpp,scribus/colorchart.cpp,scribus/colorchart.h,scribus/druck.cpp,scribus/druck.h,scribus/editformats.cpp,scribus/editformats.h,scribus/edit1format.cpp,scribus/edit1format.h,scribus/spalette.cpp,scribus/spalette.h,scribus/ISOenc.txt,scribus/frameedit.cpp,scribus/frameedit.h,scribus/scfonts.cpp,scribus/scfonts.h,scribus/scrap.cpp,scribus/scrap.h,scribus/TTFenc.txt,scribus/Stdenc.txt,scribus/scfonts_encoding.cpp,scribus/scfonts_encoding.h,scribus/scfonts_ttf.cpp,scribus/scfonts_ttf.h,scribus/scfonts_ttftypes.h,scribus/muster.cpp,scribus/muster.h,scribus/applytemplate.cpp,scribus/applytemplate.h,scribus/newtemp.cpp,scribus/newtemp.h,scribus/picstatus.cpp,scribus/picstatus.h,scribus/picsearch.cpp,scribus/picsearch.h,scribus/customfdialog.cpp,scribus/customfdialog.h,scribus/cmsprefs.cpp,scribus/cmsprefs.h,scribus/bookmwin.cpp,scribus/bookmwin.h,scribus/annot.cpp,scribus/annot.h,scribus/navigator.cpp,scribus/navigator.h,scribus/keymanager.cpp,scribus/keymanager.h,scribus/icc34.h,scribus/iso8859-15.enc,scribus/iso8859-2.enc,scribus/iso8859-2ps.enc,scribus/werktoolb.cpp,scribus/werktoolb.h,scribus/mpalette.h,scribus/mpalette.cpp,scribus/polyprops.cpp,scribus/polyprops.h,scribus/layers.cpp,scribus/layers.h,scribus/page.cpp,scribus/page.h,scribus/editor.cpp,scribus/editor.h,scribus/selfield.cpp,scribus/selfield.h,scribus/javadocs.cpp,scribus/javadocs.h,scribus/buttonicon.cpp,scribus/buttonicon.h,scribus/annota.cpp,scribus/annota.h,scribus/fpoint.cpp,scribus/fpoint.h,scribus/fpointarray.cpp,scribus/fpointarray.h,scribus/seiten.cpp,scribus/seiten.h,scribus/hysettings.cpp,scribus/hysettings.h,scribus/hnjalloc.c,scribus/hnjalloc.h,scribus/hyask.cpp,scribus/hyask.h,scribus/hyphen.c,scribus/hyphen.h,scribus/hyphenator.cpp,scribus/hyphenator.h,scribus/scribuswin.cpp,scribus/scribuswin.h,scribus/kimageeffect.cpp,scribus/kimageeffect.h,scribus/guidemanager.cpp,scribus/guidemanager.h,scribus/cupsoptions.cpp,scribus/cupsoptions.h,scribus/md5.c,scribus/md5.h,scribus/rc4.c,scribus/rc4.h,scribus/bookpalette.cpp,scribus/bookpalette.h,scribus/mergedoc.cpp,scribus/mergedoc.h,scribus/splash.cpp,scribus/splash.h
sub_dirs=icons,libabout,libprefs,plugins,libpostscript,profiles,libpdf,dicts,po,qm
type=prog_main
 
1656,7 → 1656,7
type=HEADER
 
[scribus/plugins/Makefile.am]
sub_dirs=libchar
sub_dirs=libchar,svgexplugin
type=normal
 
[scribus/plugins/libchar/Makefile.am]
1678,8 → 1678,27
install_location=
type=HEADER
 
[scribus/plugins/svgexplugin/Makefile.am]
files=scribus/plugins/svgexplugin/svgexplugin.cpp,scribus/plugins/svgexplugin/svgexplugin.h
sharedlib_LDFLAGS=-version-info 0:0:0
sharedlib_rootname=svgexplugin
sub_dirs=
type=shared_library
 
[scribus/plugins/svgexplugin/svgexplugin.cpp]
dist=true
install=false
install_location=
type=SOURCE
 
[scribus/plugins/svgexplugin/svgexplugin.h]
dist=true
install=false
install_location=
type=HEADER
 
[scribus/po/Makefile.am]
files=scribus/po/scribus.bg_BG.po,scribus/po/scribus.ca.po,scribus/po/scribus.da_DK.po,scribus/po/scribus.de_DE.po,scribus/po/scribus.es_ES.po,scribus/po/scribus.fr.po,scribus/po/scribus.galician.po,scribus/po/scribus.hu.po,scribus/po/scribus.it.po,scribus/po/scribus.lt_LT.po,scribus/po/scribus.pl_PL.po,scribus/po/scribus.sk_SK.po,scribus/po/scribus.tr_TR.po,scribus/po/scribus.uk.po,scribus/po/charselect.da_DK.po,scribus/po/charselect.de.po,scribus/po/charselect.sk.po
files=scribus/po/scribus.bg_BG.po,scribus/po/scribus.ca.po,scribus/po/scribus.da_DK.po,scribus/po/scribus.de_DE.po,scribus/po/scribus.es_ES.po,scribus/po/scribus.fr.po,scribus/po/scribus.galician.po,scribus/po/scribus.hu.po,scribus/po/scribus.it.po,scribus/po/scribus.lt_LT.po,scribus/po/scribus.pl_PL.po,scribus/po/scribus.sk_SK.po,scribus/po/scribus.tr_TR.po,scribus/po/scribus.uk.po,scribus/po/charselect.da_DK.po,scribus/po/charselect.de.po,scribus/po/charselect.sk.po,scribus/po/svgexport.de.po,scribus/po/svgexport.sk.po
sub_dirs=
type=normal
 
1785,6 → 1804,18
install_location=
type=PO
 
[scribus/po/svgexport.de.po]
dist=false
install=false
install_location=
type=PO
 
[scribus/po/svgexport.sk.po]
dist=false
install=false
install_location=
type=PO
 
[scribus/polyprops.cpp]
dist=true
install=false
1809,7 → 1840,7
type=DATA
 
[scribus/qm/Makefile.am]
files=scribus/qm/scribus.bg.qm,scribus/qm/scribus.ca.qm,scribus/qm/scribus.da.qm,scribus/qm/scribus.de.qm,scribus/qm/scribus.en_GB.qm,scribus/qm/scribus.es.qm,scribus/qm/scribus.fr.qm,scribus/qm/scribus.gl.qm,scribus/qm/scribus.hu.qm,scribus/qm/scribus.it.qm,scribus/qm/scribus.lt_LT.qm,scribus/qm/scribus.pl.qm,scribus/qm/scribus.sk.qm,scribus/qm/scribus.tr.qm,scribus/qm/scribus.uk.qm,scribus/qm/charselect.da.qm,scribus/qm/charselect.de.qm,scribus/qm/charselect.sk.qm
files=scribus/qm/scribus.bg.qm,scribus/qm/scribus.ca.qm,scribus/qm/scribus.da.qm,scribus/qm/scribus.de.qm,scribus/qm/scribus.en_GB.qm,scribus/qm/scribus.es.qm,scribus/qm/scribus.fr.qm,scribus/qm/scribus.gl.qm,scribus/qm/scribus.hu.qm,scribus/qm/scribus.it.qm,scribus/qm/scribus.lt_LT.qm,scribus/qm/scribus.pl.qm,scribus/qm/scribus.sk.qm,scribus/qm/scribus.tr.qm,scribus/qm/scribus.uk.qm,scribus/qm/charselect.da.qm,scribus/qm/charselect.de.qm,scribus/qm/charselect.sk.qm,scribus/po/svgexport.de.qm,scribus/po/svgexport.sk.qm
sub_dirs=
type=normal
 
1921,6 → 1952,18
install_location=$$(prefix)/lib/scribus/scribus.uk.qm
type=DATA
 
[scribus/qm/svgexport.de.qm]
dist=true
install=true
install_location=$$(prefix)/lib/scribus/svgexport.de.qm
type=DATA
 
[scribus/qm/svgexport.sk.qm]
dist=true
install=true
install_location=$$(prefix)/lib/scribus/svgexport.sk.qm
type=DATA
 
[scribus/query.cpp]
dist=true
install=false
2119,6 → 2162,18
install_location=$$(prefix)/include/scribus/spalette.h
type=HEADER
 
[scribus/splash.cpp]
dist=true
install=false
install_location=
type=SOURCE
 
[scribus/splash.h]
dist=true
install=false
install_location=
type=HEADER
 
[scribus/tree.cpp]
dist=true
install=false