kpresenter
KPrView Class Reference
List of all members.Detailed Description
Definition at line 117 of file KPrView.h.
Public Slots | |
| void | editCut () |
| void | editCopy () |
| void | editPaste () |
| void | editDelete () |
| void | editSelectAll () |
| void | editDeSelectAll () |
| void | editCopyPage () |
| void | editDuplicatePage () |
| void | editDelPage () |
| void | editFind () |
| void | editReplace () |
| void | viewShowSideBar () |
| void | viewShowNoteBar () |
| void | viewSlideMaster () |
| void | viewZoom (const QString &s) |
| void | viewFooter () |
| void | viewHeader () |
| void | insertComment () |
| void | editComment () |
| void | viewGuideLines () |
| void | viewGrid () |
| void | viewSnapToGrid () |
| void | insertPage () |
| void | insertPicture () |
| void | insertPicture (const QString &file) |
| void | insertSpecialChar () |
| void | toolsMouse () |
| void | toolsRotate () |
| void | toolsZoom () |
| void | toolsLine () |
| void | toolsLinePopup () |
| void | toolsShapePopup () |
| void | toolsRectangle () |
| void | toolsCircleOrEllipse () |
| void | toolsPie () |
| void | toolsText () |
| void | toolsAutoform () |
| void | toolsDiagramm () |
| void | toolsTable () |
| void | toolsFormula () |
| void | toolsObject () |
| void | toolsFreehand () |
| void | toolsPolyline () |
| void | toolsQuadricBezierCurve () |
| void | toolsCubicBezierCurve () |
| void | toolsConvexOrConcavePolygon () |
| void | toolsClosedLinePopup () |
| void | toolsClosedFreehand () |
| void | toolsClosedPolyline () |
| void | toolsClosedQuadricBezierCurve () |
| void | toolsClosedCubicBezierCurve () |
| void | extraProperties () |
| void | extraRaise () |
| void | extraLower () |
| void | extraRotate () |
| void | extraSendBackward () |
| void | extraBringForward () |
| void | extraArrangePopup () |
| void | extraShadow () |
| void | extraBackground () |
| void | extraLayout () |
| void | extraConfigure () |
| void | extraLineBegin () |
| void | extraLineEnd () |
| void | extraWebPres () |
| void | extraMSPres () |
| void | extraCreateTemplate () |
| void | extraDefaultTemplate () |
| void | extraGroup () |
| void | extraUnGroup () |
| void | extraPenStyle (int newStyle) |
| void | extraPenWidth (double newWidth) |
| void | configureCompletion () |
| void | extraAlignObjLeft () |
| void | extraAlignObjCenterH () |
| void | extraAlignObjRight () |
| void | extraAlignObjTop () |
| void | extraAlignObjCenterV () |
| void | extraAlignObjBottom () |
| void | screenConfigPages () |
| void | screenAssignEffect () |
| void | screenTransEffect () |
| void | screenStart () |
| void | screenStartFromFirst () |
| void | screenStop () |
| void | screenPause () |
| void | screenFirst () |
| void | screenPrev (bool gotoPreviousPage=false) |
| void | screenNext (bool gotoNextPage=false) |
| void | screenLast () |
| void | screenSkip () |
| void | sizeSelected (int size) |
| void | fontSelected (const QString &fontFamily) |
| void | textBold () |
| void | textItalic () |
| void | textUnderline () |
| void | textStrikeOut () |
| void | textColor () |
| void | textAlignLeft () |
| void | textAlignCenter () |
| void | textAlignRight () |
| void | textAlignBlock () |
| void | mtextFont () |
| void | slotCounterStyleSelected () |
| void | textDepthPlus () |
| void | textDepthMinus () |
| void | textContentsToHeight () |
| void | textObjectToContents () |
| void | textInsertPageNum () |
| void | textDefaultFormat () |
| void | penChosen () |
| void | brushChosen () |
| void | skipToPage (int _num) |
| void | nextPage () |
| void | prevPage () |
| void | updateSideBarItem (KPrPage *page) |
| void | addSideBarItem (int pos) |
| void | moveSideBarItem (int oldPos, int newPos) |
| void | removeSideBarItem (int pos) |
| void | updatePageInfo () |
| void | updateObjectStatusBarItem () |
| void | pageNumChanged () |
| void | updateSideBarMenu () |
| void | objectSelectedChanged () |
| void | renamePageTitle () |
| void | picViewOriginalSize () |
| void | picViewOrig640x480 () |
| void | picViewOrig800x600 () |
| void | picViewOrig1024x768 () |
| void | picViewOrig1280x1024 () |
| void | picViewOrig1600x1200 () |
| void | chPic () |
| void | imageEffect () |
| void | textSubScript () |
| void | textSuperScript () |
| void | slotSpecialChar (QChar, const QString &) |
| void | slotSpecialCharDlgClosed () |
| void | insertLink () |
| void | changeLink () |
| void | copyLink () |
| void | removeLink () |
| void | addToBookmark () |
| void | slotSoftHyphen () |
| void | slotNonbreakingSpace () |
| void | slotNonbreakingHyphen () |
| void | slotLineBreak () |
| void | slotIncreaseNumberingLevel () |
| void | slotDecreaseNumberingLevel () |
| void | extraAutoFormat () |
| void | slotSpellCheck () |
| void | spellCheckerDone (const QString &) |
| void | spellCheckerCancel () |
| void | startKSpell () |
| void | spellAddAutoCorrect (const QString &originalword, const QString &newword) |
| void | spellCheckerMisspelling (const QString &, int) |
| void | spellCheckerCorrected (const QString &, int, const QString &) |
| void | alignChanged (int) |
| void | formatParagraph () |
| void | changeNbOfRecentFiles (int _nb) |
| void | insertVariable () |
| void | insertCustomVariable () |
| void | insertNewCustomVariable () |
| void | refreshCustomMenu () |
| void | editCustomVars () |
| void | openLink () |
| void | increaseFontSize () |
| void | decreaseFontSize () |
| void | tabListChanged (const KoTabulatorList &tabList) |
| void | newLeftIndent (double _leftIndent) |
| void | newFirstIndent (double _firstIndent) |
| void | newRightIndent (double _rightIndent) |
| void | slotUpdateRuler () |
| void | slotHRulerDoubleClicked (double ptpos) |
| void | slotHRulerDoubleClicked () |
| void | changeCaseOfText () |
| void | slotStyleSelected () |
| void | textStyleSelected (int) |
| void | extraStylist () |
| void | slotAllowAutoFormat () |
| void | slotCompletion () |
| void | removeComment () |
| void | copyTextOfComment () |
| void | zoomMinus () |
| void | zoomPageWidth () |
| void | zoomEntirePage () |
| void | zoomPlus () |
| void | zoomSelectedObject () |
| void | zoomPageHeight () |
| void | zoomAllObject () |
| void | flipHorizontal () |
| void | flipVertical () |
| void | closeObject () |
| void | duplicateObj () |
| void | applyAutoFormat () |
| void | createStyleFromSelection () |
| void | alignVerticalTop () |
| void | alignVerticalBottom () |
| void | alignVerticalCenter () |
| void | savePicture () |
| void | autoSpellCheck () |
| void | insertFile () |
| void | editCustomVariable () |
| void | importStyle () |
| void | backgroundPicture () |
| void | updateBgSpellCheckingState () |
| void | updatePresentationButton (bool) |
| void | refreshGroupButton () |
| void | slotAddIgnoreAllWord () |
| void | addWordToDictionary () |
| void | customSlideShow () |
| void | displayObjectFromMasterPage () |
| void | displayBackground () |
| void | slotUnitChanged (KoUnit::Unit) |
| void | documentModified (bool) |
Signals | |
| void | currentPageChanged (int) |
| void | presentationFinished () |
Public Member Functions | |
| KPrView (KPrDocument *_doc, QWidget *_parent=0, const char *_name=0) | |
| ~KPrView () | |
| void | initGui () |
| virtual DCOPObject * | dcopObject () |
| int | getCurrentPresPage () const |
| int | getCurrentPresStep () const |
| int | getPresStepsOfPage () const |
| int | getNumPresPages () const |
| bool | gotoPresPage (int pg) |
| virtual void | setupPrinter (KPrinter &printer) |
| virtual void | print (KPrinter &printer) |
| void | showFormat (const KoTextFormat &format) |
| void | showZoom (int zoom) |
| void | setZoom (int zoom, bool updateViews) |
| void | changeZoomMenu (int zoom=-1) |
| void | showStyle (const QString &styleName) |
| void | updateStyleList () |
| KoTextZoomHandler * | zoomHandler () const |
| void | unZoomDocument (int &dpiX, int &dpiY) |
| void | zoomDocument (int zoom) |
| void | updateHeaderFooterButton () |
| void | updateDisplayObjectMasterPageButton () |
| void | updateDisplayBackgroundButton () |
| virtual int | leftBorder () const |
| virtual int | rightBorder () const |
| virtual int | topBorder () const |
| virtual int | bottomBorder () const |
| void | updateGuideLineButton () |
| void | updateGridButton () |
| void | savePicture (const QString &oldName, KoPicture &picture) |
| void | savePicture (KPrPixmapObject *obj) |
| void | insertFile (const QString &path) |
| void | testAndCloseAllTextObjectProtectedContent () |
| void | updateRulerInProtectContentMode () |
| QPtrList< KAction > | listOfResultOfCheckWord (const QString &word) |
| KSpell2::Broker * | broker () const |
| bool | editMaster () const |
| virtual void | createGUI () |
| unsigned int | getCurrPgNum () const |
| void | recalcCurrentPageNum () |
| KPrDocument * | kPresenterDoc () const |
| void | changePicture (const QString &) |
| KPrCanvas * | getCanvas () const |
| void | setRulerMouseShow (bool _show) |
| void | setRulerMousePos (int mx, int my) |
| void | setRanges () |
| KoRuler * | getHRuler () const |
| KoRuler * | getVRuler () const |
| KoTabChooser * | getTabChooser () const |
| QScrollBar * | getHScrollBar () const |
| QScrollBar * | getVScrollBar () const |
| void | showObjectRect (const KPrObject *object) |
| PieType | getPieType () const |
| int | getPieAngle () const |
| int | getPieLength () const |
| KoPen | getPen () const |
| QBrush | getBrush () const |
| LineEnd | getLineBegin () const |
| LineEnd | getLineEnd () const |
| QColor | getGColor1 () const |
| QColor | getGColor2 () const |
| BCType | getGType () const |
| FillType | getFillType () const |
| bool | getGUnbalanced () const |
| int | getGXFactor () const |
| int | getGYFactor () const |
| TKSelectColorAction * | getActionBrushColor () const |
| TKSelectColorAction * | getActionPenColor () const |
| void | setPieType (PieType _pieType) |
| void | setPieAngle (int _pieAngle) |
| void | setPieLength (int _pieLength) |
| void | setPen (KoPen _pen) |
| void | setBrush (QBrush _brush) |
| void | setLineBegin (LineEnd _lineBegin) |
| void | setLineEnd (LineEnd _lineEnd) |
| void | setGColor1 (QColor _gColor1) |
| void | setGColor2 (QColor _gColor2) |
| void | setGType (BCType _gType) |
| void | setFillType (FillType _fillType) |
| void | setGUnbalanced (bool _gUnbalanced) |
| void | setGXFactor (int _gXFactor) |
| void | setGYFactor (int _gYFactor) |
| void | setTool (ToolEditMode toolEditMode) |
| int | getRndX () const |
| int | getRndY () const |
| void | setRndX (int _rndX) |
| void | setRndY (int _rndY) |
| void | enableWebPres () |
| void | enableMSPres () |
| bool | doubleClickActivation () const |
| QWidget * | canvas () const |
| int | canvasXOffset () const |
| int | canvasYOffset () const |
| void | updateSideBar () |
| void | refreshPageButton () |
| void | setCanvasXOffset (int _x) |
| void | setCanvasYOffset (int _y) |
| void | openPopupMenuObject (const QString &name, const QPoint &_point) |
| void | openPopupMenuMenuPage (const QPoint &_point) |
| void | openPopupMenuSideBar (const QPoint &_point) |
| void | openPopupMenuZoom (const QPoint &_point) |
| void | penColorChanged (const KoPen &_pen) |
| void | brushColorChanged (const QBrush &_brush) |
| void | restartAutoPresTimer () |
| void | continueAutoPresTimer () |
| void | stopAutoPresTimer () |
| void | setAutoPresTimer (int sec) |
| void | showCounter (KoParagCounter &c) |
| QPopupMenu * | popupMenu (const QString &name) |
| void | showRulerIndent (double _leftMargin, double _firstLine, double _rightMargin, bool rtl) |
| void | reorganize () |
| KPrNoteBar * | getNoteBar () const |
| QPtrList< KAction > & | actionList () |
| QPtrList< KAction > & | variableActionList () |
| bool | getCheckConcavePolygon () const |
| int | getCornersValue () const |
| int | getSharpnessValue () const |
| void | setCheckConcavePolygon (bool _concavePolygon) |
| void | setCornersValue (int _cornersValue) |
| void | setSharpnessValue (int _sharpnessValue) |
| PictureMirrorType | getPictureMirrorType () const |
| int | getPictureDepth () const |
| bool | getPictureSwapRGB () const |
| bool | getPictureGrayscal () const |
| int | getPictureBright () const |
| void | setPageDuration (int _pgNum) |
| void | setZoomRect (const KoRect &rect) |
| void | changeVerticalAlignmentStatus (VerticalAlignmentType _type) |
| void | closeTextObject () |
| void | deSelectAllObjects () |
| void | insertDirectCursor (bool b) |
| void | updateDirectCursorButton () |
| void | setEditMaster (bool editMaster) |
Protected Slots | |
| void | backOk (KPrBackDialog *, bool) |
| void | afChooseOk (const QString &) |
| void | slotAfchooseCanceled () |
| void | propertiesOk () |
| void | pgConfOk () |
| void | rotateOk () |
| void | shadowOk () |
| void | pddClosed () |
| void | scrollH (int) |
| void | scrollV (int) |
| void | fontChanged (const QFont &) |
| void | colorChanged (const QColor &color) |
| void | extraLineBeginNormal () |
| void | extraLineBeginArrow () |
| void | extraLineBeginRect () |
| void | extraLineBeginCircle () |
| void | extraLineBeginLineArrow () |
| void | extraLineBeginDimensionLine () |
| void | extraLineBeginDoubleArrow () |
| void | extraLineBeginDoubleLineArrow () |
| void | setExtraLineBegin (LineEnd lb) |
| void | extraLineEndNormal () |
| void | extraLineEndArrow () |
| void | extraLineEndRect () |
| void | extraLineEndCircle () |
| void | extraLineEndLineArrow () |
| void | extraLineEndDimensionLine () |
| void | extraLineEndDoubleArrow () |
| void | extraLineEndDoubleLineArrow () |
| void | setExtraLineEnd (LineEnd le) |
| void | setExtraPenStyle (Qt::PenStyle style) |
| void | setExtraPenWidth (double width) |
| void | restartPresentation () |
| void | stopAutomaticPresentation () |
| void | newPageLayout (const KoPageLayout &_layout) |
| void | openPageLayoutDia () |
| void | unitChanged (KoUnit::Unit) |
| void | doAutomaticScreenPres () |
| void | getPageMouseWheelEvent (QWheelEvent *e) |
| void | updateRuler () |
| void | refreshAllVariable () |
| void | slotViewFormattingChars () |
| void | slotUpdateScrollBarRanges () |
| void | addGuideLine () |
| void | refreshRuler (bool state) |
| void | slotApplyFont () |
| void | slotApplyParag () |
| void | slotObjectEditChanged () |
| void | slotChangeCutState (bool) |
| void | insertDirectCursor () |
| void | slotCorrectWord () |
| void | editFindNext () |
| void | editFindPrevious () |
| void | initialLayoutOfSplitter () |
| virtual void | slotChildActivated (bool a) |
| void | loadingFinished () |
Protected Member Functions | |
| virtual void | resizeEvent (QResizeEvent *) |
| virtual void | dragEnterEvent (QDragEnterEvent *e) |
| virtual void | dragMoveEvent (QDragMoveEvent *e) |
| virtual void | dragLeaveEvent (QDragLeaveEvent *e) |
| virtual void | dropEvent (QDropEvent *e) |
| virtual void | keyPressEvent (QKeyEvent *) |
| virtual void | guiActivateEvent (KParts::GUIActivateEvent *ev) |
| void | setupActions () |
| void | setupPopupMenus () |
| void | setupScrollbars () |
| void | setupRulers () |
| void | startScreenPres (int pgNum=-1) |
| virtual void | updateReadWrite (bool readwrite) |
| void | addVariableActions (int type, const QStringList &texts, KActionMenu *parentMenu, const QString &menuText) |
| void | showParagraphDialog (int initialPage=-1, double initialTabPos=0.0) |
| QValueList< KoTextObject * > | spellAddTextObject () const |
| bool | switchInOtherPage (const QString &text) |
| void | openThePresentationDurationDialog () |
| QString | presentationDurationDataFormatChange (int _time) |
| int | getZoomEntirePage () const |
| KCommand * | applyAutoFormatToCurrentPage (const QPtrList< KoTextObject > &lst) |
| void | textStyleSelected (KoParagStyle *_sty) |
| KCommand * | getPenCmd (const QString &name, KoPen pen, LineEnd lb, LineEnd le, int flags) |
| void | spellCheckerRemoveHighlight () |
| void | updateNoteBarText () |
Friends | |
| class | PageBase |
Member Function Documentation
| Broker * KPrView::broker | ( | ) | const |
| void KPrView::editFind | ( | ) | [slot] |
Definition at line 5136 of file KPrView.cpp.
| void KPrView::editReplace | ( | ) | [slot] |
Definition at line 5163 of file KPrView.cpp.
| void KPrView::screenPrev | ( | bool | gotoPreviousPage = false |
) | [slot] |
Go to previous step of the presentation.
gotoPreviousPage: if is set to true go to beginning of the previous page.
Definition at line 1682 of file KPrView.cpp.
| void KPrView::screenNext | ( | bool | gotoNextPage = false |
) | [slot] |
Go to the next step of the presentation.
gotoNextPage: if is set to true go to beginning of the next page.
Definition at line 1695 of file KPrView.cpp.
| void KPrView::updateSideBarItem | ( | KPrPage * | page | ) | [slot] |
| void KPrView::recalcCurrentPageNum | ( | ) |
Recalculate the currPgNum from the activePage of the canvas This is necessary after a page has inserted.
Definition at line 3365 of file KPrView.cpp.
| void KPrView::showObjectRect | ( | const KPrObject * | object | ) |
Show the rect where object lies.
It will move the screen to the top right corner of object when it is not allready totaly visible on the screen.
- Parameters:
-
object which should be shown
Definition at line 3870 of file KPrView.cpp.
| bool KPrView::doubleClickActivation | ( | ) | const |
| QWidget * KPrView::canvas | ( | ) | const |
| int KPrView::canvasXOffset | ( | ) | const |
| int KPrView::canvasYOffset | ( | ) | const |
| void KPrView::updateSideBar | ( | ) |
| void KPrView::restartAutoPresTimer | ( | ) |
Restart the timer for going to the next page.
This is used in automatic presentation mode.
Definition at line 4324 of file KPrView.cpp.
| void KPrView::continueAutoPresTimer | ( | ) |
Continue the stopped timer for going to the next page.
This is used in automatic presentation mode.
Definition at line 4331 of file KPrView.cpp.
| void KPrView::stopAutoPresTimer | ( | ) |
Stop the timer for going to the next page.
This is used in automatic presentation mode.
Definition at line 4338 of file KPrView.cpp.
| void KPrView::setAutoPresTimer | ( | int | sec | ) |
Set the timer for going to next step to sec seconds.
This is used in automatic presentation mode.
Definition at line 4344 of file KPrView.cpp.
| void KPrView::setPageDuration | ( | int | _pgNum | ) |
Set the duration of the given page ( zero based ).
This reads out m_duration and adds it to the given page. m_duration is restarted.
Definition at line 5367 of file KPrView.cpp.
| void KPrView::setZoomRect | ( | const KoRect & | rect | ) |
Zoom the rect.
- Parameters:
-
rect The rect which should be zoomed to.
Definition at line 5321 of file KPrView.cpp.
| void KPrView::restartPresentation | ( | ) | [inline, protected, slot] |
| void KPrView::stopAutomaticPresentation | ( | ) | [inline, protected, slot] |
The documentation for this class was generated from the following files:

