home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / lib / mariner / public / xploele.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.8 KB  |  58 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18. /* 
  19.    xploele.h --- an API for accessing LO_Element data.
  20.    Created: Chris Toshok <toshok@netscape.com>, 6-Nov-1997.
  21.  */
  22.  
  23.  
  24. #ifndef _xp_loele_h
  25. #define _xp_loele_h
  26.  
  27. #include "xp_mem.h"
  28. #include "xp_core.h"
  29. #include "ntypes.h"
  30. #include "lo_ele.h"
  31.  
  32. XP_BEGIN_PROTOS
  33.  
  34. void*        XPLO_GetElementFEData(LO_Element *element);
  35. void        XPLO_SetElementFEData(LO_Element *element, void* fe_data);
  36.  
  37. int16        XPLO_GetElementType(LO_Element *element);
  38. int32        XPLO_GetElementID(LO_Element *element);
  39. int16        XPLO_GetElementXOffset(LO_Element *element);
  40. void        XPLO_GetElementRect(LO_Element *element,
  41.                                 int32 *x,
  42.                                 int32 *y,
  43.                                 int32 *width,
  44.                                 int32 *height);
  45. int32        XPLO_GetElementLineHeight(LO_Element *element);
  46.  
  47. LO_Element* XPLO_GetPrevElement(LO_Element *element);
  48. LO_Element* XPLO_GetNextElement(LO_Element *element);
  49.  
  50. ED_Element* XPLO_GetEditElement(LO_Element *element);
  51. int32        XPLO_GetEditOffset(LO_Element *element);
  52.  
  53. LO_AnchorData*    XPLO_GetAnchorData(LO_Element *element);
  54.  
  55. XP_END_PROTOS
  56.  
  57. #endif /* _xp_loele_h */
  58.