Go to the documentation of this file.
20#ifndef _IMPORT_HELPERS_H
21#define _IMPORT_HELPERS_H
38 AbiProps(TQString newValue) : m_value(newValue) {};
39 virtual ~AbiProps() {};
41 inline TQString getValue( void) const { return m_value; }
46class AbiPropsMap : public TQMap<TQString,AbiProps>
50 virtual ~AbiPropsMap() {};
52 bool setProperty( const TQString& newName, const TQString& newValue);
53 void splitAndAddAbiProps( const TQString& strProps);
56inline double CentimetresToPoints( const double d)
58 return d * 72.0 / 2.54;
61inline double MillimetresToPoints( const double d)
63 return d * 72.0 / 25.4;
66inline double InchesToPoints( const double d)
71inline double PicaToPoints( const double d)
double ValueWithLengthUnit(const TQString &_str, bool *atleast=NULL) Transform a value with unit (for example "12cm") into a double.
|