mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Folio list read Default Properties Xml
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3312 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1027,10 +1027,6 @@ void QETProject::readProjectXml() {
|
||||
// la racine du document XML est sensee etre un element "project"
|
||||
if (root_elmt.tagName() == "project") {
|
||||
|
||||
// if there is an attribute for folioSheetQuantity, then set it accordingly.
|
||||
// If not, then the value remains at the initial value of zero.
|
||||
if (root_elmt.hasAttribute("folioSheetQuantity"))
|
||||
addNewDiagramFolioList();
|
||||
|
||||
// mode d'ouverture normal
|
||||
if (root_elmt.hasAttribute("version")) {
|
||||
@@ -1067,10 +1063,15 @@ void QETProject::readProjectXml() {
|
||||
|
||||
// load the project-wide properties
|
||||
readProjectPropertiesXml();
|
||||
|
||||
|
||||
// charge les proprietes par defaut pour les nouveaux schemas
|
||||
readDefaultPropertiesXml();
|
||||
|
||||
// if there is an attribute for folioSheetQuantity, then set it accordingly.
|
||||
// If not, then the value remains at the initial value of zero.
|
||||
if (root_elmt.hasAttribute("folioSheetQuantity"))
|
||||
addNewDiagramFolioList();
|
||||
|
||||
// load the embedded titleblock templates
|
||||
readEmbeddedTemplatesXml();
|
||||
|
||||
@@ -1079,7 +1080,7 @@ void QETProject::readProjectXml() {
|
||||
|
||||
// charge les schemas
|
||||
readDiagramsXml();
|
||||
|
||||
|
||||
state_ = Ok;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user