|
From: <xm...@us...> - 2013-11-23 12:37:40
|
Revision: 1871
http://sourceforge.net/p/scstudio/code/1871
Author: xmalota
Date: 2013-11-23 12:37:37 +0000 (Sat, 23 Nov 2013)
Log Message:
-----------
behavior of zoom when new page added changed, now is always 100 % instead of 40 or 45 % (previous behavior)
Modified Paths:
--------------
trunk/src/view/visio/addon/addon.cpp
Modified: trunk/src/view/visio/addon/addon.cpp
===================================================================
--- trunk/src/view/visio/addon/addon.cpp 2013-11-20 11:49:44 UTC (rev 1870)
+++ trunk/src/view/visio/addon/addon.cpp 2013-11-23 12:37:37 UTC (rev 1871)
@@ -675,6 +675,11 @@
Visio::IVShapePtr sheet = vsoPage->PageSheet;
//creates new section = action
sheet->AddSection((short)Visio::visSectionAction);
+
+ //seting of zoom to 100prc instead of some random visio value
+ sheet->GetDocument()->ZoomBehavior = Visio::visZoomVisioExact;
+ sheet->GetDocument()->GetApplication()->ActiveWindow->Zoom = 1.00;
+ sheet->GetDocument()->ZoomBehavior = Visio::visZoomNone;
//creates rows in action section where definition of context menu is stored
sheet->AddNamedRow((short)Visio::visSectionAction,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|