w2d_class_factory.h

00001 //
00002 //  Copyright (c) 2006 by Autodesk, Inc.
00003 //
00004 //  By using this code, you are agreeing to the terms and conditions of
00005 //  the License Agreement included in the documentation for this code.
00006 //
00007 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00008 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00009 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00010 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00011 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 //
00013 //  Use, duplication, or disclosure by the U.S. Government is subject to
00014 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00015 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00016 //  Data and Computer Software), as applicable.
00017 //
00018 #if !defined WHIP_CLASSFACTORY_HEADER
00019 #define WHIP_CLASSFACTORY_HEADER
00020 
00021 //#pragma once
00022 
00023 #include "whiptk/whip_toolkit.h"
00024 #include "whiptk/class_factory.h"
00025 
00030 class WHIPTK_API WT_W2D_Class_Factory : public WT_Class_Factory
00031 {
00032 public:
00034 
00035         WT_W2D_Class_Factory()
00036         {}
00038         virtual ~WT_W2D_Class_Factory()
00039         {}
00040         
00041         //Create methods here
00042 
00046         virtual WT_Attribute_URL*               Create_Attribute_URL() throw(DWFException);
00050     virtual WT_Attribute_URL*           Create_Attribute_URL(WT_Attribute &/*attribute*/) throw(DWFException);
00054     virtual WT_Attribute_URL*           Create_Attribute_URL(WT_Attribute &attribute, WT_URL_Item &item) throw(DWFException);
00058     virtual WT_Attribute_URL*           Create_Attribute_URL(WT_Attribute &attribute,
00059                                                                                                 WT_Integer32 index, 
00060                                                                                                 WT_Unsigned_Integer16 const * address, 
00061                                                                                                 WT_Unsigned_Integer16 const * friendly_name )
00062                                                                                                 throw(DWFException);
00063         
00067         virtual WT_Attribute_URL*               Create_Attribute_URL(WT_Attribute_URL const& url)
00068         throw(DWFException);
00069 
00073         virtual WT_File*                Create_File() 
00074         throw(DWFException);
00075 
00076 
00077         //Code Page
00081         virtual WT_Code_Page*   Create_Code_Page() 
00082         throw(DWFException);
00086         virtual WT_Code_Page*   Create_Code_Page( WT_Integer32 page_number ) 
00087         throw(DWFException);
00088 
00092         virtual WT_Code_Page*    Create_Code_Page( WT_Code_Page const& code_page )  
00093         throw(DWFException);
00094 
00095         //Color
00099         virtual WT_Color*               Create_Color() 
00100         throw(DWFException);
00104         virtual WT_Color*               Create_Color(WT_RGBA32 color, WT_Color::WT_Color_Map_Mode m=WT_Color::No_Mapping) 
00105                 throw(DWFException);
00109         virtual WT_Color*               Create_Color(int red, int green, int blue, WT_Color::WT_Color_Map_Mode m=WT_Color::No_Mapping) 
00110                 throw(DWFException);
00114         virtual WT_Color*               Create_Color(int red, int green, int blue, int alpha, WT_Color::WT_Color_Map_Mode m=WT_Color::No_Mapping) 
00115                 throw(DWFException);
00119         virtual WT_Color*               Create_Color(WT_Color_Index index, WT_Color_Map const &color_map) 
00120                 throw(DWFException);
00124     virtual WT_Color*           Create_Color(WT_Color const & /*color*/)
00125         throw(DWFException);
00126         
00127         //Color_Map     
00131         virtual WT_Color_Map*   Create_Color_Map(int file_revision_being_used=REVISION_WHEN_DEFAULT_COLORMAP_WAS_CHANGED) 
00132                 throw(DWFException);
00136         virtual WT_Color_Map*   Create_Color_Map(int count, WT_RGBA32 const *map, WT_File &file) 
00137                 throw(DWFException);
00141         virtual WT_Color_Map*   Create_Color_Map(int count, WT_RGB const *map, WT_File &file) 
00142                 throw(DWFException);
00146         virtual WT_Color_Map*   Create_Color_Map(WT_Color_Map const &cmap) 
00147         throw(DWFException);
00148         
00152         virtual WT_Contrast_Color*              Create_Contrast_Color() 
00153                 throw(DWFException);
00154           
00158         virtual WT_Contrast_Color*              Create_Contrast_Color(WT_RGBA32 color)
00159                 throw(DWFException);
00160         
00164     virtual WT_Contrast_Color*          Create_Contrast_Color(int red,int green,int blue,int alpha = 255) 
00165                 throw(DWFException);
00166         
00170         virtual WT_Contrast_Color* Create_Contrast_Color( const WT_Contrast_Color& color  ) 
00171         throw(DWFException);
00172 
00173         //Compressed_Data_Moniker
00177         virtual WT_Compressed_Data_Moniker*             Create_Compressed_Data_Moniker(int format=REVISION_WHEN_ZLIB_COMPRESSION_IS_SUPPORTED) 
00178                 throw(DWFException);
00179 
00180         //WT_Contour_Set
00184         virtual WT_Contour_Set*         Create_Contour_Set() 
00185         throw(DWFException);
00189         virtual WT_Contour_Set*         Create_Contour_Set(WT_File &file, WT_Integer32 contours, WT_Integer32 const *counts, WT_Integer32 point_count, WT_Logical_Point const *points, WT_Boolean copy) 
00190                 throw(DWFException);
00194         virtual WT_Contour_Set*         Create_Contour_Set(WT_File &file, WT_Integer32 point_count, WT_Logical_Point const *points) 
00195                 throw(DWFException);
00199         virtual WT_Contour_Set*         Create_Contour_Set(WT_Contour_Set const &source, WT_Boolean copy=WD_True) 
00200                 throw(DWFException);
00201         
00202         //Dash_Pattern
00206         virtual WT_Dash_Pattern*        Create_Dash_Pattern() 
00207         throw(DWFException);
00211         virtual WT_Dash_Pattern*        Create_Dash_Pattern(WT_Integer32 id_number, WT_Integer16 length, WT_Integer16 const *pArray) 
00212                 throw(DWFException);
00216         virtual WT_Dash_Pattern*        Create_Dash_Pattern(WT_Dash_Pattern const &r) 
00217                 throw(DWFException);
00218         
00219         //Dash_Pattern_List
00223         virtual WT_Dash_Pattern_List*   Create_Dash_Pattern_List() 
00224         throw(DWFException);
00228         virtual WT_Dash_Pattern_List*   Create_Dash_Pattern_List(WT_Dash_Pattern* pPat) 
00229         throw(DWFException);
00230 
00231         //Delineate
00235         virtual WT_Delineate*           Create_Delineate() 
00236         throw(DWFException);
00240     virtual WT_Delineate*               Create_Delineate(WT_Boolean delineate_state) 
00241         throw(DWFException);
00245         virtual WT_Delineate*        Create_Delineate(WT_Delineate const& delineate) 
00246         throw(DWFException);
00247 
00248         //Ellipse
00252         virtual WT_Filled_Ellipse*      Create_Filled_Ellipse() 
00253         throw(DWFException);
00257         virtual WT_Filled_Ellipse*      Create_Filled_Ellipse(WT_Integer32 x, WT_Integer32 y, WT_Integer32 major, WT_Integer32 minor, WT_Unsigned_Integer16 start=0, WT_Unsigned_Integer16 end=0, WT_Unsigned_Integer16 tilt=0) 
00258                 throw(DWFException);
00262         virtual WT_Filled_Ellipse*      Create_Filled_Ellipse(WT_Logical_Point const &pos, WT_Integer32 major, WT_Integer32 minor, WT_Unsigned_Integer16 start=0, WT_Unsigned_Integer16 end=0, WT_Unsigned_Integer16 tilt=0) 
00263                 throw(DWFException);
00264         
00268     virtual WT_Filled_Ellipse*    Create_Filled_Ellipse(const WT_Filled_Ellipse& e)
00269         throw(DWFException);
00270 
00271         //Outline Ellipse
00275         virtual WT_Outline_Ellipse*                     Create_Outline_Ellipse() 
00276                 throw(DWFException);
00280         virtual WT_Outline_Ellipse*                     Create_Outline_Ellipse(WT_Integer32 x, WT_Integer32 y, WT_Integer32 major, WT_Integer32 minor, WT_Unsigned_Integer16 start=0, WT_Unsigned_Integer16 end=0, WT_Unsigned_Integer16 tilt=0) 
00281                 throw(DWFException);
00285         virtual WT_Outline_Ellipse*                     Create_Outline_Ellipse(WT_Logical_Point const &pos, WT_Integer32 major, WT_Integer32 minor, WT_Unsigned_Integer16 start=0, WT_Unsigned_Integer16 end=0, WT_Unsigned_Integer16 tilt=0) 
00286                 throw(DWFException);
00287 
00291      virtual WT_Outline_Ellipse*            Create_Outline_Ellipse(const WT_Outline_Ellipse& e) 
00292                  throw(DWFException);
00293 
00294         //Embed
00298         virtual WT_Embed*                                       Create_Embed() 
00299         throw(DWFException);
00303         virtual WT_Embed*                                       Create_Embed(WT_Embed const &embed) 
00304         throw(DWFException); 
00305 
00309     virtual WT_Embedded_Font*           Create_Embedded_Font()
00310         throw(DWFException);
00311 
00315     virtual WT_Embedded_Font*           Create_Embedded_Font(
00316         int /*request_type*/,
00317         int /*privilege_type*/,
00318         int /*character_set_type*/,
00319         WT_Integer32 /*data_size*/,
00320         WT_Byte * /*data*/,
00321         WT_Integer32 /*font_type_face_name_length*/,
00322         WT_Byte * /*font_type_face_name_string*/,
00323         WT_Integer32 /*font_logfont_name_length*/,
00324         WT_Byte * /*font_logfont_name_string*/,
00325         WT_Boolean /*copy*/)
00326         throw(DWFException);
00327 
00328         //End of DWF
00332         virtual WT_End_Of_DWF*                          Create_End_Of_DWF() 
00333                 throw(DWFException);
00334 
00335         //FileTime
00340         virtual WT_FileTime*                            Create_FileTime() 
00341         throw(DWFException);
00346         virtual WT_FileTime*                            Create_FileTime(const WT_Unsigned_Integer32 & low_date_time, 
00347                                                                                                            const WT_Unsigned_Integer32 & high_date_time) 
00348                                                                                                            throw(DWFException);
00349 
00350         //Fill
00354         virtual WT_Fill*                                        Create_Fill() 
00355         throw(DWFException);
00359         virtual WT_Fill*                                        Create_Fill(WT_Boolean fill) 
00360         throw(DWFException);
00361 
00365         virtual WT_Fill*                                        Create_Fill(WT_Fill const& fill) 
00366         throw(DWFException);
00367 
00368         //Fill Pattern
00372         virtual WT_Fill_Pattern*                        Create_Fill_Pattern() 
00373         throw(DWFException);
00377         virtual WT_Fill_Pattern*                        Create_Fill_Pattern(WT_Fill_Pattern::WT_Pattern_ID n) 
00378                 throw(DWFException);
00379 
00383          virtual WT_Fill_Pattern*            Create_Fill_Pattern(WT_Fill_Pattern const& pattern) 
00384         throw(DWFException);
00385 
00386         //DWF header
00390         virtual WT_DWF_Header*                          Create_DWF_Header() 
00391         throw(DWFException);
00392 
00393         //Font
00397         virtual WT_Font*                                        Create_Font() 
00398         throw(DWFException);
00405         virtual WT_Font*                                        Create_Font(WT_String const & name, WT_Boolean bold, WT_Boolean italic, WT_Boolean underline, 
00406                                                                                                    WT_Byte charset, WT_Byte pitch, WT_Byte family, WT_Integer32 height, 
00407                                                                                                    WT_Unsigned_Integer16 rotation, WT_Unsigned_Integer16 width_scale, 
00408                                                                                                    WT_Unsigned_Integer16 spacing, WT_Unsigned_Integer16 oblique, 
00409                                                                                                    WT_Integer32 flags=0) 
00410                                                                                                    throw(DWFException);
00411         //Font
00415         virtual WT_Font*                    Create_Font(WT_Font const& font)
00416                 throw(DWFException);
00417 
00418         //Font Extension                                                                                           
00422         virtual WT_Font_Extension*                      Create_Font_Extension() 
00423         throw(DWFException);
00427         virtual WT_Font_Extension*                      Create_Font_Extension(WT_String const & logfont_name, WT_String const & cannonical_name) 
00428                 throw(DWFException);
00429         
00430         //Font Options
00434         virtual WT_Font_Option_Charset*         Create_Font_Option_Charset() 
00435                 throw(DWFException);
00439         virtual WT_Font_Option_Charset*         Create_Font_Option_Charset(WT_Byte charset) 
00440                 throw(DWFException);
00444         virtual WT_Font_Option_Family*          Create_Font_Option_Family() 
00445         throw(DWFException);
00449         virtual WT_Font_Option_Family*          Create_Font_Option_Family(WT_Byte family) 
00450         throw(DWFException);
00454         virtual WT_Font_Option_Flags*           Create_Font_Option_Flags() 
00455         throw(DWFException);
00459         virtual WT_Font_Option_Flags*           Create_Font_Option_Flags(WT_Integer32 flags) 
00460         throw(DWFException);
00464         virtual WT_Font_Option_Font_Name*       Create_Font_Option_Font_Name() 
00465         throw(DWFException);
00469         virtual WT_Font_Option_Font_Name*       Create_Font_Option_Font_Name(WT_String const & name) 
00470         throw(DWFException);
00474         virtual WT_Font_Option_Height*          Create_Font_Option_Height() 
00475         throw(DWFException);
00479         virtual WT_Font_Option_Height*          Create_Font_Option_Height(WT_Integer32 height) 
00480         throw(DWFException);
00484         virtual WT_Font_Option_Oblique*         Create_Font_Option_Oblique() 
00485         throw(DWFException);
00489         virtual WT_Font_Option_Oblique*         Create_Font_Option_Oblique(WT_Unsigned_Integer16 oblique) 
00490                 throw(DWFException);
00494         virtual WT_Font_Option_Pitch*           Create_Font_Option_Pitch() 
00495         throw(DWFException);    
00499         virtual WT_Font_Option_Pitch*           Create_Font_Option_Pitch(WT_Byte pitch) 
00500         throw(DWFException);
00504         virtual WT_Font_Option_Rotation*        Create_Font_Option_Rotation() 
00505         throw(DWFException);
00509         virtual WT_Font_Option_Rotation*        Create_Font_Option_Rotation(WT_Unsigned_Integer16 rotation) 
00510         throw(DWFException);
00514         virtual WT_Font_Option_Spacing*         Create_Font_Option_Spacing() 
00515         throw(DWFException);
00519         virtual WT_Font_Option_Spacing*         Create_Font_Option_Spacing(WT_Unsigned_Integer16 spacing) 
00520         throw(DWFException);
00525         virtual WT_Font_Option_Style*           Create_Font_Option_Style(WT_Boolean bold=WD_False, WT_Boolean italic=WD_False, 
00526                                                                                 WT_Boolean underlined=WD_False) 
00527         throw(DWFException);
00531         virtual WT_Font_Option_Width_Scale*     Create_Font_Option_Width_Scale() 
00532         throw(DWFException);
00536         virtual WT_Font_Option_Width_Scale* Create_Font_Option_Width_Scale(WT_Unsigned_Integer16 width_scale) 
00537         throw(DWFException);
00538 
00539         //Gouraud Polyline
00543         virtual WT_Gouraud_Polyline*            Create_Gouraud_Polyline() 
00544         throw(DWFException);
00549         virtual WT_Gouraud_Polyline*            Create_Gouraud_Polyline(int count, WT_Logical_Point const *points, 
00550                                                                                                                           WT_RGBA32 const *colors, WT_Boolean copy) 
00551                                                                                                                           throw(DWFException);  
00555          virtual WT_Gouraud_Polyline*           Create_Gouraud_Polyline(WT_Gouraud_Polyline const& pline)
00556         throw(DWFException);
00557 
00558         //Gouraud Polytriangle
00562         virtual WT_Gouraud_Polytriangle*        Create_Gouraud_Polytriangle() 
00563         throw(DWFException);
00568         virtual WT_Gouraud_Polytriangle*        Create_Gouraud_Polytriangle(int count, WT_Logical_Point const *points, 
00569                                                                                                                                   WT_RGBA32 const *colors, WT_Boolean copy) 
00570                                                                                                                                   throw(DWFException);
00571         
00575         virtual WT_Gouraud_Polytriangle*                Create_Gouraud_Polytriangle(WT_Gouraud_Polytriangle const& /*polytri*/)
00576         throw(DWFException);
00577 
00578         //Image
00582         virtual WT_Image*                                       Create_Image() 
00583         throw(DWFException);
00587         virtual WT_Image*                                       Create_Image(int image_type) 
00588         throw(DWFException);
00597         virtual WT_Image*                                       Create_Image(WT_Unsigned_Integer16 rows, 
00598                                                                                                          WT_Unsigned_Integer16 columns, 
00599                                                                                                          WT_Image::WT_Image_Format format, WT_Integer32 identifier, 
00600                                                      WT_Color_Map const *color_map, WT_Integer32 data_size, 
00601                                                                                                          WT_Byte *data, WT_Logical_Point const &min_corner, 
00602                                                                                                          WT_Logical_Point const &max_corner, WT_Boolean copy,
00603                                                      WT_Integer32 dpi=-1) 
00604                                                                                                          throw(DWFException);
00605         
00606         
00607         //Layer
00611         virtual WT_Layer*                                       Create_Layer() 
00612         throw(DWFException);
00616         virtual WT_Layer*                                       Create_Layer(WT_File &file, WT_Integer32 layer_num, char const *layer_name=WD_Null) 
00617                 throw(DWFException);
00621         virtual WT_Layer*                                       Create_Layer(WT_File &file, WT_Integer32 layer_num, WT_Unsigned_Integer16 const *layer_name) 
00622                 throw(DWFException);
00626         virtual WT_Layer*                                       Create_Layer(WT_Layer const &layer) 
00627                 throw(DWFException);
00628         
00629         //Line Pattern
00633         virtual WT_Line_Pattern*                        Create_Line_Pattern() 
00634         throw(DWFException);
00638         virtual WT_Line_Pattern*                        Create_Line_Pattern(WT_Line_Pattern::WT_Pattern_ID id) 
00639                 throw(DWFException);
00640 
00644         virtual WT_Line_Pattern*            Create_Line_Pattern(WT_Line_Pattern const& pat) 
00645         throw(DWFException);
00646 
00647         //Line Style    
00651         virtual WT_Line_Style*                          Create_Line_Style() 
00652                 throw(DWFException);
00653 
00657     virtual WT_Line_Style*                Create_Line_Style(WT_Line_Style const & /*style*/) 
00658         throw(DWFException);
00659 
00660         //Line Weight
00664         virtual WT_Line_Weight*                         Create_Line_Weight() 
00665                 throw(DWFException);
00669         virtual WT_Line_Weight*                         Create_Line_Weight(WT_Integer32 weight) 
00670                 throw(DWFException);
00671 
00675     virtual WT_Line_Weight*             Create_Line_Weight(WT_Line_Weight const & /*weight*/) 
00676         throw(DWFException);
00677 
00678         //WT_Macro_Definition
00682     virtual WT_Macro_Definition*                Create_Macro_Definition() 
00683                 throw(DWFException);
00687     virtual WT_Macro_Definition*                Create_Macro_Definition( WT_Unsigned_Integer16 index,WT_Integer32 scale_units = 1 ) 
00688                 throw(DWFException);
00689 
00693     virtual WT_Macro_Draw*                              Create_Macro_Draw() 
00694         throw(DWFException);
00698     virtual WT_Macro_Draw*                              Create_Macro_Draw(int count, WT_Logical_Point const * points,WT_Boolean copy ) 
00699                 throw(DWFException); 
00700 
00704         virtual WT_Macro_Draw*                          Create_Macro_Draw(WT_Macro_Draw const& /*draw*/ )
00705         throw(DWFException);
00706         //Macro_Index
00710     virtual WT_Macro_Index*                             Create_Macro_Index() 
00711                 throw(DWFException);
00715     virtual WT_Macro_Index*                             Create_Macro_Index(WT_Integer32 macro) 
00716                 throw(DWFException);
00720          virtual WT_Macro_Index*                Create_Macro_Index(WT_Macro_Index const& /*index*/) 
00721         throw(DWFException);
00722         //Macro_Scale
00726         virtual WT_Macro_Scale*                         Create_Macro_Scale() 
00727                 throw(DWFException);
00731     virtual WT_Macro_Scale*                             Create_Macro_Scale(WT_Integer32 macro_scale) 
00732                 throw(DWFException);
00733 
00737          virtual WT_Macro_Scale*                Create_Macro_Scale(WT_Macro_Scale const& /*scale*/) 
00738         throw(DWFException);
00739 
00740         //Merge_Control
00744         virtual WT_Merge_Control*                       Create_Merge_Control() 
00745                 throw(DWFException);
00749         virtual WT_Merge_Control*                       Create_Merge_Control(WT_Merge_Control::WT_Merge_Format merge) 
00750                 throw(DWFException);
00751 
00752         //Merge_Control
00756         virtual WT_Merge_Control*            Create_Merge_Control(WT_Merge_Control const& merge_control) 
00757         throw(DWFException);
00758 
00759         //Named_View_List
00763         virtual WT_Named_View_List*                             Create_Named_View_List(void) 
00764                 throw(DWFException);
00768         virtual WT_Named_View_List*                             Create_Named_View_List(WT_Named_View_List const &named_view_list) 
00769                 throw(DWFException);
00770 
00771         //Named_View
00775         virtual WT_Named_View*                          Create_Named_View(void) 
00776                 throw(DWFException);
00780         virtual WT_Named_View*                          Create_Named_View(WT_Named_View const &named_view) 
00781                 throw(DWFException);
00785         virtual WT_Named_View*                          Create_Named_View(WT_Logical_Box const &view, const char *name=WD_Null) 
00786                 throw(DWFException);
00790         virtual WT_Named_View*                          Create_Named_View(WT_Logical_Box const &view, WT_Unsigned_Integer16 const *name) 
00791                 throw(DWFException);
00792 
00793         //Object_Node
00797         virtual WT_Object_Node*                         Create_Object_Node() 
00798         throw(DWFException);
00803         virtual WT_Object_Node*                         Create_Object_Node(WT_File &file, WT_Integer32 object_node_num, 
00804                                                                                                                   char const *object_node_name=WD_Null) 
00805                                                                                                                   throw(DWFException);
00810         virtual WT_Object_Node*                         Create_Object_Node(WT_File &file, WT_Integer32 object_node_num, 
00811                                                                                                                  WT_Unsigned_Integer16 const *object_node_name) 
00812                                                                                                                  throw(DWFException);
00816         virtual WT_Object_Node*                         Create_Object_Node(WT_Object_Node const &object_node) 
00817                 throw(DWFException);
00818 
00819         //WT_Object_Stream
00823     virtual WT_Object_Stream*                   Create_Object_Stream() 
00824         throw(DWFException);
00825 
00826         //WT_Object_Stream
00830     virtual WT_Object_Stream*            Create_Object_Stream(WT_Object_Stream const& object_stream) 
00831         throw(DWFException);
00832 
00833         //WT_Orientation
00838         virtual WT_Orientation*                         Create_Orientation() 
00839         throw(DWFException);
00840         
00841         //Overpost
00845     virtual WT_Overpost*                                Create_Overpost() 
00846         throw(DWFException);
00850         virtual WT_Overpost*                            Create_Overpost( WT_Overpost::WT_AcceptMode acceptMode,WT_Boolean renderEntities,WT_Boolean addExtents) 
00851                 throw(DWFException);
00852         
00853         //Pen_Pattern
00857         virtual WT_Pen_Pattern*                         Create_Pen_Pattern() 
00858         throw(DWFException);
00862         virtual WT_Pen_Pattern*                         Create_Pen_Pattern(WT_Pen_Pattern::WT_Pattern_ID pattern_id) 
00863         throw(DWFException);
00870         virtual WT_Pen_Pattern*                         Create_Pen_Pattern(WT_Pen_Pattern::WT_Pattern_ID pattern_id, 
00871                                                                                                                   WT_Unsigned_Integer32 screening_percentage, 
00872                                                                                                                   WT_Boolean colormap_flag, WT_Color_Map const *color_map, 
00873                                                                                                                   WT_Boolean copy) 
00874         throw(DWFException);
00878         virtual WT_Pen_Pattern*                         Create_Pen_Pattern(WT_Pen_Pattern const &pattern) 
00879         throw(DWFException);
00880 
00881         //PenPat_Options
00885         virtual WT_PenPat_Options*                      Create_PenPat_Options() 
00886         throw(DWFException);
00893         virtual WT_PenPat_Options*                      Create_PenPat_Options(WT_Boolean const scale_pen_width, 
00894                                                                                                                                  WT_Boolean const map_colors_to_gray_scale, 
00895                                                                                                                                  WT_Boolean const use_alternate_fill_rule, 
00896                                                                                                                                  WT_Boolean const use_error_diffusion_for_DWF_Rasters) 
00897                                                                                                                                  throw(DWFException);
00901         virtual WT_PenPat_Options*                      Create_PenPat_Options(WT_PenPat_Options const &other) 
00902         throw(DWFException);
00903 
00907         virtual WT_Plot_Optimized*                      Create_Plot_Optimized() 
00908         throw(DWFException);
00912         virtual WT_Plot_Optimized*                      Create_Plot_Optimized(WT_Boolean plot_optimized) 
00913         throw(DWFException);
00917         virtual WT_Plot_Optimized*                      Create_Plot_Optimized(WT_Plot_Optimized const& plot_optimized) 
00918         throw(DWFException);
00919 
00920         //PNG_Group4_Image
00924         virtual WT_PNG_Group4_Image*            Create_PNG_Group4_Image() 
00925         throw(DWFException);
00929         virtual WT_PNG_Group4_Image*            Create_PNG_Group4_Image(int image_type) 
00930         throw(DWFException);
00942         virtual WT_PNG_Group4_Image*            Create_PNG_Group4_Image(WT_Unsigned_Integer16 rows, 
00943                                                                                                                           WT_Unsigned_Integer16 columns, 
00944                                                                                                                           WT_PNG_Group4_Image::WT_PNG_Group4_Image_Format format, 
00945                                                                                                                           WT_Integer32 identifier, 
00946                                                               WT_Color_Map const *color_map, 
00947                                                                                                                           WT_Integer32 data_size, 
00948                                                                                                                           WT_Byte *data, 
00949                                                                                                                           WT_Logical_Point const &min_corner, 
00950                                                                                                                           WT_Logical_Point const &max_corner,   
00951                                                                                                                           WT_Boolean copy,
00952                                                               WT_Integer32 dpi=-1) 
00953         throw(DWFException);
00954 
00955         //Polygon
00959         virtual WT_Polygon*                                     Create_Polygon() 
00960         throw(DWFException);
00964         virtual WT_Polygon*                                     Create_Polygon(int count, WT_Logical_Point const *points, WT_Boolean copy) 
00965         throw(DWFException);
00969         virtual WT_Polygon*                                     Create_Polygon(const WT_Polygon &pline) 
00970         throw(DWFException);
00971 
00972         //Polyline
00976         virtual WT_Polyline*    Create_Polyline() 
00977         throw(DWFException);
00985     virtual WT_Polyline*        Create_Polyline(
00986                                                                 int                         count, 
00987                                                                 WT_Logical_Point const *    points, 
00988                                                                 WT_Boolean                  copy 
00989                                                                 ) 
00990         throw(DWFException);
00994     virtual WT_Polyline*        Create_Polyline(const WT_Polyline & pline) 
00995         throw(DWFException);
00996 
00997     // Polymarker
01001     virtual WT_Polymarker* Create_Polymarker()
01002         throw(DWFException);
01003 
01007     virtual WT_Polymarker* Create_Polymarker(
01008         int                         count, 
01009         WT_Logical_Point const *    points, 
01010         WT_Boolean                  copy 
01011         )
01012         throw(DWFException);
01013 
01017         virtual WT_Polymarker* Create_Polymarker(WT_Polymarker const& marker) 
01018         throw(DWFException);
01019 
01020 
01021         //Polytriangle
01025         virtual WT_Polytriangle*                        Create_Polytriangle() 
01026         throw(DWFException);
01030         virtual WT_Polytriangle*                        Create_Polytriangle(int count, WT_Logical_Point const *points, WT_Boolean copy) 
01031                 throw(DWFException); 
01032 
01036         virtual WT_Polytriangle*            Create_Polytriangle(WT_Polytriangle const& polytriangle) 
01037         throw(DWFException);
01038         //Projection
01042         virtual WT_Projection*                          Create_Projection() 
01043         throw(DWFException);
01047         virtual WT_Projection*                          Create_Projection(const WT_Projection::WT_Projection_Type projection_type) 
01048                 throw(DWFException);
01049 
01053          virtual WT_Projection*                Create_Projection(WT_Projection const& projection) 
01054         throw(DWFException);
01055         //Text
01059         virtual WT_Text*                                        Create_Text() 
01060         throw(DWFException);
01064         virtual WT_Text*                                        Create_Text(WT_Text const &) 
01065         throw(DWFException);
01075         virtual WT_Text*                                        Create_Text(WT_Logical_Point const &position, 
01076                                                                                                         WT_String const &string, 
01077                                                                                                         WT_Logical_Point const *bbox, 
01078                                                                                                         WT_Unsigned_Integer16 overscore_count, 
01079                                                                                                         WT_Unsigned_Integer16 const *overscore_pos, 
01080                                                                                                         WT_Unsigned_Integer16 underscore_count, 
01081                                                                                                         WT_Unsigned_Integer16 const *underscore_pos) 
01082                                                                                                         throw(DWFException);
01086         virtual WT_Text*                                        Create_Text(WT_Logical_Point const &position, WT_String const &string) 
01087         throw(DWFException);
01088 
01089         //Text_Background
01093     virtual WT_Text_Background*                 Create_Text_Background() 
01094         throw(DWFException);
01098     virtual WT_Text_Background*                 Create_Text_Background(WT_Text_Background::eBackground background,WT_Integer32 offset) 
01099                 throw(DWFException);
01100 
01104         virtual WT_Text_Background*            Create_Text_Background(WT_Text_Background const& background)  
01105         throw(DWFException);
01106 
01107         //Text_HAlign
01111     virtual WT_Text_HAlign*                             Create_Text_HAlign() 
01112         throw(DWFException);
01116     virtual WT_Text_HAlign*                             Create_Text_HAlign(WT_Text_HAlign::WT_HAlign hAlign) 
01117         throw(DWFException);
01118 
01122         virtual WT_Text_HAlign*                Create_Text_HAlign(WT_Text_HAlign const& hAlign)  
01123         throw(DWFException);
01124         //Text_VAlign
01128     virtual WT_Text_VAlign*                             Create_Text_VAlign() 
01129         throw(DWFException);
01133     virtual WT_Text_VAlign*                             Create_Text_VAlign(WT_Text_VAlign::WT_VAlign vAlign) 
01134         throw(DWFException);
01135 
01139         virtual WT_Text_VAlign*                Create_Text_VAlign(WT_Text_VAlign const& vAlign) 
01140         throw(DWFException);
01141         //WT_Units
01145         virtual WT_Units*                                       Create_Units() 
01146         throw(DWFException);
01150         virtual WT_Units*                                       Create_Units(WT_Matrix const &xform, WT_String const & units) 
01151         throw(DWFException);
01152 
01156         virtual WT_Units*                                       Create_Units(WT_Units const& u)
01157         throw(DWFException);
01158 
01159         //WT_URL
01163         virtual WT_URL*                                         Create_URL() 
01164         throw(DWFException);
01168         virtual WT_URL*                                         Create_URL(WT_URL_Item &item) 
01169         throw(DWFException);
01173         virtual WT_URL*                                         Create_URL(WT_Integer32 index, WT_Unsigned_Integer16 const *address, WT_Unsigned_Integer16 const *friendly_name) 
01174                 throw(DWFException);
01175 
01179          virtual WT_URL*                        Create_URL(WT_URL const& url) 
01180         throw(DWFException);
01181         //URL_List
01185         virtual WT_URL_List*                            Create_URL_List() 
01186         throw(DWFException);
01190         virtual WT_URL_List*                            Create_URL_List(WT_URL_List const &list) 
01191         throw(DWFException);
01192         
01193         //WT_User_Data
01197         virtual WT_UserData*                            Create_UserData() 
01198         throw(DWFException); 
01202         virtual WT_UserData*                            Create_UserData(WT_String const &data_description) 
01203         throw(DWFException);
01208         virtual WT_UserData*                            Create_UserData(WT_String const &data_description, WT_Integer32 data_size, 
01209                                                                                                                 WT_Byte *data, WT_Boolean copy) 
01210         throw(DWFException);
01211 
01212         //User_Fill_Pattern
01216     virtual WT_User_Fill_Pattern*               Create_User_Fill_Pattern() 
01217         throw(DWFException);
01221     virtual WT_User_Fill_Pattern*               Create_User_Fill_Pattern(WT_Integer16 pattern_num) 
01222         throw(DWFException);
01227     virtual WT_User_Fill_Pattern*               Create_User_Fill_Pattern(WT_Integer16 pattern_num, WT_Unsigned_Integer16 rows,WT_Unsigned_Integer16 columns,
01228                                                                                                                           WT_Unsigned_Integer32 data_size,WT_Byte const *data) 
01229                                                                                                                           throw(DWFException);
01233         virtual WT_User_Fill_Pattern*           Create_User_Fill_Pattern(WT_Integer16 pattern_num,WT_User_Fill_Pattern::Fill_Pattern * fill_pattern) 
01234                 throw(DWFException); 
01238     virtual     WT_User_Fill_Pattern*           Create_User_Fill_Pattern(WT_User_Fill_Pattern const &) 
01239                 throw(DWFException);
01240 
01244     virtual WT_User_Hatch_Pattern*              Create_User_Hatch_Pattern() 
01245                 throw(DWFException);
01249     virtual WT_User_Hatch_Pattern*              Create_User_Hatch_Pattern(WT_Integer16 hashpatnum) 
01250         throw(DWFException);
01254     virtual WT_User_Hatch_Pattern*              Create_User_Hatch_Pattern(WT_Integer16 hashpatnum,WT_Unsigned_Integer16 xsize,WT_Unsigned_Integer16 ysize) 
01255                 throw(DWFException);
01259     virtual WT_User_Hatch_Pattern*              Create_User_Hatch_Pattern(WT_User_Hatch_Pattern const & pattern) 
01260         throw(DWFException);
01261 
01262         //WT_View
01266         virtual WT_View*                                        Create_View() 
01267         throw(DWFException);
01271         virtual WT_View*                                        Create_View(WT_Logical_Box view) 
01272         throw(DWFException);
01276         virtual WT_View*                                        Create_View(char *name) 
01277         throw(DWFException);
01281         virtual WT_View*                                        Create_View(WT_View const &view) 
01282         throw(DWFException);
01283 
01284         //Viewport      
01288         virtual WT_Viewport*                            Create_Viewport() 
01289         throw(DWFException);
01293         virtual WT_Viewport*                            Create_Viewport(WT_Viewport const &vport) 
01294         throw(DWFException);
01300         virtual WT_Viewport*                            Create_Viewport(WT_File &file, char const *name, 
01301                                                                                                                 int num_points, WT_Logical_Point const *points, 
01302                                                                                                                 WT_Boolean copy=WD_True) 
01303                                                                                                                 throw(DWFException);
01309         virtual WT_Viewport*                            Create_Viewport(WT_File &file, WT_Unsigned_Integer16 const *name, 
01310                                                                                                                 int num_points, WT_Logical_Point const *points, 
01311                                                                                                                 WT_Boolean copy=WD_True) 
01312         throw(DWFException);
01317         virtual WT_Viewport*                            Create_Viewport(WT_File &file, WT_String const &name, 
01318                                                                                                                 WT_Contour_Set const &boundary, WT_Boolean copy=WD_True) 
01319                                                                                                                 throw(DWFException);
01320         //Visibility
01324         virtual WT_Visibility*                          Create_Visibility() 
01325         throw(DWFException);
01329         virtual WT_Visibility*                          Create_Visibility(WT_Boolean visible) 
01330         throw(DWFException);
01331 
01335         virtual WT_Visibility*                Create_Visibility(WT_Visibility const& visibility) 
01336         throw(DWFException);
01337 
01341     virtual WT_Unknown*                   Create_Unknown() 
01342         throw(DWFException);
01343 
01344 };
01345 
01346 #endif //WHIP_CLASSFACTORY_HEADER

Generated on Tue Jan 6 22:41:13 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5