SAP CL_GUI_ECL_2DVIEWER OO Class - Engineering Client 2D Viewer









CL_GUI_ECL_2DVIEWER is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_GUI_ECL_2DVIEWER including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events

Inheritance

This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_GUI_ECL_2DVIEWER is CL_GUI_ECL_PRIMARYVIEWER

Method list of CL_GUI_ECL_2DVIEWER SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
CONSTRUCTORConstructorPublic
CALL METHOD cl_gui_ecl_2dviewer=>CONSTRUCTOR...more details

CREATE_TOOLBARCreates a Toolbar in the ControlPublic
CALL METHOD cl_gui_ecl_2dviewer=>CREATE_TOOLBAR...more details

CURRENT_PAGEReturns the Page Number of the Current PagePublic
CALL METHOD cl_gui_ecl_2dviewer=>CURRENT_PAGE...more details

FIRST_PAGEDisplays the First Page of a Multiple-Page FilePublic
CALL METHOD cl_gui_ecl_2dviewer=>FIRST_PAGE...more details

GET_2DCOMPARE_SECONDARYReturns a 2D Compare ObjectPublic
CALL METHOD cl_gui_ecl_2dviewer=>GET_2DCOMPARE_SECONDARY...more details

GET_ALL_REG_VALUESInternal in Class! Determines all Registry Keys of ViewerProtected
CALL METHOD cl_gui_ecl_2dviewer=>GET_ALL_REG_VALUES...more details

GET_CURRENT_FILEReturns the URL of the Loaded FilePublic
CALL METHOD cl_gui_ecl_2dviewer=>GET_CURRENT_FILE...more details

GET_NUMBER_OF_PAGESReturns the Number of Pages of a DocumentPublic
CALL METHOD cl_gui_ecl_2dviewer=>GET_NUMBER_OF_PAGES...more details

GET_VIEWERTYPEPrivate
CALL METHOD cl_gui_ecl_2dviewer=>GET_VIEWERTYPE...more details

LAST_PAGEDisplays the Last Page of a Multiple-Page FilePublic
CALL METHOD cl_gui_ecl_2dviewer=>LAST_PAGE...more details

MIRROR_HORIZONTALMirrors a 2D Picture HorizontallyPublic
CALL METHOD cl_gui_ecl_2dviewer=>MIRROR_HORIZONTAL...more details

MIRROR_VERTICALMirrors a 2D Picture VerticallyPublic
CALL METHOD cl_gui_ecl_2dviewer=>MIRROR_VERTICAL...more details

NEXT_PAGEDisplays the Next Page of a Multiple-Page FilePublic
CALL METHOD cl_gui_ecl_2dviewer=>NEXT_PAGE...more details

PASS_EVENTInternal: Passes Events from the Local ClassesPublic
CALL METHOD cl_gui_ecl_2dviewer=>PASS_EVENT...more details

PREVIOUS_PAGEDisplays the Previous Page of a Multiple-Page FilePublic
CALL METHOD cl_gui_ecl_2dviewer=>PREVIOUS_PAGE...more details

REGISTER_TOOLBAR_EVENTSClass-Specific! Registers the Toolbar EventsProtected
CALL METHOD cl_gui_ecl_2dviewer=>REGISTER_TOOLBAR_EVENTS...more details

ROTATE_CLOCKWISERotates the 2D Picture ClockwisePublic
CALL METHOD cl_gui_ecl_2dviewer=>ROTATE_CLOCKWISE...more details

ROTATE_COUNTERCLOCKWISERotates the 2D Picture AnticlockwisePublic
CALL METHOD cl_gui_ecl_2dviewer=>ROTATE_COUNTERCLOCKWISE...more details

ROTATE_PDFPrivate
CALL METHOD cl_gui_ecl_2dviewer=>ROTATE_PDF...more details

SET_CONTEXTMENU_MODESets the Context Menu ModePublic
CALL METHOD cl_gui_ecl_2dviewer=>SET_CONTEXTMENU_MODE...more details

SET_DND_POLICYDefines Control Behaviour During Drop EventPublic
CALL METHOD cl_gui_ecl_2dviewer=>SET_DND_POLICY...more details

SET_DOC_META_DATAPass Meta Data of Document Currently LoadedPublic
CALL METHOD cl_gui_ecl_2dviewer=>SET_DOC_META_DATA...more details

