summaryrefslogtreecommitdiff
path: root/svx/workben
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2001-02-15 07:38:08 +0000
committerMalte Timmermann <mt@openoffice.org>2001-02-15 07:38:08 +0000
commitee4d0ed6c91f91120c85a823ac05509d2ba1ea13 (patch)
treeb1876d87a229ea2b3fcfb742e400383a71220ac9 /svx/workben
parent1af557a172207563323d1a5c3d3bdb6a94e62b90 (diff)
KEY_V for vertical
Diffstat (limited to 'svx/workben')
-rw-r--r--svx/workben/edittest.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/svx/workben/edittest.cxx b/svx/workben/edittest.cxx
index 53cbc032fec1..f95bde9928b7 100644
--- a/svx/workben/edittest.cxx
+++ b/svx/workben/edittest.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: edittest.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: mt $ $Date: 2001-02-15 08:35:27 $
+ * last change: $Author: mt $ $Date: 2001-02-15 08:38:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1654,6 +1654,11 @@ void __EXPORT EditViewWindow::KeyInput( const KeyEvent& rKEvt )
{
pEditView->RemoveAttribs();
}
+ else if ( ( nCode == KEY_V ) && rKEvt.GetKeyCode().IsMod2() )
+ {
+ pEditEngine->SetVertical( TRUE );
+ Invalidate();
+ }
else if ( ( ( nCode == KEY_ADD ) || ( nCode == KEY_SUBTRACT ) )&& rKEvt.GetKeyCode().IsMod2() )
{
short nDiff = ( nCode == KEY_ADD ) ? (+5) : (-5);