summaryrefslogtreecommitdiffstats
path: root/sc/inc/ViewSettingsSequenceDefines.hxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-09-01 13:39:49 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-09-01 13:39:49 +0200
commit839c0f5270b12f99a7c9f3f4baadb355695c3424 (patch)
tree461a1000c6471cf7f015dbb9f3fccc94518490de /sc/inc/ViewSettingsSequenceDefines.hxx
parentdba33h: merge after pulling OOO330.m6 (diff)
downloadcore-839c0f5270b12f99a7c9f3f4baadb355695c3424.tar.gz
core-839c0f5270b12f99a7c9f3f4baadb355695c3424.zip
dba33i: #i111146# completely put the responsibility for remembering/restoring view data, when switching to the
print preview and back, to SFX In particular, the following changes have been applied - the SfxViewFactory now supports a programmatic API name, as documented in XModel2.getAvailableViewControllerNames - the new SFX_IMPL_NAMED_VIEWFACTORY, complementing the existing SFX_IMPL_VIEWFACTORY, allows to create view factories for such named views - SfxViewFrame::SwitchToViewShell_Impl has been extended to recognize the case where a non-PrintPreview view is exchanged with another view. In this case, it preserves the view's view data at the model - Calc's own mechanism for preserving the standard view's view data, and restoring it when coming back from the print preview, has been removed completely. What probably is left here is to migrate the other applications from SFX_IMPL_VIEWFACTORY to SFX_IMPL_NAMED_VIEWFACTORY. This way, they could also benefit from the new mechanism. Also, the UNO API would then be more precise, as the view names would be speaking then, instead of the current "view<number>" names.
Diffstat (limited to 'sc/inc/ViewSettingsSequenceDefines.hxx')
-rw-r--r--sc/inc/ViewSettingsSequenceDefines.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/ViewSettingsSequenceDefines.hxx b/sc/inc/ViewSettingsSequenceDefines.hxx
index f23229d31a43..07c3d2b375e0 100644
--- a/sc/inc/ViewSettingsSequenceDefines.hxx
+++ b/sc/inc/ViewSettingsSequenceDefines.hxx
@@ -103,6 +103,6 @@
#define SC_PAGEVIEWZOOMVALUE "PageViewZoomValue"
#define SC_SHOWPAGEBREAKPREVIEW "ShowPageBreakPreview"
#define SC_VIEWID "ViewId"
-#define SC_VIEW "View"
+#define SC_VIEW "view"
#endif