SET_FOREGROUNDCOLORSets the Foreground ColorPublic
CALL METHOD cl_gui_ecl_2dviewer=>SET_FOREGROUNDCOLOR...more details

SET_GREYSCALE_COLORDocument Colors Are Grey-ScaledPublic
CALL METHOD cl_gui_ecl_2dviewer=>SET_GREYSCALE_COLOR...more details

SET_INVERSE_COLORSets 2D Picture to Inverse ColorsPublic
CALL METHOD cl_gui_ecl_2dviewer=>SET_INVERSE_COLOR...more details

SET_JAVA_VIEWER_SETTINGSDefine User Settings (explicitly for Platin)Public
CALL METHOD cl_gui_ecl_2dviewer=>SET_JAVA_VIEWER_SETTINGS...more details

SET_MONO_COLORSets 2D Picture to MonochromePublic
CALL METHOD cl_gui_ecl_2dviewer=>SET_MONO_COLOR...more details

SET_PAGESets the Page in a Multiple-Page DocumentPublic
CALL METHOD cl_gui_ecl_2dviewer=>SET_PAGE...more details

SET_VIEWERFOCUSPrivate
CALL METHOD cl_gui_ecl_2dviewer=>SET_VIEWERFOCUS...more details

SHOW_DOC_META_DATAVisualize Meta Data on DocumentPublic
CALL METHOD cl_gui_ecl_2dviewer=>SHOW_DOC_META_DATA...more details



CL_GUI_ECL_2DVIEWER attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
ACTUAL_META_DATAInstance AttributeMeta Data of Current DocumentLIKE
DOC_META_DATA
Public
ALL_REG_VALUESInstance AttributeAll Registry Entries for the ViewerLIKE
Protected
BMP_1ConstantSave: Bitmap, Monochrome3LIKE
I
Public
BMP_24ConstantSave: Bitmap, Color1LIKE
I
Public
BMP_8ConstantSave: Bitmap, Greyscale2LIKE
I
Public
DND_DO_NOTHINGConstantDND Policy: No Event Handling0LIKE
I
Public
DND_FIRE_EVENTConstantDND Policy: FileDroppedEvent is Triggered During Drop Action2LIKE
I
Public
DND_OPEN_FILEConstantDND Policy: Open the file dropped1LIKE
I
Public
EVENT_CALIBRATION_REQUESTConstantEvent: Annotation Manager Requests Calibration3LIKE
I
Public
EVENT_CLOSE_DIRTY_DOCConstantEvent: Unsaved Documents1LIKE
I
Public
EVENT_FILE_DROPPEDConstantEvent: File was dropped4LIKE
I
Public
EVENT_TEXT_REQUESTConstantEvent: Annotation Manager Requests Text2LIKE
I
Public
JPEG_24ConstantSave: JPEG, Color4LIKE
I
Public
LOCAL_EVENT_HANDLERInstance AttributeLocal Class for Event HandlingLIKE
LCL_EVENT_HANDLER
Private
MARKUP_TOOLInstance AttributeClass Instance for Redlining/Meta DataLIKE
CL_GUI_ECL_MARKUP
Public
MEASURE_TOOLInstance AttributeClass Instance for Measurement FunctionsLIKE
CL_GUI_ECL_MARKUP
Public
NO_PDF_REDLINEInstance AttributeLIKE
Private
TIFF_1ConstantSave: Tiff, Monochrome14LIKE
I
Public
TIFF_24ConstantSave: Tiff, Color12LIKE
I
Public
TIFF_8ConstantSave: Tiff, Greyscale13LIKE
I
Public
TOOLSACTIVEInstance AttributeTools Active in ToolbarLIKE
CHAR01
Public
TOOL_STAMPInstance Attribute'X' = Stamp Function ActivatedLIKE
CHAR01
Private
USER_DEFINED_BUTTONSInstance AttributeUser-Defined ButtonsLIKE
TTB_BUTTON
Protected


Events of Class CL_GUI_ECL_2DVIEWER

Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... ANNOTATION_CALIBRATION_REQUEST - Annotation Manager Requires a Calibration
MARKUP_ACTIVATED - Markup Secondary Activated
META_DATA_REQUEST - User Wants To Create New Stamp



CL_GUI_ECL_2DVIEWER types

REG_VALUE - Registry Entries for the Viewer

Links to Related Class(s)

CL_GUI_E...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!