Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
importidml.h
1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
7
#ifndef IMPORTIDML_H
8
#define IMPORTIDML_H
9
10
#include "pluginapi.h"
11
#include "loadsaveplugin.h"
12
#include "scfonts.h"
13
#include "scribusstructs.h"
14
#include "styles/styleset.h"
15
16
#include <QString>
17
#include <QMap>
18
#include <QList>
19
#include <QProgressBar>
20
21
22
class
PLUGIN_API
ImportIdml
:
public
LoadSavePlugin
23
{
24
Q_OBJECT
25
26
public
:
28
ImportIdml
();
29
virtual
~
ImportIdml
();
31
virtual
bool
run(
ScribusDoc
* doc, QString target = QString::null);
32
virtual
const
QString
fullTrName
()
const
;
33
virtual
const
AboutData
*
getAboutData
()
const
;
34
virtual
void
deleteAboutData(
const
AboutData
* about)
const
;
35
virtual
void
languageChange
();
36
virtual
bool
fileSupported(QIODevice* file,
const
QString & fileName=QString::null)
const
;
37
virtual
bool
loadFile(
const
QString & fileName,
const
FileFormat
& fmt,
int
flags,
int
index = 0);
38
virtual
void
addToMainWindowMenu
(
ScribusMainWindow
*) {};
39
// virtual bool import(QString fileName = QString::null, int flags = lfUseCurrentPage|lfInteractive);
40
void
registerFormats();
41
};
42
43
extern
"C"
PLUGIN_API
int
importidml_getPluginAPIVersion();
44
extern
"C"
PLUGIN_API
ScPlugin
* importidml_getPlugin();
45
extern
"C"
PLUGIN_API
void
importidml_freePlugin(
ScPlugin
* plugin);
46
47
#endif
FileFormat
Definition:
loadsaveplugin.h:190
ScPlugin::fullTrName
virtual const QString fullTrName() const =0
Plug-in's human-readable, translated name.
ScPlugin
Abstract super class for all Scribus plug-ins.
Definition:
scplugin.h:90
ScribusMainWindow
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition:
scribus.h:123
ImportIdml
Definition:
importidml.h:22
ScPlugin::languageChange
virtual void languageChange()=0
Update all user-visible text to reflect current UI language.
ScribusDoc
the Document Class
Definition:
scribusdoc.h:90
ScPlugin::AboutData
ScPlugin provides an interface to ask plugins for information about themselves.
Definition:
scplugin.h:103
ImportIdml::addToMainWindowMenu
virtual void addToMainWindowMenu(ScribusMainWindow *)
Allow plugins to add to a main menu.
Definition:
importidml.h:38
LoadSavePlugin
Superclass for all file import/export/load/save plugins.
Definition:
loadsaveplugin.h:33
ScPlugin::getAboutData
virtual const AboutData * getAboutData() const =0
Return descriptive information about the plug-in.
scribus
plugins
import
idml_old
importidml.h
Generated on Tue Sep 29 2015 09:15:04 for Scribus by
1.8.9.1