summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/unomid.h19
-rw-r--r--sw/sdi/switems.sdi180
-rw-r--r--sw/sdi/swriter.sdi4
3 files changed, 37 insertions, 166 deletions
diff --git a/sw/inc/unomid.h b/sw/inc/unomid.h
index bd17f233ff..21039faeb1 100644
--- a/sw/inc/unomid.h
+++ b/sw/inc/unomid.h
@@ -2,9 +2,9 @@
*
* $RCSfile: unomid.h,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: mba $ $Date: 2002-06-17 14:57:55 $
+ * last change: $Author: mba $ $Date: 2002-07-08 08:04:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -164,4 +164,19 @@
#define MID_GRID_PRINT 6
#define MID_GRID_DISPLAY 7
+//SwEnvItem
+#define MID_ENV_ADDR_TEXT 1
+#define MID_ENV_SEND 2
+#define MID_SEND_TEXT 3
+#define MID_ENV_ADDR_FROM_LEFT 4
+#define MID_ENV_ADDR_FROM_TOP 5
+#define MID_ENV_SEND_FROM_LEFT 6
+#define MID_ENV_SEND_FROM_TOP 7
+#define MID_ENV_WIDTH 8
+#define MID_ENV_HEIGHT 9
+#define MID_ENV_ALIGN 10
+#define MID_ENV_PRINT_FROM_ABOVE 11
+#define MID_ENV_SHIFT_RIGHT 12
+#define MID_ENV_SHIFT_DOWN 13
+
#endif
diff --git a/sw/sdi/switems.sdi b/sw/sdi/switems.sdi
index 789a4eb765..0081faaf81 100644
--- a/sw/sdi/switems.sdi
+++ b/sw/sdi/switems.sdi
@@ -2,9 +2,9 @@
*
* $RCSfile: switems.sdi,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: os $ $Date: 2002-07-04 14:43:39 $
+ * last change: $Author: mba $ $Date: 2002-07-08 08:07:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -79,72 +79,6 @@ struct INetFmt
};
item INetFmt SwFmtINetFmt;
-/*
-enum SwHoriOrient
-{
- HORI_NONE,
- HORI_RIGHT,
- HORI_CENTER,
- HORI_LEFT,
- HORI_INSIDE,
- HORI_OUTSIDE,
- HORI_FULL
-};
-enum SwRelationOrient
-{
- FRAME,
- PRTAREA
-};
-
-enum SwVertOrient
-{
- VERT_NONE,
- VERT_TOP,
- VERT_CENTER,
- VERT_BOTTOM,
- VERT_LINE_TOP,
- VERT_LINE_CENTER,
- VERT_LINE_BOTTOM
-};
-
-enum SwSurround
-{
- SURROUND_BEGIN,
- SURROUND_THROUGHT,
- SURROUND_PARALLEL,
- SURROUND_DYNAMIC,
- SURROUND_LEFT,
- SURROUND_RIGHT,
- SURROUND_END
-};
-
-struct FmtHoriOrient
-{
- INT32 XPos MID_HORIORIENT_POSITION;
- SwHoriOrient HorzOrientation MID_HORIORIENT_ORIENT;
- SwRelationOrient HorzRelation MID_HORIORIENT_RELATION;
- BOOL PageToggle MID_HORIORIENT_PAGETOGGLE;
-};
-item FmtHoriOrient SwFmtHoriOrient;
-
-struct FmtVertOrient
-{
- INT32 YPos MID_VERTORIENT_POSITION;
- SwVertOrient VertOrientation MID_VERTORIENT_ORIENT;
- SwRelationOrient VertRelation MID_VERTORIENT_RELATION;
-};
-item FmtVertOrient SwFmtVertOrient;
-
-struct FmtFrmSize
-{
- INT32 Width MID_FRMSIZE_WIDTH;
- INT32 Height MID_FRMSIZE_HEIGHT;
- INT16 WidthPercent MID_FRMSIZE_REL_WIDTH;
- INT16 HeightPercent MID_FRMSIZE_REL_HEIGHT;
- INT16 SizeType MID_FRMSIZE_SIZE_TYPE;
-};
-item FmtFrmSize SwFmtFrmSize;
-*/
struct Drop
{
INT16 Lines MID_DROPCAP_LINES;
@@ -155,99 +89,21 @@ struct Drop
};
item Drop SwFmtDrop;
-/*
-struct SwDocDisplay
-{
- BOOL ParagraphEnd MID_1;
- BOOL Tab MID_2;
- BOOL Space MID_3;
- BOOL NonbreakingSpace MID_4;
- BOOL SoftHyphen MID_5;
- BOOL HiddenText MID_6;
- BOOL ManualBreak MID_7;
- BOOL IndexEntry MID_8;
- BOOL FootnoteBackground MID_9;
- BOOL Field MID_A;
- BOOL Table MID_B;
- BOOL Graphic MID_C;
- BOOL Drawing MID_D;
- BOOL FieldName MID_E;
- BOOL Notes MID_F;
- BOOL ShowHiddenPara MID_10;
- sal_Int32 IndexBackGroundColor MID_11;
-}
-item SwDocDisplay SwDocDisplayItem;
-
-struct SwElem
-{
- BOOL HorzScrollbar MID_1;
- BOOL VertScrollbar MID_2;
- BOOL HorzRuler MID_3;
- BOOL VertRuler MID_4;
- BOOL TableBounds MID_5;
- BOOL Crosshair MID_6;
- BOOL Bounds MID_7;
- BOOL StatusLine MID_8;
- BOOL SolidHandles MID_9;
- BOOL SmoothScroll MID_A;
-}
-item SwElem SwElemItem;
-
-struct SwPrintOpt
-{
- BOOL PrintGraphic MID_1;
- BOOL PrintTable MID_2;
- BOOL PrintDrawing MID_3;
- BOOL PrintLeftPage MID_4;
- BOOL PrintRightPage MID_5;
- BOOL PrintControl MID_6;
- BOOL PrintReverse MID_7;
- BOOL PaperFromSetup MID_8;
- String FaxName MID_9;
- UINT16 PrintAnnotations MID_A;
- BOOL PrintProspect MID_B;
- BOOL PrintBackground MID_C;
- BOOL PrintBlackFont MID_D;
-
-}
-item SwPrintOpt SwAddPrinterItem;
-
-struct SwPageFtnInfo
-{
-
- INT32 FtnHeight MID_1;
- INT32 FtnPenWidth MID_2;
- INT32 FtnTopDistance MID_3;
- INT32 FtnBottomDistance MID_4;
- INT16 FtnWidth MID_5; // in Prozent
- INT16 FtnAdjust MID_6;
- INT16 FtnPenStyle MID_7;
+struct Envelope
+{
+ String AddrText MID_ENV_ADDR_TEXT;
+ BOOL Send MID_ENV_SEND;
+ String SendText MID_SEND_TEXT;
+ INT32 AddrFromLeft MID_ENV_ADDR_FROM_LEFT;
+ INT32 AddrFromTop MID_ENV_ADDR_FROM_TOP;
+ INT32 SendFromLeft MID_ENV_SEND_FROM_LEFT;
+ INT32 SendFromTop MID_ENV_SEND_FROM_TOP;
+ INT32 Width MID_ENV_WIDTH;
+ INT32 Height MID_ENV_HEIGHT;
+ INT16 Align MID_ENV_ALIGN;
+ BOOL PrintFromAbove MID_ENV_PRINT_FROM_ABOVE;
+ INT32 ShiftRight MID_ENV_SHIFT_RIGHT;
+ INT32 ShiftDown MID_ENV_SHIFT_DOWN;
};
-item SwPageFtnInfo SwPageFtnInfoItem;
+item Envelope SwEnvItem;
-struct CropGrf
-{
- INT32 Left MID_1;
- INT32 Right MID_2;
- INT32 Top MID_3;
- INT32 Bottom MID_4;
-};
-item CropGrf SwCropGrf;
-
-struct FmtSurround
-{
- SwSurround Surround MID_1;
- BOOL AnchorOnly MID_3;
- BOOL Contour MID_4;
- BOOL Outside MID_5
-};
-item FmtSurround SwFmtSurround;
-
-struct SwShadowCursor
-{
- BOOL ShadowCursor MID_1;
- BYTE ShadowCursorMode MID_2;
- INT32 ShadowCursorColor MID_3;
-};
-item SwShadowCursor SwShadowCursorItem;
-*/
diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi
index adf864572e..8b68671bcf 100644
--- a/sw/sdi/swriter.sdi
+++ b/sw/sdi/swriter.sdi
@@ -4096,8 +4096,8 @@ SfxVoidItem InsertEndnote FN_INSERT_ENDNOTE
]
//--------------------------------------------------------------------------
-SfxVoidItem InsertEnvelop FN_ENVELOP
-()
+SfxVoidItem InsertEnvelope FN_ENVELOP
+( SwEnvItem Envelope FN_ENVELOP, SfxBoolItem NewDocument FN_PARAM_1 )
[
/* flags: */
AutoUpdate = FALSE,