Changeset 222 for trunk/src/IPrintView.h

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/IPrintView.h

    r221 r222  
    6868            ///              which page size is. 
    6969            /// 
    70             virtual void addPageSize (const gchar *name,  
     70            virtual void addPageSize (const gchar *name, 
    7171                                      const gchar *value) = 0; 
    7272 
     
    100100 
    101101            /// 
     102            /// @brief Gets the page layout. 
     103            /// 
     104            /// @return The selected page layout's value. 
     105            /// 
     106            virtual PrintPageLayout getPageLayout (void) = 0; 
     107 
     108            /// 
     109            /// @brief Gets the page orientation. 
     110            /// 
     111            /// @return The selected page orientation's value. 
     112            /// 
     113            virtual PrintPageOrientation getPageOrientation (void) = 0; 
     114 
     115            /// 
     116            /// @brief Gets the entred page range. 
     117            /// 
     118            /// @return The entered text in the page range entry. 
     119            /// 
     120            virtual const gchar *getPageRange (void) = 0; 
     121 
     122            /// 
     123            /// @brief Gets the currently selected page size. 
     124            /// 
     125            /// @return The name of the page size that is selected. This name 
     126            ///         is the @a value parameter of the addPageSize() 
     127            ///         function. 
     128            /// 
     129            virtual gchar *getPageSize (void) = 0; 
     130 
     131            /// 
    102132            /// @brief Gets the name of the currently selected printer. 
    103133            /// 
     
    109139 
    110140            /// 
    111             /// @brief Check is the "All Pages" range option is selected. 
     141            /// @brief Checks if the "Collate" option is checked. 
     142            /// 
     143            /// @return TRUE if the "Collate" option is checked. 
     144            ///         FALSE otherwise. 
     145            /// 
     146            virtual gboolean isCheckedCollate (void) = 0; 
     147 
     148            /// 
     149            /// @brief Checks if the "All Pages" range option is selected. 
    112150            /// 
    113151            /// @return TRUE if the range's "All Pages" option is selected. 
     
    115153            /// 
    116154            virtual gboolean isSelectedAllPagesRangeOption (void) = 0; 
     155 
     156            /// 
     157            /// @brief Checks if the "Even Page" set option is selected. 
     158            /// 
     159            /// @return TRUE if the set's "Even Page" option is selected. 
     160            ///         FALSE otherwise. 
     161            /// 
     162            virtual gboolean isSelectedEvenPageSet (void) = 0; 
     163 
     164            /// 
     165            /// @brief Checks if the "Odd Page" set option is selected. 
     166            /// 
     167            /// @return TRUE if the set's "Odd Page" option is selected. 
     168            ///         FALSE otherwise. 
     169            /// 
     170            virtual gboolean isSelectedOddPageSet (void) = 0; 
    117171 
    118172            ///