@ -230,12 +230,12 @@ void AIParserBase::gotComment (const char *value) {
break ;
case CO_BeginProcSet :
if ( m_moduleHandler ) m_moduleHandler - > gotBeginSection ( ST_ProcSet , value ) ;
if ( m_debug ) qDebug ( " start ignoring " ) ;
if ( m_debug ) t qDebug ( " start ignoring " ) ;
m_ignoring = true ;
break ;
case CO_BeginResource :
if ( m_moduleHandler ) m_moduleHandler - > gotBeginSection ( ST_Resource , value ) ;
if ( m_debug ) qDebug ( " start ignoring " ) ;
if ( m_debug ) t qDebug ( " start ignoring " ) ;
m_ignoring = true ;
break ;
case CO_BeginEncoding :
@ -243,7 +243,7 @@ void AIParserBase::gotComment (const char *value) {
m_ignoring = false ;
break ;
case CO_IncludeFont :
if ( m_debug ) qDebug ( " start ignoring " ) ;
if ( m_debug ) t qDebug ( " start ignoring " ) ;
m_ignoring = true ;
break ;
case CO_BeginBrushPattern :
@ -253,7 +253,7 @@ void AIParserBase::gotComment (const char *value) {
if ( m_moduleHandler ) m_moduleHandler - > gotBeginSection ( ST_Gradient , value ) ;
break ;
case CO_Trailer :
if ( m_debug ) qDebug ( " start ignoring " ) ;
if ( m_debug ) t qDebug ( " start ignoring " ) ;
m_ignoring = true ;
break ;
case CO_BeginPalette :
@ -271,12 +271,12 @@ void AIParserBase::gotComment (const char *value) {
break ;
case CO_EndProcSet :
if ( m_moduleHandler ) m_moduleHandler - > gotEndSection ( ST_ProcSet , value ) ;
if ( m_debug ) qDebug ( " stop ignoring " ) ;
if ( m_debug ) t qDebug ( " stop ignoring " ) ;
m_ignoring = false ;
break ;
case CO_EndResource :
if ( m_moduleHandler ) m_moduleHandler - > gotEndSection ( ST_Resource , value ) ;
if ( m_debug ) qDebug ( " stop ignoring " ) ;
if ( m_debug ) t qDebug ( " stop ignoring " ) ;
m_ignoring = false ;
break ;
case CO_EndEncoding :
@ -360,12 +360,12 @@ void AIParserBase::gotComment (const char *value) {
case CM_CMYKCustomColor : _handleCMYKCustomColor ( value ) ; break ;
case CM_DocumentNeededResources : _handleDocumentNeededResources ( value ) ; break ;
default : qWarning ( " unknown continuation mode %d " , m_continuationMode ) ;
default : t qWarning ( " unknown continuation mode %d " , m_continuationMode ) ;
}
break ;
default :
qWarning( " unhandled comment: %s " , value ) ;
t qWarning( " unhandled comment: %s " , value ) ;
}
}
@ -375,70 +375,70 @@ void AIParserBase::handleElement (AIElement &element)
if ( m_sink = = DS_Array )
{
if ( m_debug ) qDebug ( " in mode array " ) ;
if ( m_debug ) t qDebug ( " in mode array " ) ;
TQValueVector < AIElement > & elementArray = m_arrayStack . top ( ) ;
elementArray . push_back ( element ) ;
}
if ( m_sink = = DS_Block )
{
if ( m_debug ) qDebug ( " in mode block " ) ;
if ( m_debug ) t qDebug ( " in mode block " ) ;
TQValueVector < AIElement > & elementArray = m_blockStack . top ( ) ;
elementArray . push_back ( element ) ;
}
else
{
if ( m_debug ) qDebug ( " in mode stack " ) ;
if ( m_debug ) t qDebug ( " in mode stack " ) ;
m_stack . push ( element ) ;
}
}
void AIParserBase : : gotIntValue ( int value ) {
if ( m_debug ) qDebug ( " got int value " ) ;
if ( m_debug ) t qDebug ( " got int value " ) ;
if ( m_ignoring ) return ;
AIElement element ( value ) ;
handleElement ( element ) ;
if ( m_debug ) qDebug ( " /got int value " ) ;
if ( m_debug ) t qDebug ( " /got int value " ) ;
}
void AIParserBase : : gotDoubleValue ( double value ) {
if ( m_debug ) qDebug ( " got double value " ) ;
if ( m_debug ) t qDebug ( " got double value " ) ;
if ( m_ignoring ) return ;
AIElement element ( value ) ;
handleElement ( element ) ;
if ( m_debug ) qDebug ( " /got double value " ) ;
if ( m_debug ) t qDebug ( " /got double value " ) ;
}
void AIParserBase : : gotStringValue ( const char * value ) {
if ( m_debug ) qDebug ( " got string value " ) ;
if ( m_debug ) t qDebug ( " got string value " ) ;
if ( m_ignoring ) return ;
if ( value = = NULL ) value = " " ;
if ( m_debug ) qDebug ( " string: %s " , value ) ;
if ( m_debug ) t qDebug ( " string: %s " , value ) ;
AIElement element ( value ) ;
handleElement ( element ) ;
if ( m_debug ) qDebug ( " /got string value " ) ;
if ( m_debug ) t qDebug ( " /got string value " ) ;
}
void AIParserBase : : gotReference ( const char * value ) {
if ( m_debug ) qDebug ( " got reference value " ) ;
if ( m_debug ) t qDebug ( " got reference value " ) ;
if ( m_ignoring ) return ;
if ( value = = NULL ) value = " " ;
if ( m_debug ) qDebug ( " reference: %s " , value ) ;
if ( m_debug ) t qDebug ( " reference: %s " , value ) ;
TQString string ( value ) ;
AIElement element ( string , AIElement : : Reference ) ;
handleElement ( element ) ;
if ( m_debug ) qDebug ( " /got reference value " ) ;
if ( m_debug ) t qDebug ( " /got reference value " ) ;
}
void AIParserBase : : gotByte ( uchar value ) {
if ( m_debug ) qDebug ( " got byte value " ) ;
if ( m_debug ) t qDebug ( " got byte value " ) ;
if ( m_ignoring ) return ;
AIElement element ( value ) ;
handleElement ( element ) ;
if ( m_debug ) qDebug ( " /got byte value " ) ;
if ( m_debug ) t qDebug ( " /got byte value " ) ;
}
void AIParserBase : : gotByteArray ( const TQByteArray & data ) {
@ -450,7 +450,7 @@ void AIParserBase::gotByteArray (const TQByteArray &data) {
void AIParserBase : : gotArrayStart ( ) {
if ( m_ignoring ) return ;
if ( m_debug ) qDebug ( " got array start " ) ;
if ( m_debug ) t qDebug ( " got array start " ) ;
TQValueVector < AIElement > array ;
m_arrayStack . push ( array ) ;
@ -460,7 +460,7 @@ void AIParserBase::gotArrayStart () {
void AIParserBase : : gotBlockStart ( ) {
if ( m_ignoring ) return ;
if ( m_debug ) qDebug ( " got block start " ) ;
if ( m_debug ) t qDebug ( " got block start " ) ;
TQValueVector < AIElement > array ;
m_blockStack . push ( array ) ;
@ -470,19 +470,19 @@ void AIParserBase::gotBlockStart () {
void AIParserBase : : gotArrayEnd ( ) {
if ( m_ignoring ) return ;
if ( m_debug ) qDebug ( " got array end " ) ;
if ( m_debug ) t qDebug ( " got array end " ) ;
TQValueVector < AIElement > stackArray = m_arrayStack . pop ( ) ;
if ( m_arrayStack . empty ( ) )
{
if ( m_debug ) qDebug ( " put elements to stack " ) ;
if ( m_debug ) t qDebug ( " put elements to stack " ) ;
AIElement realElement ( stackArray ) ;
if ( m_debug ) {
qDebug ( " going to stack " ) ;
t qDebug ( " going to stack " ) ;
elementtoa ( realElement ) ;
qDebug ( " done " ) ;
t qDebug ( " done " ) ;
}
m_stack . push ( realElement ) ;
@ -490,7 +490,7 @@ void AIParserBase::gotArrayEnd () {
}
else
{
if ( m_debug ) qDebug ( " put elements to nest stack level " ) ;
if ( m_debug ) t qDebug ( " put elements to nest stack level " ) ;
TQValueVector < AIElement > currentTOS = m_arrayStack . top ( ) ;
currentTOS . push_back ( stackArray ) ;
}
@ -498,19 +498,19 @@ void AIParserBase::gotArrayEnd () {
void AIParserBase : : gotBlockEnd ( ) {
if ( m_ignoring ) return ;
if ( m_debug ) qDebug ( " got block end " ) ;
if ( m_debug ) t qDebug ( " got block end " ) ;
TQValueVector < AIElement > stackArray = m_blockStack . pop ( ) ;
if ( m_blockStack . empty ( ) )
{
if ( m_debug ) qDebug ( " put elements to stack " ) ;
if ( m_debug ) t qDebug ( " put elements to stack " ) ;
AIElement realElement ( stackArray , AIElement : : Block ) ;
if ( m_debug ) {
qDebug ( " going to stack " ) ;
t qDebug ( " going to stack " ) ;
elementtoa ( realElement ) ;
qDebug ( " done " ) ;
t qDebug ( " done " ) ;
}
m_stack . push ( realElement ) ;
@ -518,7 +518,7 @@ void AIParserBase::gotBlockEnd () {
}
else
{
if ( m_debug ) qDebug ( " put elements to nest stack level " ) ;
if ( m_debug ) t qDebug ( " put elements to nest stack level " ) ;
TQValueVector < AIElement > currentTOS = m_blockStack . top ( ) ;
currentTOS . push_back ( stackArray ) ;
}
@ -542,7 +542,7 @@ void AIParserBase::gotBlockEnd () {
double m = getDoubleValue ( ) ;
double c = getDoubleValue ( ) ;
if ( m_debug ) qDebug ( " values 1 are %f %f %f %f " , c , m , y , k ) ;
if ( m_debug ) t qDebug ( " values 1 are %f %f %f %f " , c , m , y , k ) ;
AIColor color ( c , m , y , k ) ;
if ( m_gstateHandler ) m_gstateHandler - > gotFillColor ( color ) ;
@ -602,7 +602,7 @@ void AIParserBase::gotBlockEnd () {
double y = getDoubleValue ( ) ;
double m = getDoubleValue ( ) ;
double c = getDoubleValue ( ) ;
if ( m_debug ) qDebug ( " values 2 are %f %f %f %f " , c , m , y , k ) ;
if ( m_debug ) t qDebug ( " values 2 are %f %f %f %f " , c , m , y , k ) ;
AIColor color ( c , m , y , k ) ;
@ -612,7 +612,7 @@ void AIParserBase::gotBlockEnd () {
/*Ai88*/ /* void AIParserBase::_handleSetFillColorGray()
{
double g = getDoubleValue ( ) ;
if ( m_debug ) qDebug ( " values 3 are %f " , g ) ;
if ( m_debug ) t qDebug ( " values 3 are %f " , g ) ;
AIColor color ( g ) ;
@ -622,7 +622,7 @@ void AIParserBase::gotBlockEnd () {
/*Ai88*/ /* void AIParserBase::_handleSetStrokeColorGray()
{
double g = getDoubleValue ( ) ;
if ( m_debug ) qDebug ( " values 4 are %f " , g ) ;
if ( m_debug ) t qDebug ( " values 4 are %f " , g ) ;
AIColor color ( g ) ;
@ -637,7 +637,7 @@ void AIParserBase::gotBlockEnd () {
double y = getDoubleValue ( ) ;
double m = getDoubleValue ( ) ;
double c = getDoubleValue ( ) ;
if ( m_debug ) qDebug ( " values 5 are %f %f %f %f " , c , m , y , k ) ;
if ( m_debug ) t qDebug ( " values 5 are %f %f %f %f " , c , m , y , k ) ;
AIColor color ( c , m , y , k , name . latin1 ( ) , g ) ;
@ -745,7 +745,7 @@ void AIParserBase::_handlePSDef() {
double y = getDoubleValue ( ) ;
double m = getDoubleValue ( ) ;
double c = getDoubleValue ( ) ;
if ( m_debug ) qDebug ( " values 6 are %f %f %f %f " , c , m , y , k ) ;
if ( m_debug ) t qDebug ( " values 6 are %f %f %f %f " , c , m , y , k ) ;
AIColor color ( c , m , y , k , name . latin1 ( ) , g ) ;
@ -856,7 +856,7 @@ void AIParserBase::_handleCMYKCustomColor(const char *) {
/*Ai88*/ /* void AIParserBase::_handleTextBlock (TextOperation to) {
AIElement elem ( m_stack . top ( ) ) ;
qDebug ( " to element is (%s) " , elem . typeName ( ) ) ;
t qDebug ( " to element is (%s) " , elem . typeName ( ) ) ;
m_stack . pop ( ) ;
const TQValueVector < AIElement > aval = elem . toElementArray ( ) ;
@ -899,14 +899,14 @@ void AIParserBase::_handleCreationDate (const char *data)
}
void AIParserBase : : gotToken ( const char * value ) {
if ( m_debug ) qDebug ( " got token " ) ;
if ( m_debug ) t qDebug ( " got token " ) ;
if ( m_ignoring ) return ;
if ( m_debug ) qDebug ( " token: %s " , value ) ;
if ( m_debug ) t qDebug ( " token: %s " , value ) ;
if ( m_sink = = DS_Array )
{
if ( m_debug ) qDebug ( " token in array " ) ;
if ( m_debug ) t qDebug ( " token in array " ) ;
TQString op ( value ) ;
AIElement realElement ( op , AIElement : : Operator ) ;
handleElement ( realElement ) ;
@ -915,7 +915,7 @@ void AIParserBase::gotToken (const char *value) {
}
if ( m_sink = = DS_Block )
{
if ( m_debug ) qDebug ( " token in block " ) ;
if ( m_debug ) t qDebug ( " token in block " ) ;
TQString op ( value ) ;
AIElement realElement ( op , AIElement : : Operator ) ;
handleElement ( realElement ) ;
@ -923,7 +923,7 @@ void AIParserBase::gotToken (const char *value) {
return ;
}
if ( m_debug ) qDebug ( " get ai operation " ) ;
if ( m_debug ) t qDebug ( " get ai operation " ) ;
AIOperation op = getAIOperation ( value ) ;
// PathElement pathElement;
@ -941,7 +941,7 @@ void AIParserBase::gotToken (const char *value) {
{
if ( handlePS ( value ) ) return ;
}
qWarning ( " unknown operator: %s " , value ) ;
t qWarning ( " unknown operator: %s " , value ) ;
TQString string ( value ) ;
@ -953,12 +953,12 @@ void AIParserBase::gotToken (const char *value) {
}
if ( m_debug ) stacktoa ( m_stack ) ;
qWarning ( " pushing %s to stack " , value ) ;
t qWarning ( " pushing %s to stack " , value ) ;
AIElement element ( string , AIElement : : Operator ) ;
handleElement ( element ) ;
}
if ( m_debug ) qDebug ( " /got token value " ) ;
if ( m_debug ) t qDebug ( " /got token value " ) ;
}
bool AIParserBase : : handlePS ( const char * operand ) {
@ -1074,15 +1074,15 @@ CommentOperation AIParserBase::getCommentOperation (const char *command) {
}
void GStateHandlerBase : : gotFillPattern ( const char * pname , double px , double py , double sx , double sy , double angle , double rf , double r , double k , double ka , const TQValueVector < AIElement > & transformData ) {
qDebug ( " got fill pattern %s %f %f %f %f %f %f %f %f %f " , pname , px , py , sx , sy , angle , rf , r , k , ka ) ;
t qDebug ( " got fill pattern %s %f %f %f %f %f %f %f %f %f " , pname , px , py , sx , sy , angle , rf , r , k , ka ) ;
arraytoa ( transformData ) ;
qDebug ( " /got fill pattern " ) ;
t qDebug ( " /got fill pattern " ) ;
}
void GStateHandlerBase : : gotStrokePattern ( const char * pname , double px , double py , double sx , double sy , double angle , double rf , double r , double k , double ka , const TQValueVector < AIElement > & transformData ) {
qDebug ( " got stroke pattern %s %f %f %f %f %f %f %f %f %f " , pname , px , py , sx , sy , angle , rf , r , k , ka ) ;
t qDebug ( " got stroke pattern %s %f %f %f %f %f %f %f %f %f " , pname , px , py , sx , sy , angle , rf , r , k , ka ) ;
arraytoa ( transformData ) ;
qDebug ( " /got stroke pattern " ) ;
t qDebug ( " /got stroke pattern " ) ;
}
const char * AIParserBase : : getValue ( const char * input ) {
@ -1126,7 +1126,7 @@ bool AIParserBase::getPoint (const char* input, int &x, int &y) {
void AIParserBase : : cleanupArrays ( )
{
if ( m_sink = = DS_Array ) qDebug ( " unclosed array(s). " ) ;
if ( m_sink = = DS_Array ) t qDebug ( " unclosed array(s). " ) ;
while ( m_sink = = DS_Array ) gotArrayEnd ( ) ;
stacktoa ( m_stack ) ;
}
@ -1154,37 +1154,37 @@ void AIParserBase::cleanupArrays()
void TextHandlerBase : : gotFontEncoding ( const TQValueVector < AIElement > & encodingData , const char * oldFontName , const char * newFontName )
{
qDebug ( " font encoding %s to %s " , oldFontName , newFontName ) ;
t qDebug ( " font encoding %s to %s " , oldFontName , newFontName ) ;
arraytoa ( encodingData ) ;
qDebug ( " /font encoding " ) ;
t qDebug ( " /font encoding " ) ;
}
void TextHandlerBase : : gotFontDefinition ( const char * fontName , double size , double leading , double kerning , TextAlign align )
{
qDebug ( " font definition: name %s size %f leading %f kerning %f align %d " , fontName , size , leading , kerning , align ) ;
t qDebug ( " font definition: name %s size %f leading %f kerning %f align %d " , fontName , size , leading , kerning , align ) ;
}
void TextHandlerBase : : gotTextBlockBegin ( const TQValueVector < AIElement > & transData , TextOperation mode )
{
qDebug ( " text block begin %d " , mode ) ;
t qDebug ( " text block begin %d " , mode ) ;
arraytoa ( transData ) ;
qDebug ( " /text block begin " ) ;
t qDebug ( " /text block begin " ) ;
}
void TextHandlerBase : : gotTextOutput ( const char * text , int length )
{
qDebug ( " text output (%s) %d " , text , length ) ;
t qDebug ( " text output (%s) %d " , text , length ) ;
}
void TextHandlerBase : : gotTextBlockEnd ( )
{
qDebug ( " text block end " ) ;
t qDebug ( " text block end " ) ;
}
const void elementtoa ( const AIElement & /*data*/ )
{
/* AIElement::Type type = data.type();
qDebug ( " type: %s " , AIElement : : typeToName ( type ) ) ;
t qDebug ( " type: %s " , AIElement : : typeToName ( type ) ) ;
switch ( type )
{
@ -1193,13 +1193,13 @@ const void elementtoa (const AIElement &/*data*/)
case AIElement : : Int :
case AIElement : : UInt :
case AIElement : : Double :
qDebug ( " string value : %s " , data . toString ( ) . latin1 ( ) ) ;
t qDebug ( " string value : %s " , data . toString ( ) . latin1 ( ) ) ;
break ;
case AIElement : : Reference :
qDebug ( " string value : %s " , data . toReference ( ) . latin1 ( ) ) ;
t qDebug ( " string value : %s " , data . toReference ( ) . latin1 ( ) ) ;
break ;
case AIElement : : Operator :
qDebug ( " string value : %s " , data . toOperator ( ) . latin1 ( ) ) ;
t qDebug ( " string value : %s " , data . toOperator ( ) . latin1 ( ) ) ;
break ;
case AIElement : : ElementArray :
arraytoa ( data . toElementArray ( ) ) ;
@ -1209,50 +1209,50 @@ const void elementtoa (const AIElement &/*data*/)
break ;
default :
qDebug ( " could not fetch data " ) ;
t qDebug ( " could not fetch data " ) ;
} */
}
const void arraytoa ( const TQValueVector < AIElement > & /*data*/ )
{
/* qDebug ("array size is %d ",data.size());
/* t qDebug ("array size is %d ",data.size());
if ( data . size ( ) > 0 )
{
qDebug ( " [[[[[[[[[[[[[[[[[[[[ " ) ;
t qDebug ( " [[[[[[[[[[[[[[[[[[[[ " ) ;
for ( uint i = 0 ; i < data . size ( ) ; i + + )
{
elementtoa ( data [ i ] ) ;
}
qDebug ( " ]]]]]]]]]]]]]]]]]]]] " ) ;
t qDebug ( " ]]]]]]]]]]]]]]]]]]]] " ) ;
} */
}
const void stacktoa ( const TQValueStack < AIElement > & /*data*/ )
{
/* qDebug ("stack size is %d",data.size());
/* t qDebug ("stack size is %d",data.size());
if ( data . size ( ) > 0 )
{
qDebug ( " <<<<<<<<<<<<<<<<<< " ) ;
t qDebug ( " <<<<<<<<<<<<<<<<<< " ) ;
for ( uint i = 0 ; i < data . size ( ) ; i + + )
{
elementtoa ( data [ i ] ) ;
}
}
qDebug ( " >>>>>>>>>>>>>>>>>> " ) ; */
t qDebug ( " >>>>>>>>>>>>>>>>>> " ) ; */
}
const void stacktoa2 ( const TQValueStack < TQValueVector < AIElement > > & /*data*/ )
{
/* qDebug ("stack size is %d",data.size());
/* t qDebug ("stack size is %d",data.size());
if ( data . size ( ) > 0 )
{
qDebug ( " ((((((((((((((((((((((( " ) ;
t qDebug ( " ((((((((((((((((((((((( " ) ;
for ( uint i = 0 ; i < data . size ( ) ; i + + )
{
arraytoa ( data [ i ] ) ;
}
qDebug ( " ))))))))))))))))))))))) " ) ;
t qDebug ( " ))))))))))))))))))))))) " ) ;
} */
}
@ -1260,59 +1260,59 @@ const void aiotoa (AIOperation &data)
{
switch ( data )
{
case AIO_SetFillColorCMYK : qDebug ( " AIO_SetFillColorCMYK " ) ; break ;
case AIO_SetStrokeColorCMYK : qDebug ( " AIO_SetStrokeColorCMYK " ) ; break ;
case AIO_SetFillColorGray : qDebug ( " AIO_SetFillColorGray " ) ; break ;
case AIO_SetStrokeColorGray : qDebug ( " AIO_SetStrokeColorGray " ) ; break ;
case AIO_SetFillColorCustom : qDebug ( " AIO_SetFillColorCustom " ) ; break ;
case AIO_SetStrokeColorCustom : qDebug ( " AIO_SetStrokeColorCustom " ) ; break ;
case AIO_SetFillPattern : qDebug ( " AIO_SetFillPattern " ) ; break ;
case AIO_SetStrokePattern : qDebug ( " AIO_SetStrokePattern " ) ; break ;
case AIO_SetFillOverprinting : qDebug ( " AIO_SetFillOverprinting " ) ; break ;
case AIO_SetStrokeOverprinting : qDebug ( " AIO_SetStrokeOverprinting " ) ; break ;
case AIO_SetFlatness : qDebug ( " AIO_SetFlatness " ) ; break ;
case AIO_SetLineCap : qDebug ( " AIO_SetLineCap " ) ; break ;
case AIO_SetLineJoin : qDebug ( " AIO_SetLineJoin " ) ; break ;
case AIO_SetLineWidth : qDebug ( " AIO_SetLineWidth " ) ; break ;
case AIO_SetMiterLimit : qDebug ( " AIO_SetMiterLimit " ) ; break ;
case AIO_SetDash : qDebug ( " AIO_SetDash " ) ; break ;
case AIO_BeginGroupClip : qDebug ( " AIO_BeginGroupClip " ) ; break ;
case AIO_EndGroupClip : qDebug ( " AIO_EndGroupClip " ) ; break ;
case AIO_MoveTo : qDebug ( " AIO_MoveTo " ) ; break ;
case AIO_LineToCorner : qDebug ( " AIO_LineToCorner " ) ; break ;
case AIO_LineToSmooth : qDebug ( " AIO_LineToSmooth " ) ; break ;
case AIO_CurveToSmooth : qDebug ( " AIO_CurveToSmooth " ) ; break ;
case AIO_CurveToCorner : qDebug ( " AIO_CurveToCorner " ) ; break ;
case AIO_CurveToOmitC1Smooth : qDebug ( " AIO_CurveToOmitC1Smooth " ) ; break ;
case AIO_CurveToOmitC1Corner : qDebug ( " AIO_CurveToOmitC1Corner " ) ; break ;
case AIO_CurveToOmitC2Smooth : qDebug ( " AIO_CurveToOmitC2Smooth " ) ; break ;
case AIO_CurveToOmitC2Corner : qDebug ( " AIO_CurveToOmitC2Corner " ) ; break ;
case AIO_PathIgnoreNoReset : qDebug ( " AIO_PathIgnoreNoReset " ) ; break ;
case AIO_PathIgnoreNoResetClose : qDebug ( " AIO_PathIgnoreNoResetClose " ) ; break ;
case AIO_PathClipPath : qDebug ( " AIO_PathClipPath " ) ; break ;
case AIO_PathIgnoreReset : qDebug ( " AIO_PathIgnoreReset " ) ; break ;
case AIO_PathIgnoreResetClose : qDebug ( " AIO_PathIgnoreResetClose " ) ; break ;
case AIO_PathFillNonZero : qDebug ( " AIO_PathFillNonZero " ) ; break ;
case AIO_PathFillNonZeroClose : qDebug ( " AIO_PathFillNonZeroClose " ) ; break ;
case AIO_PathStroke : qDebug ( " AIO_PathStroke " ) ; break ;
case AIO_PathStrokeClose : qDebug ( " AIO_PathStrokeClose " ) ; break ;
case AIO_PathFillNoReset : qDebug ( " AIO_PathFillNoReset " ) ; break ;
case AIO_PathFillNoResetClose : qDebug ( " AIO_PathFillNoResetClose " ) ; break ;
case AIO_FontEncoding : qDebug ( " AIO_FontEncoding " ) ; break ;
case AIO_PatternDefinition : qDebug ( " AIO_PatternDefinition " ) ; break ;
case AIO_SetCurrentText : qDebug ( " AIO_SetCurrentText " ) ; break ;
case AIO_TextBlockFillStroke : qDebug ( " AIO_TextBlockFillStroke " ) ; break ;
case AIO_TextBlockFill : qDebug ( " AIO_TextBlockFill " ) ; break ;
case AIO_TextBlockAppend : qDebug ( " AIO_TextBlockAppend " ) ; break ;
case AIO_TextBlockIgnore : qDebug ( " AIO_TextBlockIgnore " ) ; break ;
case AIO_TextBlockStroke : qDebug ( " AIO_TextBlockStroke " ) ; break ;
case AIO_TextOutput : qDebug ( " AIO_TextOutput " ) ; break ;
case AIO_TextBlockEnd : qDebug ( " AIO_TextBlockEnd " ) ; break ;
case AIO_GsaveIncludeDocument : qDebug ( " AIO_GsaveIncludeDocument " ) ; break ;
case AIO_Grestore : qDebug ( " AIO_Grestore " ) ; break ;
case AIO_LockElement : qDebug ( " AIO_LockElement " ) ; break ;
case AIO_SetWindingOrder : qDebug ( " AIO_SetWindingOrder " ) ; break ;
default : qDebug ( " unknown " ) ;
case AIO_SetFillColorCMYK : t qDebug ( " AIO_SetFillColorCMYK " ) ; break ;
case AIO_SetStrokeColorCMYK : t qDebug ( " AIO_SetStrokeColorCMYK " ) ; break ;
case AIO_SetFillColorGray : t qDebug ( " AIO_SetFillColorGray " ) ; break ;
case AIO_SetStrokeColorGray : t qDebug ( " AIO_SetStrokeColorGray " ) ; break ;
case AIO_SetFillColorCustom : t qDebug ( " AIO_SetFillColorCustom " ) ; break ;
case AIO_SetStrokeColorCustom : t qDebug ( " AIO_SetStrokeColorCustom " ) ; break ;
case AIO_SetFillPattern : t qDebug ( " AIO_SetFillPattern " ) ; break ;
case AIO_SetStrokePattern : t qDebug ( " AIO_SetStrokePattern " ) ; break ;
case AIO_SetFillOverprinting : t qDebug ( " AIO_SetFillOverprinting " ) ; break ;
case AIO_SetStrokeOverprinting : t qDebug ( " AIO_SetStrokeOverprinting " ) ; break ;
case AIO_SetFlatness : t qDebug ( " AIO_SetFlatness " ) ; break ;
case AIO_SetLineCap : t qDebug ( " AIO_SetLineCap " ) ; break ;
case AIO_SetLineJoin : t qDebug ( " AIO_SetLineJoin " ) ; break ;
case AIO_SetLineWidth : t qDebug ( " AIO_SetLineWidth " ) ; break ;
case AIO_SetMiterLimit : t qDebug ( " AIO_SetMiterLimit " ) ; break ;
case AIO_SetDash : t qDebug ( " AIO_SetDash " ) ; break ;
case AIO_BeginGroupClip : t qDebug ( " AIO_BeginGroupClip " ) ; break ;
case AIO_EndGroupClip : t qDebug ( " AIO_EndGroupClip " ) ; break ;
case AIO_MoveTo : t qDebug ( " AIO_MoveTo " ) ; break ;
case AIO_LineToCorner : t qDebug ( " AIO_LineToCorner " ) ; break ;
case AIO_LineToSmooth : t qDebug ( " AIO_LineToSmooth " ) ; break ;
case AIO_CurveToSmooth : t qDebug ( " AIO_CurveToSmooth " ) ; break ;
case AIO_CurveToCorner : t qDebug ( " AIO_CurveToCorner " ) ; break ;
case AIO_CurveToOmitC1Smooth : t qDebug ( " AIO_CurveToOmitC1Smooth " ) ; break ;
case AIO_CurveToOmitC1Corner : t qDebug ( " AIO_CurveToOmitC1Corner " ) ; break ;
case AIO_CurveToOmitC2Smooth : t qDebug ( " AIO_CurveToOmitC2Smooth " ) ; break ;
case AIO_CurveToOmitC2Corner : t qDebug ( " AIO_CurveToOmitC2Corner " ) ; break ;
case AIO_PathIgnoreNoReset : t qDebug ( " AIO_PathIgnoreNoReset " ) ; break ;
case AIO_PathIgnoreNoResetClose : t qDebug ( " AIO_PathIgnoreNoResetClose " ) ; break ;
case AIO_PathClipPath : t qDebug ( " AIO_PathClipPath " ) ; break ;
case AIO_PathIgnoreReset : t qDebug ( " AIO_PathIgnoreReset " ) ; break ;
case AIO_PathIgnoreResetClose : t qDebug ( " AIO_PathIgnoreResetClose " ) ; break ;
case AIO_PathFillNonZero : t qDebug ( " AIO_PathFillNonZero " ) ; break ;
case AIO_PathFillNonZeroClose : t qDebug ( " AIO_PathFillNonZeroClose " ) ; break ;
case AIO_PathStroke : t qDebug ( " AIO_PathStroke " ) ; break ;
case AIO_PathStrokeClose : t qDebug ( " AIO_PathStrokeClose " ) ; break ;
case AIO_PathFillNoReset : t qDebug ( " AIO_PathFillNoReset " ) ; break ;
case AIO_PathFillNoResetClose : t qDebug ( " AIO_PathFillNoResetClose " ) ; break ;
case AIO_FontEncoding : t qDebug ( " AIO_FontEncoding " ) ; break ;
case AIO_PatternDefinition : t qDebug ( " AIO_PatternDefinition " ) ; break ;
case AIO_SetCurrentText : t qDebug ( " AIO_SetCurrentText " ) ; break ;
case AIO_TextBlockFillStroke : t qDebug ( " AIO_TextBlockFillStroke " ) ; break ;
case AIO_TextBlockFill : t qDebug ( " AIO_TextBlockFill " ) ; break ;
case AIO_TextBlockAppend : t qDebug ( " AIO_TextBlockAppend " ) ; break ;
case AIO_TextBlockIgnore : t qDebug ( " AIO_TextBlockIgnore " ) ; break ;
case AIO_TextBlockStroke : t qDebug ( " AIO_TextBlockStroke " ) ; break ;
case AIO_TextOutput : t qDebug ( " AIO_TextOutput " ) ; break ;
case AIO_TextBlockEnd : t qDebug ( " AIO_TextBlockEnd " ) ; break ;
case AIO_GsaveIncludeDocument : t qDebug ( " AIO_GsaveIncludeDocument " ) ; break ;
case AIO_Grestore : t qDebug ( " AIO_Grestore " ) ; break ;
case AIO_LockElement : t qDebug ( " AIO_LockElement " ) ; break ;
case AIO_SetWindingOrder : t qDebug ( " AIO_SetWindingOrder " ) ; break ;
default : t qDebug ( " unknown " ) ;
}
}
@ -1320,18 +1320,18 @@ const void sttoa (SectionType &data, bool begin)
{
switch ( data )
{
case ST_Setup : begin ? qDebug ( " start setup " ) : qDebug ( " end setup " ) ; break ;
case ST_Prolog : begin ? qDebug ( " start prolog " ) : qDebug ( " end prolog " ) ; break ;
case ST_ProcSet : begin ? qDebug ( " start procset " ) : qDebug ( " end procset " ) ; break ;
case ST_Encoding : begin ? qDebug ( " start encoding " ) : qDebug ( " end encoding " ) ; break ;
case ST_Pattern : begin ? qDebug ( " start pattern " ) : qDebug ( " end pattern " ) ; break ;
case ST_Document : begin ? qDebug ( " start document " ) : qDebug ( " end document " ) ; break ;
case ST_BrushPattern : begin ? qDebug ( " start brush pattern " ) : qDebug ( " end brush pattern " ) ; break ;
case ST_Gradient : begin ? qDebug ( " start gradient " ) : qDebug ( " end gradient " ) ; break ;
case ST_Palette : begin ? qDebug ( " start palette " ) : qDebug ( " end palette " ) ; break ;
case ST_Resource : begin ? qDebug ( " start resource " ) : qDebug ( " end resouce " ) ; break ;
default : begin ? qDebug ( " unknown " ) : qDebug ( " end unknown " ) ;
case ST_Setup : begin ? t qDebug ( " start setup " ) : t qDebug ( " end setup " ) ; break ;
case ST_Prolog : begin ? t qDebug ( " start prolog " ) : t qDebug ( " end prolog " ) ; break ;
case ST_ProcSet : begin ? t qDebug ( " start procset " ) : t qDebug ( " end procset " ) ; break ;
case ST_Encoding : begin ? t qDebug ( " start encoding " ) : t qDebug ( " end encoding " ) ; break ;
case ST_Pattern : begin ? t qDebug ( " start pattern " ) : t qDebug ( " end pattern " ) ; break ;
case ST_Document : begin ? t qDebug ( " start document " ) : t qDebug ( " end document " ) ; break ;
case ST_BrushPattern : begin ? t qDebug ( " start brush pattern " ) : t qDebug ( " end brush pattern " ) ; break ;
case ST_Gradient : begin ? t qDebug ( " start gradient " ) : t qDebug ( " end gradient " ) ; break ;
case ST_Palette : begin ? t qDebug ( " start palette " ) : t qDebug ( " end palette " ) ; break ;
case ST_Resource : begin ? t qDebug ( " start resource " ) : t qDebug ( " end resouce " ) ; break ;
default : begin ? t qDebug ( " unknown " ) : t qDebug ( " end unknown " ) ;
}
}