1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
|
/*************************************************************************
*
* $RCSfile: apphdl.cxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 17:14:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Public License Version 2.1
* - Sun Industry Standards Source License Version 1.1
*
* Sun Microsystems Inc., October, 2000
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2000 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
*
* Sun Industry Standards Source License Version 1.1
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source License Version 1.1 (the "License"); You may not use this file
* except in compliance with the License. You may obtain a copy of the
* License at http://www.openoffice.org/license.html.
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
*
* Copyright: 2000 by Sun Microsystems, Inc.
*
* All Rights Reserved.
*
* Contributor(s): _______________________________________
*
*
************************************************************************/
#ifdef PRECOMPILED
#include "ui_pch.hxx"
#endif
#pragma hdrstop
#include "hintids.hxx"
#ifndef _URLOBJ_HXX
#include <tools/urlobj.hxx>
#endif
#ifndef _SFXDISPATCH_HXX //autogen
#include <sfx2/dispatch.hxx>
#endif
#ifndef _SFXEVENT_HXX //autogen
#include <sfx2/event.hxx>
#endif
#ifndef _SFX_SAVEOPT_HXX //autogen
#include <sfx2/saveopt.hxx>
#endif
#define _SVSTDARR_STRINGSDTOR
#include <svtools/svstdarr.hxx>
#ifndef SVTOOLS_URIHELPER_HXX
#include <svtools/urihelper.hxx>
#endif
#ifndef _SVX_SRCHITEM_HXX
#include <svx/srchitem.hxx>
#endif
#ifndef _SFXENUMITEM_HXX //autogen
#include <svtools/eitem.hxx>
#endif
#ifndef _OFF_APP_HXX //autogen
#include <offmgr/app.hxx>
#endif
#ifndef _SFX_WHITER_HXX //autogen
#include <svtools/whiter.hxx>
#endif
#ifndef _SFXSTBMGR_HXX //autogen
#include <sfx2/stbmgr.hxx>
#endif
#ifndef _SFXISETHINT_HXX //autogen
#include <svtools/isethint.hxx>
#endif
#ifndef _SVX_DLG_HYPERLINK_HXX //autogen
#include <offmgr/hyprlink.hxx>
#endif
#ifndef _SFXREQUEST_HXX //autogen
#include <sfx2/request.hxx>
#endif
#ifndef _OFA_OSPLCFG_HXX //autogen
#include <offmgr/osplcfg.hxx>
#endif
#ifndef _SFXSTRITEM_HXX //autogen
#include <svtools/stritem.hxx>
#endif
#ifndef _SVX_ADRITEM_HXX //autogen
#include <svx/adritem.hxx>
#endif
#ifndef _SV_CLIP_HXX //autogen
#include <vcl/clip.hxx>
#endif
#ifndef _DATAEX_HXX //autogen
#include <dataex.hxx>
#endif
#ifndef _VCL_MSGBOX_HXX //autogen
#include <vcl/msgbox.hxx>
#endif
#ifndef _VCL_WRKWIN_HXX //autogen
#include <vcl/wrkwin.hxx>
#endif
#ifndef _SVX_INSCTRL_HXX //autogen
#include <svx/insctrl.hxx>
#endif
#ifndef _SVX_SELCTRL_HXX //autogen
#include <svx/selctrl.hxx>
#endif
#ifndef _NAVICFG_HXX
#include <navicfg.hxx>
#endif
#include "view.hxx"
#include "wrtsh.hxx"
#include "finder.hxx"
#include "docsh.hxx"
#include "cmdid.h" // Funktion-Ids
#include "initui.hxx"
#include "uitool.hxx"
#include "swmodule.hxx"
#include "wdocsh.hxx"
#include "wview.hxx"
#include "wizzard.hxx" // Wizzards
#include "usrpref.hxx"
#include "gloslst.hxx" // SwGlossaryList
#include "glosdoc.hxx" // SwGlossaryList
#include "doc.hxx"
#include "cfgitems.hxx"
#include "prtopt.hxx"
#include "srcvcfg.hxx"
#include "modcfg.hxx"
#include "globals.h" // globale Konstanten z.B.
#include "cfgid.h"
#include "app.hrc"
#ifndef _USRPREF_HXX //autogen
#include <usrpref.hxx>
#endif
#ifndef _PRTOPT_HXX //autogen
#include <prtopt.hxx>
#endif
#ifndef _MODOPT_HXX //autogen
#include <modcfg.hxx>
#endif
#ifndef _FONTCFG_HXX //autogen
#include <fontcfg.hxx>
#endif
#include "barcfg.hxx"
#ifndef _UINUMS_HXX //autogen
#include <uinums.hxx>
#endif
#ifndef _LINGU_LNGPROPS_HHX_
#include <lingu/lngprops.hxx>
#endif
#ifndef _UNO_LINGU_HXX
#include <svx/unolingu.hxx>
#endif
#ifndef _SFX_SFXUNO_HXX
#include <sfx2/sfxuno.hxx>
#endif
#ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUES_HPP_
#include <com/sun/star/beans/PropertyValues.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
#include <com/sun/star/beans/XPropertySet.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_
#include <com/sun/star/beans/PropertyValue.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_PROPERTYSTATE_HPP_
#include <com/sun/star/beans/PropertyState.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSETINFO_HPP_
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XMULTIPROPERTYSET_HPP_
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XFASTPROPERTYSET_HPP_
#include <com/sun/star/beans/XFastPropertySet.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XVETOABLECHANGELISTENER_HPP_
#include <com/sun/star/beans/XVetoableChangeListener.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSTATE_HPP_
#include <com/sun/star/beans/XPropertyState.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSTATECHANGELISTENER_HPP_
#include <com/sun/star/beans/XPropertyStateChangeListener.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_PROPERTYATTRIBUTE_HPP_
#include <com/sun/star/beans/PropertyAttribute.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTIESCHANGELISTENER_HPP_
#include <com/sun/star/beans/XPropertiesChangeListener.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYCHANGELISTENER_HPP_
#include <com/sun/star/beans/XPropertyChangeListener.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYACCESS_HPP_
#include <com/sun/star/beans/XPropertyAccess.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYCONTAINER_HPP_
#include <com/sun/star/beans/XPropertyContainer.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_PROPERTYSTATECHANGEEVENT_HPP_
#include <com/sun/star/beans/PropertyStateChangeEvent.hpp>
#endif
#ifndef _COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HPP_
#include <com/sun/star/beans/PropertyChangeEvent.hpp>
#endif
using namespace ::com::sun::star;
#define C2S(cChar) String::CreateFromAscii(cChar)
/*--------------------------------------------------------------------
Beschreibung: Slotmaps fuer Methoden der Applikation
--------------------------------------------------------------------*/
// hier werden die SlotID's included
// siehe Idl-File
//
#define SwModule
#define ViewSettings
#define WebViewSettings
#define PrintSettings
#define _ExecAddress ExecOther
#define _StateAddress StateOther
#include "itemdef.hxx"
#include <svx/svxslots.hxx>
#include "swslots.hxx"
SFX_IMPL_INTERFACE( SwModule, SfxModule, SW_RES(RID_SW_NAME) )
{
SFX_CHILDWINDOW_REGISTRATION(SvxHyperlinkDlgWrapper::GetChildWindowId());
SFX_STATUSBAR_REGISTRATION(SW_RES(CFG_STATUSBAR));
}
/*------------------------------------------------------------------------
Beschreibung: Funktionen Ansicht
------------------------------------------------------------------------*/
void lcl_SetViewMetaChars( SwViewOption& rVOpt, sal_Bool bOn)
{
rVOpt.SetViewMetaChars( bOn );
if(bOn && !(rVOpt.IsParagraph() ||
rVOpt.IsTab() ||
rVOpt.IsLineBreak() ||
rVOpt.IsBlank()))
{
rVOpt.SetParagraph(bOn);
rVOpt.SetTab(bOn);
rVOpt.SetLineBreak(bOn);
rVOpt.SetBlank(bOn);
}
}
sal_Bool lcl_IsViewMarks( const SwViewOption& rVOpt )
{
return rVOpt.IsHardBlank() &&
rVOpt.IsSoftHyph() &&
rVOpt.IsTox() &&
rVOpt.IsFootNote() &&
rVOpt.IsField();
}
void lcl_SetViewMarks(SwViewOption& rVOpt, sal_Bool bOn )
{
rVOpt.SetHardBlank(bOn);
rVOpt.SetSoftHyph(bOn);
rVOpt.SetTox(bOn);
rVOpt.SetFootNote(bOn);
rVOpt.SetField(bOn);
rVOpt.SetRef(bOn);
}
/*--------------------------------------------------------------------
Beschreibung: State mit CheckMark fuer ViewOptions
--------------------------------------------------------------------*/
void SwModule::StateViewOptions(SfxItemSet &rSet)
{
SfxWhichIter aIter(rSet);
sal_uInt16 nWhich = aIter.FirstWhich();
SfxBoolItem aBool;
const SwViewOption* pOpt = 0;
SwView* pActView = ::GetActiveView();
SwDoc *pDoc = 0;
if(pActView)
{
pOpt = pActView->GetWrtShell().GetViewOptions();
pDoc = pActView->GetDocShell()->GetDoc();
}
while(nWhich)
{
if(pActView)
{
sal_Bool bReadonly = pActView->GetDocShell()->IsReadOnly();
sal_Bool bBrowse = pDoc ? pDoc->IsBrowseMode() : sal_False;
if ( bReadonly && nWhich != FN_VIEW_GRAPHIC )
{
rSet.DisableItem(nWhich);
nWhich = 0;
}
switch(nWhich)
{
case FN_RULER:
aBool.SetValue( pActView->StatTab() ); break;
case FN_VIEW_BOUNDS:
aBool.SetValue( pOpt->IsSubsLines() ); break;
case FN_VIEW_GRAPHIC:
aBool.SetValue( !pOpt->IsGraphic() ); break;
case FN_VIEW_FIELDS:
aBool.SetValue( pOpt->IsField() ); break;
case FN_VIEW_FIELDNAME:
aBool.SetValue( pOpt->IsFldName() ); break;
case FN_VIEW_MARKS:
aBool.SetValue( lcl_IsViewMarks(*pOpt) ); break;
case FN_VIEW_META_CHARS:
aBool.SetValue( pOpt->IsViewMetaChars() ); break;
case FN_VIEW_TABLEGRID:
aBool.SetValue( pOpt->IsSubsTable() ); break;
case FN_VIEW_HIDDEN_PARA:
aBool.SetValue( pOpt->IsShowHiddenPara()); break;
case SID_GRID_VISIBLE:
aBool.SetValue( pOpt->IsGridVisible() ); break;
case SID_GRID_USE:
aBool.SetValue( pOpt->IsSnap() ); break;
case SID_HELPLINES_MOVE:
aBool.SetValue( pOpt->IsCrossHair() ); break;
case FN_VIEW_SMOOTH_SCROLL:
aBool.SetValue( pOpt->IsSmoothScroll()); break;
case FN_VLINEAL:
aBool.SetValue( pActView->StatVLineal() ); break;
case FN_HSCROLLBAR:
if(bBrowse)
{
rSet.DisableItem(nWhich);
nWhich = 0;
}
else
aBool.SetValue( pActView->StatHScrollbar() ); break;
case FN_VSCROLLBAR:
aBool.SetValue( pActView->StatVScrollbar() ); break;
case SID_AUTOSPELL_CHECK:
aBool.SetValue( pOpt->IsOnlineSpell() );
break;
case SID_AUTOSPELL_MARKOFF:
aBool.SetValue( pOpt->IsHideSpell() );
break;
case FN_SHADOWCURSOR:
if (pDoc == 0 || pDoc->IsBrowseMode())
{
rSet.DisableItem( nWhich );
nWhich = 0;
}
else
aBool.SetValue( pOpt->IsShadowCursor() );
break;
}
}
else
{
rSet.DisableItem( nWhich );
nWhich = 0;
}
if( nWhich )
{
aBool.SetWhich( nWhich );
rSet.Put( aBool );
}
nWhich = aIter.NextWhich();
}
}
/*--------------------------------------------------------------------
Beschreibung: Andere States
--------------------------------------------------------------------*/
void SwModule::StateOther(SfxItemSet &rSet)
{
SfxWhichIter aIter(rSet);
sal_uInt16 nWhich = aIter.FirstWhich();
SwView* pActView = ::GetActiveView();
sal_Bool bWebView = 0 != PTR_CAST(SwWebView, pActView);
while(nWhich)
{
switch(nWhich)
{
case FN_BUSINESS_CARD:
case FN_LABEL:
case FN_ENVELOP:
{
sal_Bool bDisable = sal_False;
SfxViewShell* pView = SfxViewShell::Current();
if( !pView || (pView && !pView->ISA(SwView)) )
bDisable = sal_True;
SwDocShell *pDocSh = (SwDocShell*) SfxObjectShell::Current();
if ( bDisable ||
(pDocSh && (pDocSh->IsReadOnly() ||
pDocSh->GetCreateMode() == SFX_CREATE_MODE_EMBEDDED)) )
rSet.DisableItem( nWhich );
}
break;
case FN_EDIT_FORMULA:
{
SwWrtShell* pSh = 0;
int nSelection = 0;
if( pActView )
pSh = &pActView->GetWrtShell();
if( pSh )
nSelection = pSh->GetSelectionType();
if( (pSh && pSh->HasSelection()) ||
!(nSelection & (SwWrtShell::SEL_TXT | SwWrtShell::SEL_TBL)))
rSet.DisableItem(nWhich);
}
break;
case SID_ATTR_ADDRESS:
{
rSet.Put(pPathFinder->GetAddress());
}
break;
case SID_ATTR_UNDO_COUNT:
rSet.Put(SfxUInt16Item( SID_ATTR_UNDO_COUNT, SwEditShell::GetUndoActionCount()));
break;
case SID_ATTR_METRIC:
rSet.Put( SfxUInt16Item( SID_ATTR_METRIC, ::GetDfltMetric(bWebView)));
break;
case FN_SET_MODOPT_TBLNUMFMT:
rSet.Put( SfxBoolItem( nWhich, pModuleConfig->
IsInsTblFormatNum( bWebView )));
break;
default:
DBG_ERROR("::StateOther: default");
}
nWhich = aIter.NextWhich();
}
}
/*--------------------------------------------------------------------
Beschreibung: Wizzards
--------------------------------------------------------------------*/
void SwModule::ExecWizzard(SfxRequest & rReq)
{
Wizzard( rReq.GetSlot() );
}
/*--------------------------------------------------------------------
Beschreibung: Einstellungen fuer den Bildschirm
--------------------------------------------------------------------*/
void SwModule::ExecViewOptions(SfxRequest &rReq)
{
SwViewOption* pOpt = 0;
OfficeApplication* pOffApp = OFF_APP();
sal_Bool bModified = sal_True;
if ( GetView() )
{
pOpt = new SwViewOption( *GetView()->GetWrtShell().GetViewOptions() );
bModified = GetView()->GetWrtShell().IsModified();
}
else
{
pOpt = new SwViewOption();
DBG_ERROR("ExecViewOptions: ohne View - falsche UsrPref?")
MakeUsrPref(*pOpt, sal_False);
}
int eState = STATE_TOGGLE;
sal_Bool bSet = sal_False;
const SfxItemSet *pArgs = rReq.GetArgs();
sal_uInt16 nSlot = rReq.GetSlot();
const SfxPoolItem* pAttr;
if( pArgs && SFX_ITEM_SET == pArgs->GetItemState( nSlot , sal_False, &pAttr ))
{
bSet = ((SfxBoolItem*)pAttr)->GetValue();
eState = bSet ? STATE_ON : STATE_OFF;
}
int bFlag = STATE_ON == eState;
// fuer die (WebViewSettings
enum WebDepend
{
DEPEND_NONE,
DEPEND_NOWEB,
DEPEND_WEB
}eWebDepend = DEPEND_NONE;
uno::Reference< beans::XPropertySet > xLngProp( ::GetLinguPropertySet() );
switch ( nSlot )
{
case FN_VIEW_GRAPHIC:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsGraphic();
pOpt->SetGraphic( bFlag );
break;
case FN_VIEW_FIELDS:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsField() ;
pOpt->SetField( bFlag );
pOpt->SetRef( bFlag );
break;
case FN_VIEW_BOUNDS:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsSubsLines();
pOpt->SetSubsLines( bFlag );
break;
case SID_GRID_VISIBLE:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsGridVisible();
pOpt->SetGridVisible( bFlag );
break;
case SID_GRID_USE:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsSnap();
pOpt->SetSnap( bFlag );
break;
case SID_HELPLINES_MOVE:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsCrossHair();
pOpt->SetCrossHair( bFlag );
break;
case FN_VIEW_HIDDEN_PARA:
if ( STATE_TOGGLE == eState )
bFlag = !pOpt->IsShowHiddenPara();
pOpt->SetShowHiddenPara( bFlag );
break;
case FN_VIEW_SMOOTH_SCROLL:
if ( STATE_TOGGLE == eState )
bFlag = !pOpt->IsSmoothScroll();
pOpt->SetSmoothScroll( bFlag );
break;
case FN_VLINEAL:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsViewVLin();
pOpt->SetViewVLin( bFlag );
break;
case FN_VSCROLLBAR:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsViewVScrollBar();
pOpt->SetViewVScrollBar( bFlag );
break;
case FN_HSCROLLBAR:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsViewHScrollBar();
pOpt->SetViewHScrollBar( bFlag );
break;
case FN_RULER:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsViewTabwin();
pOpt->SetViewTabwin( bFlag );
break;
case FN_VIEW_TABLEGRID:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsSubsTable();
pOpt->SetSubsTable( bFlag );
break;
case FN_VIEW_FIELDNAME:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsFldName() ;
pOpt->SetFldName( bFlag );
break;
case FN_VIEW_MARKS:
if( STATE_TOGGLE == eState )
bFlag = !lcl_IsViewMarks(*pOpt) ;
lcl_SetViewMarks( *pOpt, bFlag );
break;
case FN_VIEW_META_CHARS:
if( STATE_TOGGLE == eState )
bFlag = !pOpt->IsViewMetaChars();
lcl_SetViewMetaChars( *pOpt, bFlag );
break;
case SID_AUTOSPELL_CHECK:
if( STATE_TOGGLE == eState )
bFlag = bSet = !pOpt->IsOnlineSpell();
pOpt->SetOnlineSpell(bSet);
if (xLngProp.is())
{
uno::Any aVal(&bSet, ::getCppuBooleanType());
xLngProp->setPropertyValue( C2S(UPN_IS_SPELL_AUTO), aVal );
}
//pOffApp->GetLinguConfig()->SetDefault( sal_False );
if (!(STATE_TOGGLE == eState && bSet && ( pOpt->IsHideSpell() )))
break;
case SID_AUTOSPELL_MARKOFF:
if( STATE_TOGGLE == eState )
bFlag = bSet = !pOpt->IsHideSpell();
pOpt->SetHideSpell(bSet);
if (xLngProp.is())
{
uno::Any aVal(&bSet, ::getCppuBooleanType());
xLngProp->setPropertyValue( C2S(UPN_IS_SPELL_HIDE), aVal );
}
//pOffApp->GetLinguConfig()->SetDefault( sal_False );
break;
case FN_SHADOWCURSOR:
if( STATE_TOGGLE == eState )
bFlag = bSet = !pOpt->IsShadowCursor();
pOpt->SetShadowCursor(bSet);
break;
default:
ASSERT(sal_False, Falsche Request-Methode);
return;
}
// UserPrefs setzen Request als bearbeitet kennzeichnen
SwView* pApplyView = GetView();
sal_Bool bWebView = 0 != PTR_CAST(SwWebView, pApplyView);
// die ViewSettings duerfen nur der View zugewiesen werden,
// wenn es auch die richtigen sind
if(pApplyView && DEPEND_NONE != eWebDepend)
{
if(bWebView && DEPEND_NOWEB == eWebDepend ||
!bWebView && DEPEND_WEB == eWebDepend )
pApplyView = 0;
}
if( pApplyView )
{
SwWrtShell &rSh = GetView()->GetWrtShell();
rSh.StartAction();
if( !(*rSh.GetViewOptions() == *pOpt ))
{
rSh.ApplyViewOptions( *pOpt );
//Die UsrPref muessen als Modified gekennzeichnet werden.
if(bWebView)
{
// fuer die Initialisierung
if(!pWebUsrPref)
GetUsrPref(sal_True);
pWebUsrPref->SetDefault( sal_False );
}
else
{
if(!pUsrPref)
GetUsrPref(sal_False);
pUsrPref->SetDefault( sal_False );
}
SW_MOD()->CheckSpellChanges( pOpt->IsOnlineSpell(), sal_False, sal_False );
}
//OS: Modified wieder zuruecksetzen, weil Ansicht/Felder
// das Doc modified setzt.
if( !bModified )
rSh.ResetModified();
}
sal_uInt16 nDest = VIEWOPT_DEST_VIEW;
if(DEPEND_WEB == eWebDepend )
nDest = VIEWOPT_DEST_WEB;
else if(DEPEND_NOWEB == eWebDepend)
nDest = VIEWOPT_DEST_TEXT;
ApplyUsrPref( *pOpt, pApplyView, nDest );
if ( pApplyView )
pApplyView->GetWrtShell().EndAction();
delete pOpt;
Invalidate(rReq.GetSlot());
if(!pArgs)
rReq.AppendItem(SfxUInt16Item(nSlot, bFlag));
}
/*--------------------------------------------------------------------
Beschreibung: Felddialog starten
--------------------------------------------------------------------*/
void SwModule::ExecOther(SfxRequest& rReq)
{
const SfxItemSet *pArgs = rReq.GetArgs();
const SfxPoolItem* pItem = 0;
sal_uInt16 nWhich = rReq.GetSlot();
switch (nWhich)
{
case FN_ENVELOP:
InsertEnv();
break;
case FN_BUSINESS_CARD:
case FN_LABEL:
InsertLab(nWhich == FN_LABEL);
break;
case SID_SW_DOCMAN_PATH:
{
ASSERT(pArgs && pArgs->Count(), "fehlende Parameter GetDocManPath");
if(!pArgs)
return;
String aParam(((const SfxStringItem &)pArgs->Get(rReq.GetSlot())).GetValue());
String aPath;
if(aParam == C2S("~~~GetMacroPath"))
{
aPath = SFX_INIMANAGER()->Get( SFX_KEY_CONFIG_DIR );
aPath = URIHelper::SmartRelToAbs(aPath);
if(aPath.Len())
aPath += INET_PATH_TOKEN;
}
else if(aParam == C2S("~~~GetDefDocExt"))
aPath =
#if defined(PM2) || defined(MAC_WITHOUT_EXT)
aEmptyStr;
#else
C2S(".sdw");
#endif
else if(aParam == C2S("~~~SetNoFrameBeep"))
{
SwView* pActView = ::GetActiveView();
if( pActView && pActView->GetDocShell() )
pActView->GetDocShell()->GetDoc()->SetFrmBeepEnabled( sal_False );
}
else if(aParam == C2S("~~~SetFrameBeep"))
{
SwView* pActView = ::GetActiveView();
if( pActView && pActView->GetDocShell() )
pActView->GetDocShell()->GetDoc()->SetFrmBeepEnabled( sal_True );
}
rReq.SetReturnValue(SfxStringItem( SID_SW_DOCMAN_PATH, aPath ));
}
break;
case SID_ATTR_ADDRESS:
{
if(pArgs && SFX_ITEM_SET == pArgs->GetItemState(nWhich, sal_False, &pItem))
{
pPathFinder->SetAddress( *(SvxAddressItem*)pItem );
}
}
break;
case SID_ATTR_UNDO_COUNT:
if(pArgs && SFX_ITEM_SET == pArgs->GetItemState(nWhich, sal_False, &pItem))
{
const int nNew = ((SfxUInt16Item*)pItem)->GetValue();
const int nOld = SwEditShell::GetUndoActionCount();
if(!nNew || !nOld)
{
sal_Bool bUndo = nNew != 0;
//ueber DocShells iterieren und Undo umschalten
TypeId aType(TYPE(SwDocShell));
SwDocShell* pDocShell = (SwDocShell*)SfxObjectShell::GetFirst(&aType);
while( pDocShell )
{
pDocShell->GetDoc()->DoUndo( bUndo );
pDocShell = (SwDocShell*)SfxObjectShell::GetNext(*pDocShell, &aType);
}
}
SwEditShell::SetUndoActionCount( nNew );
// intern kommt der Request aus dem Dialog, dort werden die Options gesetzt
if(rReq.IsAPI())
OFF_APP()->GetOptions().SetUndoCount( nNew );
break;
}
break;
case SID_ATTR_METRIC:
if(pArgs && SFX_ITEM_SET == pArgs->GetItemState(nWhich, sal_False, &pItem))
{
FieldUnit eUnit = (FieldUnit)((const SfxUInt16Item*)pItem)->GetValue();
switch( eUnit )
{
case FUNIT_MM:
case FUNIT_CM:
case FUNIT_INCH:
case FUNIT_PICA:
case FUNIT_POINT:
{
SwView* pActView = ::GetActiveView();
sal_Bool bWebView = 0 != PTR_CAST(SwWebView, pActView);
::SetDfltMetric(eUnit, bWebView);
OFF_APP()->GetOptions().SetMetric(eUnit);
}
break;
}
}
break;
case FN_SET_MODOPT_TBLNUMFMT:
{
sal_Bool bWebView = 0 != PTR_CAST(SwWebView, ::GetActiveView() ),
bSet;
if( pArgs && SFX_ITEM_SET == pArgs->GetItemState(
nWhich, sal_False, &pItem ))
bSet = ((SfxBoolItem*)pItem)->GetValue();
else
bSet = !pModuleConfig->IsInsTblFormatNum( bWebView );
pModuleConfig->SetInsTblFormatNum( bWebView, bSet );
}
break;
}
}
/*--------------------------------------------------------------------
Beschreibung:
--------------------------------------------------------------------*/
/*
SfxMacro *SwWriterApp::CreateMacro() const
{
return BasicIDE::CreateMacro();
} */
/*--------------------------------------------------------------------
Beschreibung: Notifies abfangen
--------------------------------------------------------------------*/
// Hint abfangen fuer DocInfo
void SwModule::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
{
if( rHint.ISA( SfxEventHint ) )
{
SfxEventHint& rEvHint = (SfxEventHint&) rHint;
SwDocShell* pDocSh = PTR_CAST( SwDocShell, rEvHint.GetObjShell() );
if( pDocSh )
{
SwWrtShell* pWrtSh = pDocSh ? pDocSh->GetWrtShell() : 0;
switch( rEvHint.GetEventId() )
{
/* MA 07. Mar. 96: UpdateInputFlds() nur noch bei Dokument neu.
(Und bei Einfuegen Textbaust.)
case SFX_EVENT_OPENDOC:
// dann am aktuellen Dokument die Input-Fedler updaten
if( pWrtSh )
pWrtSh->UpdateInputFlds();
break;
*/
case SFX_EVENT_CREATEDOC:
// alle FIX-Date/Time Felder auf akt. setzen
if( pWrtSh )
{
pWrtSh->SetFixFields();
pWrtSh->UpdateInputFlds();
// Sind Datenbankfelder enthalten?
// Erstmal alle verwendeten Datenbanken holen
SwDoc *pDoc = pDocSh->GetDoc();
SvStringsDtor aDBNameList;
pDoc->GetAllUsedDB( aDBNameList );
sal_uInt16 nCount = aDBNameList.Count();
if (nCount)
{ // Datenbankbeamer oeffnen
String sDBName = pDoc->GetDBName();
ShowDBObj(*pWrtSh, sDBName);
}
}
break;
}
}
}
else if(rHint.ISA(SfxItemSetHint))
{
if( SFX_ITEM_SET == ((SfxItemSetHint&)rHint).GetItemSet().GetItemState(SID_ATTR_PATHNAME))
{
::GetGlossaries()->UpdateGlosPath( sal_False );
SwGlossaryList* pList = ::GetGlossaryList();
if(pList->IsActive())
pList->Update();
}
const SfxPoolItem* pItem = 0;
if( SFX_ITEM_SET == ((SfxItemSetHint&)rHint).GetItemSet().GetItemState(SID_ATTR_ADDRESS, sal_False, &pItem))
{
sActAuthor = ((const SvxAddressItem*)pItem)->GetFirstName();
sActAuthor += ' ';
sActAuthor += ((const SvxAddressItem*)pItem)->GetName();
}
}
else if(rHint.ISA(SfxSimpleHint) &&
((SfxSimpleHint&)rHint).GetId() == SFX_HINT_DEINITIALIZING)
{
// Clipboard loslassen:
if( pClipboard )
{
sal_Bool bFlushToSystem = sal_False;
if( VclClipboard::ExistsSystemClipboard() )
{
if( pClipboard->IsBig() )
{
QueryBox aBox( 0, SW_RES(MSG_CLPBRD_CLEAR) );
if( RET_YES == aBox.Execute() )
bFlushToSystem = sal_True;
}
else
bFlushToSystem = sal_True;
}
if ( pClipboard )
{
VclClipboard::ReleaseClipboard( bFlushToSystem );
ASSERT( !pClipboard, "can't get off this Clipboard" );
}
}
if(pSrcViewConfig)
{
if(!pSrcViewConfig->IsDefault())
pSrcViewConfig->StoreConfig();
DELETEZ( pSrcViewConfig );
}
DELETEZ(pWebUsrPref);
DELETEZ(pUsrPref) ;
DELETEZ(pModuleConfig);
DELETEZ(pPrtOpt) ;
DELETEZ(pWebPrtOpt) ;
DELETEZ(pChapterNumRules);
DELETEZ(pStdFontConfig) ;
DELETEZ(pNavigationConfig) ;
DELETEZ(pToolbarConfig) ;
DELETEZ(pWebToolbarConfig) ;
DELETEZ(pAuthorNames) ;
}
}
void SwModule::FillStatusBar( StatusBar& rStatusBar )
{
// Hier den StatusBar initialisieren
// und Elemente reinschieben
// Anzeige Seite
String aTmp; aTmp.Fill( 10, 'X' );
rStatusBar.InsertItem( FN_STAT_PAGE, rStatusBar.GetTextWidth(
aTmp ), SIB_AUTOSIZE | SIB_LEFT);
rStatusBar.SetHelpId(FN_STAT_PAGE, FN_STAT_PAGE);
// Seitenvorlage
aTmp.Fill( 15, 'X' );
rStatusBar.InsertItem( FN_STAT_TEMPLATE, rStatusBar.GetTextWidth(
aTmp ), SIB_AUTOSIZE | SIB_LEFT );
rStatusBar.SetHelpId(FN_STAT_TEMPLATE, FN_STAT_TEMPLATE);
// Zoomeinstellungen
rStatusBar.InsertItem( SID_ATTR_ZOOM, rStatusBar.GetTextWidth(
C2S("1000%")) );
rStatusBar.SetHelpId(SID_ATTR_ZOOM, SID_ATTR_ZOOM);
// Insert/Overwrite
rStatusBar.InsertItem( SID_ATTR_INSERT,
SvxInsertStatusBarControl::GetDefItemWidth(rStatusBar));
rStatusBar.SetHelpId(SID_ATTR_INSERT, SID_ATTR_INSERT);
// awt::Selection-Modus
rStatusBar.InsertItem( FN_STAT_SELMODE,
SvxSelectionModeControl::GetDefItemWidth(rStatusBar));
rStatusBar.SetHelpId(FN_STAT_SELMODE, FN_STAT_SELMODE);
// Hyperlink ausfuehren/bearbeiten
rStatusBar.InsertItem( FN_STAT_HYPERLINKS, rStatusBar.GetTextWidth(
C2S("HYP")) );
rStatusBar.SetHelpId(FN_STAT_HYPERLINKS, FN_STAT_HYPERLINKS);
// Dokument geaendert
rStatusBar.InsertItem( SID_DOC_MODIFIED, rStatusBar.GetTextWidth(
C2S("*")));
rStatusBar.SetHelpId(SID_DOC_MODIFIED, SID_DOC_MODIFIED);
// den aktuellen Context anzeigen Uhrzeit / FrmPos / TabellenInfo
aTmp.Fill( 25, sal_Unicode('X') );
rStatusBar.InsertItem( SID_ATTR_SIZE, rStatusBar.GetTextWidth(
aTmp ), SIB_AUTOSIZE | SIB_LEFT | SIB_USERDRAW);
rStatusBar.SetHelpId(SID_ATTR_SIZE, SID_ATTR_SIZE);
}
/*-----------------18.11.96 10.42-------------------
--------------------------------------------------*/
SwSrcViewConfig* SwModule::GetSourceViewConfig()
{
if(!pSrcViewConfig)
{
pSrcViewConfig = new SwSrcViewConfig();
pSrcViewConfig->Initialize();
}
return pSrcViewConfig;
}
/*-----------------30.01.97 08.30-------------------
--------------------------------------------------*/
const SwMasterUsrPref *SwModule::GetUsrPref(sal_Bool bWeb)
{
if(bWeb && !pWebUsrPref)
{
// im Load der SwMasterUsrPref wird der SpellChecker gebraucht, dort darf
// er aber nicht angelegt werden #58256#
pWebUsrPref = new SwMasterUsrPref(CFG_SWWEB_USRPREF);
pWebUsrPref->Initialize();
}
else if(!bWeb && !pUsrPref)
{
pUsrPref = new SwMasterUsrPref(CFG_USERPREF_ITEM);
pUsrPref->Initialize();
}
return bWeb ? pWebUsrPref : pUsrPref;
}
/*-------------------------------------------------------------------------
$Log: not supported by cvs2svn $
Revision 1.289 2000/09/18 16:05:09 willem.vandorp
OpenOffice header added.
Revision 1.288 2000/09/08 15:11:56 os
use configuration service
Revision 1.287 2000/07/18 12:50:07 os
replace ofadbmgr
Revision 1.286 2000/06/26 13:03:00 os
INetURLObject::SmartRelToAbs removed
Revision 1.285 2000/06/16 08:25:40 martin.hollmichel
add: header
Revision 1.284 2000/06/13 09:56:08 os
using UCB
Revision 1.283 2000/05/26 07:21:27 os
old SW Basic API Slots removed
Revision 1.282 2000/05/11 12:00:13 tl
if[n]def ONE_LINGU und alte SUPD entfernt
Revision 1.281 2000/05/10 11:52:26 os
Basic API removed
Revision 1.280 2000/05/09 14:40:15 os
BASIC interface partially removed
Revision 1.279 2000/05/08 11:23:33 os
CreateSubObject
Revision 1.278 2000/04/11 08:01:30 os
UNICODE
Revision 1.277 2000/03/21 15:47:50 os
UNOIII
Revision 1.276 2000/03/14 13:47:26 jp
GetAppWindow() - misuse as parent window eliminated
Revision 1.275 2000/03/08 17:21:49 os
GetAppWindow() - misuse as parent window eliminated
Revision 1.274 2000/01/31 10:14:56 tl
#71447# workaround removed
Revision 1.273 2000/01/11 16:24:13 jp
Bug #71447#: set config as modified if AutoSpell-Flag is changed
Revision 1.272 2000/01/11 10:20:04 tl
#70735# CheckSpellChanges now called from SW_MOD for ONE_LINGU
Revision 1.271 1999/11/30 10:18:55 jp
Task #70259#: more entries into to the popup menus
Revision 1.270 1999/11/29 14:39:27 tl
fixed old header merge problem
Revision 1.269 1999/11/25 09:27:46 tl
SvxGetLinguPropertySet => ::GetLinguPropertySet
Revision 1.266 1999/10/27 11:00:45 hr
#65293#
Revision 1.265 1999/10/25 19:36:26 tl
ongoing ONE_LINGU implementation
Revision 1.264 1999/10/21 17:45:23 jp
have to change - SearchFile with SfxIniManager, dont use SwFinder for this
Revision 1.263 1999/09/28 13:17:45 os
#67382# separate dialog for business cards
Revision 1.262 1999/08/31 08:33:52 TL
#if[n]def ONE_LINGU inserted (for transition of lingu to StarOne)
Rev 1.261 31 Aug 1999 10:33:52 TL
#if[n]def ONE_LINGU inserted (for transition of lingu to StarOne)
Rev 1.260 04 Feb 1999 21:13:04 JP
Bug #61404#/61014#: neu: SetFixFields statt zweier Methoden
Rev 1.259 04 Jan 1999 13:41:38 OS
#60209# StatusBar: Groessen uber GetDefItemWidth am Controller ermitteln
Rev 1.258 26 Nov 1998 15:20:44 MA
#59896# Raster usw jetzt an der Application
Rev 1.257 23 Nov 1998 17:36:52 JP
Bug #59754#: TerminateHdl wird nicht mehr fuers Clipboard benoetigt
Rev 1.256 05 Nov 1998 11:22:10 OS
#58396# ConfigItems im Notify loeschen
Rev 1.255 21 Oct 1998 15:29:20 OS
#58256# Spellchecker vor dem Load der UsrPref anziehen
Rev 1.254 05 Oct 1998 17:29:26 HR
UPD->SUPD
Rev 1.253 08 Sep 1998 16:48:10 OS
#56134# Metric fuer Text und HTML getrennt
Rev 1.252 15 Jul 1998 12:51:00 OS
Navigator an der SwView registrieren #34794#
Rev 1.251 09 Jul 1998 17:13:24 MA
muss: kein docman mehr
Rev 1.250 15 May 1998 17:26:10 OM
#50043# DirectCursor nicht im OnlineLayout
Rev 1.249 03 Apr 1998 14:39:16 OS
RID_DEFAULTTOLOLBOX endlich entsorgt
Rev 1.248 16 Mar 1998 19:09:12 OM
Zugriff auf Ini optimiert
Rev 1.247 12 Feb 1998 14:28:44 OS
SID_TOGGLESTATUSBAR
Rev 1.246 29 Jan 1998 14:20:38 OS
SvxItemFactory an der DesktopApplication anlegen #46753#
Rev 1.245 26 Jan 1998 09:12:54 OS
neu: WebViewSettings
Rev 1.244 22 Dec 1997 17:16:26 MA
ShadowCursor
Rev 1.243 10 Dec 1997 14:42:32 OM
Fixe DocInfoFelder
Rev 1.242 03 Dec 1997 17:01:24 OS
Statuszeile per Basic geht wieder #45887#
Rev 1.241 28 Nov 1997 14:17:14 MA
includes
Rev 1.240 28 Nov 1997 11:00:36 TJ
include
Rev 1.239 24 Nov 1997 14:22:46 MA
includes
Rev 1.238 11 Nov 1997 14:02:58 MA
precomp entfernt
Rev 1.237 03 Nov 1997 16:13:08 JP
neu: Optionen/-Page/Basic-Schnittst. fuer ShadowCursor
Rev 1.236 01 Sep 1997 13:06:38 OS
DLL-Umstellung
Rev 1.235 12 Aug 1997 14:42:40 OS
Header-Umstellung
Rev 1.234 08 Aug 1997 17:27:00 OM
Headerfile-Umstellung
Rev 1.233 05 Aug 1997 16:09:20 TJ
include svx/srchitem.hxx
Rev 1.232 08 Jul 1997 14:04:16 OS
ConfigItems von der App ans Module
Rev 1.231 11 Jun 1997 14:47:10 OM
DB-Beamer bei Vorlagen mit DB-Feldern oeffnen
Rev 1.230 09 Jun 1997 14:28:18 MA
chg: Browse-Flag nur noch am Doc
Rev 1.229 06 Jun 1997 12:43:18 MA
chg: versteckte Absaetze ausblenden
Rev 1.228 05 Jun 1997 09:32:50 OS
FN_INSERT_HEADER/FOOTER invalidieren #40441#
Rev 1.227 28 May 1997 18:17:28 HJS
includes
Rev 1.226 28 May 1997 08:13:06 OS
SID_ATTR_METRIC am SwModule ausfuehren fr #40192#
Rev 1.225 05 May 1997 08:02:14 OS
SID_MAIL_NOTIFY mit richtigen Parametern im StatusBar
Rev 1.224 25 Apr 1997 09:19:52 OS
SID_MAIL_NOTIFY in der Statuszeile
Rev 1.223 11 Apr 1997 11:00:08 MA
includes
Rev 1.222 07 Apr 1997 15:31:10 MH
chg: header
Rev 1.221 01 Apr 1997 16:25:56 MH
add: include sfxdcmn.hxx
Rev 1.220 23 Mar 1997 23:47:42 OS
Mail nicht mehr in der Statuszeile
Rev 1.219 19 Mar 1997 09:26:22 NF
includes (OS2)
Rev 1.218 10 Mar 1997 09:29:48 JP
neues Flag am Doc, um die Beeps aus dem LayoutPaint abzuschalten
Rev 1.217 05 Feb 1997 18:47:20 MH
inetdlg.hxx raus
Rev 1.216 05 Feb 1997 13:34:44 OS
PrintOptins auch fuer Web
Rev 1.215 30 Jan 1997 11:10:30 OS
UsrPrefs verdoppelt; neu: FN_PRINT_LAYOUT
Rev 1.214 27 Jan 1997 16:25:58 OS
HtmlMode entfernt
Rev 1.213 14 Jan 1997 14:25:00 OS
pModuleConfig immer anlegen
Rev 1.212 13 Jan 1997 16:45:24 OS
neu: SwModuleOptions
Rev 1.211 19 Dec 1996 16:05:50 OS
BrowseMode mit HtmlMode koppeln; SetPrinter nur, wenn keiner da ist
Rev 1.210 13 Dec 1996 14:34:08 OS
UndoCount wird aus der SfxApp besorgt
Rev 1.209 12 Dec 1996 20:30:32 OS
GetSbxObject und ItemFactories von der App an das Module
Rev 1.208 12 Dec 1996 08:41:18 OS
GetSpellChecker an der App rufen
Rev 1.207 11 Dec 1996 14:17:40 OS
View nicht von der App holen; Spell-Opts auch an der MiscConfig setzen
Rev 1.206 03 Dec 1996 16:56:48 AMA
Chg: Der Drucker wird nur im !Browsemodus angelegt.
Rev 1.205 26 Nov 1996 19:44:40 OS
GetDocManPath mit SID_SW_DOCMAN_PATH
Rev 1.204 25 Nov 1996 10:30:40 MA
apptitle ist desktop, dafuer name fuer interface
Rev 1.203 22 Nov 1996 13:05:44 OS
neue Ids fuer Wizards
Rev 1.202 18 Nov 1996 14:15:26 OS
neu: GetSourceViewConfig am Module
Rev 1.201 08 Nov 1996 19:39:36 MA
ResMgr
Rev 1.200 07 Nov 1996 16:20:40 OS
FillStatusBar jetzt am Module
Rev 1.199 05 Nov 1996 15:28:40 OS
FN_BASIC war auch ueberfluessig
Rev 1.198 01 Nov 1996 18:02:40 MA
Writer Module
Rev 1.197 24 Oct 1996 16:55:52 MA
#32609#
Rev 1.196 23 Oct 1996 13:49:10 JP
SVMEM -> SVSTDARR Umstellung
Rev 1.195 18 Oct 1996 11:14:14 OS
SID_RULER_PROTECT auch fuer Browser-Umschaltung invalidieren
Rev 1.194 27 Sep 1996 13:59:48 OS
Etiketten und Umschlaege nicht in Readonly-Docs
Rev 1.193 27 Sep 1996 12:58:12 OS
Aktualisieren der Autotexte nachdem die Pfade an der App veraendert wurden
Rev 1.192 23 Sep 1996 08:21:54 OS
Umschalten der Viewoptions nur noch per Bool
-------------------------------------------------------------------------*/
|