aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-06-26 01:49:11 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-06-26 01:49:11 +0000
commitb08e1ec95a943e6625ef1ec59f8f7a88cce42386 (patch)
treea543cdbb523ec16a76c46cc310a9df18ce40021c /winsup/w32api/include
parentb06d4a0881758481b5a230eab6a780f2efa9f36b (diff)
downloadnewlib-b08e1ec95a943e6625ef1ec59f8f7a88cce42386.zip
newlib-b08e1ec95a943e6625ef1ec59f8f7a88cce42386.tar.gz
newlib-b08e1ec95a943e6625ef1ec59f8f7a88cce42386.tar.bz2
2003-06-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/richedit.h (PARAFORMAT2): Add definition. * include/richedit.h (PFA_*, PFE_*, PFM_*): Add some missing constants.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/richedit.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/winsup/w32api/include/richedit.h b/winsup/w32api/include/richedit.h
index b3a1c9f..7bc7898 100644
--- a/winsup/w32api/include/richedit.h
+++ b/winsup/w32api/include/richedit.h
@@ -61,10 +61,39 @@ extern "C" {
#define PFM_RIGHTINDENT 2
#define PFM_STARTINDENT 1
#define PFM_TABSTOPS 16
+#define PFM_BORDER 2048
+#define PFM_LINESPACING 256
+#define PFM_NUMBERINGSTART 32768
+#define PFM_NUMBERINGSTYLE 8192
+#define PFM_NUMBERINGTAB 16384
+#define PFM_SHADING 4096
+#define PFM_SPACEAFTER 128
+#define PFM_SPACEBEFORE 64
+#define PFM_STYLE 1024
+#define PFM_DONOTHYPHEN 4194304
+#define PFM_KEEP 131072
+#define PFM_KEEPNEXT 262144
+#define PFM_NOLINENUMBER 1048576
+#define PFM_NOWIDOWCONTROL 2097152
+#define PFM_PAGEBREAKBEFORE 524288
+#define PFM_RTLPARA 65536
+#define PFM_SIDEBYSIDE 8388608
+#define PFM_TABLE 1073741824
#define PFN_BULLET 1
+#define PFE_DONOTHYPHEN 64
+#define PFE_KEEP 2
+#define PFE_KEEPNEXT 4
+#define PFE_NOLINENUMBER 16
+#define PFE_NOWIDOWCONTROL 32
+#define PFE_PAGEBREAKBEFORE 8
+#define PFE_RTLPARA 1
+#define PFE_SIDEBYSIDE 128
+#define PFE_TABLE 16384
#define PFA_LEFT 1
#define PFA_RIGHT 2
#define PFA_CENTER 3
+#define PFA_JUSTIFY 4
+#define PFA_FULL_INTERWORD 4
#define SF_TEXT 1
#define SF_RTF 2
#define SF_RTFNOOBJS 3
@@ -385,6 +414,32 @@ typedef struct _paraformat {
SHORT cTabCount;
LONG rgxTabs[MAX_TAB_STOPS];
} PARAFORMAT;
+typedef struct _paraformat2 {
+ UINT cbSize;
+ DWORD dwMask;
+ WORD wNumbering;
+ WORD wEffects;
+ LONG dxStartIndent;
+ LONG dxRightIndent;
+ LONG dxOffset;
+ WORD wAlignment;
+ SHORT cTabCount;
+ LONG rgxTabs[MAX_TAB_STOPS];
+ LONG dySpaceBefore;
+ LONG dySpaceAfter;
+ LONG dyLineSpacing;
+ SHORT sStype;
+ BYTE bLineSpacingRule;
+ BYTE bOutlineLevel;
+ WORD wShadingWeight;
+ WORD wShadingStyle;
+ WORD wNumberingStart;
+ WORD wNumberingStyle;
+ WORD wNumberingTab;
+ WORD wBorderSpace;
+ WORD wBorderWidth;
+ WORD wBorders;
+} PARAFORMAT2;
typedef struct _selchange {
NMHDR nmhdr;
CHARRANGE chrg;