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

Public Member Functions

 CollectForOutput_UI (QWidget *parent, ScribusDoc *doc, QString outputDirectory=QString::null, bool withFonts=false, bool withProfiles=false, bool compressDoc=false)
 
virtual QString collect (QString &newFileName)
 Main method doing everything. It calls all related methods.
 
- Public Member Functions inherited from CollectForOutput
 CollectForOutput (ScribusDoc *doc, QString outputDirectory=QString::null, bool withFonts=false, bool withProfiles=false, bool compressDoc=false)
 Setup the attributes. More...
 

Protected Slots

void collectedFonts (int)
 
void collectedItems (int)
 
void collectedPatterns (int)
 
void collectedProfiles (int)
 

Protected Attributes

MultiProgressDialogprogressDialog
 
- Protected Attributes inherited from CollectForOutput
ScribusDocm_Doc
 
bool m_compressDoc
 
bool m_withFonts
 
bool m_withProfiles
 
QString m_outputDirectory
 
QString newName
 
QMap< QString, QString > collectedFiles
 Remember already collected files to collect the same files only once. It's QMap - newFile, oldFile.
 
PrefsContextdirs
 
ProfilesL docProfiles
 
QStringList patterns
 
int profileCount
 
int itemCount
 
int fontCount
 
int patternCount
 
bool uiCollect
 

Additional Inherited Members

- Signals inherited from CollectForOutput
void fontsCollected (int)
 
void patternsCollected (int)
 
void profilesCollected (int)
 
void itemsCollected (int)
 
- Protected Member Functions inherited from CollectForOutput
bool newDirDialog ()
 
bool collectDocument ()
 
bool collectItems ()
 
void processItem (PageItem *ite)
 
bool collectFonts ()
 
QStringList findFontMetrics (const QString &baseDir, const QString &baseName) const
 
bool collectProfiles ()
 
QString collectFile (QString oldFile, QString newFile)
 Copy used file into new location with magic checks. It looks into collectedFiles map. If there is newFile (key) already found - it will construct new filename to prevent overwriting. E.g. newFile.png can be newFile_0.png. It checks already collected files not to collect one item 2 times. More...
 

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