lib Library API Documentation

KoTextViewIface_skel.cc

00001 /****************************************************************************
00002 **
00003 ** DCOP Skeleton created by dcopidl2cpp from KoTextViewIface.kidl
00004 **
00005 ** WARNING! All changes made in this file will be lost!
00006 **
00007 *****************************************************************************/
00008 
00009 #include "./KoTextViewIface.h"
00010 
00011 #include <kdatastream.h>
00012 #include <qasciidict.h>
00013 
00014 
00015 static const int KoTextViewIface_fhash = 101;
00016 static const char* const KoTextViewIface_ftable[100][3] = {
00017     { "void", "insertSoftHyphen()", "insertSoftHyphen()" },
00018     { "void", "insertNonbreakingSpace()", "insertNonbreakingSpace()" },
00019     { "void", "insertText(QString)", "insertText(QString text)" },
00020     { "void", "newParagraph()", "newParagraph()" },
00021     { "void", "setBold(bool)", "setBold(bool b)" },
00022     { "void", "setItalic(bool)", "setItalic(bool on)" },
00023     { "void", "setUnderline(bool)", "setUnderline(bool on)" },
00024     { "void", "setDoubleUnderline(bool)", "setDoubleUnderline(bool on)" },
00025     { "void", "setStrikeOut(bool)", "setStrikeOut(bool on)" },
00026     { "void", "setPointSize(int)", "setPointSize(int s)" },
00027     { "void", "setTextSubScript(bool)", "setTextSubScript(bool on)" },
00028     { "void", "setTextSuperScript(bool)", "setTextSuperScript(bool on)" },
00029     { "void", "setUnderlineColor(QColor)", "setUnderlineColor(QColor color)" },
00030     { "void", "setDefaultFormat()", "setDefaultFormat()" },
00031     { "void", "setRelativeTextSize(double)", "setRelativeTextSize(double _size)" },
00032     { "QColor", "textColor()", "textColor()" },
00033     { "QString", "textFontFamily()", "textFontFamily()" },
00034     { "QColor", "textBackgroundColor()", "textBackgroundColor()" },
00035     { "QColor", "textUnderlineColor()", "textUnderlineColor()" },
00036     { "bool", "textDoubleUnderline()", "textDoubleUnderline()" },
00037     { "bool", "textItalic()", "textItalic()" },
00038     { "bool", "textBold()", "textBold()" },
00039     { "bool", "textUnderline()", "textUnderline()" },
00040     { "bool", "textStrikeOut()", "textStrikeOut()" },
00041     { "bool", "textSubScript()", "textSubScript()" },
00042     { "bool", "textSuperScript()", "textSuperScript()" },
00043     { "double", "relativeTextSize()", "relativeTextSize()" },
00044     { "bool", "wordByWord()", "wordByWord()" },
00045     { "void", "setWordByWord(bool)", "setWordByWord(bool _b)" },
00046     { "void", "setTextColor(QColor)", "setTextColor(QColor color)" },
00047     { "void", "setTextBackgroundColor(QColor)", "setTextBackgroundColor(QColor)" },
00048     { "void", "setAlign(int)", "setAlign(int align)" },
00049     { "void", "setAlign(QString)", "setAlign(QString)" },
00050     { "bool", "isReadWrite()", "isReadWrite()" },
00051     { "void", "setReadWrite(bool)", "setReadWrite(bool b)" },
00052     { "void", "hideCursor()", "hideCursor()" },
00053     { "void", "showCursor()", "showCursor()" },
00054     { "void", "moveCursorLeft(bool)", "moveCursorLeft(bool select)" },
00055     { "void", "moveCursorRight(bool)", "moveCursorRight(bool select)" },
00056     { "void", "moveCursorUp(bool)", "moveCursorUp(bool select)" },
00057     { "void", "moveCursorDown(bool)", "moveCursorDown(bool select)" },
00058     { "void", "moveCursorHome(bool)", "moveCursorHome(bool select)" },
00059     { "void", "moveCursorEnd(bool)", "moveCursorEnd(bool select)" },
00060     { "void", "moveCursorWordRight(bool)", "moveCursorWordRight(bool select)" },
00061     { "void", "moveCursorWordLeft(bool)", "moveCursorWordLeft(bool select)" },
00062     { "void", "moveCursorLineEnd(bool)", "moveCursorLineEnd(bool select)" },
00063     { "void", "moveCursorLineStart(bool)", "moveCursorLineStart(bool select)" },
00064     { "bool", "paragraphHasBorder()", "paragraphHasBorder()" },
00065     { "double", "lineSpacing()", "lineSpacing()" },
00066     { "double", "rightMargin()", "rightMargin()" },
00067     { "double", "leftMargin()", "leftMargin()" },
00068     { "double", "marginFirstLine()", "marginFirstLine()" },
00069     { "double", "spaceAfterParag()", "spaceAfterParag()" },
00070     { "double", "spaceBeforeParag()", "spaceBeforeParag()" },
00071     { "void", "setMarginFirstLine(double)", "setMarginFirstLine(double pt)" },
00072     { "void", "setLineSpacing(double)", "setLineSpacing(double pt)" },
00073     { "void", "setLeftMargin(double)", "setLeftMargin(double pt)" },
00074     { "void", "setRightMargin(double)", "setRightMargin(double pt)" },
00075     { "void", "setSpaceBeforeParag(double)", "setSpaceBeforeParag(double pt)" },
00076     { "void", "setSpaceAfterParag(double)", "setSpaceAfterParag(double pt)" },
00077     { "void", "setLeftBorder(QColor,double)", "setLeftBorder(QColor c,double width)" },
00078     { "void", "setRightBorder(QColor,double)", "setRightBorder(QColor c,double width)" },
00079     { "void", "setTopBorder(QColor,double)", "setTopBorder(QColor c,double width)" },
00080     { "void", "setBottomBorder(QColor,double)", "setBottomBorder(QColor c,double width)" },
00081     { "void", "setLeftBorderColor(QColor)", "setLeftBorderColor(QColor c)" },
00082     { "void", "setRightBorderColor(QColor)", "setRightBorderColor(QColor c)" },
00083     { "void", "setTopBorderColor(QColor)", "setTopBorderColor(QColor c)" },
00084     { "void", "setBottomBorderColor(QColor)", "setBottomBorderColor(QColor c)" },
00085     { "void", "setLeftBorderWidth(double)", "setLeftBorderWidth(double _witdh)" },
00086     { "void", "setRightBorderWidth(double)", "setRightBorderWidth(double _witdh)" },
00087     { "void", "setTopBorderWidth(double)", "setTopBorderWidth(double _witdh)" },
00088     { "void", "setBottomBorderWidth(double)", "setBottomBorderWidth(double _witdh)" },
00089     { "double", "leftBorderWidth()", "leftBorderWidth()" },
00090     { "double", "rightBorderWidth()", "rightBorderWidth()" },
00091     { "double", "topBorderWidth()", "topBorderWidth()" },
00092     { "double", "bottomBorderWidth()", "bottomBorderWidth()" },
00093     { "QColor", "leftBorderColor()", "leftBorderColor()" },
00094     { "QColor", "rightBorderColor()", "rightBorderColor()" },
00095     { "QColor", "topBorderColor()", "topBorderColor()" },
00096     { "QColor", "bottomBorderColor()", "bottomBorderColor()" },
00097     { "void", "changeCaseOfText(QString)", "changeCaseOfText(QString caseType)" },
00098     { "bool", "isALinkVariable()", "isALinkVariable()" },
00099     { "bool", "changeLinkVariableUrl(QString)", "changeLinkVariableUrl(QString _url)" },
00100     { "bool", "changeLinkVariableName(QString)", "changeLinkVariableName(QString _name)" },
00101     { "QString", "linkVariableUrl()", "linkVariableUrl()" },
00102     { "QString", "linkVariableName()", "linkVariableName()" },
00103     { "bool", "isANoteVariable()", "isANoteVariable()" },
00104     { "QString", "noteVariableText()", "noteVariableText()" },
00105     { "bool", "setNoteVariableText(QString)", "setNoteVariableText(QString note)" },
00106     { "void", "removeComment()", "removeComment()" },
00107     { "QString", "underlineStyle()", "underlineStyle()" },
00108     { "QString", "strikeOutStyle()", "strikeOutStyle()" },
00109     { "void", "setLanguage(QString)", "setLanguage(QString _lang)" },
00110     { "QString", "language()", "language()" },
00111     { "void", "addBookmarks(QString)", "addBookmarks(QString url)" },
00112     { "void", "copyLink()", "copyLink()" },
00113     { "void", "removeLink()", "removeLink()" },
00114     { "void", "copyTextOfComment()", "copyTextOfComment()" },
00115     { "QString", "fontAttibute()", "fontAttibute()" },
00116     { 0, 0, 0 }
00117 };
00118 static const int KoTextViewIface_ftable_hiddens[99] = {
00119     0,
00120     0,
00121     0,
00122     0,
00123     0,
00124     0,
00125     0,
00126     0,
00127     0,
00128     0,
00129     0,
00130     0,
00131     0,
00132     0,
00133     0,
00134     0,
00135     0,
00136     0,
00137     0,
00138     0,
00139     0,
00140     0,
00141     0,
00142     0,
00143     0,
00144     0,
00145     0,
00146     0,
00147     0,
00148     0,
00149     0,
00150     0,
00151     0,
00152     0,
00153     0,
00154     0,
00155     0,
00156     0,
00157     0,
00158     0,
00159     0,
00160     0,
00161     0,
00162     0,
00163     0,
00164     0,
00165     0,
00166     0,
00167     0,
00168     0,
00169     0,
00170     0,
00171     0,
00172     0,
00173     0,
00174     0,
00175     0,
00176     0,
00177     0,
00178     0,
00179     0,
00180     0,
00181     0,
00182     0,
00183     0,
00184     0,
00185     0,
00186     0,
00187     0,
00188     0,
00189     0,
00190     0,
00191     0,
00192     0,
00193     0,
00194     0,
00195     0,
00196     0,
00197     0,
00198     0,
00199     0,
00200     0,
00201     0,
00202     0,
00203     0,
00204     0,
00205     0,
00206     0,
00207     0,
00208     0,
00209     0,
00210     0,
00211     0,
00212     0,
00213     0,
00214     0,
00215     0,
00216     0,
00217     0,
00218 };
00219 
00220 bool KoTextViewIface::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
00221 {
00222     static QAsciiDict<int>* fdict = 0;
00223     if ( !fdict ) {
00224     fdict = new QAsciiDict<int>( KoTextViewIface_fhash, true, false );
00225     for ( int i = 0; KoTextViewIface_ftable[i][1]; i++ )
00226         fdict->insert( KoTextViewIface_ftable[i][1],  new int( i ) );
00227     }
00228     int* fp = fdict->find( fun );
00229     switch ( fp?*fp:-1) {
00230     case 0: { // void insertSoftHyphen()
00231     replyType = KoTextViewIface_ftable[0][0]; 
00232     insertSoftHyphen( );
00233     } break;
00234     case 1: { // void insertNonbreakingSpace()
00235     replyType = KoTextViewIface_ftable[1][0]; 
00236     insertNonbreakingSpace( );
00237     } break;
00238     case 2: { // void insertText(QString)
00239     QString arg0;
00240     QDataStream arg( data, IO_ReadOnly );
00241     arg >> arg0;
00242     replyType = KoTextViewIface_ftable[2][0]; 
00243     insertText(arg0 );
00244     } break;
00245     case 3: { // void newParagraph()
00246     replyType = KoTextViewIface_ftable[3][0]; 
00247     newParagraph( );
00248     } break;
00249     case 4: { // void setBold(bool)
00250     bool arg0;
00251     QDataStream arg( data, IO_ReadOnly );
00252     arg >> arg0;
00253     replyType = KoTextViewIface_ftable[4][0]; 
00254     setBold(arg0 );
00255     } break;
00256     case 5: { // void setItalic(bool)
00257     bool arg0;
00258     QDataStream arg( data, IO_ReadOnly );
00259     arg >> arg0;
00260     replyType = KoTextViewIface_ftable[5][0]; 
00261     setItalic(arg0 );
00262     } break;
00263     case 6: { // void setUnderline(bool)
00264     bool arg0;
00265     QDataStream arg( data, IO_ReadOnly );
00266     arg >> arg0;
00267     replyType = KoTextViewIface_ftable[6][0]; 
00268     setUnderline(arg0 );
00269     } break;
00270     case 7: { // void setDoubleUnderline(bool)
00271     bool arg0;
00272     QDataStream arg( data, IO_ReadOnly );
00273     arg >> arg0;
00274     replyType = KoTextViewIface_ftable[7][0]; 
00275     setDoubleUnderline(arg0 );
00276     } break;
00277     case 8: { // void setStrikeOut(bool)
00278     bool arg0;
00279     QDataStream arg( data, IO_ReadOnly );
00280     arg >> arg0;
00281     replyType = KoTextViewIface_ftable[8][0]; 
00282     setStrikeOut(arg0 );
00283     } break;
00284     case 9: { // void setPointSize(int)
00285     int arg0;
00286     QDataStream arg( data, IO_ReadOnly );
00287     arg >> arg0;
00288     replyType = KoTextViewIface_ftable[9][0]; 
00289     setPointSize(arg0 );
00290     } break;
00291     case 10: { // void setTextSubScript(bool)
00292     bool arg0;
00293     QDataStream arg( data, IO_ReadOnly );
00294     arg >> arg0;
00295     replyType = KoTextViewIface_ftable[10][0]; 
00296     setTextSubScript(arg0 );
00297     } break;
00298     case 11: { // void setTextSuperScript(bool)
00299     bool arg0;
00300     QDataStream arg( data, IO_ReadOnly );
00301     arg >> arg0;
00302     replyType = KoTextViewIface_ftable[11][0]; 
00303     setTextSuperScript(arg0 );
00304     } break;
00305     case 12: { // void setUnderlineColor(QColor)
00306     QColor arg0;
00307     QDataStream arg( data, IO_ReadOnly );
00308     arg >> arg0;
00309     replyType = KoTextViewIface_ftable[12][0]; 
00310     setUnderlineColor(arg0 );
00311     } break;
00312     case 13: { // void setDefaultFormat()
00313     replyType = KoTextViewIface_ftable[13][0]; 
00314     setDefaultFormat( );
00315     } break;
00316     case 14: { // void setRelativeTextSize(double)
00317     double arg0;
00318     QDataStream arg( data, IO_ReadOnly );
00319     arg >> arg0;
00320     replyType = KoTextViewIface_ftable[14][0]; 
00321     setRelativeTextSize(arg0 );
00322     } break;
00323     case 15: { // QColor textColor()
00324     replyType = KoTextViewIface_ftable[15][0]; 
00325     QDataStream _replyStream( replyData, IO_WriteOnly );
00326     _replyStream << textColor( );
00327     } break;
00328     case 16: { // QString textFontFamily()
00329     replyType = KoTextViewIface_ftable[16][0]; 
00330     QDataStream _replyStream( replyData, IO_WriteOnly );
00331     _replyStream << textFontFamily( );
00332     } break;
00333     case 17: { // QColor textBackgroundColor()
00334     replyType = KoTextViewIface_ftable[17][0]; 
00335     QDataStream _replyStream( replyData, IO_WriteOnly );
00336     _replyStream << textBackgroundColor( );
00337     } break;
00338     case 18: { // QColor textUnderlineColor()
00339     replyType = KoTextViewIface_ftable[18][0]; 
00340     QDataStream _replyStream( replyData, IO_WriteOnly );
00341     _replyStream << textUnderlineColor( );
00342     } break;
00343     case 19: { // bool textDoubleUnderline()
00344     replyType = KoTextViewIface_ftable[19][0]; 
00345     QDataStream _replyStream( replyData, IO_WriteOnly );
00346     _replyStream << textDoubleUnderline( );
00347     } break;
00348     case 20: { // bool textItalic()
00349     replyType = KoTextViewIface_ftable[20][0]; 
00350     QDataStream _replyStream( replyData, IO_WriteOnly );
00351     _replyStream << textItalic( );
00352     } break;
00353     case 21: { // bool textBold()
00354     replyType = KoTextViewIface_ftable[21][0]; 
00355     QDataStream _replyStream( replyData, IO_WriteOnly );
00356     _replyStream << textBold( );
00357     } break;
00358     case 22: { // bool textUnderline()
00359     replyType = KoTextViewIface_ftable[22][0]; 
00360     QDataStream _replyStream( replyData, IO_WriteOnly );
00361     _replyStream << textUnderline( );
00362     } break;
00363     case 23: { // bool textStrikeOut()
00364     replyType = KoTextViewIface_ftable[23][0]; 
00365     QDataStream _replyStream( replyData, IO_WriteOnly );
00366     _replyStream << textStrikeOut( );
00367     } break;
00368     case 24: { // bool textSubScript()
00369     replyType = KoTextViewIface_ftable[24][0]; 
00370     QDataStream _replyStream( replyData, IO_WriteOnly );
00371     _replyStream << textSubScript( );
00372     } break;
00373     case 25: { // bool textSuperScript()
00374     replyType = KoTextViewIface_ftable[25][0]; 
00375     QDataStream _replyStream( replyData, IO_WriteOnly );
00376     _replyStream << textSuperScript( );
00377     } break;
00378     case 26: { // double relativeTextSize()
00379     replyType = KoTextViewIface_ftable[26][0]; 
00380     QDataStream _replyStream( replyData, IO_WriteOnly );
00381     _replyStream << relativeTextSize( );
00382     } break;
00383     case 27: { // bool wordByWord()
00384     replyType = KoTextViewIface_ftable[27][0]; 
00385     QDataStream _replyStream( replyData, IO_WriteOnly );
00386     _replyStream << wordByWord( );
00387     } break;
00388     case 28: { // void setWordByWord(bool)
00389     bool arg0;
00390     QDataStream arg( data, IO_ReadOnly );
00391     arg >> arg0;
00392     replyType = KoTextViewIface_ftable[28][0]; 
00393     setWordByWord(arg0 );
00394     } break;
00395     case 29: { // void setTextColor(QColor)
00396     QColor arg0;
00397     QDataStream arg( data, IO_ReadOnly );
00398     arg >> arg0;
00399     replyType = KoTextViewIface_ftable[29][0]; 
00400     setTextColor(arg0 );
00401     } break;
00402     case 30: { // void setTextBackgroundColor(QColor)
00403     QColor arg0;
00404     QDataStream arg( data, IO_ReadOnly );
00405     arg >> arg0;
00406     replyType = KoTextViewIface_ftable[30][0]; 
00407     setTextBackgroundColor(arg0 );
00408     } break;
00409     case 31: { // void setAlign(int)
00410     int arg0;
00411     QDataStream arg( data, IO_ReadOnly );
00412     arg >> arg0;
00413     replyType = KoTextViewIface_ftable[31][0]; 
00414     setAlign(arg0 );
00415     } break;
00416     case 32: { // void setAlign(QString)
00417     QString arg0;
00418     QDataStream arg( data, IO_ReadOnly );
00419     arg >> arg0;
00420     replyType = KoTextViewIface_ftable[32][0]; 
00421     setAlign(arg0 );
00422     } break;
00423     case 33: { // bool isReadWrite()
00424     replyType = KoTextViewIface_ftable[33][0]; 
00425     QDataStream _replyStream( replyData, IO_WriteOnly );
00426     _replyStream << isReadWrite( );
00427     } break;
00428     case 34: { // void setReadWrite(bool)
00429     bool arg0;
00430     QDataStream arg( data, IO_ReadOnly );
00431     arg >> arg0;
00432     replyType = KoTextViewIface_ftable[34][0]; 
00433     setReadWrite(arg0 );
00434     } break;
00435     case 35: { // void hideCursor()
00436     replyType = KoTextViewIface_ftable[35][0]; 
00437     hideCursor( );
00438     } break;
00439     case 36: { // void showCursor()
00440     replyType = KoTextViewIface_ftable[36][0]; 
00441     showCursor( );
00442     } break;
00443     case 37: { // void moveCursorLeft(bool)
00444     bool arg0;
00445     QDataStream arg( data, IO_ReadOnly );
00446     arg >> arg0;
00447     replyType = KoTextViewIface_ftable[37][0]; 
00448     moveCursorLeft(arg0 );
00449     } break;
00450     case 38: { // void moveCursorRight(bool)
00451     bool arg0;
00452     QDataStream arg( data, IO_ReadOnly );
00453     arg >> arg0;
00454     replyType = KoTextViewIface_ftable[38][0]; 
00455     moveCursorRight(arg0 );
00456     } break;
00457     case 39: { // void moveCursorUp(bool)
00458     bool arg0;
00459     QDataStream arg( data, IO_ReadOnly );
00460     arg >> arg0;
00461     replyType = KoTextViewIface_ftable[39][0]; 
00462     moveCursorUp(arg0 );
00463     } break;
00464     case 40: { // void moveCursorDown(bool)
00465     bool arg0;
00466     QDataStream arg( data, IO_ReadOnly );
00467     arg >> arg0;
00468     replyType = KoTextViewIface_ftable[40][0]; 
00469     moveCursorDown(arg0 );
00470     } break;
00471     case 41: { // void moveCursorHome(bool)
00472     bool arg0;
00473     QDataStream arg( data, IO_ReadOnly );
00474     arg >> arg0;
00475     replyType = KoTextViewIface_ftable[41][0]; 
00476     moveCursorHome(arg0 );
00477     } break;
00478     case 42: { // void moveCursorEnd(bool)
00479     bool arg0;
00480     QDataStream arg( data, IO_ReadOnly );
00481     arg >> arg0;
00482     replyType = KoTextViewIface_ftable[42][0]; 
00483     moveCursorEnd(arg0 );
00484     } break;
00485     case 43: { // void moveCursorWordRight(bool)
00486     bool arg0;
00487     QDataStream arg( data, IO_ReadOnly );
00488     arg >> arg0;
00489     replyType = KoTextViewIface_ftable[43][0]; 
00490     moveCursorWordRight(arg0 );
00491     } break;
00492     case 44: { // void moveCursorWordLeft(bool)
00493     bool arg0;
00494     QDataStream arg( data, IO_ReadOnly );
00495     arg >> arg0;
00496     replyType = KoTextViewIface_ftable[44][0]; 
00497     moveCursorWordLeft(arg0 );
00498     } break;
00499     case 45: { // void moveCursorLineEnd(bool)
00500     bool arg0;
00501     QDataStream arg( data, IO_ReadOnly );
00502     arg >> arg0;
00503     replyType = KoTextViewIface_ftable[45][0]; 
00504     moveCursorLineEnd(arg0 );
00505     } break;
00506     case 46: { // void moveCursorLineStart(bool)
00507     bool arg0;
00508     QDataStream arg( data, IO_ReadOnly );
00509     arg >> arg0;
00510     replyType = KoTextViewIface_ftable[46][0]; 
00511     moveCursorLineStart(arg0 );
00512     } break;
00513     case 47: { // bool paragraphHasBorder()
00514     replyType = KoTextViewIface_ftable[47][0]; 
00515     QDataStream _replyStream( replyData, IO_WriteOnly );
00516     _replyStream << paragraphHasBorder( );
00517     } break;
00518     case 48: { // double lineSpacing()
00519     replyType = KoTextViewIface_ftable[48][0]; 
00520     QDataStream _replyStream( replyData, IO_WriteOnly );
00521     _replyStream << lineSpacing( );
00522     } break;
00523     case 49: { // double rightMargin()
00524     replyType = KoTextViewIface_ftable[49][0]; 
00525     QDataStream _replyStream( replyData, IO_WriteOnly );
00526     _replyStream << rightMargin( );
00527     } break;
00528     case 50: { // double leftMargin()
00529     replyType = KoTextViewIface_ftable[50][0]; 
00530     QDataStream _replyStream( replyData, IO_WriteOnly );
00531     _replyStream << leftMargin( );
00532     } break;
00533     case 51: { // double marginFirstLine()
00534     replyType = KoTextViewIface_ftable[51][0]; 
00535     QDataStream _replyStream( replyData, IO_WriteOnly );
00536     _replyStream << marginFirstLine( );
00537     } break;
00538     case 52: { // double spaceAfterParag()
00539     replyType = KoTextViewIface_ftable[52][0]; 
00540     QDataStream _replyStream( replyData, IO_WriteOnly );
00541     _replyStream << spaceAfterParag( );
00542     } break;
00543     case 53: { // double spaceBeforeParag()
00544     replyType = KoTextViewIface_ftable[53][0]; 
00545     QDataStream _replyStream( replyData, IO_WriteOnly );
00546     _replyStream << spaceBeforeParag( );
00547     } break;
00548     case 54: { // void setMarginFirstLine(double)
00549     double arg0;
00550     QDataStream arg( data, IO_ReadOnly );
00551     arg >> arg0;
00552     replyType = KoTextViewIface_ftable[54][0]; 
00553     setMarginFirstLine(arg0 );
00554     } break;
00555     case 55: { // void setLineSpacing(double)
00556     double arg0;
00557     QDataStream arg( data, IO_ReadOnly );
00558     arg >> arg0;
00559     replyType = KoTextViewIface_ftable[55][0]; 
00560     setLineSpacing(arg0 );
00561     } break;
00562     case 56: { // void setLeftMargin(double)
00563     double arg0;
00564     QDataStream arg( data, IO_ReadOnly );
00565     arg >> arg0;
00566     replyType = KoTextViewIface_ftable[56][0]; 
00567     setLeftMargin(arg0 );
00568     } break;
00569     case 57: { // void setRightMargin(double)
00570     double arg0;
00571     QDataStream arg( data, IO_ReadOnly );
00572     arg >> arg0;
00573     replyType = KoTextViewIface_ftable[57][0]; 
00574     setRightMargin(arg0 );
00575     } break;
00576     case 58: { // void setSpaceBeforeParag(double)
00577     double arg0;
00578     QDataStream arg( data, IO_ReadOnly );
00579     arg >> arg0;
00580     replyType = KoTextViewIface_ftable[58][0]; 
00581     setSpaceBeforeParag(arg0 );
00582     } break;
00583     case 59: { // void setSpaceAfterParag(double)
00584     double arg0;
00585     QDataStream arg( data, IO_ReadOnly );
00586     arg >> arg0;
00587     replyType = KoTextViewIface_ftable[59][0]; 
00588     setSpaceAfterParag(arg0 );
00589     } break;
00590     case 60: { // void setLeftBorder(QColor,double)
00591     QColor arg0;
00592     double arg1;
00593     QDataStream arg( data, IO_ReadOnly );
00594     arg >> arg0;
00595     arg >> arg1;
00596     replyType = KoTextViewIface_ftable[60][0]; 
00597     setLeftBorder(arg0, arg1 );
00598     } break;
00599     case 61: { // void setRightBorder(QColor,double)
00600     QColor arg0;
00601     double arg1;
00602     QDataStream arg( data, IO_ReadOnly );
00603     arg >> arg0;
00604     arg >> arg1;
00605     replyType = KoTextViewIface_ftable[61][0]; 
00606     setRightBorder(arg0, arg1 );
00607     } break;
00608     case 62: { // void setTopBorder(QColor,double)
00609     QColor arg0;
00610     double arg1;
00611     QDataStream arg( data, IO_ReadOnly );
00612     arg >> arg0;
00613     arg >> arg1;
00614     replyType = KoTextViewIface_ftable[62][0]; 
00615     setTopBorder(arg0, arg1 );
00616     } break;
00617     case 63: { // void setBottomBorder(QColor,double)
00618     QColor arg0;
00619     double arg1;
00620     QDataStream arg( data, IO_ReadOnly );
00621     arg >> arg0;
00622     arg >> arg1;
00623     replyType = KoTextViewIface_ftable[63][0]; 
00624     setBottomBorder(arg0, arg1 );
00625     } break;
00626     case 64: { // void setLeftBorderColor(QColor)
00627     QColor arg0;
00628     QDataStream arg( data, IO_ReadOnly );
00629     arg >> arg0;
00630     replyType = KoTextViewIface_ftable[64][0]; 
00631     setLeftBorderColor(arg0 );
00632     } break;
00633     case 65: { // void setRightBorderColor(QColor)
00634     QColor arg0;
00635     QDataStream arg( data, IO_ReadOnly );
00636     arg >> arg0;
00637     replyType = KoTextViewIface_ftable[65][0]; 
00638     setRightBorderColor(arg0 );
00639     } break;
00640     case 66: { // void setTopBorderColor(QColor)
00641     QColor arg0;
00642     QDataStream arg( data, IO_ReadOnly );
00643     arg >> arg0;
00644     replyType = KoTextViewIface_ftable[66][0]; 
00645     setTopBorderColor(arg0 );
00646     } break;
00647     case 67: { // void setBottomBorderColor(QColor)
00648     QColor arg0;
00649     QDataStream arg( data, IO_ReadOnly );
00650     arg >> arg0;
00651     replyType = KoTextViewIface_ftable[67][0]; 
00652     setBottomBorderColor(arg0 );
00653     } break;
00654     case 68: { // void setLeftBorderWidth(double)
00655     double arg0;
00656     QDataStream arg( data, IO_ReadOnly );
00657     arg >> arg0;
00658     replyType = KoTextViewIface_ftable[68][0]; 
00659     setLeftBorderWidth(arg0 );
00660     } break;
00661     case 69: { // void setRightBorderWidth(double)
00662     double arg0;
00663     QDataStream arg( data, IO_ReadOnly );
00664     arg >> arg0;
00665     replyType = KoTextViewIface_ftable[69][0]; 
00666     setRightBorderWidth(arg0 );
00667     } break;
00668     case 70: { // void setTopBorderWidth(double)
00669     double arg0;
00670     QDataStream arg( data, IO_ReadOnly );
00671     arg >> arg0;
00672     replyType = KoTextViewIface_ftable[70][0]; 
00673     setTopBorderWidth(arg0 );
00674     } break;
00675     case 71: { // void setBottomBorderWidth(double)
00676     double arg0;
00677     QDataStream arg( data, IO_ReadOnly );
00678     arg >> arg0;
00679     replyType = KoTextViewIface_ftable[71][0]; 
00680     setBottomBorderWidth(arg0 );
00681     } break;
00682     case 72: { // double leftBorderWidth()
00683     replyType = KoTextViewIface_ftable[72][0]; 
00684     QDataStream _replyStream( replyData, IO_WriteOnly );
00685     _replyStream << leftBorderWidth( );
00686     } break;
00687     case 73: { // double rightBorderWidth()
00688     replyType = KoTextViewIface_ftable[73][0]; 
00689     QDataStream _replyStream( replyData, IO_WriteOnly );
00690     _replyStream << rightBorderWidth( );
00691     } break;
00692     case 74: { // double topBorderWidth()
00693     replyType = KoTextViewIface_ftable[74][0]; 
00694     QDataStream _replyStream( replyData, IO_WriteOnly );
00695     _replyStream << topBorderWidth( );
00696     } break;
00697     case 75: { // double bottomBorderWidth()
00698     replyType = KoTextViewIface_ftable[75][0]; 
00699     QDataStream _replyStream( replyData, IO_WriteOnly );
00700     _replyStream << bottomBorderWidth( );
00701     } break;
00702     case 76: { // QColor leftBorderColor()
00703     replyType = KoTextViewIface_ftable[76][0]; 
00704     QDataStream _replyStream( replyData, IO_WriteOnly );
00705     _replyStream << leftBorderColor( );
00706     } break;
00707     case 77: { // QColor rightBorderColor()
00708     replyType = KoTextViewIface_ftable[77][0]; 
00709     QDataStream _replyStream( replyData, IO_WriteOnly );
00710     _replyStream << rightBorderColor( );
00711     } break;
00712     case 78: { // QColor topBorderColor()
00713     replyType = KoTextViewIface_ftable[78][0]; 
00714     QDataStream _replyStream( replyData, IO_WriteOnly );
00715     _replyStream << topBorderColor( );
00716     } break;
00717     case 79: { // QColor bottomBorderColor()
00718     replyType = KoTextViewIface_ftable[79][0]; 
00719     QDataStream _replyStream( replyData, IO_WriteOnly );
00720     _replyStream << bottomBorderColor( );
00721     } break;
00722     case 80: { // void changeCaseOfText(QString)
00723     QString arg0;
00724     QDataStream arg( data, IO_ReadOnly );
00725     arg >> arg0;
00726     replyType = KoTextViewIface_ftable[80][0]; 
00727     changeCaseOfText(arg0 );
00728     } break;
00729     case 81: { // bool isALinkVariable()
00730     replyType = KoTextViewIface_ftable[81][0]; 
00731     QDataStream _replyStream( replyData, IO_WriteOnly );
00732     _replyStream << isALinkVariable( );
00733     } break;
00734     case 82: { // bool changeLinkVariableUrl(QString)
00735     QString arg0;
00736     QDataStream arg( data, IO_ReadOnly );
00737     arg >> arg0;
00738     replyType = KoTextViewIface_ftable[82][0]; 
00739     QDataStream _replyStream( replyData, IO_WriteOnly );
00740     _replyStream << changeLinkVariableUrl(arg0 );
00741     } break;
00742     case 83: { // bool changeLinkVariableName(QString)
00743     QString arg0;
00744     QDataStream arg( data, IO_ReadOnly );
00745     arg >> arg0;
00746     replyType = KoTextViewIface_ftable[83][0]; 
00747     QDataStream _replyStream( replyData, IO_WriteOnly );
00748     _replyStream << changeLinkVariableName(arg0 );
00749     } break;
00750     case 84: { // QString linkVariableUrl()
00751     replyType = KoTextViewIface_ftable[84][0]; 
00752     QDataStream _replyStream( replyData, IO_WriteOnly );
00753     _replyStream << linkVariableUrl( );
00754     } break;
00755     case 85: { // QString linkVariableName()
00756     replyType = KoTextViewIface_ftable[85][0]; 
00757     QDataStream _replyStream( replyData, IO_WriteOnly );
00758     _replyStream << linkVariableName( );
00759     } break;
00760     case 86: { // bool isANoteVariable()
00761     replyType = KoTextViewIface_ftable[86][0]; 
00762     QDataStream _replyStream( replyData, IO_WriteOnly );
00763     _replyStream << isANoteVariable( );
00764     } break;
00765     case 87: { // QString noteVariableText()
00766     replyType = KoTextViewIface_ftable[87][0]; 
00767     QDataStream _replyStream( replyData, IO_WriteOnly );
00768     _replyStream << noteVariableText( );
00769     } break;
00770     case 88: { // bool setNoteVariableText(QString)
00771     QString arg0;
00772     QDataStream arg( data, IO_ReadOnly );
00773     arg >> arg0;
00774     replyType = KoTextViewIface_ftable[88][0]; 
00775     QDataStream _replyStream( replyData, IO_WriteOnly );
00776     _replyStream << setNoteVariableText(arg0 );
00777     } break;
00778     case 89: { // void removeComment()
00779     replyType = KoTextViewIface_ftable[89][0]; 
00780     removeComment( );
00781     } break;
00782     case 90: { // QString underlineStyle()
00783     replyType = KoTextViewIface_ftable[90][0]; 
00784     QDataStream _replyStream( replyData, IO_WriteOnly );
00785     _replyStream << underlineStyle( );
00786     } break;
00787     case 91: { // QString strikeOutStyle()
00788     replyType = KoTextViewIface_ftable[91][0]; 
00789     QDataStream _replyStream( replyData, IO_WriteOnly );
00790     _replyStream << strikeOutStyle( );
00791     } break;
00792     case 92: { // void setLanguage(QString)
00793     QString arg0;
00794     QDataStream arg( data, IO_ReadOnly );
00795     arg >> arg0;
00796     replyType = KoTextViewIface_ftable[92][0]; 
00797     setLanguage(arg0 );
00798     } break;
00799     case 93: { // QString language()
00800     replyType = KoTextViewIface_ftable[93][0]; 
00801     QDataStream _replyStream( replyData, IO_WriteOnly );
00802     _replyStream << language( );
00803     } break;
00804     case 94: { // void addBookmarks(QString)
00805     QString arg0;
00806     QDataStream arg( data, IO_ReadOnly );
00807     arg >> arg0;
00808     replyType = KoTextViewIface_ftable[94][0]; 
00809     addBookmarks(arg0 );
00810     } break;
00811     case 95: { // void copyLink()
00812     replyType = KoTextViewIface_ftable[95][0]; 
00813     copyLink( );
00814     } break;
00815     case 96: { // void removeLink()
00816     replyType = KoTextViewIface_ftable[96][0]; 
00817     removeLink( );
00818     } break;
00819     case 97: { // void copyTextOfComment()
00820     replyType = KoTextViewIface_ftable[97][0]; 
00821     copyTextOfComment( );
00822     } break;
00823     case 98: { // QString fontAttibute()
00824     replyType = KoTextViewIface_ftable[98][0]; 
00825     QDataStream _replyStream( replyData, IO_WriteOnly );
00826     _replyStream << fontAttibute( );
00827     } break;
00828     default: 
00829     return DCOPObject::process( fun, data, replyType, replyData );
00830     }
00831     return true;
00832 }
00833 
00834 QCStringList KoTextViewIface::interfaces()
00835 {
00836     QCStringList ifaces = DCOPObject::interfaces();
00837     ifaces += "KoTextViewIface";
00838     return ifaces;
00839 }
00840 
00841 QCStringList KoTextViewIface::functions()
00842 {
00843     QCStringList funcs = DCOPObject::functions();
00844     for ( int i = 0; KoTextViewIface_ftable[i][2]; i++ ) {
00845     if (KoTextViewIface_ftable_hiddens[i])
00846         continue;
00847     QCString func = KoTextViewIface_ftable[i][0];
00848     func += ' ';
00849     func += KoTextViewIface_ftable[i][2];
00850     funcs << func;
00851     }
00852     return funcs;
00853 }
00854 
00855 
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Mar 11 11:47:44 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003