Changeset View
Changeset View
Standalone View
Standalone View
core/document.h
Show First 20 Lines • Show All 576 Lines • ▼ Show 20 Line(s) | 198 | public: | |||
---|---|---|---|---|---|
577 | void removePageAnnotation( int page, Annotation *annotation ); | 577 | void removePageAnnotation( int page, Annotation *annotation ); | ||
578 | 578 | | |||
579 | /** | 579 | /** | ||
580 | * Removes the given @p annotations from the given @p page. | 580 | * Removes the given @p annotations from the given @p page. | ||
581 | */ | 581 | */ | ||
582 | void removePageAnnotations( int page, const QList<Annotation*> &annotations ); | 582 | void removePageAnnotations( int page, const QList<Annotation*> &annotations ); | ||
583 | 583 | | |||
584 | /** | 584 | /** | ||
585 | * Sets the text selection for the given @p page. | 585 | * Clears the text selection highlights for the given @p page, | ||
586 | * creates new ones if @p rect is not nullptr, | ||||
587 | * and deletes @p rect. | ||||
586 | * | 588 | * | ||
587 | * @param page The number of the page. | 589 | * @param page The number of the page. | ||
588 | * @param rect The rectangle of the selection. | 590 | * @param rect The rectangle of the selection. | ||
589 | * @param color The color of the selection. | 591 | * @param color The color of the selection. | ||
590 | */ | 592 | */ | ||
591 | void setPageTextSelection( int page, RegularAreaRect * rect, const QColor & color ); | 593 | void setPageTextSelection( int page, RegularAreaRect * rect, const QColor & color ); | ||
592 | 594 | | |||
593 | /** | 595 | /** | ||
▲ Show 20 Lines • Show All 863 Lines • Show Last 20 Lines |