r19453 by fschmid - PageMaker Importer: add complete extensions list.

scribus-commit scribus-commit at lists.scribus.net
Thu Aug 28 10:43:31 UTC 2014


Author: fschmid
Date: Thu Aug 28 10:43:30 2014
New Revision: 19453

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19453
Log:
PageMaker Importer: add complete extensions list.

Modified:
    trunk/Scribus/scribus/plugins/import/pm/importpmplugin.cpp

Modified: trunk/Scribus/scribus/plugins/import/pm/importpmplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19453&path=/trunk/Scribus/scribus/plugins/import/pm/importpmplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pm/importpmplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/pm/importpmplugin.cpp Thu Aug 28 10:43:30 2014
@@ -53,7 +53,7 @@
 	importAction->setText( tr("Import Pagemaker..."));
 	FileFormat* fmt = getFormatByExt("pmd");
 	fmt->trName = tr("Pagemaker");
-	fmt->filter = tr("Pagemaker (*.pmd *.PMD *.pm5 *.PM5 *.p65 *.P65)");
+	fmt->filter = tr("Pagemaker (*.pmd *.PMD *.pm *.PM *.pm3 *.PM3 *.pm4 *.PM4 *.pm5 *.PM5 *.pm6 *.PM6 *.p65 *.P65)");
 }
 
 ImportPmPlugin::~ImportPmPlugin()
@@ -88,9 +88,9 @@
 {
 	FileFormat fmt(this);
 	fmt.trName = tr("Pagemaker");
-	fmt.filter = tr("Pagemaker (*.pmd *.PMD *.pm5 *.PM5 *.p65 *.P65)");
+	fmt.filter = tr("Pagemaker (*.pmd *.PMD *.pm *.PM *.pm3 *.PM3 *.pm4 *.PM4 *.pm5 *.PM5 *.pm6 *.PM6 *.p65 *.P65)");
 	fmt.formatId = 0;
-	fmt.fileExtensions = QStringList() << "pmd" << "pm5" << "p65";
+	fmt.fileExtensions = QStringList() << "pmd" << "pm" << "pm3" << "pm4" << "pm5" << "pm6" << "p65";
 	fmt.load = true;
 	fmt.save = false;
 	fmt.thumb = true;
@@ -120,7 +120,7 @@
 		flags |= lfInteractive;
 		PrefsContext* prefs = PrefsManager::instance()->prefsFile->getPluginContext("importpm");
 		QString wdir = prefs->get("wdir", ".");
-		CustomFDialog diaf(ScCore->primaryMainWindow(), wdir, QObject::tr("Open"), tr("All Supported Formats")+" (*.pmd *.PMD *.pm5 *.PM5 *.p65 *.P65);;All Files (*)");
+		CustomFDialog diaf(ScCore->primaryMainWindow(), wdir, QObject::tr("Open"), tr("All Supported Formats")+" (*.pmd *.PMD *.pm *.PM *.pm3 *.PM3 *.pm4 *.PM4 *.pm5 *.PM5 *.pm6 *.PM6 *.p65 *.P65);;All Files (*)");
 		if (diaf.exec())
 		{
 			fileName = diaf.selectedFile();




More information about the scribus-commit mailing list