Scribus
Open source desktop publishing at your fingertips
DocPreferences Class Reference

A class to represent the necessary preferences from Resources/Preferences.xml in the idml package. These values will be used as default if the attribute value returned is null. Hence, every element in the above defined structures are QString type, which will be converted to their natives types while assigning it to the Scribus native objects!. More...

#include <docpreference.h>

Inheritance diagram for DocPreferences:
Collaboration diagram for DocPreferences:

Public Member Functions

 DocPreferences ()
 
bool processFile (QDomElement &root)
 

Public Attributes

docPrefer preference
 
marginPrefer marginPreference
 
PageItemDefault pageDefault
 
StoryPrefer storyPreference
 
TextDefault textDefault
 

Detailed Description

A class to represent the necessary preferences from Resources/Preferences.xml in the idml package. These values will be used as default if the attribute value returned is null. Hence, every element in the above defined structures are QString type, which will be converted to their natives types while assigning it to the Scribus native objects!.

Author
Jain Basil Aliyas

Constructor & Destructor Documentation

DocPreferences::DocPreferences ( )
Parameters
rootis the root node of the preferences.xml document
Returns
true if success

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