std::string aName =
GenerateName(theSObject,theName2EntryMap,theEntry2NameMap);
QString aFirstStrAsTitle =
- VISU::Storable::FindValue(aMap,"myFirstStrAsTitle",&anIsExist);
+ VISU::Storable::FindValue(aMap,"myFirstStrAsTitle",&anIsExist).trimmed().toLower();
+ if ( aFirstStrAsTitle == "1" || aFirstStrAsTitle == "true" )
+ aFirstStrAsTitle = "True";
+ else
+ aFirstStrAsTitle = "False";
theStr<<thePrefix<<aName<<" = aVisu.ImportTables('"
<<aFileName.toLatin1().data()<<"',"
<<aFirstStrAsTitle.toLatin1().data()<<")"<<endl;