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.

64 lines
2.4 KiB

  1. #ifndef LSTXTINI_DEFINED
  2. #define LSTXTINI_DEFINED
  3. #include "lsidefs.h"
  4. #include "lstxtcfg.h"
  5. #include "lsbrk.h"
  6. #include "lspairac.h"
  7. #include "lspract.h"
  8. #include "lsexpan.h"
  9. #include "pilsobj.h"
  10. #include "plnobj.h"
  11. #include "plscbk.h"
  12. #include "plsdocin.h"
  13. #include "tlpr.h"
  14. /* Standard methods */
  15. LSERR WINAPI CreateILSObjText(POLS, PCLSC, PCLSCBK, DWORD, PILSOBJ*);
  16. LSERR WINAPI DestroyILSObjText(PILSOBJ);
  17. LSERR WINAPI SetDocText(PILSOBJ, PCLSDOCINF);
  18. LSERR WINAPI CreateLNObjText(PCILSOBJ, PLNOBJ*);
  19. LSERR WINAPI DestroyLNObjText(PLNOBJ);
  20. /* Text-specific interface */
  21. LSERR SetTextConfig(PILSOBJ, /* IN: Text ILSOBJ */
  22. const LSTXTCFG*); /* IN: HLSC-specific text config */
  23. LSERR SetTextLineParams(PLNOBJ, /* IN: Text LNOBJ */
  24. const TLPR*); /* IN: text doc props */
  25. LSERR ModifyTextLineEnding(
  26. PLNOBJ, /* IN: Text LNOBJ */
  27. LSKEOP); /* IN: Kind of line ending */
  28. LSERR SetTextBreaking(
  29. PILSOBJ, /* IN: Text ILSOBJ */
  30. DWORD, /* IN: Number of breaking info units*/
  31. const LSBRK*, /* IN: Breaking info units array */
  32. DWORD, /* IN: Number of breaking classes */
  33. const BYTE*); /* IN: Breaking information(square):
  34. indexes in the LSEXPAN array */
  35. LSERR SetTextModWidthPairs(
  36. PILSOBJ, /* IN: Text ILSOBJ */
  37. DWORD, /* IN: Number of mod pairs info units*/
  38. const LSPAIRACT*, /* IN: Mod pairs info units array */
  39. DWORD, /* IN: Number of Mod Width classes */
  40. const BYTE*); /* IN: Mod width information:
  41. indexes in the LSPAIRACT array */
  42. LSERR SetTextCompression(
  43. PILSOBJ, /* IN: Text ILSOBJ */
  44. DWORD, /* IN: Number of compression priorities*/
  45. DWORD, /* IN: Number of compression info units*/
  46. const LSPRACT*, /* IN: Compession info units array */
  47. DWORD, /* IN: Number of Mod Width classes */
  48. const BYTE*); /* IN: Compression information:
  49. indexes in the LSPRACT array */
  50. LSERR SetTextExpansion(
  51. PILSOBJ, /* IN: Text ILSOBJ */
  52. DWORD, /* IN: Number of expansion info units*/
  53. const LSEXPAN*, /* IN: Expansion info units array */
  54. DWORD, /* IN: Number of Mod Width classes */
  55. const BYTE*); /* IN: Expansion information:
  56. indexes in the LSEXPAN array */
  57. #endif /* !LSTXTINI_DEFINED */