Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
oldscribusformat.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 OLDSCRIBUSFORMAT_H
8
#define OLDSCRIBUSFORMAT_H
9
10
#include "pluginapi.h"
11
#include "loadsaveplugin.h"
12
13
class
PLUGIN_API
OldScribusFormat
:
public
LoadSavePlugin
14
{
15
Q_OBJECT
16
17
public
:
18
// Standard plugin implementation
19
OldScribusFormat
();
20
virtual
~
OldScribusFormat
();
21
virtual
const
QString
fullTrName
()
const
;
22
virtual
const
AboutData
*
getAboutData
()
const
;
23
virtual
void
deleteAboutData(
const
AboutData
* about)
const
;
24
virtual
void
languageChange
();
25
virtual
bool
fileSupported(QIODevice* file)
const
;
26
27
virtual
bool
loadFile(
const
QString & fileName,
const
FileFormat
& fmt,
int
flags,
int
index = 0);
28
virtual
bool
saveFile(
const
QString & fileName,
const
FileFormat
& fmt);
29
virtual
void
addToMainWindowMenu
(
ScribusMainWindow
*) {};
30
31
// Special features - .sla page extraction support
32
bool
loadPage(
int
pageNumber,
bool
Mpage);
33
34
private
:
35
void
registerFormats();
36
};
37
38
extern
"C"
PLUGIN_API
int
oldscribusformat_getPluginAPIVersion();
39
extern
"C"
PLUGIN_API
ScPlugin
* oldscribusformat_getPlugin();
40
extern
"C"
PLUGIN_API
void
oldscribusformat_freePlugin(
ScPlugin
* plugin);
41
42
#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
ScPlugin::languageChange
virtual void languageChange()=0
Update all user-visible text to reflect current UI language.
OldScribusFormat
Definition:
oldscribusformat.h:13
ScPlugin::AboutData
ScPlugin provides an interface to ask plugins for information about themselves.
Definition:
scplugin.h:103
OldScribusFormat::addToMainWindowMenu
virtual void addToMainWindowMenu(ScribusMainWindow *)
Allow plugins to add to a main menu.
Definition:
oldscribusformat.h:29
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
fileloader
oldscribusformat
oldscribusformat.h
Generated on Tue Sep 29 2015 09:15:02 for Scribus by
1.8.9.1