summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/app/optsitem.cxx27
-rw-r--r--sd/source/ui/inc/optsitem.hxx6
-rw-r--r--sd/source/ui/inc/unokywds.hxx39
3 files changed, 65 insertions, 7 deletions
diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx
index be62342ee729..decf3893ffad 100644
--- a/sd/source/ui/app/optsitem.cxx
+++ b/sd/source/ui/app/optsitem.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: optsitem.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: sj $ $Date: 2001-04-24 11:35:40 $
+ * last change: $Author: cl $ $Date: 2001-04-26 11:18:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1445,6 +1445,29 @@ BOOL SdOptionsPrint::WriteData( Any* pValues ) const
return TRUE;
}
+void SdOptionsPrint::SetPrinterOptions( const SdOptionsPrint* pOptions )
+{
+ bDraw = pOptions->bDraw;
+ bNotes = pOptions->bNotes;
+ bHandout = pOptions->bHandout;
+ bOutline = pOptions->bOutline;
+ bDate = pOptions->bDate;
+ bTime = pOptions->bTime;
+ bPagename = pOptions->bPagename;
+ bHiddenPages = pOptions->bHiddenPages;
+ bPagesize = pOptions->bPagesize;
+ bPagetile = pOptions->bPagetile;
+ bWarningPrinter = pOptions->bWarningPrinter;
+ bWarningSize = pOptions->bWarningSize;
+ bWarningOrientation = pOptions->bWarningOrientation;
+ bBooklet = pOptions->bBooklet;
+ bFront = pOptions->bFront;
+ bBack = pOptions->bBack;
+ bCutPage = pOptions->bCutPage;
+ bPaperbin = pOptions->bPaperbin;
+ nQuality = pOptions->nQuality;
+}
+
/*************************************************************************
|*
|* SdOptionsPrintItem
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
index 12c1a15e785a..7e74d9206b17 100644
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: optsitem.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: sj $ $Date: 2001-04-02 11:35:50 $
+ * last change: $Author: cl $ $Date: 2001-04-26 11:21:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -595,6 +595,8 @@ public:
SdOptionsPrint( USHORT nConfigId, BOOL bUseConfig );
~SdOptionsPrint() {}
+ void SetPrinterOptions( const SdOptionsPrint* pOptions );
+
void SetDefaults();
BOOL operator==( const SdOptionsPrint& rOpt ) const;
diff --git a/sd/source/ui/inc/unokywds.hxx b/sd/source/ui/inc/unokywds.hxx
index 8ac7e2911dc3..d959d10d2bc7 100644
--- a/sd/source/ui/inc/unokywds.hxx
+++ b/sd/source/ui/inc/unokywds.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unokywds.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: cl $ $Date: 2001-04-20 14:03:48 $
+ * last change: $Author: cl $ $Date: 2001-04-26 11:21:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -197,6 +197,39 @@ SD_CONSTASCII_ACTION( sUNO_View_PreviewDrawMode, "PreviewDrawMode
SD_CONSTASCII_ACTION( sUNO_View_IsShowPreviewInPageMode, "IsShowPreviewInPageMode" );
SD_CONSTASCII_ACTION( sUNO_View_IsShowPreviewInMasterPageMode, "IsShowPreviewInMasterPageMode" );
SD_CONSTASCII_ACTION( sUNO_View_SetShowPreviewInOutlineMode, "SetShowPreviewInOutlineMode" );
-
+SD_CONSTASCII_ACTION( sUNO_View_EditModeStandard, "EditModeStandard" );
+SD_CONSTASCII_ACTION( sUNO_View_EditModeNotes, "EditModeNotes" );
+SD_CONSTASCII_ACTION( sUNO_View_EditModeHandout, "EditModeHandout" );
+SD_CONSTASCII_ACTION( sUNO_View_VisArea, "VisArea" );
+
+SD_CONSTASCII_ACTION( sUNO_View_GridIsVisible, "GridIsVisible" );
+SD_CONSTASCII_ACTION( sUNO_View_GridIsFront, "GridIsFront" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapToGrid, "IsSnapToGrid" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapToPageMargins, "IsSnapToPageMargins" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapToSnapLines, "IsSnapToSnapLines" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapToObjectFrame, "IsSnapToObjectFrame" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapToObjectPoints, "IsSnapToObjectPoints" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapLinesVisible, "IsSnapLinesVisible" );
+SD_CONSTASCII_ACTION( sUNO_View_IsDragStripes, "IsDragStripes" );
+SD_CONSTASCII_ACTION( sUNO_View_IsPlusHandlesAlwaysVisible, "IsPlusHandlesAlwaysVisible" );
+SD_CONSTASCII_ACTION( sUNO_View_IsFrameDragSingles, "IsFrameDragSingles" );
+SD_CONSTASCII_ACTION( sUNO_View_IsMarkedHitMovesAlways, "IsMarkedHitMovesAlways" );
+SD_CONSTASCII_ACTION( sUNO_View_EliminatePolyPointLimitAngle, "EliminatePolyPointLimitAngle" );
+SD_CONSTASCII_ACTION( sUNO_View_IsEliminatePolyPoints, "IsEliminatePolyPoints" );
+SD_CONSTASCII_ACTION( sUNO_View_IsLineDraft, "IsLineDraft" );
+SD_CONSTASCII_ACTION( sUNO_View_IsFillDraft, "IsFillDraft" );
+SD_CONSTASCII_ACTION( sUNO_View_IsTextDraft, "IsTextDraft" );
+SD_CONSTASCII_ACTION( sUNO_View_IsGrafDraft, "IsGrafDraft" );
+SD_CONSTASCII_ACTION( sUNO_View_ActiveLayer, "ActiveLayer" );
+SD_CONSTASCII_ACTION( sUNO_View_NoAttribs, "NoAttribs" );
+SD_CONSTASCII_ACTION( sUNO_View_NoColors, "NoColors" );
+SD_CONSTASCII_ACTION( sUNO_View_GridCoarseWidth, "GridCoarseWidth" );
+SD_CONSTASCII_ACTION( sUNO_View_GridCoarseHeight, "GridCoarseHeight" );
+SD_CONSTASCII_ACTION( sUNO_View_GridFineWidth, "GridFineWidth" );
+SD_CONSTASCII_ACTION( sUNO_View_GridFineHeight, "GridFineHeight" );
+SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidth, "GridSnapWidth" );
+SD_CONSTASCII_ACTION( sUNO_View_GridSnapHeight, "GridSnapHeight" );
+SD_CONSTASCII_ACTION( sUNO_View_IsAngleSnapEnabled, "IsAngleSnapEnabled" );
+SD_CONSTASCII_ACTION( sUNO_View_SnapAngle, "SnapAngle" );
#endif