Changeset 222 for trunk/src/JobFind.cxx

Show
Ignore:
Timestamp:
06/11/06 14:46:38 (2 years ago)
Author:
jordi
Message:

Added a new class named JobPrint? whose duty is to render the current document to PostScript? and print the resultant file. It already renders the requested pages (Note: the setUpPageRange is horrible) to PostScript?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/JobFind.cxx

    r172 r222  
    227227        GList *result = getDocument ()->findTextInPage (currentPage, 
    228228                                                        getTextToFind ()); 
    229          
     229 
    230230        if ( FIND_DIRECTION_FORWARDS == getDirection () ) 
    231231        { 
     
    236236            setCurrentPage (currentPage - 1); 
    237237        } 
    238          
     238 
    239239        if ( NULL != result ) 
    240240        { 
    241241            setResults (currentPage, result); 
    242242            JOB_NOTIFIER (job_find_results, this); 
    243         }         
    244         else  
     243        } 
     244        else 
    245245        { 
    246246            JOB_NOTIFIER (job_find_end, this);