|
|
@ -664,7 +664,7 @@ TQString KoOasisStyles::saveOasisTimeStyle( KoGenStyles &mainStyles, const TQStr
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_TIME );
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_TIME );
|
|
|
|
TQBuffer buffer;
|
|
|
|
TQBuffer buffer;
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
|
|
|
|
KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
|
|
|
|
TQString text;
|
|
|
|
TQString text;
|
|
|
|
if ( klocaleFormat )
|
|
|
|
if ( klocaleFormat )
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -819,7 +819,7 @@ TQString KoOasisStyles::saveOasisDateStyle( KoGenStyles &mainStyles, const TQStr
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_DATE );
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_DATE );
|
|
|
|
TQBuffer buffer;
|
|
|
|
TQBuffer buffer;
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
|
|
|
|
KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
|
|
|
|
TQString text;
|
|
|
|
TQString text;
|
|
|
|
if ( klocaleFormat )
|
|
|
|
if ( klocaleFormat )
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -993,7 +993,7 @@ TQString KoOasisStyles::saveOasisFractionStyle( KoGenStyles &mainStyles, const T
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_FRACTION );
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_FRACTION );
|
|
|
|
TQBuffer buffer;
|
|
|
|
TQBuffer buffer;
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
|
|
|
|
KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
|
|
|
|
TQString text;
|
|
|
|
TQString text;
|
|
|
|
int integer = 0;
|
|
|
|
int integer = 0;
|
|
|
|
int numerator = 0;
|
|
|
|
int numerator = 0;
|
|
|
@ -1057,7 +1057,7 @@ TQString KoOasisStyles::saveOasisNumberStyle( KoGenStyles &mainStyles, const TQS
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_NUMBER );
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_NUMBER );
|
|
|
|
TQBuffer buffer;
|
|
|
|
TQBuffer buffer;
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
|
|
|
|
KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
|
|
|
|
TQString text;
|
|
|
|
TQString text;
|
|
|
|
int decimalplaces = 0;
|
|
|
|
int decimalplaces = 0;
|
|
|
|
int integerdigits = 0;
|
|
|
|
int integerdigits = 0;
|
|
|
@ -1106,7 +1106,7 @@ TQString KoOasisStyles::saveOasisPercentageStyle( KoGenStyles &mainStyles, const
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_PERCENTAGE );
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_PERCENTAGE );
|
|
|
|
TQBuffer buffer;
|
|
|
|
TQBuffer buffer;
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
|
|
|
|
KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
|
|
|
|
TQString text;
|
|
|
|
TQString text;
|
|
|
|
int decimalplaces = 0;
|
|
|
|
int decimalplaces = 0;
|
|
|
|
int integerdigits = 0;
|
|
|
|
int integerdigits = 0;
|
|
|
@ -1160,7 +1160,7 @@ TQString KoOasisStyles::saveOasisScientificStyle( KoGenStyles &mainStyles, const
|
|
|
|
int decimalplace = 0;
|
|
|
|
int decimalplace = 0;
|
|
|
|
int integerdigits = 0;
|
|
|
|
int integerdigits = 0;
|
|
|
|
int exponentdigits = 0;
|
|
|
|
int exponentdigits = 0;
|
|
|
|
KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
|
|
|
|
KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
|
|
|
|
TQString text;
|
|
|
|
TQString text;
|
|
|
|
bool beforeSeparator = true;
|
|
|
|
bool beforeSeparator = true;
|
|
|
|
bool exponential = false;
|
|
|
|
bool exponential = false;
|
|
|
@ -1236,7 +1236,7 @@ TQString KoOasisStyles::saveOasisCurrencyStyle( KoGenStyles &mainStyles,
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_CURRENCY );
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_CURRENCY );
|
|
|
|
TQBuffer buffer;
|
|
|
|
TQBuffer buffer;
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
|
|
|
|
KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
|
|
|
|
TQString text;
|
|
|
|
TQString text;
|
|
|
|
int decimalplaces = 0;
|
|
|
|
int decimalplaces = 0;
|
|
|
|
int integerdigits = 0;
|
|
|
|
int integerdigits = 0;
|
|
|
@ -1292,7 +1292,7 @@ TQString KoOasisStyles::saveOasisTextStyle( KoGenStyles &mainStyles, const TQStr
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_TEXT );
|
|
|
|
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_TEXT );
|
|
|
|
TQBuffer buffer;
|
|
|
|
TQBuffer buffer;
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
buffer.open( IO_WriteOnly );
|
|
|
|
KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
|
|
|
|
KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
|
|
|
|
TQString text;
|
|
|
|
TQString text;
|
|
|
|
do
|
|
|
|
do
|
|
|
|
{
|
|
|
|
{
|
|
|
|