Changes between Version 8 and Version 9 of MapGuideRfc67


Ignore:
Timestamp:
Jun 19, 2009, 9:57:11 AM (15 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc67

    v8 v9  
    4949
    5050
     51==== !MgPrintLayoutServiceBase Class ====
     52
     53Here are the principal methods of !MgPrintLayoutServiceBase:
     54
     55'''!CreatePrintLayoutElement'''
     56
     57    Accepts a resource identifier of the print layout element Xml, and optionally the resource identifier of print layout Xml.  It returns the realization of a print layout element in the form of !MgPrintLayoutElementBase.  The actual realized object depends on the product and the type of print layout element.
     58
     59    For example, if a client wants to create a map viewport, he supplies the resource identifier of map viewport resource Xml. The method returns !MgMapViewportBase, which is derived from !MgPrintLayoutElementBase. In an application, the method returns !XxxMapMapViewport, which inherits from !MgMapViewportBase. In !MapGuide, the method might return an object of a derived class of !MgMapViewportBase similar to !XxxMapMapViewport.  The caller can use this object to manipulate state on the object.
     60
     61'''!CreatePrintLayout'''
     62
     63    Accepts a resource identifier of the print layout Xml and returns !MgPrintLayout.  It returns the realization of a print layout in the form of !MgPrintLayout. The actual realized object depends on the product. For example, it returns !XxxMapPrintLayout, which is inherited from !MgPrintLayout. In !MapGuide, it returns a similar derived object from !MgPrintLayout.
     64
     65'''!CreatePrintLayoutDefinition'''
     66
     67    Accepts a resource identifier of the print layout element definition.  It returns the realization of a print layout element definition in the form of !MgPrintLayoutDefinition. The actual realized object depends on the product and the print layout definition. The print layout element definition resources afford reuse of common traits of print layout elements. For example, one or more scale bars might use a common line style, fill color, etc. A print layout element definition affords such reuse. The method returns an !MgPrintLayoutElementBaseDefinition.  Each type of print layout element that has a need to share a number of traits among multiple instances of the type can define its own print layout definition and reference it from the print layout element resource.
     68
     69'''!GetPrintLayoutElement'''
     70
     71    Accepts the identifier of an already existing print layout element resource.  It returns the realized print layout element.  The actual realized object depends on the product and the type of print layout element.
     72
     73'''!GetPrintLayoutDefinition'''
     74
     75    Accepts the identifier of an already existing print layout definition resource.  It returns the realized print layout element definition.  The actual realized object depends on the product and the type of print layout definition.
     76
     77
    5178== Implications ==
    5279