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.

101 lines
3.6 KiB

  1. #ifndef LSDNTEXT_DEFINED
  2. #define LSDNTEXT_DEFINED
  3. /* Text to manager interface routines */
  4. #include "lsidefs.h"
  5. #include "plsdnode.h"
  6. #include "pobjdim.h"
  7. #include "plsrun.h"
  8. #include "stopres.h"
  9. LSERR LsdnSetSimpleWidth(
  10. PLSC, /* IN: Pointer to LS Context */
  11. PLSDNODE, /* IN: DNODE to be modified */
  12. long); /* IN: dur */
  13. LSERR LsdnModifySimpleWidth(
  14. PLSC, /* IN: Pointer to LS Context */
  15. PLSDNODE, /* IN: DNODE to be modified */
  16. long); /* IN: ddur */
  17. LSERR LsdnSetTextDup(PLSC, /* IN: Pointer to LS Context */
  18. PLSDNODE, /* IN: Pointer to the dnode */
  19. long); /* IN: dup to be set */
  20. LSERR LsdnModifyTextDup(PLSC, /* IN: Pointer to LS Context */
  21. PLSDNODE, /* IN: Pointer to the dnode */
  22. long); /* IN: ddup */
  23. LSERR LsdnGetObjDim(
  24. PLSC, /* IN: Pointer to LS Context */
  25. PLSDNODE, /* IN: plsdn -- DNODE */
  26. POBJDIM); /* OUT: dimensions of DNODE */
  27. LSERR LsdnFInChildList( /* Used to switch off hyphenation in child list */
  28. PLSC, /* IN: Pointer to LS Context */
  29. PLSDNODE, /* IN: Pointer to the dnode */
  30. BOOL*); /* OUT: fInChildList */
  31. LSERR LsdnResetWidthInPreviousDnodes( /* Used at SetBreak time for hyphen/nonreqhyphen cases */
  32. PLSC, /* IN: Pointer to LS Context */
  33. PLSDNODE, /* IN: Pointer to the dnode */
  34. long, /* IN: durChangePrev (don't change if 0) */
  35. long); /* IN: durChangePrevPrev (don't change if 0) */
  36. LSERR LsdnGetUrPenAtBeginningOfChunk( /* Used by SnapGrid */
  37. PLSC, /* IN: Pointer to LS Context */
  38. PLSDNODE, /* IN: Pointer to the first dnode in chunk */
  39. long*, /* OUT: purPen */
  40. long*); /* OUT: purColumnMax */
  41. LSERR LsdnResetDcpMerge(
  42. PLSC, /* IN: Pointer to LS Context */
  43. PLSDNODE, /* IN: Pointer to the first dnode in chunk */
  44. LSCP, /* IN: cpFirstNew */
  45. LSDCP); /* IN: dcpNew */
  46. LSERR LsdnResetDcp(
  47. PLSC, /* IN: Pointer to LS Context */
  48. PLSDNODE, /* IN: Pointer to the first dnode in chunk */
  49. LSDCP); /* IN: dcpNew */
  50. LSERR LsdnSetStopr(
  51. PLSC, /* IN: Pointer to LS Context */
  52. PLSDNODE, /* IN: Pointer to the dnode */
  53. STOPRES); /* IN: Stop result */
  54. LSERR LsdnSetHyphenated(PLSC); /* IN: Pointer to LS Context */
  55. LSERR LsdnGetBorderAfter(
  56. PLSC, /* IN: Pointer to LS Context */
  57. PLSDNODE, /* IN: Pointer to the first dnode in chunk */
  58. long*); /* OUT: dur of the border after this DNODE */
  59. LSERR LsdnGetCpFirst(
  60. PLSC, /* IN: Pointer to LS Context */
  61. PLSDNODE, /* IN: Pointer to the first dnode in chunk */
  62. LSCP*); /* OUT: cpFirst of this DNODE */
  63. LSERR LsdnGetPlsrun(
  64. PLSC, /* IN: Pointer to LS Context */
  65. PLSDNODE, /* IN: Pointer to the first dnode in chunk */
  66. PLSRUN*); /* OUT: plsrun of this DNODE */
  67. LSERR LsdnGetLeftIndentDur(
  68. PLSC, /* IN: Pointer to LS Context */
  69. long*); /* OUT: dur of the left margin */
  70. LSERR LsdnFCanBreakBeforeNextChunk(
  71. PLSC, /* IN: Pointer to LS Context */
  72. PLSDNODE, /* IN: Last DNODE of the current chunk */
  73. BOOL*); /* OUT: Can break before next chunk ? */
  74. LSERR LsdnFStoppedAfterChunk(
  75. PLSC, /* IN: Pointer to LS Context */
  76. PLSDNODE, /* IN: Last DNODE of the current chunk */
  77. BOOL*); /* OUT: Splat or Hidden Text, producing fmtrStopped after chunk? */
  78. #endif /* !LSDNTEXT_DEFINED */