Ignore:
Timestamp:
Jun 30, 2006, 3:46:31 PM (16 years ago)
Author:
Eugene Romanenko
Message:

rotation and text selection in rotated mode fully works

Location:
trunk/Lucide/SOURCE/plugins/lupoppler
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/plugins/lupoppler/lupoppler.cpp

    r50 r59  
    425425                                                                    Environment *ev,
    426426                                                                   long pagenum,
    427                                                                    double scale,
    428427                                                                   LuRectangle* selection)
    429428{
     
    442441    poppler_selection.y2 = selection->y2;
    443442
    444     GooList *list = text_dev->getSelectionRegion( &poppler_selection, scale );
     443    GooList *list = text_dev->getSelectionRegion( &poppler_selection, 1.0 );
    445444    int len = list->getLength();
    446445
  • trunk/Lucide/SOURCE/plugins/lupoppler/lupoppler.xh

    r27 r59  
    114114typedef LuDocument_LuRectSequence*   SOMLINK somTP_LuPopplerDocument_getSelectionRectangles(LuPopplerDocument *somSelf, Environment *ev,
    115115                long pagenum,
    116                 double scale,
    117116                LuRectangle* selection);
    118117typedef somTP_LuPopplerDocument_getSelectionRectangles *somTD_LuPopplerDocument_getSelectionRectangles;
     
    472471LuDocument_LuRectSequence*   getSelectionRectangles(Environment *ev,
    473472                long pagenum,
    474                 double scale,
    475473                LuRectangle* selection)
    476474{
    477475   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getSelectionRectangles)
    478         (this, ev,pagenum,scale,selection);
     476        (this, ev,pagenum,selection);
    479477}
    480478
  • trunk/Lucide/SOURCE/plugins/lupoppler/lupoppler.xih

    r27 r59  
    585585SOM_Scope LuDocument_LuRectSequence*  SOMLINK getSelectionRectangles(LuPopplerDocument *somSelf, Environment *ev,
    586586                long pagenum,
    587                 double scale,
    588587                LuRectangle* selection);
    589588static char *somMN_LuPopplerDocumentgetSelectionRectangles = "LuDocument::getSelectionRectangles";
     
    596595typedef LuDocument_LuRectSequence*   SOMLINK somTP_xih_LuPopplerDocument_getSelectionRectangles(LuPopplerDocument *somSelf, Environment *ev,
    597596                long pagenum,
    598                 double scale,
    599597                LuRectangle* selection);
    600598typedef somTP_xih_LuPopplerDocument_getSelectionRectangles *somTD_xih_LuPopplerDocument_getSelectionRectangles;
    601599/* define the parent method call macro */
    602600static somMethodProc* LuPopplerDocument_parent_LuDocument_getSelectionRectangles_resolved;
    603 #define LuPopplerDocument_parent_LuDocument_getSelectionRectangles(somSelf,ev,pagenum,scale,selection) \
     601#define LuPopplerDocument_parent_LuDocument_getSelectionRectangles(somSelf,ev,pagenum,selection) \
    604602  ((( somTD_xih_LuPopplerDocument_getSelectionRectangles ) \
    605603      LuPopplerDocument_parent_LuDocument_getSelectionRectangles_resolved) \
    606         (somSelf,ev,pagenum,scale,selection))
     604        (somSelf,ev,pagenum,selection))
    607605/* define a variety of (possibly ambiguous) short forms */
    608606#ifndef SOMGD_pmc_parent_getSelectionRectangles
     
    622620  #endif
    623621#endif
    624 #define LuPopplerDocument_parents_getSelectionRectangles(somSelf,ev,pagenum,scale,selection) (\
    625    LuPopplerDocument_parent_LuDocument_getSelectionRectangles(somSelf,ev,pagenum,scale,selection))
     622#define LuPopplerDocument_parents_getSelectionRectangles(somSelf,ev,pagenum,selection) (\
     623   LuPopplerDocument_parent_LuDocument_getSelectionRectangles(somSelf,ev,pagenum,selection))
    626624
    627625/*
Note: See TracChangeset for help on using the changeset viewer.