Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.3 KiB

  1. #ifndef LSQLINE_DEFINED
  2. #define LSQLINE_DEFINED
  3. #include "lsdefs.h"
  4. #include "plsline.h"
  5. #include "plsqsinf.h"
  6. #include "plscell.h"
  7. #include "pcelldet.h"
  8. #include "gprop.h"
  9. LSERR WINAPI LsQueryLineCpPpoint(
  10. PLSLINE, /* IN: pointer to line info -- opaque to client */
  11. LSCP, /* IN: cpQuery */
  12. DWORD, /* IN: nDepthQueryMax */
  13. PLSQSUBINFO,/* OUT: array[nDepthQueryMax] of LSQSUBINFO */
  14. DWORD*, /* OUT: nActualDepth */
  15. PLSTEXTCELL);/* OUT: Text cell info */
  16. LSERR WINAPI LsQueryLinePointPcp(
  17. PLSLINE, /* IN: pointer to line -- opaque to client */
  18. PCPOINTUV, /* IN: query point (uQuery,vQuery) (line text flow) */
  19. DWORD, /* IN: nDepthQueryMax */
  20. PLSQSUBINFO,/* OUT: array[nDepthQueryMax] of LSQSUBINFO */
  21. DWORD*, /* OUT: nActualDepth */
  22. PLSTEXTCELL);/* OUT: Text cell info */
  23. LSERR WINAPI LsQueryTextCellDetails(
  24. PLSLINE, /* IN: pointer to line -- opaque to client */
  25. PCELLDETAILS,/* IN: query point (uQuery,vQuery) (line text flow) */
  26. LSCP, /* IN: cpStartCell */
  27. DWORD, /* IN: nCharsInContext */
  28. DWORD, /* IN: nGlyphsInContext */
  29. WCHAR*, /* OUT: pointer array[nCharsInContext] of char codes */
  30. PGINDEX, /* OUT: pointer array[nGlyphsInContext] of glyph indices*/
  31. long*, /* OUT: pointer array[nGlyphsInContext] of glyph widths */
  32. PGOFFSET, /* OUT: pointer array[nGlyphsInContext] of glyph offsets*/
  33. PGPROP); /* OUT: pointer array[nGlyphsInContext] of glyph handles*/
  34. /*
  35. * Query point and output point are in the coordinate system of the line.
  36. * Text flow is the text flow of the line, zero point is at the starting point of the line.
  37. */
  38. LSERR WINAPI LsQueryLineDup(PLSLINE, /* IN: pointer to line -- opaque to client */
  39. long*, /* OUT: upStartAutonumberingText */
  40. long*, /* OUT: upLimAutonumberingText */
  41. long*, /* OUT: upStartMainText */
  42. long*, /* OUT: upStartTrailing */
  43. long*); /* OUT: upLimLine */
  44. LSERR WINAPI LsQueryFLineEmpty(
  45. PLSLINE, /* IN: pointer to line -- opaque to client */
  46. BOOL*); /* OUT: Is line empty? */
  47. #endif /* !LSQLINE_DEFINED */