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

Public Member Functions

bool run (const QString &target, ScribusDoc *doc=0)
 

Public Attributes

QString desmapPath
 
QString fontPath
 
QString stylePath
 
QString graphicPath
 
QString preferPath
 
QString mspreadPath
 

Member Function Documentation

bool ImportIdmlImpl::run ( const QString &  target,
ScribusDoc doc = 0 
)

Here, first we parse the idml document, in the order designmap.xml,preferences.xml, fonts.xml, styles.xml, gradiant.xml, all the stories will be transformed into Story Objects, and finally all the master spreads and spreads. We set the document page width, height etc from preferences.xml, styles are defined and added into the list.

QMap are maintained with QString, Object for each item which is referred later in the document using the self attribute. This includes all styles, stories etc.


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