Scribus
Open source desktop publishing at your fingertips
FileLoader Class Reference
Inheritance diagram for FileLoader:
Collaboration diagram for FileLoader:

Public Member Functions

 FileLoader (const QString &fileName)
 Constructor, sets the variable "FileName" to the input parameter fileName. More...
 
int fileType () const
 
int testFile ()
 
bool loadPage (ScribusDoc *currDoc, int PageToLoad, bool Mpage, QString renamedPageName=QString::null)
 
bool loadFile (ScribusDoc *currDoc)
 
bool saveFile (const QString &fileName, ScribusDoc *doc, QString *savedFile=NULL)
 
bool readStyles (ScribusDoc *doc, StyleSet< ParagraphStyle > &docParagraphStyles)
 
bool readCharStyles (ScribusDoc *doc, StyleSet< CharStyle > &docCharStyles)
 
bool readPageCount (int *num1, int *num2, QStringList &masterPageNames)
 
bool readColors (ColorList &colors)
 
bool readLineStyles (QHash< QString, multiLine > *Sty)
 
QImage readThumbnail ()
 
bool postLoad (ScribusDoc *currDoc)
 
void informReplacementFonts ()
 

Static Public Member Functions

static const QString getLoadFilterString ()
 

Public Attributes

const FileFormat *const formatSLA12x
 
const FileFormat *const formatSLA13x
 
const FileFormat *const formatSLA134
 
const FileFormat *const formatSLA150
 

Constructor & Destructor Documentation

FileLoader::FileLoader ( const QString &  fileName)

Constructor, sets the variable "FileName" to the input parameter fileName.

Author
Franz Schmid
Date
Parameters
fileNamefilename to load
Return values
None

The documentation for this class was generated from the following files: