Source code of Windows XP (NT5)
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.

41 lines
1.7 KiB

  1. #ifndef LSCHCON_DEFINED
  2. #define LSCHCON_DEFINED
  3. #include "lsidefs.h"
  4. #include "plsdnode.h"
  5. #include "locchnk.h"
  6. #include "plscbk.h"
  7. #include "plssubl.h"
  8. #include "plsiocon.h"
  9. typedef struct lschunkcontext
  10. {
  11. DWORD cchnkMax; /* current restriction on size of arrays */
  12. BOOL FChunkValid; /* because of some operations with glyphs (ligatures across dnodes )
  13. chunk can not be reused */
  14. BOOL FLocationValid; /* location has been calculated for this array */
  15. /* for chunk (not group chunk) until location is not valid locchnkCurrent.ppointUv
  16. contains witdth of border may be two before dnode */
  17. BOOL FGroupChunk; /* current chunk is group chunk */
  18. BOOL FBorderInside; /* there is a border inside chunk or group chunk */
  19. PLSDNODE* pplsdnChunk; /* dnodes in chunk */
  20. DWORD grpfTnti; /* summarized nominal to ideal flags of chunk */
  21. BOOL fNTIAppliedToLastChunk; /* nominal to ideal has been applied to the last chunk */
  22. LOCCHNK locchnkCurrent; /* current located chunk */
  23. DWORD* pcont; /* array that used for group chuncks */
  24. PLSCBK plscbk; /* call backs */
  25. POLS pols; /* clients information for callbacks */
  26. long urFirstChunk; /* ur of the first chunk : for optimization */
  27. long vrFirstChunk; /* vr of the first chunk : for optimization */
  28. DWORD cNonTextMax; /* current restriction on size of arrays of non text objects*/
  29. PLSDNODE* pplsdnNonText; /* array of non text objects */
  30. BOOL* pfNonTextExpandAfter; /* array of flags for non text objects */
  31. LONG* pdurOpenBorderBefore; /* array of widths of previous open border */
  32. LONG* pdurCloseBorderAfter; /* array of widths of next close border */
  33. PLSIOBJCONTEXT plsiobjcontext; /* object methods */
  34. } LSCHUNKCONTEXT;
  35. #endif /* LSCHCON_DEFINED */