kword
KWordViewIface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KWORD_VIEW_IFACE_H
00021 #define KWORD_VIEW_IFACE_H
00022
00023 #include <KoViewIface.h>
00024
00025 #include <qstring.h>
00026
00027 class KWView;
00028
00029 class KWordViewIface : public KoViewIface
00030 {
00031 K_DCOP
00032 public:
00033 KWordViewIface( KWView *view_ );
00034 KWView * getView()const{return view;}
00035 k_dcop:
00036 void fileStatistics();
00037 void editFind();
00038 void editReplace();
00039 void editCustomVars();
00040 void editMailMergeDataBase();
00041 void viewPageMode();
00042 void viewPreviewMode();
00043 void configure();
00044 void spelling();
00045 void autoFormat();
00046 void stylist();
00047 void createTemplate();
00048
00049 int tableSelectCell(const QString &name, uint row, uint col);
00050 void insertTable();
00051 void tableInsertRow();
00052 void tableInsertRow(uint row);
00053 void tableInsertCol();
00054 void tableInsertCol(uint col);
00055 void tableResizeCol();
00056 void tableDeleteRow();
00057 int tableDeleteRow(uint row);
00058 void tableDeleteCol();
00059 int tableDeleteCol(uint col);
00060 void tableJoinCells();
00061 void tableSplitCells();
00062 void tableSplitCells(uint rows, uint cols);
00063 void tableUngroupTable();
00064
00065 void insertPicture();
00066
00071 void insertInlinePicture( QString fileName, int w = 0, int h = 0 );
00076 void insertPictureFromFile( QString fileName, double x, double y, int w = 0, int h = 0 );
00077
00078
00079 void toolsPart();
00080
00081 double zoom();
00082 void setZoom( int zoom);
00083 void editPersonalExpression();
00084 void insertLink();
00085 void insertFormula();
00086
00087 void formatFont();
00088 void formatParagraph();
00089 void formatPage();
00090 void raiseFrame();
00091 void lowerFrame();
00092 void bringToFront();
00093 void sendToBack();
00094 void applyAutoFormat();
00095 void createStyleFromSelection();
00096
00097 void insertFootNote();
00098
00099 int configTableRows() const;
00100 int configTableCols() const;
00101 bool configTableIsFloating() const;
00102
00103
00104 QString configTableTemplateName() const;
00105 void setConfigTableTemplateName(const QString &_name);
00106
00107 void selectAllFrames();
00108 void unSelectAllFrames();
00109
00110 void editFootEndNote();
00111 void savePicture();
00112
00113 void insertFile();
00114 void tableStylist();
00115
00116 void addBookmark();
00117 void selectBookmark();
00118 void tableProperties();
00119 void importStyle();
00120
00121 void insertFile(const QString & path);
00122 void createFrameStyle();
00123
00124 void setPictureInline( bool _inline);
00125 bool pictureInline() const;
00126
00127 void setPictureKeepRatio( bool _keep);
00128 bool pictureKeepRatio() const;
00129 void changeAutoSpellCheckStatus(bool b);
00130 void deselectAllFrames();
00131 int currentPage();
00132 void convertTableToText();
00133 void convertToTextBox();
00134 void addIgnoreAllWord();
00135 void addPersonalExpression();
00136 void addWordToDictionary();
00137 void sortText();
00138 void insertPage();
00139 void createLinkedFrame();
00140
00141 void lineBreak();
00142
00143 void increaseNumberingLevel();
00144 void decreaseNumberingLevel();
00145
00146 private:
00147 KWView *view;
00148
00149 };
00150
00151 #endif
|