diff options
Diffstat (limited to 'sw/source/ui/ribbar')
-rw-r--r-- | sw/source/ui/ribbar/conarc.cxx | 257 | ||||
-rw-r--r-- | sw/source/ui/ribbar/conform.cxx | 193 | ||||
-rw-r--r-- | sw/source/ui/ribbar/conpoly.cxx | 304 | ||||
-rw-r--r-- | sw/source/ui/ribbar/conrect.cxx | 338 | ||||
-rw-r--r-- | sw/source/ui/ribbar/drawbase.cxx | 873 | ||||
-rw-r--r-- | sw/source/ui/ribbar/dselect.cxx | 253 | ||||
-rw-r--r-- | sw/source/ui/ribbar/inputwin.cxx | 881 | ||||
-rw-r--r-- | sw/source/ui/ribbar/inputwin.hrc | 118 | ||||
-rw-r--r-- | sw/source/ui/ribbar/inputwin.src | 1137 | ||||
-rw-r--r-- | sw/source/ui/ribbar/makefile.mk | 109 | ||||
-rw-r--r-- | sw/source/ui/ribbar/tblctrl.cxx | 209 | ||||
-rw-r--r-- | sw/source/ui/ribbar/tblctrl.hrc | 69 | ||||
-rw-r--r-- | sw/source/ui/ribbar/tblctrl.src | 123 | ||||
-rw-r--r-- | sw/source/ui/ribbar/tbxanchr.cxx | 240 | ||||
-rw-r--r-- | sw/source/ui/ribbar/tbxanchr.src | 204 | ||||
-rw-r--r-- | sw/source/ui/ribbar/tbxmgr.cxx | 304 | ||||
-rw-r--r-- | sw/source/ui/ribbar/workctrl.cxx | 838 | ||||
-rw-r--r-- | sw/source/ui/ribbar/workctrl.hrc | 118 | ||||
-rw-r--r-- | sw/source/ui/ribbar/workctrl.src | 1936 |
19 files changed, 8504 insertions, 0 deletions
diff --git a/sw/source/ui/ribbar/conarc.cxx b/sw/source/ui/ribbar/conarc.cxx new file mode 100644 index 000000000000..fac5c6951238 --- /dev/null +++ b/sw/source/ui/ribbar/conarc.cxx @@ -0,0 +1,257 @@ +/************************************************************************* + * + * $RCSfile: conarc.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 + +#ifndef _SVDOBJ_HXX //autogen +#include <svx/svdobj.hxx> +#endif + + +#include "view.hxx" +#include "edtwin.hxx" +#include "wrtsh.hxx" +#include "drawbase.hxx" +#include "conarc.hxx" + + + +/************************************************************************* +|* +|* Konstruktor +|* +\************************************************************************/ + + + +ConstArc::ConstArc(SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* pSwView) + : SwDrawBase(pWrtShell, pEditWin, pSwView), nAnzButUp(0) +{ +} + +/************************************************************************* +|* +|* MouseButtonDown-event +|* +\************************************************************************/ + + + +BOOL ConstArc::MouseButtonDown( const MouseEvent& rMEvt ) +{ + BOOL bReturn; + + if ((bReturn = SwDrawBase::MouseButtonDown(rMEvt)) == TRUE) + { + if (!nAnzButUp) + aStartPnt = pWin->PixelToLogic(rMEvt.GetPosPixel()); + } + return (bReturn); +} + +/************************************************************************* +|* +|* MouseButtonUp-event +|* +\************************************************************************/ + + + +BOOL ConstArc::MouseButtonUp( const MouseEvent& rMEvt ) +{ + BOOL bReturn = FALSE; + + if ((pSh->IsDrawCreate() || pWin->IsDrawAction()) && rMEvt.IsLeft()) + { + Point aPnt(pWin->PixelToLogic(rMEvt.GetPosPixel())); + if (!nAnzButUp && aPnt == aStartPnt) + { + SwDrawBase::MouseButtonUp(rMEvt); + bReturn = TRUE; + } + else + { nAnzButUp++; + + if (nAnzButUp == 3) // Kreisbogenerzeugung beendet + { + SwDrawBase::MouseButtonUp(rMEvt); + nAnzButUp = 0; + bReturn = TRUE; + } + else + pSh->EndCreate(SDRCREATE_NEXTPOINT); + } + } +/* else if ( pView->IsCreateObj() && rMEvt.IsRight() ) + { + pView->EndCreateObj( SDRCREATE_FORCEEND ); + bReturn = TRUE; + }*/ + + return (bReturn); +} + +/************************************************************************* +|* +|* Function aktivieren +|* +\************************************************************************/ + + + +void ConstArc::Activate(const USHORT nSlotId) +{ + switch (nSlotId) + { + case SID_DRAW_ARC: + pWin->SetDrawMode(OBJ_CARC); + break; + case SID_DRAW_PIE: + pWin->SetDrawMode(OBJ_SECT); + break; + case SID_DRAW_CIRCLECUT: + pWin->SetDrawMode(OBJ_CCUT); + break; + default: + pWin->SetDrawMode(OBJ_NONE); + break; + } + + SwDrawBase::Activate(nSlotId); +} + +/************************************************************************* +|* +|* Funktion deaktivieren +|* +\************************************************************************/ + +void ConstArc::Deactivate() +{ + nAnzButUp = 0; + + SwDrawBase::Deactivate(); +} + +/************************************************************************* + + Source Code Control System - History + + $Log: not supported by cvs2svn $ + Revision 1.24 2000/09/18 16:06:00 willem.vandorp + OpenOffice header added. + + Revision 1.23 1997/11/24 13:53:58 MA + includes + + + Rev 1.22 24 Nov 1997 14:53:58 MA + includes + + Rev 1.21 03 Nov 1997 13:24:22 MA + precomp entfernt + + Rev 1.20 05 Sep 1997 11:59:36 MH + chg: header + + Rev 1.19 04 Feb 1997 15:20:32 OM + Bugs in Selektionsmodi behoben + + Rev 1.18 28 Aug 1996 13:39:26 OS + includes + + Rev 1.17 14 Aug 1996 11:31:02 JP + svdraw.hxx entfernt + + Rev 1.16 23 May 1996 08:50:16 OS + ein define weniger + + Rev 1.15 07 Mar 1996 14:27:30 HJS + 2 defines zu viel + + Rev 1.14 24 Nov 1995 16:58:04 OM + PCH->PRECOMPILED + + Rev 1.13 15 Nov 1995 18:35:26 OM + Virtuelle Fkt rausgeworfen + + Rev 1.12 21 Sep 1995 18:38:28 OM + Selektionsmodi ueberarbeitet + + Rev 1.11 20 Sep 1995 10:07:02 OM + Control-Browser: Stati gefixt + + Rev 1.10 09 Aug 1995 16:55:38 MA + drawing-undo-header rein + + Rev 1.9 21 Jun 1995 16:15:26 OS + SID_TOOL => SID_DRAW + + Rev 1.8 24 Apr 1995 12:44:36 OM + Absturz bei Delete gefixt + +*************************************************************************/ + + diff --git a/sw/source/ui/ribbar/conform.cxx b/sw/source/ui/ribbar/conform.cxx new file mode 100644 index 000000000000..0fd7e4464b22 --- /dev/null +++ b/sw/source/ui/ribbar/conform.cxx @@ -0,0 +1,193 @@ +/************************************************************************* + * + * $RCSfile: conform.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 + + +#ifndef _SVX_FMGLOB_HXX //autogen +#include <svx/fmglob.hxx> +#endif +#ifndef _SVDVIEW_HXX //autogen +#include <svx/svdview.hxx> +#endif +#ifndef _SVDOBJ_HXX //autogen +#include <svx/svdobj.hxx> +#endif +#ifndef _SVX_FMSHELL_HXX //autogen +#include <svx/fmshell.hxx> +#endif + + +#include "view.hxx" +#include "edtwin.hxx" +#include "wrtsh.hxx" +#include "drawbase.hxx" +#include "conform.hxx" + +extern BOOL bNoInterrupt; // in mainwn.cxx + +/************************************************************************* +|* +|* Konstruktor +|* +\************************************************************************/ + + +ConstFormControl::ConstFormControl(SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* pSwView) : + SwDrawBase(pWrtShell, pEditWin, pSwView) +{ + bInsForm = TRUE; +} + +/************************************************************************* +|* +|* MouseButtonDown-event +|* +\************************************************************************/ + + +BOOL ConstFormControl::MouseButtonDown(const MouseEvent& rMEvt) +{ + BOOL bReturn = FALSE; + + SdrView *pSdrView = pSh->GetDrawView(); + + pSdrView->SetOrtho(rMEvt.IsShift()); + pSdrView->SetAngleSnapEnabled(rMEvt.IsShift()); + + if (rMEvt.IsMod2()) + { + pSdrView->SetCreate1stPointAsCenter(TRUE); + pSdrView->SetResizeAtCenter(TRUE); + } + else + { + pSdrView->SetCreate1stPointAsCenter(FALSE); + pSdrView->SetResizeAtCenter(FALSE); + } + + SdrViewEvent aVEvt; + SdrHitKind eHit = pSdrView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); + + // Nur neues Objekt, wenn nicht im Basismode (bzw reinem Selektionsmode) + if (rMEvt.IsLeft() && !pWin->IsDrawAction() && + (eHit == SDRHIT_UNMARKEDOBJECT || eHit == SDRHIT_NONE || pSh->IsDrawCreate())) + { + bNoInterrupt = TRUE; + pWin->CaptureMouse(); + + pWin->SetPointer(Pointer(POINTER_DRAW_RECT)); + + aStartPos = pWin->PixelToLogic(rMEvt.GetPosPixel()); + bReturn = pSh->BeginCreate(pWin->GetDrawMode(), FmFormInventor, aStartPos); + + if (bReturn) + pWin->SetDrawAction(TRUE); + } + else + bReturn = SwDrawBase::MouseButtonDown(rMEvt); + + return (bReturn); +} + +/************************************************************************* +|* +|* Function aktivieren +|* +\************************************************************************/ + + +void ConstFormControl::Activate(const USHORT nSlotId) +{ + pWin->SetDrawMode(nSlotId); + SwDrawBase::Activate(nSlotId); + pSh->GetDrawView()->SetCurrentObj(nSlotId); + + pWin->SetPointer(Pointer(POINTER_DRAW_RECT)); +} + +/************************************************************************* + + Source Code Control System - History + + $Log: not supported by cvs2svn $ + Revision 1.4 2000/09/18 16:06:00 willem.vandorp + OpenOffice header added. + + Revision 1.3 1998/03/16 11:03:42 MA + Verbindung FormShell->DrawView immer herstellen + + + Rev 1.2 16 Mar 1998 12:03:42 MA + Verbindung FormShell->DrawView immer herstellen + + Rev 1.1 11 Mar 1998 17:12:08 OM + DB-FormShell + + Rev 1.0 10 Mar 1998 14:15:20 OM + Initial revision. + +*************************************************************************/ + diff --git a/sw/source/ui/ribbar/conpoly.cxx b/sw/source/ui/ribbar/conpoly.cxx new file mode 100644 index 000000000000..ff74bf0de29b --- /dev/null +++ b/sw/source/ui/ribbar/conpoly.cxx @@ -0,0 +1,304 @@ +/************************************************************************* + * + * $RCSfile: conpoly.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 + +#ifndef _SVDMARK_HXX //autogen +#include <svx/svdmark.hxx> +#endif +#ifndef _SVDVIEW_HXX //autogen +#include <svx/svdview.hxx> +#endif +#ifndef _SVDOPATH_HXX //autogen +#include <svx/svdopath.hxx> +#endif + +#include "view.hxx" +#include "edtwin.hxx" +#include "wrtsh.hxx" +#include "drawbase.hxx" +#include "conpoly.hxx" + + +/************************************************************************/ + +#define CLOSE_PIXDIST 5 // Pixelabstand, ab dem geschlossen wird + +/************************************************************************* +|* +|* Konstruktor +|* +\************************************************************************/ + + + +ConstPolygon::ConstPolygon(SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* pSwView) : + SwDrawBase(pWrtShell, pEditWin, pSwView) +{ +} + +/************************************************************************* +|* +|* MouseButtonDown-event +|* +\************************************************************************/ + + + +BOOL ConstPolygon::MouseButtonDown(const MouseEvent& rMEvt) +{ + BOOL bReturn; + + if ((bReturn = SwDrawBase::MouseButtonDown(rMEvt)) == TRUE) + aLastPos = rMEvt.GetPosPixel(); + + return (bReturn); +} + +/************************************************************************* +|* +|* MouseMove-event +|* +\************************************************************************/ + + + +BOOL ConstPolygon::MouseMove(const MouseEvent& rMEvt) +{ + BOOL bReturn = FALSE; + + bReturn = SwDrawBase::MouseMove(rMEvt); + + return bReturn; +} + +/************************************************************************* +|* +|* MouseButtonUp-event +|* +\************************************************************************/ + + + +BOOL ConstPolygon::MouseButtonUp(const MouseEvent& rMEvt) +{ + BOOL bReturn = FALSE; + + if (pSh->IsDrawCreate()) + { + if (rMEvt.IsLeft() && rMEvt.GetClicks() == 1 && + pWin->GetDrawMode() != OBJ_FREELINE) + { + if (!pSh->EndCreate(SDRCREATE_NEXTPOINT)) + { + pSh->BreakCreate(); + EnterSelectMode(rMEvt); + return TRUE; + } + } + else + { + Point aPnt(pWin->PixelToLogic(rMEvt.GetPosPixel())); + bReturn = SwDrawBase::MouseButtonUp(rMEvt); + + if (!(bReturn && (aPnt == aStartPos || rMEvt.IsRight()))) + { + SdrView *pSdrView = pSh->GetDrawView(); + + long nCloseDist = pWin->PixelToLogic(Size(CLOSE_PIXDIST, 0)).Width(); + const SdrMarkList& rMarkList = pSdrView->GetMarkList(); + if (rMarkList.GetMark(0)) + { + SdrPathObj* pPathObj = (SdrPathObj *)rMarkList.GetMark(0)->GetObj(); + const XPolyPolygon& rXPP = pPathObj->GetPathPoly(); + if (rXPP.Count() == 1) + { + USHORT nPntMax = rXPP[0].GetPointCount() - 1; + Point aDiff = rXPP[0][nPntMax] - rXPP[0][0]; + long nSqDist = aDiff.X() * aDiff.X() + aDiff.Y() * aDiff.Y(); + nCloseDist *= nCloseDist; + + if (nSqDist <= nCloseDist && !pPathObj->IsClosed()) + pPathObj->ToggleClosed(0); + } + } + } + } + } + else + bReturn = SwDrawBase::MouseButtonUp(rMEvt); + + return (bReturn); +} + +/************************************************************************* +|* +|* Function aktivieren +|* +\************************************************************************/ + + + +void ConstPolygon::Activate(const USHORT nSlotId) +{ + switch (nSlotId) + { + case SID_DRAW_POLYGON_NOFILL: + pWin->SetDrawMode(OBJ_PLIN); + break; + + case SID_DRAW_BEZIER_NOFILL: + pWin->SetDrawMode(OBJ_PATHLINE); + break; + + case SID_DRAW_FREELINE_NOFILL: + pWin->SetDrawMode(OBJ_FREELINE); + break; + + default: + break; + } + + SwDrawBase::Activate(nSlotId); +} + +/************************************************************************* + + Source Code Control System - History + + $Log: not supported by cvs2svn $ + Revision 1.29 2000/09/18 16:06:01 willem.vandorp + OpenOffice header added. + + Revision 1.28 1997/11/28 19:14:18 MA + includes + + + Rev 1.27 28 Nov 1997 20:14:18 MA + includes + + Rev 1.26 24 Nov 1997 14:53:58 MA + includes + + Rev 1.25 03 Nov 1997 13:24:20 MA + precomp entfernt + + Rev 1.24 05 Sep 1997 11:57:52 MH + chg: header + + Rev 1.23 13 Aug 1997 12:18:56 OM + #42383# Selektion von Punkten im Konstruktionsmode + + Rev 1.22 20 Mar 1997 12:14:28 OM + GPF in Beziermode behoben + + Rev 1.21 30 Jan 1997 11:48:08 OM + Freihandzeichnen + + Rev 1.20 29 Jan 1997 11:22:08 OM + Freihandzeichnen + + Rev 1.19 23 Jan 1997 16:07:06 OM + Neuer Polygon Zeichenmode + + Rev 1.18 16 Jan 1997 12:35:58 OM + Neuer Objekttyp: Bezier + + Rev 1.17 28 Aug 1996 13:39:32 OS + includes + + Rev 1.16 14 Aug 1996 11:31:00 JP + svdraw.hxx entfernt + + Rev 1.15 24 Nov 1995 16:58:06 OM + PCH->PRECOMPILED + + Rev 1.14 15 Nov 1995 18:35:28 OM + Virtuelle Fkt rausgeworfen + + Rev 1.13 10 Aug 1995 18:15:00 OM + CreateMode geaendert + + Rev 1.12 09 Aug 1995 16:53:02 MA + drawing-undo-header rein + + Rev 1.11 20 Jul 1995 19:26:38 OM + Umbenamsung obj_pathline->obj_plin + + Rev 1.10 06 May 1995 20:38:04 OM + Polygonerzeugung bei Einfachklick + + Rev 1.9 21 Apr 1995 02:18:44 ER + ToggleClosed erwartet jetzt ein long und kein Size() mehr + + Rev 1.8 06 Apr 1995 20:15:56 OM + Polygon beenden mit rechter Maustaste + + Rev 1.7 21 Mar 1995 00:47:02 ER + _svdorect_hxx definiert => _svdcapt_hxx definieren + +*************************************************************************/ + + diff --git a/sw/source/ui/ribbar/conrect.cxx b/sw/source/ui/ribbar/conrect.cxx new file mode 100644 index 000000000000..cba447d61d26 --- /dev/null +++ b/sw/source/ui/ribbar/conrect.cxx @@ -0,0 +1,338 @@ +/************************************************************************* + * + * $RCSfile: conrect.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 + +#ifndef _SFX_BINDINGS_HXX //autogen +#include <sfx2/bindings.hxx> +#endif +#ifndef _SVX_HTMLMODE_HXX //autogen +#include <svx/htmlmode.hxx> +#endif +#ifndef sdtacitm_hxx //autogen +#include <svx/sdtacitm.hxx> +#endif +#ifndef _SVDOBJ_HXX //autogen +#include <svx/svdobj.hxx> +#endif +#ifndef _SDTAGITM_HXX //autogen +#include <svx/sdtagitm.hxx> +#endif +#ifndef SDTAKITM_HXX //autogen +#include <svx/sdtakitm.hxx> +#endif +#ifndef _SDTADITM_HXX //autogen +#include <svx/sdtaditm.hxx> +#endif +#ifndef _SDTAAITM_HXX //autogen +#include <svx/sdtaaitm.hxx> +#endif +#ifndef _SVDVIEW_HXX //autogen +#include <svx/svdview.hxx> +#endif +#ifndef _SFXVIEWFRM_HXX +#include <sfx2/viewfrm.hxx> +#endif + +#include "cmdid.h" +#include "view.hxx" +#include "edtwin.hxx" +#include "wrtsh.hxx" +#include "viewopt.hxx" +#include "drawbase.hxx" +#include "conrect.hxx" + + +/************************************************************************* +|* +|* Konstruktor +|* +\************************************************************************/ + + + +ConstRectangle::ConstRectangle(SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* pSwView) : + SwDrawBase(pWrtShell, pEditWin, pSwView), + bMarquee(FALSE) +{ +} + +/************************************************************************* +|* +|* MouseButtonDown-event +|* +\************************************************************************/ + + + +BOOL ConstRectangle::MouseButtonDown(const MouseEvent& rMEvt) +{ + BOOL bReturn; + + if ((bReturn = SwDrawBase::MouseButtonDown(rMEvt)) == TRUE + && pWin->GetDrawMode() == OBJ_CAPTION) + { + pView->NoRotate(); + if (pView->IsDrawSelMode()) + { + pView->FlipDrawSelMode(); + pSh->GetDrawView()->SetFrameDragSingles(pView->IsDrawSelMode()); + } + } + return (bReturn); +} + +/************************************************************************* +|* +|* MouseButtonUp-event +|* +\************************************************************************/ + + + +BOOL ConstRectangle::MouseButtonUp(const MouseEvent& rMEvt) +{ + Point aPnt(pWin->PixelToLogic(rMEvt.GetPosPixel())); + + BOOL bRet = SwDrawBase::MouseButtonUp(rMEvt); + + if (bRet && pWin->GetDrawMode() == OBJ_TEXT) + { + SdrView *pSdrView = pSh->GetDrawView(); + + if (bMarquee) + { + BOOL bNewMode = (::GetHtmlMode(pView->GetDocShell()) & HTMLMODE_ON) != 0; + pSh->ChgAnchor(FLY_IN_CNTNT); + + const SdrMarkList& rMarkList = pSdrView->GetMarkList(); + + if (rMarkList.GetMark(0)) + { + SdrObject* pObj = rMarkList.GetMark(0)->GetObj(); + + // die fuer das Scrollen benoetigten Attribute setzen + SfxItemSet aItemSet( pSdrView->GetModel()->GetItemPool(), + SDRATTR_MISC_FIRST, SDRATTR_MISC_LAST); + + aItemSet.Put( SdrTextAutoGrowWidthItem( FALSE ) ); + aItemSet.Put( SdrTextAutoGrowHeightItem( FALSE ) ); + aItemSet.Put( SdrTextAniKindItem( SDRTEXTANI_SCROLL ) ); + aItemSet.Put( SdrTextAniDirectionItem( SDRTEXTANI_LEFT ) ); + aItemSet.Put( SdrTextAniCountItem( 0 ) ); + aItemSet.Put( SdrTextAniAmountItem((INT16)pWin->PixelToLogic(Size(2,1)).Width()) ); + pObj->SetAttributes(aItemSet, FALSE); + } + } + + pView->LeaveDrawCreate(); // In Selektionsmode wechseln + + pSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_INSERT_DRAW); + + SdrPageView* pPV = pSdrView->GetPageViewPvNum(0); + const SdrMarkList& rMarkList = pSdrView->GetMarkList(); + if (rMarkList.GetMark(0)) + { + SdrObject* pObj = rMarkList.GetMark(0)->GetObj(); + + pView->BeginTextEdit(pObj, pPV, pWin, TRUE); + } + } + return bRet; +} + +/************************************************************************* +|* +|* Function aktivieren +|* +\************************************************************************/ + + + +void ConstRectangle::Activate(const USHORT nSlotId) +{ + bMarquee = FALSE; + + switch (nSlotId) + { + case SID_DRAW_LINE: + pWin->SetDrawMode(OBJ_LINE); + break; + case SID_DRAW_RECT: + pWin->SetDrawMode(OBJ_RECT); + break; + case SID_DRAW_ELLIPSE: + pWin->SetDrawMode(OBJ_CIRC); + break; + case SID_DRAW_TEXT_MARQUEE: + bMarquee = TRUE; + case SID_DRAW_TEXT: + pWin->SetDrawMode(OBJ_TEXT); + break; + + case SID_DRAW_CAPTION: + pWin->SetDrawMode(OBJ_CAPTION); + break; + default: + pWin->SetDrawMode(OBJ_NONE); + break; + } + + SwDrawBase::Activate(nSlotId); +} + +/************************************************************************* + + Source Code Control System - History + + $Log: not supported by cvs2svn $ + Revision 1.45 2000/09/18 16:06:01 willem.vandorp + OpenOffice header added. + + Revision 1.44 2000/09/07 15:59:26 os + change: SFX_DISPATCHER/SFX_BINDINGS removed + + Revision 1.43 1998/06/09 13:34:00 OM + VC-Controls entfernt + + + Rev 1.42 09 Jun 1998 15:34:00 OM + VC-Controls entfernt + + Rev 1.41 28 Nov 1997 20:05:50 MA + includes + + Rev 1.40 24 Nov 1997 14:53:58 MA + includes + + Rev 1.39 18 Nov 1997 10:35:12 OM + Lauftext nur im HTML-Mode zeichengebunden einfuegen + + Rev 1.38 03 Nov 1997 13:24:22 MA + precomp entfernt + + Rev 1.37 05 Sep 1997 11:55:04 MH + chg: header + + Rev 1.36 07 Apr 1997 13:39:28 MH + chg: header + + Rev 1.35 07 Mar 1997 17:13:38 OM + Lauftext unendlich oft durchlaufen + + Rev 1.34 07 Mar 1997 17:05:12 OM + Lauftext unendlich oft durchlaufen + + Rev 1.33 24 Feb 1997 16:55:48 OM + Lauftext-Objekt sofort editieren + + Rev 1.32 14 Feb 1997 14:00:34 OM + lauftextobjekt zeichengebunden + + Rev 1.31 11 Feb 1997 14:03:32 OM + Lauftext im Webmode + + Rev 1.30 10 Feb 1997 17:29:42 OM + Lauftext + + Rev 1.29 09 Sep 1996 21:13:44 MH + Umstellungen wg. internal Compiler Errors + + Rev 1.28 28 Aug 1996 13:39:22 OS + includes + + Rev 1.27 14 Aug 1996 11:31:00 JP + svdraw.hxx entfernt + + Rev 1.26 07 Aug 1996 14:59:24 JP + Umstellung fuer Upd. 330 + + Rev 1.25 24 Nov 1995 16:58:04 OM + PCH->PRECOMPILED + + Rev 1.24 15 Nov 1995 18:35:28 OM + Virtuelle Fkt rausgeworfen + + Rev 1.23 14 Nov 1995 17:36:56 OM + Cast entfernt + + Rev 1.22 08 Nov 1995 15:29:48 OM + Invalidate-Reihenfolge geaendert + + Rev 1.21 08 Nov 1995 14:15:50 OS + Change => Set + + Rev 1.20 08 Nov 1995 10:35:42 OM + Invalidate optimiert + + Rev 1.19 26 Oct 1995 16:41:36 OM + Leere Textobjekte beim Verlassen loeschen + + Rev 1.18 08 Oct 1995 18:06:46 OM + Textobjekt nach einfuegen oeffnen + +*************************************************************************/ + + diff --git a/sw/source/ui/ribbar/drawbase.cxx b/sw/source/ui/ribbar/drawbase.cxx new file mode 100644 index 000000000000..4710570f456d --- /dev/null +++ b/sw/source/ui/ribbar/drawbase.cxx @@ -0,0 +1,873 @@ +/************************************************************************* + * + * $RCSfile: drawbase.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 _UIPARAM_HXX +#include <uiparam.hxx> +#endif + +#ifndef _LIST_HXX //autogen +#include <tools/list.hxx> +#endif +#ifndef _SVDVIEW_HXX //autogen +#include <svx/svdview.hxx> +#endif +#ifndef _SVDOBJ_HXX //autogen +#include <svx/svdobj.hxx> +#endif +#ifndef _SFXPTITEM_HXX //autogen +#include <svtools/ptitem.hxx> +#endif +#ifndef _SVX_SIZEITEM_HXX //autogen +#include <svx/sizeitem.hxx> +#endif +#ifndef _SFXREQUEST_HXX //autogen +#include <sfx2/request.hxx> +#endif +#ifndef _SFX_BINDINGS_HXX //autogen +#include <sfx2/bindings.hxx> +#endif +#ifndef _FMTCLDS_HXX +#include <fmtclds.hxx> +#endif +#ifndef _FRMFMT_HXX //autogen +#include <frmfmt.hxx> +#endif +#ifndef _SFXVIEWFRM_HXX +#include <sfx2/viewfrm.hxx> +#endif + +#include "cmdid.h" +#include "basesh.hxx" +#include "view.hxx" +#include "wrtsh.hxx" +#include "drawbase.hxx" +#include "edtwin.hxx" +#include "caption.hxx" +#include "swundo.hxx" + +extern BOOL bNoInterrupt; // in mainwn.cxx + +#define MINMOVE ((USHORT)pSh->GetOut()->PixelToLogic(Size(pSh->GetDrawView()->GetMarkHdlSizePixel()/2,0)).Width()) + + +/************************************************************************* +|* +|* Konstruktor +|* +\************************************************************************/ + + +SwDrawBase::SwDrawBase(SwWrtShell* pSwWrtShell, SwEditWin* pWindow, SwView* pSwView) : + pSh(pSwWrtShell), + pWin(pWindow), + pView(pSwView), + bInsForm(FALSE), + bCreateObj(TRUE) +{ + if ( !pSh->HasDrawView() ) + pSh->MakeDrawView(); +} + +/************************************************************************* +|* +|* Destruktor +|* +\************************************************************************/ + +__EXPORT SwDrawBase::~SwDrawBase() +{ + if (pView->GetWrtShellPtr()) // Im view-Dtor koennte die wrtsh bereits geloescht worden sein... + pSh->GetDrawView()->SetEditMode(TRUE); +} + +/************************************************************************* +|* +|* MouseButtonDown-event +|* +\************************************************************************/ + + +BOOL SwDrawBase::MouseButtonDown(const MouseEvent& rMEvt) +{ + BOOL bReturn = FALSE; + + SdrView *pSdrView = pSh->GetDrawView(); + + pSdrView->SetOrtho(rMEvt.IsShift()); + pSdrView->SetAngleSnapEnabled(rMEvt.IsShift()); + + if (rMEvt.IsMod2()) + { + pSdrView->SetCreate1stPointAsCenter(TRUE); + pSdrView->SetResizeAtCenter(TRUE); + } + else + { + pSdrView->SetCreate1stPointAsCenter(FALSE); + pSdrView->SetResizeAtCenter(FALSE); + } + + SdrViewEvent aVEvt; + SdrHitKind eHit = pSdrView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); + + // Nur neues Objekt, wenn nicht im Basismode (bzw reinem Selektionsmode) + if (rMEvt.IsLeft() && !pWin->IsDrawAction()) + { + if (IsCreateObj() && (eHit == SDRHIT_UNMARKEDOBJECT || eHit == SDRHIT_NONE || pSh->IsDrawCreate())) + { + bNoInterrupt = TRUE; + pWin->CaptureMouse(); + + aStartPos = pWin->PixelToLogic(rMEvt.GetPosPixel()); + + bReturn = pSh->BeginCreate(pWin->GetDrawMode(), aStartPos); + + SetDrawPointer(); + + if ( bReturn ) + pWin->SetDrawAction(TRUE); + } + else if (!pSdrView->IsAction()) + { + /********************************************************************** + * BEZIER-EDITOR + **********************************************************************/ + pWin->CaptureMouse(); + aStartPos = pWin->PixelToLogic(rMEvt.GetPosPixel()); + UINT16 nEditMode = pWin->GetBezierMode(); + + if (eHit == SDRHIT_HANDLE && aVEvt.pHdl->GetKind() == HDL_BWGT) + { + /****************************************************************** + * Handle draggen + ******************************************************************/ + bNoInterrupt = TRUE; + bReturn = pSdrView->BegDragObj(aStartPos, (OutputDevice*) NULL, aVEvt.pHdl); + pWin->SetDrawAction(TRUE); + } + else if (eHit == SDRHIT_MARKEDOBJECT && nEditMode == SID_BEZIER_INSERT) + { + /****************************************************************** + * Klebepunkt einfuegen + ******************************************************************/ + bNoInterrupt = TRUE; + bReturn = pSdrView->BegInsObjPoint(aStartPos, rMEvt.IsMod1(), NULL, 0); + pWin->SetDrawAction(TRUE); + } + else if (eHit == SDRHIT_MARKEDOBJECT && rMEvt.IsMod1()) + { + /****************************************************************** + * Klebepunkt selektieren + ******************************************************************/ + if (!rMEvt.IsShift()) + pSdrView->UnmarkAllPoints(); + + bReturn = pSdrView->BegMarkPoints(aStartPos, (OutputDevice*) NULL); + pWin->SetDrawAction(TRUE); + } + else if (eHit == SDRHIT_MARKEDOBJECT && !rMEvt.IsShift() && !rMEvt.IsMod2()) + { + /****************************************************************** + * Objekt verschieben + ******************************************************************/ + return FALSE; + } + else if (eHit == SDRHIT_HANDLE) + { + /****************************************************************** + * Klebepunkt selektieren + ******************************************************************/ + if (pSdrView->HasMarkablePoints() && (!pSdrView->IsPointMarked(*aVEvt.pHdl) || rMEvt.IsShift())) + { + SdrHdl* pHdl = NULL; + + if (!rMEvt.IsShift()) + { + pSdrView->UnmarkAllPoints(); + pHdl = pSdrView->HitHandle(aStartPos, *pWin); + } + else + { + if (pSdrView->IsPointMarked(*aVEvt.pHdl)) + { + bReturn = pSdrView->UnmarkPoint(*aVEvt.pHdl); + pHdl = NULL; + } + else + { + pHdl = pSdrView->HitHandle(aStartPos, *pWin); + } + } + + if (pHdl) + { + bNoInterrupt = TRUE; + pSdrView->MarkPoint(*pHdl); +// bReturn = pSdrView->BegDragObj(aStartPos, (OutputDevice*) NULL, pHdl); +// pWin->SetDrawAction(TRUE); + } + } + } + else + { + /****************************************************************** + * Objekt selektieren oder draggen + ******************************************************************/ + if (pSh->IsObjSelectable(aStartPos) && eHit == SDRHIT_UNMARKEDOBJECT) + { + if (pSdrView->HasMarkablePoints()) + pSdrView->UnmarkAllPoints(); + + bNoInterrupt = FALSE; + // Drag im edtwin verwenden + return FALSE; + } + + bNoInterrupt = TRUE; + + if (pSh->IsObjSelected()) + { + if (!rMEvt.IsShift()) + { + if (!pSdrView->HasMarkablePoints()) + pSh->SelectObj(Point(LONG_MAX, LONG_MAX)); // Alles deselektieren + else + pSdrView->UnmarkAllPoints(); + } + } + BOOL bMarked = FALSE; + + if (!pSh->IsSelFrmMode()) + pSh->EnterSelFrmMode(NULL); + + if ((bReturn = pSh->BeginMark(aStartPos)) == TRUE) + pWin->SetDrawAction(TRUE); + + SetDrawPointer(); + } + } + } + return bReturn; +} + +/************************************************************************* +|* +|* MouseMove-event +|* +\************************************************************************/ + + +BOOL SwDrawBase::MouseMove(const MouseEvent& rMEvt) +{ + SdrView *pSdrView = pSh->GetDrawView(); + Point aPnt(pWin->PixelToLogic(rMEvt.GetPosPixel())); + BOOL bRet = FALSE; + + if (IsCreateObj() && !pWin->IsDrawSelMode() && pSdrView->IsCreateObj()) + { + pSdrView->SetOrtho(rMEvt.IsShift()); + pSdrView->SetAngleSnapEnabled(rMEvt.IsShift()); + + pSh->MoveCreate(aPnt); + bRet = TRUE; + } + else if (pSdrView->IsAction() || pSdrView->IsInsObjPoint() || pSdrView->IsMarkPoints()) + { + pSh->MoveMark(aPnt); + bRet = TRUE; + } + + return (bRet); +} + +/************************************************************************* +|* +|* MouseButtonUp-event +|* +\************************************************************************/ + + +BOOL SwDrawBase::MouseButtonUp(const MouseEvent& rMEvt) +{ + BOOL bReturn = FALSE; + BOOL bCheckShell = FALSE; + BOOL bAutoCap = FALSE; + + Point aPnt(pWin->PixelToLogic(rMEvt.GetPosPixel())); + + if (IsCreateObj() && pSh->IsDrawCreate() && !pWin->IsDrawSelMode()) + { + if (aPnt == aStartPos || rMEvt.IsRight()) + { + pSh->BreakCreate(); + pView->LeaveDrawCreate(); + } + else + { + if (pWin->GetDrawMode() == OBJ_NONE) + pSh->StartUndo(UNDO_INSERT); + + pSh->EndCreate(SDRCREATE_FORCEEND); + if (pWin->GetDrawMode() == OBJ_NONE) // Textrahmen eingefuegt + { + bAutoCap = TRUE; + if(pWin->GetFrmColCount() > 1) + { + SfxItemSet aSet(pView->GetPool(),RES_COL,RES_COL); + SwFmtCol aCol((const SwFmtCol&)aSet.Get(RES_COL)); + aCol.Init(pWin->GetFrmColCount(), aCol.GetGutterWidth(), aCol.GetWishWidth()); + aSet.Put(aCol); + // Vorlagen-AutoUpdate + SwFrmFmt* pFmt = pSh->GetCurFrmFmt(); + if(pFmt && pFmt->IsAutoUpdateFmt()) + pSh->AutoUpdateFrame(pFmt, aSet); + else + pSh->SetFlyFrmAttr( aSet ); + } + } + if (pWin->GetDrawMode() == OBJ_NONE) + pSh->EndUndo(UNDO_INSERT); + } + + bReturn = TRUE; + + EnterSelectMode(rMEvt); + } + else + { + SdrView *pSdrView = pSh->GetDrawView(); + + if (!pSdrView->HasMarkablePoints()) + { + /********************************************************************** + * KEIN BEZIER_EDITOR + **********************************************************************/ + if ((pSh->GetDrawView()->IsMarkObj() || pSh->GetDrawView()->IsMarkPoints()) + && rMEvt.IsLeft()) + { + bReturn = pSh->EndMark(); + + pWin->SetDrawAction(FALSE); + + if (aPnt == aStartPos && pSh->IsObjSelectable(aPnt)) + { + pSh->SelectObj(aPnt, rMEvt.IsShift() && pSh->IsSelFrmMode()); + + if (!pSh->IsObjSelected()) + { + pView->LeaveDrawCreate(); // In Selektionsmode wechseln + + pSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_INSERT_DRAW); + + if (pSh->IsSelFrmMode()) + pSh->LeaveSelFrmMode(); + } + pView->NoRotate(); + + bCheckShell = TRUE; // ggf BezierShell anwerfen + } + else if (!pSh->IsObjSelected() && !pWin->IsDrawAction()) + { + if (pSh->IsObjSelectable(aPnt)) + pSh->SelectObj(aPnt, rMEvt.IsShift() && pSh->IsSelFrmMode()); + else + { + pView->LeaveDrawCreate(); + if (pSh->IsSelFrmMode()) + pSh->LeaveSelFrmMode(); + } + pView->NoRotate(); + + bReturn = TRUE; + } + } + } + else + { + /********************************************************************** + * BEZIER_EDITOR + **********************************************************************/ + if ( pSdrView->IsAction() ) + { + if ( pSdrView->IsInsObjPoint() ) + bReturn = pSdrView->EndInsObjPoint(SDRCREATE_FORCEEND); + else if (pSdrView->IsMarkPoints() ) + bReturn = pSdrView->EndMarkPoints(); + else + { + pSdrView->EndAction(); + bReturn = TRUE; + } + pWin->SetDrawAction(FALSE); + + if (aPnt == aStartPos) + { + if (!pSh->IsObjSelectable(aPnt)) + pSh->SelectObj(Point(LONG_MAX, LONG_MAX)); + else if (!bReturn) + { + if (!rMEvt.IsShift()) + pSdrView->UnmarkAllPoints(); + pSh->SelectObj(aPnt, rMEvt.IsShift() && pSh->IsSelFrmMode()); + } + + if (!pSh->IsObjSelected()) + { + pView->LeaveDrawCreate(); // In Selektionsmode wechseln + + pSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_INSERT_DRAW); + + if (pSh->IsSelFrmMode()) + pSh->LeaveSelFrmMode(); + } + pView->NoRotate(); + + bCheckShell = TRUE; // ggf BezierShell anwerfen + } + } + + SetDrawPointer(); + + if (!pSh->IsObjSelected() && !pWin->IsDrawAction()) + { + pView->LeaveDrawCreate(); + if (pSh->IsSelFrmMode()) + pSh->LeaveSelFrmMode(); + + pView->NoRotate(); + bReturn = TRUE; + } + } + } + + if (bCheckShell) + pView->AttrChangedNotify( pSh ); // ggf BezierShell anwerfen + + //!!!!!!!!!! Achtung Suizid !!!!!!!!!!! Sollte alles mal erneuert werden + if ( bAutoCap ) + pView->AutoCaption(FRAME_CAP); //Kann derzeit nur FRAME sein, sonst auf + //enums umstellen + return (bReturn); +} + +/************************************************************************* +|* +|* Function aktivieren +|* +\************************************************************************/ + + +void SwDrawBase::Activate(const USHORT nSlotId) +{ + SdrView *pSdrView = pSh->GetDrawView(); + + pSdrView->SetCurrentObj(pWin->GetDrawMode()); + pSdrView->SetEditMode(FALSE); + + SetDrawPointer(); + pSh->NoEdit(); +} + +/************************************************************************* +|* +|* Function deaktivieren +|* +\************************************************************************/ + + +void __EXPORT SwDrawBase::Deactivate() +{ + SdrView *pSdrView = pSh->GetDrawView(); + pSdrView->SetOrtho(FALSE); + pSdrView->SetAngleSnapEnabled(FALSE); + + if (pWin->IsDrawAction() && pSh->IsDrawCreate()) + pSh->BreakCreate(); + + pWin->SetDrawAction(FALSE); + + pWin->ReleaseMouse(); + bNoInterrupt = FALSE; + +// if(!pSh->IsObjSelected()) +// pSh->Edit(); + + if(pWin->GetApplyTemplate()) + pWin->SetApplyTemplate(SwApplyTemplate()); + pSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_INSERT_DRAW); +} + +/************************************************************************* +|* +|* Tastaturereignisse bearbeiten +|* +|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert TRUE, andernfalls +|* FALSE. +|* +\************************************************************************/ + + +BOOL SwDrawBase::KeyInput(const KeyEvent& rKEvt) +{ + BOOL bReturn = FALSE; + USHORT nCode = rKEvt.GetKeyCode().GetCode(); + + switch (nCode) + { + case KEY_ESCAPE: + { + if (pWin->IsDrawAction()) + { + BreakCreate(); + pView->LeaveDrawCreate(); + } + + bReturn = TRUE; + } + break; + + case KEY_DELETE: + { + pSh->DelSelectedObj(); + bReturn = TRUE; + } + break; + + case KEY_UP: + case KEY_DOWN: + case KEY_LEFT: + case KEY_RIGHT: + { + SdrView *pSdrView = pSh->GetDrawView(); + + if (!pSdrView->IsTextEdit()) + { + long nX = 0; + long nY = 0; + + if (nCode == KEY_UP) + { + // Scroll nach oben + nX = 0; + nY =-1; + } + else if (nCode == KEY_DOWN) + { + // Scroll nach unten + nX = 0; + nY = 1; + } + else if (nCode == KEY_LEFT) + { + // Scroll nach links + nX =-1; + nY = 0; + } + else if (nCode == KEY_RIGHT) + { + // Scroll nach rechts + nX = 1; + nY = 0; + } + + if (pSdrView->HasMarkedObj() && rKEvt.GetKeyCode().IsMod2()) + { + // Objekte verschieben + nX *= 100; + nY *= 100; + pSdrView->MoveAllMarked(Size(nX, nY)); + } + + bReturn = TRUE; + } + } + break; + } + + return (bReturn); +} + + +/************************************************************************* +|* +|* Tastaturereignisse bearbeiten +|* +|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert TRUE, andernfalls +|* FALSE. +|* +\************************************************************************/ + + +void SwDrawBase::BreakCreate() +{ + pSh->BreakCreate(); + pWin->SetDrawAction(FALSE); + pWin->ReleaseMouse(); + + Deactivate(); +// pView->LeaveDrawCreate(); +} + +/************************************************************************* +|* +|* Mauspointer umschalten +|* +\************************************************************************/ + + +void SwDrawBase::SetDrawPointer() +{ + SdrView *pSdrView = pSh->GetDrawView(); +#ifdef VCL + Point aPnt(pWin->OutputToScreenPixel(pWin->GetPointerPosPixel())); +#else + Point aPnt = Pointer::GetPosPixel(); +#endif + aPnt = pWin->PixelToLogic(pWin->ScreenToOutputPixel(aPnt)); + const Pointer aPointTyp = pSdrView->GetPreferedPointer(aPnt, pSh->GetOut()); + const Pointer aDrawPt(aPointTyp); + pWin->SetPointer(aDrawPt); +} + +/************************************************************************* +|* +|* Ggf in Selektionsmode wechseln +|* +\************************************************************************/ + +void SwDrawBase::EnterSelectMode(const MouseEvent& rMEvt) +{ + pWin->SetDrawAction(FALSE); + + if (!pSh->IsObjSelected() && !pWin->IsDrawAction()) + { + Point aPnt(pWin->PixelToLogic(rMEvt.GetPosPixel())); + + if (pSh->IsObjSelectable(aPnt)) + { + pSh->SelectObj(aPnt); + if (rMEvt.GetModifier() == KEY_SHIFT || !pSh->IsObjSelected()) + { + pView->LeaveDrawCreate(); // In Selektionsmode wechseln + + pSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_INSERT_DRAW); + } + } + else + { + pView->LeaveDrawCreate(); + if (pSh->IsSelFrmMode()) + pSh->LeaveSelFrmMode(); + } + pView->NoRotate(); + } +} + +/************************************************************************* + + $Log: not supported by cvs2svn $ + Revision 1.80 2000/09/18 16:06:01 willem.vandorp + OpenOffice header added. + + Revision 1.79 2000/09/07 15:59:27 os + change: SFX_DISPATCHER/SFX_BINDINGS removed + + Revision 1.78 2000/05/10 11:54:15 os + Basic API removed + + Revision 1.77 1999/05/27 11:04:40 OS + Einf?gen/Bearbeiten von Spalten ueberarbeitet + + + Rev 1.76 27 May 1999 13:04:40 OS + Einf?gen/Bearbeiten von Spalten ueberarbeitet + + Rev 1.75 11 Mar 1999 11:31:22 MA + #63192# mit Suizid fertig werden + + Rev 1.74 16 Nov 1998 17:18:52 OM + #58158# Beschriftung fuer weiter OLE-Objekte + + Rev 1.73 06 Nov 1998 17:05:04 OM + #58158# Automatische Beschriftung + + Rev 1.72 09 Sep 1998 12:14:46 OM + #56223# Kein GPF bei Klick in Seitenrand + + Rev 1.71 22 Jul 1998 16:06:00 TJ + add: header wg. int comp. error + + Rev 1.70 09 Jun 1998 15:34:00 OM + VC-Controls entfernt + + Rev 1.69 11 Mar 1998 17:12:08 OM + DB-FormShell + + Rev 1.68 28 Nov 1997 20:16:46 MA + includes + + Rev 1.67 24 Nov 1997 14:54:00 MA + includes + + Rev 1.66 18 Sep 1997 13:59:46 OS + Pointer::GetPosPixel fuer VCL ersetzt + + Rev 1.65 12 Sep 1997 10:36:42 OS + ITEMID_* definiert + + Rev 1.64 04 Sep 1997 17:14:02 MA + includes + + Rev 1.63 01 Sep 1997 13:14:38 OS + DLL-Umstellung + + Rev 1.62 13 Aug 1997 12:19:54 OM + #42383# Selektion von Punkten im Konstruktionsmode + + Rev 1.61 13 Aug 1997 12:18:56 OM + #42383# Selektion von Punkten im Konstruktionsmode + + Rev 1.60 09 Aug 1997 13:33:42 OS + paraitem/frmitems/textitem aufgeteilt + + Rev 1.59 30 Jul 1997 18:40:48 HJS + includes + + Rev 1.58 07 Apr 1997 13:40:24 MH + chg: header + + Rev 1.57 20 Mar 1997 11:33:46 OM + Insert und CreateMode merken + + Rev 1.56 24 Feb 1997 16:51:46 OS + ::Deactivate: Template-Pointer gfs. abschalten + + Rev 1.55 04 Feb 1997 15:20:32 OM + Bugs in Selektionsmodi behoben + + Rev 1.54 31 Jan 1997 10:58:26 OM + Statusupdate + + Rev 1.53 30 Jan 1997 11:48:10 OM + Freihandzeichnen + + Rev 1.52 29 Jan 1997 11:22:08 OM + Freihandzeichnen + + Rev 1.51 23 Jan 1997 16:07:06 OM + Neuer Polygon Zeichenmode + + Rev 1.50 22 Jan 1997 11:19:48 OM + Neue Shells: DrawBaseShell und DrawControlShell + + Rev 1.49 16 Jan 1997 12:35:58 OM + Neuer Objekttyp: Bezier + + Rev 1.48 13 Jan 1997 15:50:18 OM + Bezier-Punkte loeschen + + Rev 1.47 08 Jan 1997 12:44:26 OM + Aenderungen fuer Bezier-Shell + + Rev 1.46 27 Nov 1996 17:26:22 OM + Neu: SetAngleSnap + + Rev 1.45 28 Aug 1996 13:39:30 OS + includes + + Rev 1.44 14 Aug 1996 15:05:28 OM + Zentrisch konstruieren + + Rev 1.43 14 Aug 1996 11:31:00 JP + svdraw.hxx entfernt + + Rev 1.42 09 Aug 1996 14:33:20 OM + #29784# GPF im Dtor behoben + + Rev 1.41 07 Mar 1996 14:27:30 HJS + 2 defines zu viel + + Rev 1.40 24 Jan 1996 15:19:58 OM + #24663# Haenger bei Polygon im Rastermode behoben + + Rev 1.39 14 Jan 1996 17:59:08 OS + recording Rahmen einfuegen: Position von GetAnchorObjDiff() holen + + Rev 1.38 17 Dec 1995 17:28:18 OS + Rahmen einfuegen wird jetzt an der Textshell recorded + + Rev 1.37 30 Nov 1995 13:59:52 MA + opt: SV304, keine Pruefung vor SetPointer + + Rev 1.36 24 Nov 1995 16:58:04 OM + PCH->PRECOMPILED + + Rev 1.35 23 Nov 1995 14:29:00 MA + chg: GetObjAnchorDiff(), GetObjAbsPos() + +*************************************************************************/ + + diff --git a/sw/source/ui/ribbar/dselect.cxx b/sw/source/ui/ribbar/dselect.cxx new file mode 100644 index 000000000000..d82b857badb9 --- /dev/null +++ b/sw/source/ui/ribbar/dselect.cxx @@ -0,0 +1,253 @@ +/************************************************************************* + * + * $RCSfile: dselect.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 + +#ifndef _SFX_BINDINGS_HXX //autogen +#include <sfx2/bindings.hxx> +#endif +#ifndef _SFXVIEWFRM_HXX +#include <sfx2/viewfrm.hxx> +#endif + + +#include "view.hxx" +#include "edtwin.hxx" +#include "wrtsh.hxx" +#include "cmdid.h" +#include "drawbase.hxx" +#include "dselect.hxx" + +extern BOOL bNoInterrupt; // in mainwn.cxx + +/************************************************************************* +|* +|* Konstruktor +|* +\************************************************************************/ + +DrawSelection::DrawSelection(SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* pSwView) : + SwDrawBase(pWrtShell, pEditWin, pSwView) +{ + bCreateObj = FALSE; +} + +/************************************************************************* +|* +|* Tastaturereignisse bearbeiten +|* +|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert TRUE, andernfalls +|* FALSE. +|* +\************************************************************************/ + +BOOL DrawSelection::KeyInput(const KeyEvent& rKEvt) +{ + BOOL bReturn = FALSE; + + switch (rKEvt.GetKeyCode().GetCode()) + { + case KEY_ESCAPE: + { + if (pWin->IsDrawAction()) + { + pSh->BreakMark(); + pWin->ReleaseMouse(); + } + bReturn = TRUE; + } + break; + } + + if (!bReturn) + bReturn = SwDrawBase::KeyInput(rKEvt); + + return (bReturn); +} + +/************************************************************************* +|* +|* Function aktivieren +|* +\************************************************************************/ + +void DrawSelection::Activate(const USHORT nSlotId) +{ + pWin->SetDrawMode(SID_OBJECT_SELECT); + SwDrawBase::Activate(nSlotId); + + pSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_INSERT_DRAW); +} + +/************************************************************************* + + Source Code Control System - History + + $Log: not supported by cvs2svn $ + Revision 1.44 2000/09/18 16:06:01 willem.vandorp + OpenOffice header added. + + Revision 1.43 2000/09/07 15:59:27 os + change: SFX_DISPATCHER/SFX_BINDINGS removed + + Revision 1.42 1998/06/12 11:33:44 OM + Wieder SID_OBJECT_SELECT statt SID_DRAW_SELECT + + + Rev 1.41 12 Jun 1998 13:33:44 OM + Wieder SID_OBJECT_SELECT statt SID_DRAW_SELECT + + Rev 1.40 09 Jun 1998 15:34:00 OM + VC-Controls entfernt + + Rev 1.39 28 Nov 1997 20:15:30 MA + includes + + Rev 1.38 24 Nov 1997 14:53:58 MA + includes + + Rev 1.37 03 Nov 1997 13:24:22 MA + precomp entfernt + + Rev 1.36 05 Sep 1997 12:00:44 MH + chg: header + + Rev 1.35 13 Aug 1997 12:18:56 OM + #42383# Selektion von Punkten im Konstruktionsmode + + Rev 1.34 11 Jul 1997 15:26:24 OM + Redraw-Bug behoben + + Rev 1.33 07 Apr 1997 13:39:48 MH + chg: header + + Rev 1.32 20 Mar 1997 11:34:16 OM + Insert und CreateMode merken + + Rev 1.31 14 Mar 1997 16:36:40 OM + #37682# Bemassungsobjekt deselektieren + + Rev 1.30 04 Feb 1997 15:20:32 OM + Bugs in Selektionsmodi behoben + + Rev 1.29 31 Jan 1997 10:58:26 OM + Statusupdate + + Rev 1.28 30 Jan 1997 11:48:10 OM + Freihandzeichnen + + Rev 1.27 22 Jan 1997 11:19:50 OM + Neue Shells: DrawBaseShell und DrawControlShell + + Rev 1.26 14 Jan 1997 15:37:06 OM + Bezierpunkte bearbeiten + + Rev 1.25 13 Jan 1997 17:23:28 OM + Bezier-Punkte einfuegen + + Rev 1.24 13 Jan 1997 15:50:18 OM + Bezier-Punkte loeschen + + Rev 1.23 13 Jan 1997 10:11:54 OM + Selektionsmode fuer Bezier-Objekte + + Rev 1.22 08 Jan 1997 12:44:26 OM + Aenderungen fuer Bezier-Shell + + Rev 1.21 28 Aug 1996 13:39:24 OS + includes + + Rev 1.20 16 Aug 1996 15:22:32 OM + #30046#Haenger bei Selektion beseitigt + + Rev 1.19 14 Aug 1996 11:31:00 JP + svdraw.hxx entfernt + + Rev 1.18 07 Mar 1996 14:27:32 HJS + 2 defines zu viel + + Rev 1.17 24 Nov 1995 16:58:06 OM + PCH->PRECOMPILED + + Rev 1.16 15 Nov 1995 18:35:28 OM + Virtuelle Fkt rausgeworfen + + Rev 1.15 14 Nov 1995 17:36:56 OM + Cast entfernt + + Rev 1.14 08 Nov 1995 15:29:48 OM + Invalidate-Reihenfolge geaendert + + Rev 1.13 08 Nov 1995 14:15:50 OS + Change => Set + + Rev 1.12 08 Nov 1995 10:35:42 OM + Invalidate optimiert + + Rev 1.11 19 Oct 1995 18:30:44 OM + Acceleratorproblem behoben + +*************************************************************************/ + diff --git a/sw/source/ui/ribbar/inputwin.cxx b/sw/source/ui/ribbar/inputwin.cxx new file mode 100644 index 000000000000..0aafb4a53d0a --- /dev/null +++ b/sw/source/ui/ribbar/inputwin.cxx @@ -0,0 +1,881 @@ +/************************************************************************* + * + * $RCSfile: inputwin.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 + +#ifndef _GEN_HXX //autogen +#include <tools/gen.hxx> +#endif +#ifndef _SFXIMGMGR_HXX //autogen +#include <sfx2/imgmgr.hxx> +#endif +#ifndef _SFXVIEWFRM_HXX //autogen +#include <sfx2/viewfrm.hxx> +#endif +#ifndef _SFXDISPATCH_HXX //autogen +#include <sfx2/dispatch.hxx> +#endif +#ifndef _SVX_RULER_HXX //autogen +#include <svx/ruler.hxx> +#endif +#ifndef _ZFORLIST_HXX //autogen +#include <svtools/zforlist.hxx> +#endif + + +#include "swtypes.hxx" +#include "cmdid.h" +#include "swmodule.hxx" +#include "wrtsh.hxx" +#include "view.hxx" +#include "calc.hxx" +#include "inputwin.hxx" +#include "fldbas.hxx" +#include "fldmgr.hxx" +#include "frmfmt.hxx" +#include "cellatr.hxx" +#include "edtwin.hxx" +#include "helpid.h" + +// nur fuers UpdateRange - Box in dem der gestackte Cursor sthet loeschen +#include "pam.hxx" +#include "doc.hxx" + +#include "swundo.hxx" +#include "ribbar.hrc" +#include "inputwin.hrc" + + +SFX_IMPL_POS_CHILDWINDOW( SwInputChild, FN_EDIT_FORMULA, SFX_OBJECTBAR_OBJECT ) + +//================================================================== + +SwInputWindow::SwInputWindow( Window* pParent ) + : ToolBox( pParent , SW_RES( RID_TBX_FORMULA )), + aEdit( this, WB_3DLOOK|WB_TABSTOP|WB_BORDER|WB_NOHIDESELECTION), + aPos( this, SW_RES(ED_POS)), + aPopMenu( SW_RES(MN_CALC_POPUP)), + pMgr(0), + pView(0), + pWrtShell(0), + aAktTableName(aEmptyStr) +{ + bFirst = bDoesUndo = TRUE; + bActive = bIsTable = bDelSel = bResetUndo = bCallUndo = FALSE; + + FreeResource(); + SFX_APP()->GetImageManager()->RegisterToolBox(this); + + pView = ::GetActiveView(); + pWrtShell = pView ? pView->GetWrtShellPtr() : 0; + + InsertWindow( ED_POS, &aPos, 0, 0); + InsertSeparator ( 1 ); + InsertSeparator (); + InsertWindow( ED_FORMULA, &aEdit); + SetHelpId(ED_FORMULA, HID_EDIT_FORMULA); + + SfxImageManager* pManager = SFX_IMAGEMANAGER(); + SetItemImage( FN_FORMULA_CALC, pManager->GetImage(FN_FORMULA_CALC )); + SetItemImage( FN_FORMULA_CANCEL, pManager->GetImage(FN_FORMULA_CANCEL )); + SetItemImage( FN_FORMULA_APPLY, pManager->GetImage(FN_FORMULA_APPLY )); + + Size aSizeTbx = CalcWindowSizePixel(); + Size aSize = GetSizePixel(); + aSize.Height() = aSizeTbx.Height(); + SetSizePixel( aSize ); + Size aPosSize = aPos.GetSizePixel(); + Size aEditSize = aEdit.GetSizePixel(); + aPosSize.Height() = aEditSize.Height() = GetItemRect(FN_FORMULA_CALC).GetHeight() - 2; + + Point aPosPos = aPos.GetPosPixel(); + Point aEditPos= aEdit.GetPosPixel(); + aPosPos.Y() = aEditPos.Y() = GetItemRect( FN_FORMULA_CALC ).TopLeft().Y() + 1; + aPos.SetPosSizePixel( aPosPos, aPosSize ); + aEdit.SetPosSizePixel( aEditPos, aEditSize ); + + aPopMenu.SetSelectHdl(LINK( this, SwInputWindow, MenuHdl )); +} + +//================================================================== + +__EXPORT SwInputWindow::~SwInputWindow() +{ + SFX_APP()->GetImageManager()->ReleaseToolBox(this); + //Lineale aufwecken + if(pView) + { + pView->GetHLineal()->SetActive( TRUE ); + if( pView->GetVLineal()) + pView->GetVLineal()->SetActive( TRUE ); + } + if ( pMgr ) + delete pMgr; + if(pWrtShell) + pWrtShell->EndSelTblCells(); + + if( bResetUndo ) + { + DelBoxCntnt(); + pWrtShell->DoUndo( bDoesUndo ); + if(bCallUndo) + pWrtShell->Undo(); + SwEditShell::SetUndoActionCount( nActionCnt ); + } +} + +//================================================================== + +void __EXPORT SwInputWindow::Resize() +{ + ToolBox::Resize(); + + long nWidth = GetSizePixel().Width(); + long nLeft = aEdit.GetPosPixel().X(); + Size aEditSize = aEdit.GetSizePixel(); + + aEditSize.Width() = Max( ((long)(nWidth - nLeft - 5)), (long)0 ); + aEdit.SetSizePixel( aEditSize ); + aEdit.Invalidate(); +} + +//================================================================== + +void SwInputWindow::Show() +{ + bIsTable = FALSE; + //Lineale anhalten + if(pView) + { + pView->GetHLineal()->SetActive( FALSE ); + if( pView->GetVLineal()) + pView->GetVLineal()->SetActive( FALSE ); + + DBG_ASSERT(pWrtShell, "Keine WrtShell!") + // Cursor in Tabelle + bIsTable = pWrtShell->IsCrsrInTbl() ? TRUE : FALSE; + + if( bFirst ) + pWrtShell->SelTblCells( LINK( this, SwInputWindow, + SelTblCellsNotify) ); + if( bIsTable ) + { + const String& rPos = pWrtShell->GetBoxNms(); + USHORT nPos = 0; + short nSrch = -1; + while( (nPos = rPos.Search( ':',nPos + 1 ) ) != STRING_NOTFOUND ) + nSrch = (short) nPos; + aPos.SetText( rPos.Copy( ++nSrch ) ); + aAktTableName = pWrtShell->GetTableFmt()->GetName(); + } + else + aPos.SetText(SW_RESSTR(STR_FORMULA)); + + // Aktuelles Feld bearbeiten + ASSERT(pMgr == 0, FieldManager nicht geloescht.); + pMgr = new SwFldMgr; + + // JP 13.01.97: Formel soll immer mit einem "=" beginnen, hier + // also setzen + String sEdit( '=' ); + if( pMgr->GetCurFld() && TYP_FORMELFLD == pMgr->GetCurTypeId() ) + { + sEdit += pMgr->GetCurFldPar2(); + } + else if( bFirst ) + { + if( bIsTable ) + { + bResetUndo = TRUE; + nActionCnt = SwEditShell::GetUndoActionCount(); + SwEditShell::SetUndoActionCount( nActionCnt + 1 ); + + bDoesUndo = pWrtShell->DoesUndo(); + if( !bDoesUndo ) + pWrtShell->DoUndo( TRUE ); + + if( !pWrtShell->SwCrsrShell::HasSelection() ) + { + pWrtShell->MoveSection( fnSectionCurr, fnSectionStart ); + pWrtShell->SetMark(); + pWrtShell->MoveSection( fnSectionCurr, fnSectionEnd ); + } + if( pWrtShell->SwCrsrShell::HasSelection() ) + { + pWrtShell->StartUndo( UNDO_DELETE ); + pWrtShell->Delete(); + if( 0 != pWrtShell->EndUndo( UNDO_DELETE )) + bCallUndo = TRUE; + } + pWrtShell->DoUndo( FALSE ); + + SfxItemSet aSet( pWrtShell->GetAttrPool(), RES_BOXATR_FORMULA, RES_BOXATR_FORMULA ); + if( pWrtShell->GetTblBoxFormulaAttrs( aSet )) + sEdit += ((SwTblBoxFormula&)aSet.Get( RES_BOXATR_FORMULA )).GetFormula(); + } + } + + if( bFirst ) + { + // WrtShell Flags richtig setzen + pWrtShell->SttSelect(); + pWrtShell->EndSelect(); + } + + bFirst = FALSE; + + aEdit.SetModifyHdl( LINK( this, SwInputWindow, ModifyHdl )); + + aEdit.SetText( sEdit ); + aEdit.SetSelection( Selection( sEdit.Len(), sEdit.Len() ) ); + sOldFml = sEdit; + + aEdit.Invalidate(); + aEdit.Update(); + aEdit.GrabFocus(); + // UserInterface fuer die Eingabe abklemmen + + pView->GetEditWin().LockKeyInput(TRUE); + pView->GetViewFrame()->GetDispatcher()->Lock(TRUE); + pWrtShell->Push(); + } + ToolBox::Show(); +} +//================================================================== + +IMPL_LINK( SwInputWindow, MenuHdl, Menu *, pMenu ) +{ +static const char * __READONLY_DATA aStrArr[] = { + sCalc_Phd, + sCalc_Sqrt, + sCalc_Or, + sCalc_Xor, + sCalc_And, + sCalc_Not, + sCalc_Eq, + sCalc_Neq, + sCalc_Leq, + sCalc_Geq, + sCalc_L, + sCalc_G, + sCalc_Sum, + sCalc_Mean, + sCalc_Min, + sCalc_Max, + sCalc_Sin, + sCalc_Cos, + sCalc_Tan, + sCalc_Asin, + sCalc_Acos, + sCalc_Atan, + sCalc_Pow, + "|", + sCalc_Round +}; + + USHORT nId = pMenu->GetCurItemId(); + if ( nId <= MN_CALC_ROUND ) + { + String aTmp( String::CreateFromAscii(aStrArr[nId - 1]) ); + aTmp += ' '; + aEdit.ReplaceSelected( aTmp ); + } + return 0; +} + +//================================================================== + + +void __EXPORT SwInputWindow::Click( ) +{ + USHORT nCurID = GetCurItemId(); + EndSelection(); // setzt CurItemId zurueck ! + switch ( nCurID ) + { + case FN_FORMULA_CALC : + { + Point aBL = GetItemRect( FN_FORMULA_CALC ).BottomLeft(); + Point aPt(aBL.X(), aBL.Y()); +#ifdef VCL + aPopMenu.Execute( this, aPt ); +#else + aPt = OutputToScreenPixel( aPt ); + aPopMenu.Execute( aPt ); +#endif + } + break; + case FN_FORMULA_CANCEL: + { + CancelFormula(); + } + break; + case FN_FORMULA_APPLY: + { + ApplyFormula(); + } + break; + } +} + +//================================================================== + +void SwInputWindow::ApplyFormula() +{ + pView->GetViewFrame()->GetDispatcher()->Lock(FALSE); + pView->GetEditWin().LockKeyInput(FALSE); + if( bResetUndo ) + { + DelBoxCntnt(); + pWrtShell->DoUndo( bDoesUndo ); + SwEditShell::SetUndoActionCount( nActionCnt ); + if( bCallUndo ) + pWrtShell->Undo(); + bResetUndo = FALSE; + } + pWrtShell->Pop( FALSE ); + + // JP 13.01.97: Formel soll immer mit einem "=" beginnen, hier + // also wieder entfernen + BOOL bIsFormula = FALSE; + String sEdit( aEdit.GetText() ); + sEdit.EraseLeadingChars().EraseTrailingChars(); + if( sEdit.Len() && '=' == sEdit.GetChar( 0 ) ) + { + sEdit.Erase( 0, 1 ); + bIsFormula = TRUE; + } + + pWrtShell->StartAllAction(); + if( bDelSel && pWrtShell->HasSelection() ) + { + pWrtShell->StartUndo( UNDO_START ); + pWrtShell->DelRight(); + } + else + { + pWrtShell->EnterStdMode(); + bDelSel = FALSE; + } + + if( !bDelSel && pMgr->GetCurFld() && TYP_FORMELFLD == pMgr->GetCurTypeId() ) + pMgr->UpdateCurFld( pMgr->GetCurFld()->GetFormat(), aEmptyStr, sEdit ); + else if( sEdit.Len() ) + { + if( bIsTable ) + { + SfxItemSet aSet( pWrtShell->GetAttrPool(), RES_BOXATR_FORMULA, RES_BOXATR_FORMULA ); + aSet.Put( SwTblBoxFormula( sEdit )); + pWrtShell->SetTblBoxFormulaAttrs( aSet ); + pWrtShell->UpdateTable(); + } + else + { + SvNumberFormatter* pFormatter = pWrtShell->GetNumberFormatter(); + ULONG nSysNumFmt = pFormatter->GetFormatIndex( NF_NUMBER_STANDARD, LANGUAGE_SYSTEM); + pMgr->InsertFld(TYP_FORMELFLD, GSE_FORMULA, aEmptyStr, sEdit, nSysNumFmt); + } + } + + if( bDelSel ) + pWrtShell->EndUndo( UNDO_END ); + pWrtShell->EndAllAction(); + + pWrtShell->EndSelTblCells(); + pView->GetEditWin().GrabFocus(); + pView->GetViewFrame()->GetDispatcher()->Execute( FN_EDIT_FORMULA, SFX_CALLMODE_ASYNCHRON ); +} + +//================================================================== + +void SwInputWindow::CancelFormula() +{ + if(pView) + { + pView->GetViewFrame()->GetDispatcher()->Lock( FALSE ); + pView->GetEditWin().LockKeyInput(FALSE); + if( bResetUndo ) + { + DelBoxCntnt(); + pWrtShell->DoUndo( bDoesUndo ); + SwEditShell::SetUndoActionCount( nActionCnt ); + if( bCallUndo ) + pWrtShell->Undo(); + bResetUndo = FALSE; + } + pWrtShell->Pop( FALSE ); + + if( bDelSel ) + pWrtShell->EnterStdMode(); + + pWrtShell->EndSelTblCells(); + + pView->GetEditWin().GrabFocus(); + } + pView->GetViewFrame()->GetDispatcher()->Execute( FN_EDIT_FORMULA, SFX_CALLMODE_ASYNCHRON); +} +//================================================================== + +IMPL_LINK( SwInputWindow, SelTblCellsNotify, SwWrtShell *, pCaller ) +{ + if(bIsTable) + { + SwFrmFmt* pTblFmt = pCaller->GetTableFmt(); + String sBoxNms( pCaller->GetBoxNms() ); + String sTblNm; + if( pTblFmt && aAktTableName != pTblFmt->GetName() ) + sTblNm = pTblFmt->GetName(); + + aEdit.UpdateRange( sBoxNms, sTblNm ); + + String sNew( aEdit.GetText() ); + if( sNew != sOldFml ) + { + // Die WrtShell ist in der Tabellen Selektion + // dann die Tabellen Selektion wieder aufheben, sonst steht der + // Cursor "im Wald" und das LiveUpdate funktioniert nicht! + pWrtShell->StartAllAction(); + + SwPaM aPam( *pWrtShell->GetStkCrsr()->GetPoint() ); + aPam.Move( fnMoveBackward, fnGoSection ); + aPam.SetMark(); + aPam.Move( fnMoveForward, fnGoSection ); + + pWrtShell->GetDoc()->Delete( aPam ); + pWrtShell->GetDoc()->Insert( aPam, sNew ); + pWrtShell->EndAllAction(); + sOldFml = sNew; + } + } + else + aEdit.GrabFocus(); + return 0; +} + + +void SwInputWindow::SetFormula( const String& rFormula, BOOL bDelFlag ) +{ + String sEdit( '=' ); + if( rFormula.Len() ) + { + if( '=' == rFormula.GetChar( 0 ) ) + sEdit = rFormula; + else + sEdit += rFormula; + } + aEdit.SetText( sEdit ); + aEdit.SetSelection( Selection( sEdit.Len(), sEdit.Len() ) ); + aEdit.Invalidate(); + bDelSel = bDelFlag; +} + + +IMPL_LINK( SwInputWindow, ModifyHdl, InputEdit*, EMPTYARG ) +{ + if( bIsTable && bResetUndo ) + { + pWrtShell->StartAllAction(); + DelBoxCntnt(); + String sNew( aEdit.GetText() ); + pWrtShell->SwEditShell::Insert( sNew ); + pWrtShell->EndAllAction(); + sOldFml = sNew; + } + return 0; +} + + +void SwInputWindow::DelBoxCntnt() +{ + if( bIsTable ) + { + pWrtShell->StartAllAction(); + pWrtShell->ClearMark(); + pWrtShell->Pop( FALSE ); + pWrtShell->Push(); + pWrtShell->MoveSection( fnSectionCurr, fnSectionStart ); + pWrtShell->SetMark(); + pWrtShell->MoveSection( fnSectionCurr, fnSectionEnd ); + pWrtShell->SwEditShell::Delete(); + pWrtShell->EndAllAction(); + } +} + +//================================================================== + +void __EXPORT InputEdit::KeyInput(const KeyEvent& rEvent) +{ + const KeyCode aCode = rEvent.GetKeyCode(); + if(aCode == KEY_RETURN || aCode == KEY_F2 ) + ((SwInputWindow*)GetParent())->ApplyFormula(); + else if(aCode == KEY_ESCAPE ) + ((SwInputWindow*)GetParent())->CancelFormula(); + else + Edit::KeyInput(rEvent); +} + +//================================================================== + +void __EXPORT InputEdit::UpdateRange(const String& rBoxes, + const String& rName ) +{ + if( !rBoxes.Len() ) + { + GrabFocus(); + return; + } + const sal_Unicode cOpen = '<', cClose = '>', + cOpenBracket = '(', cCloseBracket = ')'; + String aPrefix = rName; + if(rName.Len()) + aPrefix += '.'; + String aBoxes = aPrefix; + aBoxes += rBoxes; + Selection aSelection(GetSelection()); + USHORT nSel = (USHORT) aSelection.Len(); + //OS: mit dem folgenden Ausdruck wird sichergestellt, dass im overwrite-Modus + //die selektierte schliessende Klammer nicht geloescht wird + if( nSel && ( nSel > 1 || + GetText().GetChar( (USHORT)aSelection.Min() ) != cClose ) ) + Cut(); + else + aSelection.Max() = aSelection.Min(); + String aActText(GetText()); + const USHORT nLen = aActText.Len(); + if( !nLen ) + { + String aStr(cOpen); + aStr += aBoxes; + aStr += cClose; + SetText(aStr); + USHORT nPos = aStr.Search( cClose ); + ASSERT(nPos < aStr.Len(), Delimiter nicht gefunden.); + ++nPos; + SetSelection( Selection( nPos, nPos )); + } + else + { + BOOL bFound = FALSE; + unsigned char cCh; + USHORT nPos, nEndPos, nStartPos = (USHORT) aSelection.Min(); + if( nStartPos-- ) + { + do { + if( cOpen == (cCh = aActText.GetChar( nStartPos ) ) || + cOpenBracket == cCh ) + { + bFound = cCh == cOpen; + break; + } + } while( nStartPos-- > 0 ); + } + if( bFound ) + { + bFound = FALSE; + nEndPos = nStartPos; + while( nEndPos < nLen ) + { + if( cClose == (cCh = aActText.GetChar( nEndPos )) /*|| + cCh == cCloseBracket*/ ) + { + bFound = TRUE; + break; + } + ++nEndPos; + } + // nur wenn akt. Pos im Breich oder direkt dahinter liegt + if( bFound && !( nStartPos < (USHORT)aSelection.Max() && + (USHORT)aSelection.Max() <= nEndPos + 1 )) + bFound = FALSE; + } + if( bFound ) + { + nPos = ++nStartPos + 1; // wir wollen dahinter + aActText.Erase( nStartPos, nEndPos - nStartPos ); + aActText.Insert( aBoxes, nStartPos ); + nPos += aBoxes.Len(); + } + else + { + String aTmp( (char)cOpen ); + aTmp += aBoxes; + aTmp += (char)cClose; + nPos = (USHORT)aSelection.Min(); + aActText.Insert( aTmp, nPos ); + nPos += aTmp.Len(); + } + if( GetText() != aActText ) + { + SetText( aActText ); + SetSelection( Selection( nPos, nPos ) ); +// GetModifyHdl().Call( this ); + } + } + GrabFocus(); + +} +//================================================================== + + +SwInputChild::SwInputChild(Window* pParent, + USHORT nId, + SfxBindings* , + SfxChildWinInfo* ) : + SfxChildWindow( pParent, nId ) +{ + SwView* pActiveView = GetActiveView(); + pDispatch = pActiveView ? pActiveView->GetViewFrame()->GetDispatcher() : 0; + pWindow = new SwInputWindow( pParent ); + ((SwInputWindow*)pWindow)->Show(); + eChildAlignment = SFX_ALIGN_LOWESTTOP; + +} + + +__EXPORT SwInputChild::~SwInputChild() +{ + if(pDispatch) + pDispatch->Lock(FALSE); +} + + +SfxChildWinInfo __EXPORT SwInputChild::GetInfo() const +{ + SfxChildWinInfo aInfo = SfxChildWindow::GetInfo(); \ + return aInfo; +} + +/*------------------------------------------------------------------------ + + $Log: not supported by cvs2svn $ + Revision 1.88 2000/09/18 16:06:01 willem.vandorp + OpenOffice header added. + + Revision 1.87 2000/09/07 15:59:27 os + change: SFX_DISPATCHER/SFX_BINDINGS removed + + Revision 1.86 2000/07/03 08:54:31 jp + must changes for VCL + + Revision 1.85 2000/04/26 14:56:39 os + GetName() returns const String& + + Revision 1.84 2000/04/18 14:54:44 os + UNICODE + + Revision 1.83 2000/03/03 15:17:03 os + StarView remainders removed + + Revision 1.82 1999/05/18 13:20:16 OS + #66203# Undo im Dtor nur, wenn erforderlich + + + Rev 1.81 18 May 1999 15:20:16 OS + #66203# Undo im Dtor nur, wenn erforderlich + + Rev 1.80 24 Apr 1998 17:22:46 OS + kein KeyInput waehrend die Rechenleiste aktiv ist #49301# + + Rev 1.79 12 Mar 1998 13:33:12 OM + #48084# Formelfeld mit Standardformat einfuegen + + Rev 1.78 22 Jan 1998 20:07:40 JP + CTOR des SwPaM umgestellt + + Rev 1.77 19 Jan 1998 20:08:32 JP + Bug #46705#: Undo nur rufen, wenn etwas geloescht wurde + + Rev 1.76 24 Nov 1997 14:53:58 MA + includes + + Rev 1.75 10 Nov 1997 11:43:12 OS + HelpId fuer Edit #45436# + + Rev 1.74 30 Sep 1997 16:28:22 TJ + + Rev 1.73 19 Sep 1997 13:42:56 OS + Edit mit WB_NOHIDESELECTION #43891# + + Rev 1.72 04 Sep 1997 17:14:02 MA + includes + + Rev 1.71 01 Sep 1997 10:01:24 OS + fuer VCL Window uebergeben + + Rev 1.70 29 Aug 1997 16:52:24 MH + chg: Syntax + + Rev 1.69 29 Aug 1997 15:45:32 OS + PopupMenu::Execute mit Window* fuer VCL + + Rev 1.68 29 Aug 1997 14:20:12 OS + DLL-Umbau + + Rev 1.67 09 Jul 1997 17:36:10 HJS + includes + + Rev 1.66 09 May 1997 09:28:42 JP + Bug #39214#: Formel nur ersetzen, wenn die sich veraendert hat + + Rev 1.65 29 Apr 1997 16:18:50 OM + Unsichtbare Benutzerfelder + + Rev 1.64 09 Apr 1997 16:18:42 MH + chg: header + + Rev 1.63 07 Apr 1997 13:40:48 MH + chg: header + + Rev 1.62 10 Feb 1997 16:26:40 OS + Dispatcher im Childwindow merken + + Rev 1.61 07 Feb 1997 16:41:54 OS + Dispatcher nur noch vom ViewFrame holen + + Rev 1.60 05 Feb 1997 14:32:00 JP + FormatMenu bei Tabellenzellen entfernen + + Rev 1.59 29 Jan 1997 14:47:18 JP + Umstellungen fuers neue Rechnen in Tabellen + + Rev 1.58 21 Jan 1997 13:48:40 JP + Update der Eingabe in die TabellenBox + + Rev 1.57 14 Jan 1997 18:22:28 JP + UpdateRange: Anfang des BoxNamens korrekt suchen + + Rev 1.56 14 Jan 1997 09:50:32 JP + neu: SetFormula; UpdateRange: Crsr hinter die BoxNamen + + Rev 1.55 21 Nov 1996 17:56:44 MA + chg: Kein ResMgr fuer GetImage() + + Rev 1.54 11 Nov 1996 11:11:30 MA + ResMgr + + Rev 1.53 09 Nov 1996 13:51:40 OS + PopupMenu immer im Click + + Rev 1.52 24 Oct 1996 13:36:38 JP + String Umstellung: [] -> GetChar() + + Rev 1.51 10 Oct 1996 10:37:12 OS + Registrierung der Toolbox am SfxImageManager + + Rev 1.50 28 Aug 1996 13:39:28 OS + includes + + Rev 1.49 09 Jul 1996 17:52:42 OM + Alternatives Formatmenue fuer Expressionfields + + Rev 1.48 26 Jun 1996 15:26:42 OS + Aufruf von Dispatcher.Execute an 324 angepasst + + Rev 1.47 10 Jun 1996 18:47:04 HJS + ; vergessen + + Rev 1.46 10 Jun 1996 11:38:08 OS + Reihenfolge Apply und CancelFormula angepasst + + Rev 1.45 09 May 1996 15:34:12 OS + HLineal an der View wird nicht mehr geloescht + + Rev 1.44 26 Apr 1996 10:00:32 SWG + IMPL-Macro getauscht, GetInfo impl. + + Rev 1.43 10 Mar 1996 15:50:22 OS + neu: Round + + Rev 1.42 29 Feb 1996 12:58:30 OS + UpdateRange mit zusaetzlichem Parameter + + Rev 1.41 07 Feb 1996 07:29:20 OS + Linkumstellung: return sollte ans Ende + + Rev 1.40 06 Feb 1996 15:21:16 JP + Link Umstellung 305 + +------------------------------------------------------------------------*/ + + + + + + + + + + + + + + + + + + + + + + diff --git a/sw/source/ui/ribbar/inputwin.hrc b/sw/source/ui/ribbar/inputwin.hrc new file mode 100644 index 000000000000..38fc01c1c7da --- /dev/null +++ b/sw/source/ui/ribbar/inputwin.hrc @@ -0,0 +1,118 @@ +/************************************************************************* + * + * $RCSfile: inputwin.hrc,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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): _______________________________________ + * + * + ************************************************************************/ +#ifndef _INPUTWIN_HRC +#define _INPUTWIN_HRC + + +//PopupMenu Id's +#define MN_CALC_PHD 1 +#define MN_CALC_SQRT 2 +#define MN_CALC_OR 3 +#define MN_CALC_XOR 4 +#define MN_CALC_AND 5 +#define MN_CALC_NOT 6 +#define MN_CALC_EQ 7 +#define MN_CALC_NEQ 8 +#define MN_CALC_LEQ 9 +#define MN_CALC_GEQ 10 +#define MN_CALC_LES 11 +#define MN_CALC_GRE 12 +#define MN_CALC_SUM 13 +#define MN_CALC_MEAN 14 +#define MN_CALC_MIN 15 +#define MN_CALC_MAX 16 +#define MN_CALC_SIN 17 +#define MN_CALC_COS 18 +#define MN_CALC_TAN 19 +#define MN_CALC_ASIN 20 +#define MN_CALC_ACOS 21 +#define MN_CALC_ATAN 22 +#define MN_CALC_POW 23 +#define MN_CALC_LISTSEP 24 +#define MN_CALC_ROUND 25 + +#define MN_POP_OPS 29 +#define MN_POP_STATISTICS 30 +#define MN_POP_FUNC 31 +#define MN_RSC_END 32 + +#define TBX_FORMULA 1 +#define ED_POS 2 +#define ED_FORMULA 3 + +#endif + + + + + + + + + + + + + + + + + diff --git a/sw/source/ui/ribbar/inputwin.src b/sw/source/ui/ribbar/inputwin.src new file mode 100644 index 000000000000..6caeb7bb5156 --- /dev/null +++ b/sw/source/ui/ribbar/inputwin.src @@ -0,0 +1,1137 @@ +/************************************************************************* + * + * $RCSfile: inputwin.src,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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): _______________________________________ + * + * + ************************************************************************/ +/* HelpID ressource file */ +/* HelpID ressource file */ + +#include "cmdid.h" +#include "helpid.h" +#include "globals.hrc" +#include "ribbar.hrc" +#include "inputwin.hrc" +ToolBox RID_TBX_FORMULA +{ + Pos = MAP_APPFONT ( 0 , 0 ) ; + Size = MAP_APPFONT ( 600 , 14 ) ; + HelpID = HID_CALC_TOOLBOX ; + SVLook = TRUE ; + Border = TRUE ; + ItemList = + { + ToolBoxItem + { + Identifier = FN_FORMULA_CALC ; + HelpID = FN_FORMULA_CALC ; + DropDown = TRUE ; + Text = "Formel" ; + Text [ English ] = "Formula" ; + Text [ norwegian ] = "Formel" ; + Text [ italian ] = "Formula" ; + Text [ portuguese_brazilian ] = "Frmula" ; + Text [ portuguese ] = "Frmula" ; + Text [ finnish ] = "Kaava" ; + Text [ danish ] = "Formel" ; + Text [ french ] = "Formule" ; + Text [ swedish ] = "Formel" ; + Text [ dutch ] = "Formule" ; + Text [ spanish ] = "Frmula" ; + Text [ english_us ] = "Formula" ; + /* ### ACHTUNG: Neuer Text in Resource? Formel auswhlen : Formel auswhlen */ + Text[ chinese_simplified ] = "ʽ"; + Text[ russian ] = ""; + Text[ polish ] = "Formua"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = ""; + Text[ dutch ] = "Formule"; + Text[ chinese_simplified ] = "ʽ"; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Forml"; + }; + ToolBoxItem + { + Identifier = FN_FORMULA_CANCEL ; + HelpID = FN_FORMULA_CANCEL ; + Text = "Abbrechen" ; + Text [ English ] = "Cancel" ; + Text [ norwegian ] = "Avbryt" ; + Text [ italian ] = "Annulla" ; + Text [ portuguese_brazilian ] = "Cancelar" ; + Text [ portuguese ] = "Cancelar" ; + Text [ finnish ] = "Peruuta" ; + Text [ danish ] = "Annuller" ; + Text [ french ] = "Annuler" ; + Text [ swedish ] = "Avbryt" ; + Text [ dutch ] = "Annuleren" ; + Text [ spanish ] = "Cancelar" ; + Text [ english_us ] = "Cancel" ; + /* ### ACHTUNG: Neuer Text in Resource? Formel nicht benehmen : Formel nicht benehmen */ + Text[ chinese_simplified ] = "ȡ"; + Text[ russian ] = ""; + Text[ polish ] = "Anuluj"; + Text[ japanese ] = "ݾ"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = " "; + Text[ dutch ] = "Annuleren"; + Text[ chinese_simplified ] = "ȡ"; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "ptal"; + }; + ToolBoxItem + { + Identifier = FN_FORMULA_APPLY ; + HelpID = FN_FORMULA_APPLY ; + /* ### ACHTUNG: Neuer Text in Resource? bernehmen : bernehmen */ + Text = "bernehmen" ; + Text [ English ] = "Apply" ; + Text [ norwegian ] = "Benytt" ; + Text [ italian ] = "Applica" ; + Text [ portuguese_brazilian ] = "Aplicar" ; + Text [ portuguese ] = "Aplicar" ; + Text [ finnish ] = "Kyt" ; + Text [ danish ] = "Anvend" ; + Text [ french ] = "Appliquer" ; + Text [ swedish ] = "verta" ; + Text [ dutch ] = "Overnemen" ; + Text [ spanish ] = "Aplicar" ; + Text [ english_us ] = "Apply" ; + /* ### ACHTUNG: Neuer Text in Resource? Formel einfgen : Formel einfgen */ + Text[ chinese_simplified ] = "ʹ"; + Text[ russian ] = ""; + Text[ polish ] = "Zastosuj"; + Text[ japanese ] = "Kp"; + Text[ chinese_traditional ] = "ϥ"; + Text[ arabic ] = ""; + Text[ dutch ] = "Overnemen"; + Text[ chinese_simplified ] = "ʹ"; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Uygula"; + }; + }; + Edit ED_POS + { + Border = TRUE ; + Size = MAP_APPFONT ( 45 , 11 ) ; + ReadOnly = TRUE ; + SVLook = TRUE ; + Center = TRUE ; + }; + Edit ED_FORMULA + { + Border = TRUE ; + TabStop = TRUE ; + Size = MAP_APPFONT ( 500 , 11 ) ; + SVLook = TRUE ; + }; +}; +Menu MN_CALC_POPUP +{ + ItemList = + { + MenuItem + { + Identifier = MN_CALC_SUM ; + HelpID = HID_MN_CALC_SUM ; + Text = "~Summe" ; + Text [ English ] = "~Sum" ; + Text [ dutch ] = "~Soml" ; + Text [ spanish ] = "~Suma" ; + Text [ english_us ] = "Sum" ; + Text [ norwegian ] = "~Sum" ; + Text [ italian ] = "~Somma" ; + Text [ portuguese_brazilian ] = "~Somatrio" ; + Text [ portuguese ] = "~Soma" ; + Text [ finnish ] = "~Summa" ; + Text [ danish ] = "Sum" ; + Text [ french ] = "~Somme" ; + Text [ swedish ] = "~Summa" ; + Text[ chinese_simplified ] = "ܼ"; + Text[ russian ] = ""; + Text[ polish ] = "Suma"; + Text[ japanese ] = "v"; + Text[ chinese_traditional ] = "pp"; + Text[ arabic ] = ""; + Text[ dutch ] = "~Soml"; + Text[ chinese_simplified ] = "ܼ"; + Text[ greek ] = "~"; + Text[ korean ] = "հ"; + Text[ turkish ] = "Toplam"; + }; + MenuItem + { + Identifier = MN_CALC_ROUND ; + HelpID = HID_MN_CALC_ROUND ; + Text = "Run~den" ; + Text [ English ] = "Roun~d" ; + Text [ english_us ] = "Round" ; + Text [ italian ] = "Arroto~nda" ; + Text [ spanish ] = "R~edondear" ; + Text [ french ] = "A~rrondir" ; + Text [ dutch ] = "~Afronden" ; + Text [ swedish ] = "~Avrunda" ; + Text [ danish ] = "Rund" ; + Text [ portuguese ] = "A~rredondar" ; + Text [ portuguese_brazilian ] = "Run~den" ; + Text[ chinese_simplified ] = "ת"; + Text[ russian ] = ""; + Text[ polish ] = "Zaokrglaj"; + Text[ japanese ] = "[グ"; + Text[ chinese_traditional ] = "ഫ"; + Text[ arabic ] = ""; + Text[ dutch ] = "~Afronden"; + Text[ chinese_simplified ] = "ת"; + Text[ greek ] = "~"; + Text[ korean ] = "ݿø"; + Text[ turkish ] = "Yuvarla"; + }; + MenuItem + { + Identifier = MN_CALC_PHD ; + HelpID = HID_MN_CALC_PHD ; + Text = "~Prozent" ; + Text [ English ] = "~Percent" ; + Text [ dutch ] = "Pro~cent" ; + Text [ spanish ] = "~Porcentaje" ; + Text [ english_us ] = "Percent" ; + Text [ norwegian ] = "~Prosent" ; + Text [ italian ] = "~Percentuale" ; + Text [ portuguese_brazilian ] = "~Percentual" ; + Text [ portuguese ] = "~Percentagem" ; + Text [ finnish ] = "~Prosentti" ; + Text [ danish ] = "Procent" ; + Text [ french ] = "~Pourcentage" ; + Text [ swedish ] = "~Procent" ; + Text[ chinese_simplified ] = "ٷֱ(~P)"; + Text[ russian ] = ""; + Text[ polish ] = "Procent"; + Text[ japanese ] = "߰"; + Text[ chinese_traditional ] = "ʤ(~P)"; + Text[ arabic ] = ""; + Text[ dutch ] = "Pro~cent"; + Text[ chinese_simplified ] = "ٷֱ(~P)"; + Text[ greek ] = "~ (%)"; + Text[ korean ] = ""; + Text[ turkish ] = "Yzde"; + }; + MenuItem + { + Identifier = MN_CALC_SQRT ; + HelpID = HID_MN_CALC_SQRT ; + Text = "~Wurzel" ; + Text [ English ] = "Square ~Root" ; + Text [ dutch ] = "~Vierkantswortel" ; + Text [ spanish ] = "~Raz" ; + Text [ english_us ] = "Square Root" ; + Text [ norwegian ] = "Kvadrat ~Rot" ; + Text [ italian ] = "~Radice" ; + Text [ portuguese_brazilian ] = "Raiz ~Quadrada" ; + Text [ portuguese ] = "Raz ~quadrada" ; + Text [ finnish ] = "~Nelijuuri" ; + Text [ danish ] = "Kvadratrod" ; + Text [ french ] = "~Racine carre" ; + Text [ swedish ] = "~Kvadratrot" ; + Text[ chinese_simplified ] = "ƽ(~R)"; + Text[ russian ] = ""; + Text[ polish ] = "Pierwiastek"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "(~R)"; + Text[ arabic ] = ""; + Text[ dutch ] = "~Vierkantswortel"; + Text[ chinese_simplified ] = "ƽ(~R)"; + Text[ language_user1 ] = "() ; - - - - - -"; + Text[ greek ] = "~ "; + Text[ korean ] = ""; + Text[ turkish ] = "Karekk"; + }; + MenuItem + { + Identifier = MN_CALC_POW ; + HelpID = HID_MN_CALC_POW ; + Text = "Poten~ziere" ; + Text [ English ] = "Po~wer" ; + Text [ dutch ] = "~Machtsverheffen" ; + Text [ spanish ] = "Po~tenciando" ; + Text [ english_us ] = "Power" ; + Text [ norwegian ] = "Po~tens" ; + Text [ italian ] = "Elevare a potenza" ; + Text [ portuguese_brazilian ] = "Po~tncia" ; + Text [ portuguese ] = "Elevar a po~tncia" ; + Text [ finnish ] = "Po~tenssi" ; + Text [ danish ] = "Oplft i potens" ; + Text [ french ] = "Pu~issance" ; + Text [ swedish ] = "~Upphja" ; + Text[ chinese_simplified ] = "(~W)"; + Text[ russian ] = ""; + Text[ polish ] = "Potguj"; + Text[ japanese ] = "ݏ"; + Text[ chinese_traditional ] = "(~W)"; + Text[ arabic ] = ""; + Text[ dutch ] = "~Machtsverheffen"; + Text[ chinese_simplified ] = "(~W)"; + Text[ greek ] = "~ "; + Text[ korean ] = ""; + Text[ turkish ] = "Kuvvet kar"; + }; + MenuItem + { + Identifier = MN_POP_OPS ; + HelpID = HID_MN_POP_OPS ; + Text = "~Operatoren" ; + Text [ ENGLISH ] = "~Operators" ; + Text [ dutch ] = "O~peratoren" ; + Text [ spanish ] = "~Operadores" ; + Text [ english_us ] = "Operators" ; + Text [ norwegian ] = "+++~Operators" ; + Text [ italian ] = "Operatori" ; + Text [ portuguese_brazilian ] = "~Operadores" ; + Text [ portuguese ] = "~Operadores" ; + Text [ finnish ] = "~Operaattorit" ; + Text [ danish ] = "Operatorer" ; + Text [ french ] = "~Oprateurs" ; + Text [ swedish ] = "~Operatorer" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = MN_CALC_LISTSEP ; + HelpID = HID_MN_CALC_LISTSEP ; + Text = "~Listentrenner" ; + Text [ English ] = "Lis~t Separator" ; + Text [ dutch ] = "Lijst~scheidingsteken" ; + Text [ spanish ] = "~Separador de lista" ; + Text [ english_us ] = "List Separator" ; + Text [ norwegian ] = "+++Lis~t Separator" ; + Text [ italian ] = "~Separatore elenco" ; + Text [ portuguese_brazilian ] = "Separador de Lis~ta" ; + Text [ portuguese ] = "Separador de lis~ta" ; + Text [ finnish ] = "~Luettelon erotin" ; + Text [ danish ] = "Listeseparator" ; + Text [ french ] = "Sparateur de lis~te" ; + Text [ swedish ] = "List~avgrnsare" ; + Text[ chinese_simplified ] = "бָ(~S)"; + Text[ russian ] = " "; + Text[ polish ] = "Separator list"; + Text[ japanese ] = "ؽĂ̋L"; + Text[ chinese_traditional ] = "Mj(~S)"; + Text[ arabic ] = " "; + Text[ dutch ] = "Lijst~scheidingsteken"; + Text[ chinese_simplified ] = "бָ(~S)"; + Text[ greek ] = " ~"; + Text[ korean ] = " "; + Text[ turkish ] = "~Liste eleri ayrcs"; + }; + MenuItem + { + Identifier = MN_CALC_EQ ; + HelpID = HID_MN_CALC_EQ ; + Text = "~Gleich" ; + Text [ English ] = "~Equal" ; + Text [ dutch ] = "~Gelijk aan" ; + Text [ spanish ] = "~Igual" ; + Text [ english_us ] = "Equal" ; + Text [ norwegian ] = "~Lik" ; + Text [ italian ] = "~Uguale" ; + Text [ portuguese_brazilian ] = "~Igual" ; + Text [ portuguese ] = "~Igual" ; + Text [ finnish ] = "~Yht suuri kuin" ; + Text [ danish ] = "Lig med" ; + Text [ french ] = "~gal" ; + Text [ swedish ] = "~Lika med" ; + Text[ chinese_simplified ] = "(~E)"; + Text[ russian ] = ""; + Text[ polish ] = "Rwny"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "(~E)"; + Text[ arabic ] = ""; + Text[ dutch ] = "~Gelijk aan"; + Text[ chinese_simplified ] = "(~E)"; + Text[ greek ] = "~"; + Text[ korean ] = ""; + Text[ turkish ] = "Eittir"; + }; + MenuItem + { + Identifier = MN_CALC_NEQ ; + HelpID = HID_MN_CALC_NEQ ; + Text = "~Nicht Gleich" ; + Text [ English ] = "~Not Equal" ; + Text [ dutch ] = "~Niet gelijk aan" ; + Text [ spanish ] = "~No igual" ; + Text [ english_us ] = "Not Equal" ; + Text [ norwegian ] = "~Ulik" ; + Text [ italian ] = "Non uguale" ; + Text [ portuguese_brazilian ] = "~No Igual" ; + Text [ portuguese ] = "~Desigual" ; + Text [ finnish ] = "~Eri suuri kuin" ; + Text [ danish ] = "Forskellig fra" ; + Text [ french ] = "D~iffrent" ; + Text [ swedish ] = "~Inte lika med" ; + Text[ chinese_simplified ] = "(~N)"; + Text[ russian ] = " "; + Text[ polish ] = "Nie rwny"; + Text[ japanese ] = "Ȃ"; + Text[ chinese_traditional ] = "(~N)"; + Text[ arabic ] = " "; + Text[ dutch ] = "~Niet gelijk aan"; + Text[ chinese_simplified ] = "(~N)"; + Text[ greek ] = "~"; + Text[ korean ] = " "; + Text[ turkish ] = "Eit deil"; + }; + MenuItem + { + Identifier = MN_CALC_LEQ ; + HelpID = HID_MN_CALC_LEQ ; + Text = "~Kleiner Gleich" ; + Text [ English ] = "Le~ss Equal" ; + Text [ dutch ] = "~Kleiner dan of gelijk aan" ; + Text [ spanish ] = "Me~nor o igual" ; + Text [ english_us ] = "Less Than or Equal" ; + Text [ norwegian ] = "Mind~re enn" ; + Text [ italian ] = "Minore o uguale" ; + Text [ portuguese_brazilian ] = "Me~nor ou Igual" ; + Text [ portuguese ] = "Me~nor ou igual" ; + Text [ finnish ] = "P~ienempi tai yht kuin" ; + Text [ danish ] = "Mindre end eller lig med" ; + Text [ french ] = "I~nfrieur ou gal " ; + Text [ swedish ] = "Mi~ndre n eller lika med" ; + Text[ chinese_simplified ] = "Сڻ(~Q)"; + Text[ russian ] = " "; + Text[ polish ] = "Mniejszy lub rwny"; + Text[ japanese ] = "Ȃ貺"; + Text[ chinese_traditional ] = "pε(~Q)"; + Text[ arabic ] = " "; + Text[ dutch ] = "~Kleiner dan of gelijk aan"; + Text[ chinese_simplified ] = "Сڻ(~Q)"; + Text[ greek ] = "~ "; + Text[ korean ] = ""; + Text[ turkish ] = "Kk ya da eittir"; + }; + MenuItem + { + Identifier = MN_CALC_GEQ ; + HelpID = HID_MN_CALC_GEQ ; + /* ### ACHTUNG: Neuer Text in Resource? Gr~er Gleich : Gr~er Gleich */ + Text = "Gr~er Gleich" ; + Text [ English ] = "~Greater Equal" ; + Text [ dutch ] = "G~roter dan of gelijk aan" ; + Text [ spanish ] = "M~ayor o igual" ; + Text [ english_us ] = "Greater Than or Equal" ; + Text [ norwegian ] = "~Strre enn" ; + Text [ italian ] = "~Maggiore uguale" ; + Text [ portuguese_brazilian ] = "~Maior ou Igual" ; + Text [ portuguese ] = "M~aior ou igual" ; + Text [ finnish ] = "S~uurempi tai yht kuin" ; + Text [ danish ] = "Strre end lig med" ; + Text [ french ] = "~Suprieur ou gal" ; + Text [ swedish ] = "St~rre n eller lika med" ; + Text[ chinese_simplified ] = "ڻ(~G)"; + Text[ russian ] = " "; + Text[ polish ] = "Wikszy lub rwny"; + Text[ japanese ] = "Ȃ貺"; + Text[ chinese_traditional ] = "jε(~G)"; + Text[ arabic ] = " "; + Text[ dutch ] = "G~roter dan of gelijk aan"; + Text[ chinese_simplified ] = "ڻ(~G)"; + Text[ greek ] = "~ "; + Text[ korean ] = "̻"; + Text[ turkish ] = "Byk ya da eittir"; + }; + MenuItem + { + Identifier = MN_CALC_LES ; + HelpID = HID_MN_CALC_LES ; + Text = "Kle~iner" ; + Text [ English ] = "~Less" ; + Text [ dutch ] = "K~leiner" ; + Text [ spanish ] = "M~enor" ; + Text [ english_us ] = "Less" ; + Text [ norwegian ] = "~Mindre" ; + Text [ italian ] = "Minore" ; + Text [ portuguese_brazilian ] = "~Menos" ; + Text [ portuguese ] = "~Menor" ; + Text [ finnish ] = "~Pienempi kuin" ; + Text [ danish ] = "Mindre end" ; + Text [ french ] = "In~frieur" ; + Text [ swedish ] = "~Mindre n" ; + Text[ chinese_simplified ] = "С(~L)"; + Text[ russian ] = ""; + Text[ polish ] = "Mniejszy"; + Text[ japanese ] = "菭Ȃ"; + Text[ chinese_traditional ] = "p(~L)"; + Text[ arabic ] = ""; + Text[ dutch ] = "K~leiner"; + Text[ chinese_simplified ] = "С(~L)"; + Text[ greek ] = "~"; + Text[ korean ] = "̸"; + Text[ turkish ] = "Kktr"; + }; + MenuItem + { + Identifier = MN_CALC_GRE ; + HelpID = HID_MN_CALC_GRE ; + /* ### ACHTUNG: Neuer Text in Resource? G~rer : G~rer */ + Text = "G~rer" ; + Text [ English ] = "G~reater" ; + Text [ dutch ] = "Gro~ter" ; + Text [ spanish ] = "~Mayor" ; + Text [ english_us ] = "Greater" ; + Text [ norwegian ] = "S~trre" ; + Text [ italian ] = "Maggiore" ; + Text [ portuguese_brazilian ] = "M~aior" ; + Text [ portuguese ] = "M~aior" ; + Text [ finnish ] = "~Suurempi kuin" ; + Text [ danish ] = "Strre end" ; + Text [ french ] = "S~uprieur" ; + Text [ swedish ] = "~Strre n" ; + Text[ chinese_simplified ] = "(~R)"; + Text[ russian ] = ""; + Text[ polish ] = "Wikszy"; + Text[ japanese ] = "傫"; + Text[ chinese_traditional ] = "j(~R)"; + Text[ arabic ] = ""; + Text[ dutch ] = "Gro~ter"; + Text[ chinese_simplified ] = "(~R)"; + Text[ greek ] = "~"; + Text[ korean ] = "ʰ"; + Text[ turkish ] = "Byktr"; + }; + MenuItem + { + Separator = TRUE ; + }; + MenuItem + { + Identifier = MN_CALC_OR ; + HelpID = HID_MN_CALC_OR ; + Text = "Logisches ~Oder" ; + Text [ English ] = "Logical ~Or" ; + Text [ dutch ] = "Logisch ~Of" ; + Text [ spanish ] = "~O lgico" ; + Text [ english_us ] = "Boolean Or" ; + Text [ norwegian ] = "Logisk ~Eller" ; + Text [ italian ] = "Logica ~O" ; + Text [ portuguese_brazilian ] = "Ou lgico ~" ; + Text [ portuguese ] = "~OU lgico" ; + Text [ finnish ] = "Looginen ~Or" ; + Text [ danish ] = "Logisk ELLER" ; + Text [ french ] = "~OU logique" ; + Text [ swedish ] = "Logiskt ~Eller" ; + Text[ chinese_simplified ] = " ~Or"; + Text[ russian ] = " "; + Text[ polish ] = "Funkcja logiczna LUB"; + Text[ japanese ] = "_(Or)"; + Text[ chinese_traditional ] = "誺 ~Or"; + Text[ arabic ] = " "; + Text[ dutch ] = "Logisch ~Of"; + Text[ chinese_simplified ] = " ~Or"; + Text[ greek ] = " ~Or Boole"; + Text[ korean ] = "Ҹ Or"; + Text[ turkish ] = "Mantksal Veya"; + }; + MenuItem + { + Identifier = MN_CALC_XOR ; + HelpID = HID_MN_CALC_XOR ; + Text = "Logisches E~xklusives Oder" ; + Text [ English ] = "Logical ~Xor" ; + Text [ dutch ] = "Logisch e~xclusief Of" ; + Text [ spanish ] = "O lgico e~xclusivo" ; + Text [ english_us ] = "Boolean Xor" ; + Text [ norwegian ] = "Logisk ~Xeller" ; + Text [ italian ] = "Logica O esclusiva" ; + Text [ portuguese_brazilian ] = "Xou lgico" ; + Text [ portuguese ] = "OU lgico e~xclusivo" ; + Text [ finnish ] = "Looginen ~Xor" ; + Text [ danish ] = "Logisk eksklusiv ELLER" ; + Text [ french ] = "Ou logique e~xclusif" ; + Text [ swedish ] = "Logiskt E~xklusivt Eller" ; + Text[ chinese_simplified ] = "ij Or"; + Text[ russian ] = " \"\""; + Text[ polish ] = "Wyczna funkcja logiczna LUB"; + Text[ japanese ] = "_a(Xor)"; + Text[ chinese_traditional ] = "誺~ Or"; + Text[ arabic ] = " "; + Text[ dutch ] = "Logisch e~xclusief Of"; + Text[ chinese_simplified ] = "ij Or"; + Text[ greek ] = " ~Xor Boole"; + Text[ korean ] = "Ҹ Xor"; + Text[ turkish ] = "Mantksal ~tek Veya"; + }; + MenuItem + { + Identifier = MN_CALC_AND ; + HelpID = HID_MN_CALC_AND ; + Text = "Logisches ~Und" ; + Text [ English ] = "Logical ~And" ; + Text [ dutch ] = "Logisch ~En" ; + Text [ spanish ] = "~Y lgico" ; + Text [ english_us ] = "Boolean And" ; + Text [ norwegian ] = "Logisk ~Og" ; + Text [ italian ] = "Logica ~E" ; + Text [ portuguese_brazilian ] = "E ~lgico" ; + Text [ portuguese ] = "~E lgico" ; + Text [ finnish ] = "Looginen ~And" ; + Text [ danish ] = "Logisk OG" ; + Text [ french ] = "~ET logique" ; + Text [ swedish ] = "Logiskt ~Och" ; + Text[ chinese_simplified ] = " ~And"; + Text[ russian ] = " ~"; + Text[ polish ] = "Funkcja logiczna ORAZ"; + Text[ japanese ] = "_(And)"; + Text[ chinese_traditional ] = "誺 ~And"; + Text[ arabic ] = " "; + Text[ dutch ] = "Logisch ~En"; + Text[ chinese_simplified ] = " ~And"; + Text[ greek ] = " ~And Boole"; + Text[ korean ] = "Ҹ And"; + Text[ turkish ] = "Mantksal ~Ve"; + }; + MenuItem + { + Identifier = MN_CALC_NOT ; + HelpID = HID_MN_CALC_NOT ; + Text = "Logi~sches Nicht" ; + Text [ English ] = "Log~ical Not" ; + Text [ dutch ] = "Log~isch Niet" ; + Text [ spanish ] = "~No lgico" ; + Text [ english_us ] = "Boolean Not" ; + Text [ norwegian ] = "Log~isk Ikke" ; + Text [ italian ] = "Logica Non" ; + Text [ portuguese_brazilian ] = "No Lg~ico" ; + Text [ portuguese ] = "~NO lgico" ; + Text [ finnish ] = "Looginen ~Not" ; + Text [ danish ] = "Logisk IKKE" ; + Text [ french ] = "NON log~ique" ; + Text [ swedish ] = "Logiskt I~nte" ; + Text[ chinese_simplified ] = " Not"; + Text[ russian ] = " "; + Text[ polish ] = "Funkcja logiczna NIE"; + Text[ japanese ] = "_ے(Not)"; + Text[ chinese_traditional ] = "誺 Not"; + Text[ arabic ] = " "; + Text[ dutch ] = "Log~isch Niet"; + Text[ chinese_simplified ] = " Not"; + Text[ greek ] = "~ Not Boole"; + Text[ korean ] = "Ҹ Not"; + Text[ turkish ] = "Matk~al Deil"; + }; + }; + }; + Text[ chinese_simplified ] = "(~O)"; + Text[ russian ] = ""; + Text[ polish ] = "Operatory"; + Text[ japanese ] = "Zq"; + Text[ chinese_traditional ] = "B(~O)"; + Text[ arabic ] = " "; + Text[ dutch ] = "O~peratoren"; + Text[ chinese_simplified ] = "(~O)"; + Text[ greek ] = "~"; + Text[ korean ] = ""; + Text[ turkish ] = "leler"; + }; + MenuItem + { + Identifier = MN_POP_STATISTICS ; + HelpID = HID_MN_POP_STATISTICS ; + Text = "S~tatistische Funktionen" ; + Text [ ENGLISH ] = "S~tatistical Functions" ; + Text [ dutch ] = "~Statistische functies" ; + Text [ spanish ] = "F~unciones estadsticas" ; + Text [ english_us ] = "Statistical Functions" ; + Text [ norwegian ] = "S~tatistiske Funksjoner" ; + Text [ italian ] = "Funzioni statistiche" ; + Text [ portuguese_brazilian ] = "Fun~oes Estatsticas" ; + Text [ portuguese ] = "Funes e~statsticas" ; + Text [ finnish ] = "~Tilastofunktiot" ; + Text [ danish ] = "Statistiske funktioner" ; + Text [ french ] = "Fonctions s~tatistiques" ; + Text [ swedish ] = "S~tatistiska funktioner" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = MN_CALC_MEAN ; + HelpID = HID_MN_CALC_MEAN ; + Text = "~Mittelwert" ; + Text [ English ] = "Average" ; + Text [ dutch ] = "~Gemiddelde waarde" ; + Text [ spanish ] = "Pro~medio" ; + Text [ english_us ] = "Mean" ; + Text [ norwegian ] = "Gjennomsnitt" ; + Text [ italian ] = "Valore medio" ; + Text [ portuguese_brazilian ] = "Mdia" ; + Text [ portuguese ] = "~Mdia" ; + Text [ finnish ] = "Keskiarvo" ; + Text [ danish ] = "Middel" ; + Text [ french ] = "~Moyenne" ; + Text [ swedish ] = "M~edelvrde" ; + Text[ chinese_simplified ] = "ƽֵ(~M)"; + Text[ russian ] = " "; + Text[ polish ] = "rednia warto"; + Text[ japanese ] = "ϒl"; + Text[ chinese_traditional ] = "(~M)"; + Text[ arabic ] = ""; + Text[ dutch ] = "~Gemiddelde waarde"; + Text[ chinese_simplified ] = "ƽֵ(~M)"; + Text[ greek ] = "~ "; + Text[ korean ] = ""; + Text[ turkish ] = "Ortalama deer"; + }; + MenuItem + { + Identifier = MN_CALC_MIN ; + HelpID = HID_MN_CALC_MIN ; + Text = "Mi~nimalwert" ; + Text [ English ] = "Minimum" ; + Text [ dutch ] = "M~inimumwaarde" ; + Text [ spanish ] = "Valor m~nimo" ; + Text [ english_us ] = "Minimum" ; + Text [ norwegian ] = "Minimum" ; + Text [ italian ] = "Valore minimo" ; + Text [ portuguese_brazilian ] = "Mnimo" ; + Text [ portuguese ] = "Valor m~nimo" ; + Text [ finnish ] = "Vhintn" ; + Text [ danish ] = "Minimumvrdi" ; + Text [ french ] = "~Minimum" ; + Text [ swedish ] = "M~inimum" ; + Text[ chinese_simplified ] = "Сֵ(~N)"; + Text[ russian ] = " "; + Text[ polish ] = "Minimum"; + Text[ japanese ] = "ŏl"; + Text[ chinese_traditional ] = "̤p(~N)"; + Text[ arabic ] = " "; + Text[ dutch ] = "M~inimumwaarde"; + Text[ chinese_simplified ] = "Сֵ(~N)"; + Text[ greek ] = " ~"; + Text[ korean ] = "ּ"; + Text[ turkish ] = "Asgari deer"; + }; + MenuItem + { + Identifier = MN_CALC_MAX ; + HelpID = HID_MN_CALC_MAX ; + Text = "Ma~ximalwert" ; + Text [ English ] = "Maximum" ; + Text [ dutch ] = "~Maximumwaarde" ; + Text [ spanish ] = "Valor m~ximo" ; + Text [ english_us ] = "Maximum" ; + Text [ norwegian ] = "Maksimum" ; + Text [ italian ] = "Valore massimo" ; + Text [ portuguese_brazilian ] = "Mximo" ; + Text [ portuguese ] = "Valor m~ximo" ; + Text [ finnish ] = "Suurin arvo" ; + Text [ danish ] = "Maksimumvrdi" ; + Text [ french ] = "Ma~ximum" ; + Text [ swedish ] = "M~aximum" ; + Text[ chinese_simplified ] = "ֵ(~X)"; + Text[ russian ] = " "; + Text[ polish ] = "Maksimum"; + Text[ japanese ] = "ől"; + Text[ chinese_traditional ] = "̤j(~X)"; + Text[ arabic ] = " "; + Text[ dutch ] = "~Maximumwaarde"; + Text[ chinese_simplified ] = "ֵ(~X)"; + Text[ greek ] = "~ "; + Text[ korean ] = "ִ"; + Text[ turkish ] = "Azami deer"; + }; + }; + }; + Text[ chinese_simplified ] = "ͳƹ(~T)"; + Text[ russian ] = " "; + Text[ polish ] = "Funkcje statystyczne"; + Text[ japanese ] = "vwI"; + Text[ chinese_traditional ] = "έp\\(~T)"; + Text[ arabic ] = " "; + Text[ dutch ] = "~Statistische functies"; + Text[ chinese_simplified ] = "ͳƹ(~T)"; + Text[ greek ] = "~ "; + Text[ korean ] = " Լ"; + Text[ turkish ] = "statistik ilevleri"; + }; + MenuItem + { + Identifier = MN_POP_FUNC ; + HelpID = HID_MN_POP_FUNC ; + Text = "~Funktionen" ; + Text [ ENGLISH ] = "~Functions" ; + Text [ dutch ] = "~Functies" ; + Text [ spanish ] = "~Funciones" ; + Text [ english_us ] = "Functions" ; + Text [ norwegian ] = "~Funksjoner" ; + Text [ italian ] = "Funzioni" ; + Text [ portuguese_brazilian ] = "~Funes" ; + Text [ portuguese ] = "~Funes" ; + Text [ finnish ] = "~Funktiot" ; + Text [ danish ] = "Funktioner" ; + Text [ french ] = "~Fonctions" ; + Text [ swedish ] = "~Funktioner" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = MN_CALC_SIN ; + HelpID = HID_MN_CALC_SIN ; + Text = "~Sinus" ; + Text [ english ] = "~Sinus" ; + Text [ english_us ] = "Sine" ; + Text [ portuguese_brazilian ] = "~Sinus" ; + Text [ swedish ] = "~sinus" ; + Text [ danish ] = "Sinus" ; + Text [ italian ] = "~Seno" ; + Text [ spanish ] = "~Seno" ; + Text [ french ] = "~Sinus" ; + Text [ dutch ] = "~Sinus" ; + Text [ portuguese ] = "~Seno" ; + Text[ chinese_simplified ] = "(~S)"; + Text[ russian ] = ""; + Text[ polish ] = "Sinus"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "(~S)"; + Text[ arabic ] = " "; + Text[ dutch ] = "~Sinus"; + Text[ chinese_simplified ] = "(~S)"; + Text[ greek ] = "~"; + Text[ korean ] = ""; + Text[ turkish ] = "Sins"; + }; + MenuItem + { + Identifier = MN_CALC_COS ; + HelpID = HID_MN_CALC_COS ; + Text = "~Cosinus" ; + Text [ english ] = "~Cosinus" ; + Text [ english_us ] = "Cosine" ; + Text [ portuguese_brazilian ] = "~Cosinus" ; + Text [ swedish ] = "~cosinus" ; + Text [ danish ] = "Cosinus" ; + Text [ italian ] = "~Coseno" ; + Text [ spanish ] = "~Coseno" ; + Text [ french ] = "~Cosinus" ; + Text [ dutch ] = "~Cosinus" ; + Text [ portuguese ] = "~Coseno" ; + Text[ chinese_simplified ] = "(~C)"; + Text[ russian ] = ""; + Text[ polish ] = "Cosinus"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "E(~C)"; + Text[ arabic ] = " "; + Text[ dutch ] = "~Cosinus"; + Text[ chinese_simplified ] = "(~C)"; + Text[ greek ] = "~"; + Text[ korean ] = "ڻ"; + Text[ turkish ] = "Kosins"; + }; + MenuItem + { + Identifier = MN_CALC_TAN ; + HelpID = HID_MN_CALC_TAN ; + Text = "~Tangens" ; + Text [ english ] = "~Tangens" ; + Text [ english_us ] = "Tangent" ; + Text [ portuguese_brazilian ] = "~Tangens" ; + Text [ swedish ] = "~tangens" ; + Text [ danish ] = "Tangens" ; + Text [ italian ] = "~Tangente" ; + Text [ spanish ] = "~Tangente" ; + Text [ french ] = "~Tangente" ; + Text [ dutch ] = "~Tangens" ; + Text [ portuguese ] = "~Tangente" ; + Text[ chinese_simplified ] = "(~T)"; + Text[ russian ] = ""; + Text[ polish ] = "Tangens"; + Text[ japanese ] = "ݼު"; + Text[ chinese_traditional ] = "(~T)"; + Text[ arabic ] = ""; + Text[ dutch ] = "~Tangens"; + Text[ chinese_simplified ] = "(~T)"; + Text[ greek ] = "~"; + Text[ korean ] = "źƮ"; + Text[ turkish ] = "Tanjant"; + }; + MenuItem + { + Identifier = MN_CALC_ASIN ; + HelpID = HID_MN_CALC_ASIN ; + Text = "~Arcussinus" ; + Text [ english ] = "~Arcussinus" ; + Text [ english_us ] = "Arcsine" ; + Text [ portuguese_brazilian ] = "~Arcussinus" ; + Text [ swedish ] = "~arcussinus" ; + Text [ danish ] = "Arcus sinus" ; + Text [ italian ] = "~Arcoseno" ; + Text [ spanish ] = "Seno de ~arco" ; + Text [ french ] = "~Arc sinus" ; + Text [ dutch ] = "~Boogsinus" ; + Text [ portuguese ] = "~Arco seno" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Arcus sinus"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "ϥ"; + Text[ arabic ] = " "; + Text[ dutch ] = "~Boogsinus"; + Text[ chinese_simplified ] = ""; + Text[ greek ] = "~ "; + Text[ korean ] = "ũ"; + Text[ turkish ] = "Arksins"; + }; + MenuItem + { + Identifier = MN_CALC_ACOS ; + HelpID = HID_MN_CALC_ACOS ; + Text = "A~rcuscosinus" ; + Text [ english ] = "A~rcuscosinus" ; + Text [ english_us ] = "Arccosine" ; + Text [ portuguese_brazilian ] = "A~rcuscosinus" ; + Text [ swedish ] = "a~rcuscosinus" ; + Text [ danish ] = "Arcus cosinus" ; + Text [ italian ] = "A~rcocoseno" ; + Text [ spanish ] = "Coseno de a~rco" ; + Text [ french ] = "~Arc cosinus" ; + Text [ dutch ] = "B~oogcosinus" ; + Text [ portuguese ] = "Arco cose~no" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Arcus cosinus"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "ϧE"; + Text[ arabic ] = " "; + Text[ dutch ] = "B~oogcosinus"; + Text[ chinese_simplified ] = ""; + Text[ greek ] = "~ "; + Text[ korean ] = "ũ ڻ"; + Text[ turkish ] = "Arkkosins"; + }; + MenuItem + { + Identifier = MN_CALC_ATAN ; + HelpID = HID_MN_CALC_ATAN ; + Text = "Arcustan~gens" ; + Text [ english ] = "Arcustan~gens" ; + Text [ english_us ] = "Arctangent" ; + Text [ portuguese_brazilian ] = "Arcustan~gens" ; + Text [ swedish ] = "arcustan~gens" ; + Text [ danish ] = "Arcus tangens" ; + Text [ italian ] = "Arcotan~gente" ; + Text [ spanish ] = "~Tangente de arco" ; + Text [ french ] = "Arc tan~gente" ; + Text [ dutch ] = "Boogtan~gens" ; + Text [ portuguese ] = "~Arco tangente" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Arcus tangens"; + Text[ japanese ] = "ݼު"; + Text[ chinese_traditional ] = "ϥ"; + Text[ arabic ] = " "; + Text[ dutch ] = "Boogtan~gens"; + Text[ chinese_simplified ] = ""; + Text[ greek ] = " ~"; + Text[ korean ] = "ũ źƮ"; + Text[ turkish ] = "Arktanjant"; + }; + }; + }; + Text[ chinese_simplified ] = "(~F)"; + Text[ russian ] = ""; + Text[ polish ] = "Funkcje"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "(~F)"; + Text[ arabic ] = ""; + Text[ dutch ] = "~Functies"; + Text[ chinese_simplified ] = "(~F)"; + Text[ language_user1 ] = "() ; - - - - - -"; + Text[ greek ] = "~"; + Text[ korean ] = "Լ"; + Text[ turkish ] = "levler"; + }; + }; +}; +String STR_FORMULA +{ + Text = "Textformel" ; + Text [ ENGLISH ] = "Text Formula" ; + Text [ dutch ] = "Tekstformule" ; + Text [ spanish ] = "Frmula de texto" ; + Text [ english_us ] = "Text formula" ; + Text [ norwegian ] = "Tekstformel" ; + Text [ italian ] = "Formula testo" ; + Text [ portuguese_brazilian ] = "Frmula do Texto" ; + Text [ portuguese ] = "Frmula do texto" ; + Text [ finnish ] = "Tekstikaava" ; + Text [ danish ] = "Tekstformel" ; + Text [ french ] = "Formule texte" ; + Text [ swedish ] = "Textformel" ; + Text[ chinese_simplified ] = "ı"; + Text[ russian ] = " "; + Text[ polish ] = "Formua tekstu"; + Text[ japanese ] = "÷Č`"; + Text[ chinese_traditional ] = "r"; + Text[ arabic ] = " "; + Text[ dutch ] = "Tekstformule"; + Text[ chinese_simplified ] = "ı"; + Text[ language_user1 ] = "() ; - - - - - -"; + Text[ greek ] = " "; + Text[ korean ] = "ؽƮ "; + Text[ turkish ] = "Metin formul"; +}; +#define TB_INPUT \ + ToolBoxItem\ + {\ + Identifier = FN_FORMULA_CALC ; \ + HelpID = FN_FORMULA_CALC ; \ + Text = "Formel" ; \ + Text [ English ] = "Formula" ; \ + Text [ norwegian ] = "Formel" ; \ + Text [ italian ] = "Formula" ; \ + Text [ portuguese_brazilian ] = "Frmula" ; \ + Text [ portuguese ] = "Frmula" ; \ + Text [ finnish ] = "Kaava" ; \ + Text [ danish ] = "Formel" ; \ + Text [ french ] = "Formule" ; \ + Text [ swedish ] = "Formel" ; \ + Text [ dutch ] = "Formule" ; \ + Text [ spanish ] = "Frmula" ; \ + Text [ english_us ] = "Formula" ; \ + /* ### ACHTUNG: Neuer Text in Resource? Formel auswhlen : Formel auswhlen */\ + Text[ chinese_simplified ] = "ʽ";\ + Text[ russian ] = "";\ + Text[ polish ] = "Formua";\ + Text[ japanese ] = "";\ + Text[ chinese_traditional ] = "";\ + Text[ arabic ] = "";\ + Text[ dutch ] = "Formule";\ + Text[ chinese_simplified ] = "ʽ";\ + Text[ greek ] = "";\ + Text[ korean ] = "";\ + Text[ turkish ] = "Forml";\ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FORMULA_CANCEL ; \ + HelpID = FN_FORMULA_CANCEL ; \ + Text = "Abbrechen" ; \ + Text [ English ] = "Cancel" ; \ + Text [ norwegian ] = "Avbryt" ; \ + Text [ italian ] = "Annulla" ; \ + Text [ portuguese_brazilian ] = "Cancelar" ; \ + Text [ portuguese ] = "Cancelar" ; \ + Text [ finnish ] = "Peruuta" ; \ + Text [ danish ] = "Annuller" ; \ + Text [ french ] = "Annuler " ; \ + Text [ swedish ] = "Avbryt" ; \ + Text [ dutch ] = "Annuleren" ; \ + Text [ spanish ] = "Cancelar" ; \ + Text [ english_us ] = "Cancel" ; \ + /* ### ACHTUNG: Neuer Text in Resource? Formel nicht benehmen : Formel nicht benehmen */\ + Text[ chinese_simplified ] = "ȡ";\ + Text[ russian ] = "";\ + Text[ polish ] = "Anuluj";\ + Text[ japanese ] = "ݾ";\ + Text[ chinese_traditional ] = "";\ + Text[ arabic ] = " ";\ + Text[ dutch ] = "Annuleren";\ + Text[ chinese_simplified ] = "ȡ";\ + Text[ greek ] = "";\ + Text[ korean ] = "";\ + Text[ turkish ] = "ptal";\ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FORMULA_APPLY ; \ + HelpID = FN_FORMULA_APPLY ; \ + /* ### ACHTUNG: Neuer Text in Resource? bernehmen : bernehmen */\ + Text = "bernehmen" ; \ + Text [ English ] = "Apply" ; \ + Text [ norwegian ] = "Benytt" ; \ + Text [ italian ] = "Applica" ; \ + Text [ portuguese_brazilian ] = "Aplicar" ; \ + Text [ portuguese ] = "Aplicar" ; \ + Text [ finnish ] = "Kyt" ; \ + Text [ danish ] = "Anvend" ; \ + Text [ french ] = "Appliquer" ; \ + Text [ swedish ] = "verta" ; \ + Text [ dutch ] = "Overnemen" ; \ + Text [ spanish ] = "Aplicar" ; \ + Text [ english_us ] = "Apply" ; \ + /* ### ACHTUNG: Neuer Text in Resource? Formel einfgen : Formel einfgen */\ + Text[ chinese_simplified ] = "Ӧ";\ + Text[ russian ] = "";\ + Text[ polish ] = "Zastosuj";\ + Text[ japanese ] = "Kp";\ + Text[ chinese_traditional ] = "ϥ";\ + Text[ arabic ] = "";\ + Text[ dutch ] = "Overnemen";\ + Text[ chinese_simplified ] = "Ӧ";\ + Text[ greek ] = "";\ + Text[ korean ] = "";\ + Text[ turkish ] = "Uygula";\ + }; + diff --git a/sw/source/ui/ribbar/makefile.mk b/sw/source/ui/ribbar/makefile.mk new file mode 100644 index 000000000000..571eabdfd645 --- /dev/null +++ b/sw/source/ui/ribbar/makefile.mk @@ -0,0 +1,109 @@ +#************************************************************************* +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.1.1.1 $ +# +# last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ +# +# 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): _______________________________________ +# +# +# +#************************************************************************* + +PRJ=..$/..$/.. + +PRJNAME=sw +TARGET=ribbar + +AUTOSEG=true + +PROJECTPCH=ui_pch +PDBTARGET=ui_pch +PROJECTPCHSOURCE=..\ui_1st\ui_pch + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/sw.mk + +IMGLST_SRS=$(SRS)$/ribbar.srs +BMP_IN=$(PRJ)$/win/imglst + +# --- Files -------------------------------------------------------- + +SRCFILES = \ + tbxanchr.src \ + inputwin.src \ + tblctrl.src \ + workctrl.src + +SLOFILES = \ + $(SLO)$/inputwin.obj \ + $(SLO)$/tbxanchr.obj \ + $(SLO)$/tbxmgr.obj \ + $(SLO)$/conrect.obj \ + $(SLO)$/conform.obj \ + $(SLO)$/conpoly.obj \ + $(SLO)$/conarc.obj \ + $(SLO)$/dselect.obj \ + $(SLO)$/drawbase.obj \ + $(SLO)$/tblctrl.obj \ + $(SLO)$/workctrl.obj + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + +$(SRS)$/ribbar.srs: $(SOLARINCDIR)$/svx$/globlmn.hrc + diff --git a/sw/source/ui/ribbar/tblctrl.cxx b/sw/source/ui/ribbar/tblctrl.cxx new file mode 100644 index 000000000000..89a3f08aeb67 --- /dev/null +++ b/sw/source/ui/ribbar/tblctrl.cxx @@ -0,0 +1,209 @@ +/************************************************************************* + * + * $RCSfile: tblctrl.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 + +#ifndef _SFXINTITEM_HXX //autogen +#include <svtools/intitem.hxx> +#endif + + +#include "cmdid.h" +#include "swtypes.hxx" +#include "tbxmgr.hxx" +#include "tblctrl.hxx" +#include "tblctrl.hrc" + + + +SFX_IMPL_TOOLBOX_CONTROL( SwTableOptimizeCtrl, SfxUInt16Item ); + +/********************************************************************** + +**********************************************************************/ + + + + +SwTableOptimizeCtrl::SwTableOptimizeCtrl( USHORT nId, + ToolBox& rTbx, + SfxBindings& rBind ) : + SfxToolBoxControl( nId, rTbx, rBind ) +{ +} +/********************************************************************** + +**********************************************************************/ + + + +SwTableOptimizeCtrl::~SwTableOptimizeCtrl() +{ +} + +/********************************************************************** + +**********************************************************************/ + + + +SfxPopupWindow* SwTableOptimizeCtrl::CreatePopupWindow() +{ + USHORT nWinResId, nTbxResId; + nWinResId = RID_TBL_OPT_CTRL; + nTbxResId = TBX_OPTIMIZE_TABLE; + + WindowAlign eAlign = WINDOWALIGN_TOP; + if(GetToolBox().IsHorizontal()) + eAlign = WINDOWALIGN_LEFT; + SwPopupWindowTbxMgr *pWin = new SwPopupWindowTbxMgr( GetId(), + eAlign, + SW_RES(nWinResId), + SW_RES(nTbxResId), + GetBindings()); + pWin->StartPopupMode(&GetToolBox(), TRUE); + pWin->StartSelection(); + pWin->Show(); + return pWin; + +} + +/********************************************************************** + +**********************************************************************/ + + + +SfxPopupWindowType SwTableOptimizeCtrl::GetPopupWindowType() const +{ + return SFX_POPUPWINDOW_ONCLICK; +} + + +/*********************************************************************** + + $Log: not supported by cvs2svn $ + Revision 1.10 2000/09/18 16:06:01 willem.vandorp + OpenOffice header added. + + Revision 1.9 2000/03/03 15:17:03 os + StarView remainders removed + + Revision 1.8 1997/11/24 13:54:00 MA + includes + + + Rev 1.7 24 Nov 1997 14:54:00 MA + includes + + Rev 1.6 03 Nov 1997 13:24:22 MA + precomp entfernt + + Rev 1.5 24 Mar 1997 01:43:52 OS + Alignment aussen einstellen + + Rev 1.4 23 Mar 1997 23:54:26 OS + ToolBoxAlign statt ToolBoxControl uebergeben + + Rev 1.3 29 Jan 1997 14:52:24 OM + Draw-Toolboxen ins Svx verschoben + + Rev 1.2 14 Nov 1996 15:40:48 TRI + includes + + Rev 1.1 11 Nov 1996 11:15:14 MA + ResMgr + + Rev 1.0 08 Nov 1996 13:39:36 OS + Initial revision. + + +***********************************************************************/ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sw/source/ui/ribbar/tblctrl.hrc b/sw/source/ui/ribbar/tblctrl.hrc new file mode 100644 index 000000000000..83e06af7de73 --- /dev/null +++ b/sw/source/ui/ribbar/tblctrl.hrc @@ -0,0 +1,69 @@ +/************************************************************************* + * + * $RCSfile: tblctrl.hrc,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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): _______________________________________ + * + * + ************************************************************************/ +#ifndef _TBLCTRL_HRC +#define _TBLCTRL_HRC +#include "ribbar.hrc" + +#define TBX_OPTIMIZE_TABLE 1 + +#endif + + diff --git a/sw/source/ui/ribbar/tblctrl.src b/sw/source/ui/ribbar/tblctrl.src new file mode 100644 index 000000000000..2a1fb1d9463c --- /dev/null +++ b/sw/source/ui/ribbar/tblctrl.src @@ -0,0 +1,123 @@ +/************************************************************************* + * + * $RCSfile: tblctrl.src,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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): _______________________________________ + * + * + ************************************************************************/ + +#include "tblctrl.hrc" +#include "helpid.h" +#include "cmdid.h" +#define IMAGE_STDBTN_COLOR Color { Red = 0xC000; Green = 0xC000; Blue = 0xC000; } +FloatingWindow RID_TBL_OPT_CTRL +{ + Moveable = TRUE ; + Closeable = TRUE ; + Hide = TRUE ; + SVLook = TRUE ; + HelpID = HID_TBL_OPT_CTRL ; + Text = "Optimieren" ; + Text [ English ] = "Optimieren" ; + ToolBox TBX_OPTIMIZE_TABLE + { + MenuStrings = TRUE ; + SVLook = TRUE ; + HelpID = 1 ; + ItemList = + { + ToolBoxItem + { + Identifier = FN_TABLE_BALANCE_CELLS ; + HelpID = FN_TABLE_BALANCE_CELLS ; + }; + ToolBoxItem + { + Identifier = FN_TABLE_BALANCE_ROWS ; + HelpID = FN_TABLE_BALANCE_ROWS ; + }; + ToolBoxItem + { + Identifier = FN_TABLE_OPTIMAL_HEIGHT ; + HelpID = FN_TABLE_OPTIMAL_HEIGHT ; + }; + ToolBoxItem + { + Identifier = FN_TABLE_ADJUST_CELLS ; + HelpID = FN_TABLE_ADJUST_CELLS ; + }; + }; + }; + Text [ english_us ] = "Optimize" ; + Text [ italian ] = "Ottimizza" ; + Text [ spanish ] = "Optimar" ; + Text [ french ] = "Optimiser" ; + Text [ dutch ] = "Optimaliseren" ; + Text [ swedish ] = "Optimera" ; + Text [ danish ] = "Optimer" ; + Text [ portuguese_brazilian ] = "Optimieren" ; + Text [ portuguese ] = "Optimizar" ; + Text[ chinese_simplified ] = "ѻ"; + Text[ russian ] = ""; + Text[ polish ] = "Optymalizuj"; + Text[ japanese ] = "œK"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = " "; + Text[ greek ] = ""; + Text[ korean ] = "ȭ"; + Text[ turkish ] = "Optimize et"; + Text[ language_user1 ] = " "; +}; diff --git a/sw/source/ui/ribbar/tbxanchr.cxx b/sw/source/ui/ribbar/tbxanchr.cxx new file mode 100644 index 000000000000..c981b5563955 --- /dev/null +++ b/sw/source/ui/ribbar/tbxanchr.cxx @@ -0,0 +1,240 @@ +/************************************************************************* + * + * $RCSfile: tbxanchr.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 <string> // HACK: prevent conflict between STLPORT and Workshop headers + +#ifndef _SV_TIMER_HXX //autogen +#include <vcl/timer.hxx> +#endif + +#ifndef _SFXAPP_HXX //autogen +#include <sfx2/app.hxx> +#endif +#ifndef _SVX_HTMLMODE_HXX //autogen +#include <svx/htmlmode.hxx> +#endif +#ifndef _SFXINTITEM_HXX //autogen +#include <svtools/intitem.hxx> +#endif +#ifndef _SFXDISPATCH_HXX //autogen +#include <sfx2/dispatch.hxx> +#endif +#ifndef _TOOLBOX_HXX //autogen +#include <vcl/toolbox.hxx> +#endif +#ifndef _SFXMNUMGR_HXX //autogen +#include <sfx2/mnumgr.hxx> +#endif + + +#include "cmdid.h" +#include "docsh.hxx" +#include "swtypes.hxx" +#include "swmodule.hxx" +#include "wrtsh.hxx" +#include "view.hxx" +#include "viewopt.hxx" +#include "errhdl.hxx" +#include "ribbar.hrc" +#include "tbxanchr.hxx" + + + +SFX_IMPL_TOOLBOX_CONTROL(SwTbxAnchor, SfxUInt16Item); + +/****************************************************************************** + * Beschreibung: + ******************************************************************************/ + +SwTbxAnchor::SwTbxAnchor(USHORT nId, ToolBox& rTbx, SfxBindings& rBind) : + SfxToolBoxControl(nId, rTbx, rBind), + nActAnchorId(0) +{ +} + +/****************************************************************************** + * Beschreibung: + ******************************************************************************/ + + SwTbxAnchor::~SwTbxAnchor() +{ +} + +/****************************************************************************** + * Beschreibung: + ******************************************************************************/ + +void SwTbxAnchor::StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pState ) +{ + GetToolBox().EnableItem( GetId(), (GetItemState(pState) != SFX_ITEM_DISABLED) ); + + if( eState == SFX_ITEM_AVAILABLE ) + { + const SfxUInt16Item* pItem = PTR_CAST( SfxUInt16Item, pState ); + if(pItem) + nActAnchorId = pItem->GetValue(); + } + +} + +/****************************************************************************** + * Beschreibung: + ******************************************************************************/ + +void SwTbxAnchor::Click() +{ + PopupMenu aPopMenu(SW_RES(MN_ANCHOR_POPUP)); + + SwView* pView = ::GetActiveView(); + SwWrtShell* pWrtShell = pView->GetWrtShellPtr(); + aPopMenu.EnableItem( FN_TOOL_ANKER_FRAME, 0 != pWrtShell->IsFlyInFly() ); + + Rectangle aRect(GetToolBox().GetItemRect(FN_TOOL_ANKER)); + USHORT nHtmlMode = ::GetHtmlMode((SwDocShell*)SfxObjectShell::Current()); + BOOL bHtmlModeNoAnchor = ( nHtmlMode & HTMLMODE_ON) && 0 == (nHtmlMode & HTMLMODE_SOME_ABS_POS); + + if (bHtmlModeNoAnchor || pWrtShell->IsInHeaderFooter()) + aPopMenu.RemoveItem(aPopMenu.GetItemPos(FN_TOOL_ANKER_PAGE)); + + if (!pWrtShell->IsFrmSelected()) + aPopMenu.RemoveItem(aPopMenu.GetItemPos(FN_TOOL_ANKER_AT_CHAR)); + + if (nActAnchorId) + aPopMenu.CheckItem(nActAnchorId); + + + USHORT nSlotId = aPopMenu.Execute(&GetToolBox(), aRect.BottomLeft()); + GetToolBox().EndSelection(); + + if (nSlotId) + pView->GetViewFrame()->GetDispatcher()->Execute(nSlotId, SFX_CALLMODE_ASYNCHRON|SFX_CALLMODE_RECORD); +} + +/*********************************************************************** + + $Log: not supported by cvs2svn $ + Revision 1.18 2000/09/18 16:06:02 willem.vandorp + OpenOffice header added. + + Revision 1.17 2000/09/07 15:59:27 os + change: SFX_DISPATCHER/SFX_BINDINGS removed + + Revision 1.16 2000/05/24 12:36:18 hr + conflict between STLPORT and Workshop header + + Revision 1.15 2000/02/11 14:56:54 hr + #70473# changes for unicode ( patched by automated patchtool ) + + Revision 1.14 1999/07/02 11:22:28 OS + #64782# anchor type page in hader or footer disabled + + + Rev 1.13 02 Jul 1999 13:22:28 OS + #64782# anchor type page in hader or footer disabled + + Rev 1.12 24 Apr 1998 08:57:10 OS + Seitenbindung fuer HTML-Rahmen bedingt erlauben + + Rev 1.11 31 Mar 1998 15:21:02 AMA + Fix #47521#: IsFlyInFly liefert jetzt das Format des potentiellen Ankers + + Rev 1.10 29 Jan 1998 14:59:22 OM + Am Zeichen verankern + + Rev 1.9 10 Dec 1997 11:38:48 TJ + include + + Rev 1.8 28 Nov 1997 19:57:26 MA + includes + + Rev 1.7 24 Nov 1997 14:53:58 MA + includes + + Rev 1.6 12 Sep 1997 15:33:26 AMA + Neu: IsFlyInFly wird gefragt, ob Verankerung am Rahmen zugelassen ist. + + Rev 1.5 29 Aug 1997 15:45:34 OS + PopupMenu::Execute mit Window* fuer VCL + + Rev 1.4 08 Aug 1997 17:29:58 OM + Headerfile-Umstellung + + Rev 1.3 04 Jun 1997 16:07:06 MH + Syntax + + Rev 1.2 04 Jun 1997 12:37:22 OS + Rahmen an Rahmen nicht in der 4.0; Segmentierung raus + + Rev 1.1 03 Mar 1997 16:41:22 OM + Segmentiert + + Rev 1.0 03 Mar 1997 14:24:08 OM + Initial revision. + +***********************************************************************/ + + diff --git a/sw/source/ui/ribbar/tbxanchr.src b/sw/source/ui/ribbar/tbxanchr.src new file mode 100644 index 000000000000..90ee969d9b1e --- /dev/null +++ b/sw/source/ui/ribbar/tbxanchr.src @@ -0,0 +1,204 @@ +/************************************************************************* + * + * $RCSfile: tbxanchr.src,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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): _______________________________________ + * + * + ************************************************************************/ + +#include "ribbar.hrc" +#include "cmdid.h" +Menu MN_ANCHOR_POPUP +{ + ItemList = + { + MenuItem + { + _MenuItemFlags = MIB_RADIOCHECK ; + RadioCheck = TRUE ; + Identifier = FN_TOOL_ANKER_PAGE ; + Text = "Seite" ; + Text [ ENGLISH ] = "Page" ; + Text [ portuguese ] = "Pgina" ; + Text [ english_us ] = "Page" ; + Text [ portuguese_brazilian ] = "Seite" ; + Text [ swedish ] = "Sida" ; + Text [ danish ] = "Side" ; + Text [ italian ] = "Pagina" ; + Text [ spanish ] = "Pgina" ; + Text [ french ] = " la page" ; + Text [ dutch ] = "Pagina" ; + Text[ chinese_simplified ] = "ҳ"; + Text[ russian ] = ""; + Text[ polish ] = "Strona"; + Text[ japanese ] = "߰"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Sayfa"; + Text[ language_user1 ] = " "; + }; + MenuItem + { + _MenuItemFlags = MIB_RADIOCHECK ; + RadioCheck = TRUE ; + Identifier = FN_TOOL_ANKER_PARAGRAPH ; + Text = "Absatz" ; + Text [ ENGLISH ] = "Paragraph" ; + Text [ portuguese ] = "Pargrafo" ; + Text [ english_us ] = "Paragraph" ; + Text [ portuguese_brazilian ] = "Absatz" ; + Text [ swedish ] = "Stycke" ; + Text [ danish ] = "Afsnit" ; + Text [ italian ] = "Paragrafo" ; + Text [ spanish ] = "Prrafo" ; + Text [ french ] = "Paragraphe" ; + Text [ dutch ] = "Alinea" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Akapit"; + Text[ japanese ] = "i"; + Text[ chinese_traditional ] = "q"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = "ܶ"; + Text[ turkish ] = "Paragrafa"; + Text[ language_user1 ] = " "; + }; + MenuItem + { + _MenuItemFlags = MIB_RADIOCHECK ; + RadioCheck = TRUE ; + Identifier = FN_TOOL_ANKER_AT_CHAR ; + Text = "Am Zeichen" ; + Text [ ENGLISH ] = "At character" ; + Text [ english_us ] = "At Character" ; + Text [ portuguese_brazilian ] = "Am Zeichen" ; + Text [ swedish ] = "Vid tecken" ; + Text [ danish ] = "Til tegn" ; + Text [ italian ] = "Al carattere" ; + Text [ spanish ] = "Al carcter" ; + Text [ french ] = "Au caractre" ; + Text [ dutch ] = "Aan teken" ; + Text [ portuguese ] = "No carcter" ; + Text[ chinese_simplified ] = "ַ"; + Text[ russian ] = " "; + Text[ polish ] = "Przy znaku"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "brW"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = "ڿ"; + Text[ turkish ] = "Karaktere"; + Text[ language_user1 ] = " "; + }; + MenuItem + { + _MenuItemFlags = MIB_RADIOCHECK ; + RadioCheck = TRUE ; + Identifier = FN_TOOL_ANKER_CHAR ; + Text = "Als Zeichen" ; + Text [ ENGLISH ] = "Like a character" ; + Text [ portuguese ] = "Como carcter" ; + Text [ english_us ] = "As Character" ; + Text [ portuguese_brazilian ] = "Zeichen" ; + Text [ swedish ] = "Som tecken" ; + Text [ danish ] = "Som tegn" ; + Text [ italian ] = "Quale carattere" ; + Text [ spanish ] = "Como carcter" ; + Text [ french ] = "Comme caractre" ; + Text [ dutch ] = "Als teken" ; + Text[ chinese_simplified ] = "ַ"; + Text[ russian ] = " "; + Text[ polish ] = "Jako znak"; + Text[ japanese ] = "Ƃ"; + Text[ chinese_traditional ] = "@r"; + Text[ arabic ] = ""; + Text[ greek ] = " "; + Text[ korean ] = "ڷ"; + Text[ turkish ] = "Karakter olarak"; + Text[ language_user1 ] = " "; + }; + MenuItem + { + _MenuItemFlags = MIB_RADIOCHECK ; + RadioCheck = TRUE ; + Identifier = FN_TOOL_ANKER_FRAME ; + Text = "Rahmen" ; + Text [ ENGLISH ] = "Frame" ; + Text [ portuguese ] = "Moldura" ; + Text [ english_us ] = "Frame" ; + Text [ portuguese_brazilian ] = "Rahmen" ; + Text [ swedish ] = "Ram" ; + Text [ danish ] = "Ramme" ; + Text [ italian ] = "Cornice" ; + Text [ spanish ] = "Marco" ; + Text [ french ] = "Cadre" ; + Text [ dutch ] = "Kader" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Ramka"; + Text[ japanese ] = "g"; + Text[ chinese_traditional ] = "r"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "ereve"; + Text[ language_user1 ] = " "; + }; + }; +}; diff --git a/sw/source/ui/ribbar/tbxmgr.cxx b/sw/source/ui/ribbar/tbxmgr.cxx new file mode 100644 index 000000000000..bf7b2cc47480 --- /dev/null +++ b/sw/source/ui/ribbar/tbxmgr.cxx @@ -0,0 +1,304 @@ +/************************************************************************* + * + * $RCSfile: tbxmgr.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 "cmdid.h" +#include "swtypes.hxx" // nur wegen aEmptyString?? +#include "errhdl.hxx" +#include "wdocsh.hxx" +#include "tbxmgr.hxx" + + +/************************************************************************* +|* +|* +|* +\************************************************************************/ + +SwPopupWindowTbxMgr::SwPopupWindowTbxMgr( USHORT nId, WindowAlign eAlign, + ResId aRIdWin, ResId aRIdTbx, + SfxBindings& rBindings ) : + SvxPopupWindowTbxMgr( nId, eAlign, aRIdWin, aRIdTbx, rBindings), + bWeb(FALSE), + aRIdWinTemp(aRIdWin), + aRIdTbxTemp(aRIdTbx) +{ + SfxObjectShell* pObjShell = SfxObjectShell::Current(); + if(PTR_CAST(SwWebDocShell, pObjShell)) + { + bWeb = TRUE; + ToolBox& rTbx = GetTbxMgr().GetToolBox(); + // jetzt muessen ein paar Items aus der Toolbox versteckt werden: + switch(nId) + { + case FN_INSERT_CTRL: + rTbx.ShowItem(FN_INSERT_FRAME_INTERACT_NOCOL); + rTbx.HideItem(FN_INSERT_FRAME_INTERACT); + rTbx.HideItem(FN_INSERT_FOOTNOTE); + rTbx.HideItem(FN_INSERT_ENDNOTE); + rTbx.HideItem(FN_PAGE_STYLE_SET_COLS); + rTbx.HideItem(FN_INSERT_IDX_ENTRY_DLG); + + break; + case FN_INSERT_FIELD_CTRL: + rTbx.HideItem(FN_INSERT_FLD_PGNUMBER); + rTbx.HideItem(FN_INSERT_FLD_PGCOUNT); + rTbx.HideItem(FN_INSERT_FLD_TOPIC); + rTbx.HideItem(FN_INSERT_FLD_TITLE); + break; + } + } + else if( FN_INSERT_CTRL == nId) + { + ToolBox& rTbx = GetTbxMgr().GetToolBox(); + rTbx.ShowItem(FN_INSERT_FRAME_INTERACT); + rTbx.HideItem(FN_INSERT_FRAME_INTERACT_NOCOL); + } + + Size aSize = GetTbxMgr().CalcWindowSizePixel(); + GetTbxMgr().SetPosSizePixel( Point(), aSize ); + SetOutputSizePixel( aSize ); +} + +/************************************************************************* +|* +|* +|* +\************************************************************************/ + +void SwPopupWindowTbxMgr::StateChanged(USHORT nSID, SfxItemState eState, + const SfxPoolItem* pState) +{ + static USHORT __READONLY_DATA aInsertCtrl[] = + { + FN_INSERT_FRAME_INTERACT, + FN_INSERT_FOOTNOTE, + FN_INSERT_ENDNOTE, + FN_PAGE_STYLE_SET_COLS, + FN_INSERT_IDX_ENTRY_DLG, + 0 + }; + static USHORT __READONLY_DATA aInsertFld[] = + { + FN_INSERT_FLD_PGNUMBER, + FN_INSERT_FLD_PGCOUNT, + FN_INSERT_FLD_TOPIC, + FN_INSERT_FLD_TITLE, + 0 + }; + + SfxObjectShell* pObjShell = SfxObjectShell::Current(); + BOOL bNewWeb = 0 != PTR_CAST(SwWebDocShell, pObjShell); + if(bWeb != bNewWeb) + { + bWeb = bNewWeb; + ToolBox& rTbx = GetTbxMgr().GetToolBox(); + // jetzt muessen ein paar Items aus der Toolbox versteckt werden: + const USHORT* pSid = 0; + + switch(nSID) + { + case FN_INSERT_CTRL: + pSid = &aInsertCtrl[0]; + if(bWeb) + rTbx.ShowItem(FN_INSERT_FRAME_INTERACT_NOCOL); + else + rTbx.HideItem(FN_INSERT_FRAME_INTERACT_NOCOL); + break; + case FN_INSERT_FIELD_CTRL: + pSid = & aInsertFld[0]; + break; + } + if(pSid) + { + if(bWeb) + while(*pSid) + { + rTbx.HideItem(*pSid); + pSid++; + } + else + while(*pSid) + { + rTbx.ShowItem(*pSid); + pSid++; + } + Size aSize = GetTbxMgr().CalcWindowSizePixel(); + GetTbxMgr().SetPosSizePixel( Point(), aSize ); + SetOutputSizePixel( aSize ); + } + } + SfxPopupWindow::StateChanged(nSID, eState, pState); +} + + +SfxPopupWindow* SwPopupWindowTbxMgr::Clone() const +{ + return new SwPopupWindowTbxMgr( + GetId(), + ((SwPopupWindowTbxMgr*)this)->GetTbxMgr().GetToolBox().GetAlign(), + aRIdWinTemp, + aRIdTbxTemp, + (SfxBindings&)GetBindings() + ); +} + +/*********************************************************************** + + $Log: not supported by cvs2svn $ + Revision 1.10 2000/09/18 16:06:02 willem.vandorp + OpenOffice header added. + + Revision 1.9 2000/06/20 14:48:39 os + #70060# less occurences of columns in HTML + + Revision 1.8 2000/03/03 15:17:03 os + StarView remainders removed + + Revision 1.7 1999/02/12 07:21:26 OS + #61547# InsertEndnote in der Wz.Leiste + + + Rev 1.6 12 Feb 1999 08:21:26 OS + #61547# InsertEndnote in der Wz.Leiste + + Rev 1.5 06 Apr 1998 09:57:30 OS + INSERT_FRAME_INTERACT fuer HTML wieder erlaubt + + Rev 1.4 24 Nov 1997 14:53:58 MA + includes + + Rev 1.3 03 Nov 1997 13:24:20 MA + precomp entfernt + + Rev 1.2 23 Mar 1997 23:54:26 OS + ToolBoxAlign statt ToolBoxControl uebergeben + + Rev 1.1 29 Jan 1997 17:16:36 NF + includes... + + Rev 1.0 29 Jan 1997 14:51:48 OM + Initial revision. + + Rev 1.36 28 Jan 1997 16:29:50 OS + Anpassung der ToolBox an die DocShell + + Rev 1.35 15 Jan 1997 11:32:52 OM + Bezier-Controller entfernt + + Rev 1.34 11 Dec 1996 12:33:46 OM + Bezier-Controller + + Rev 1.33 30 Nov 1996 14:07:24 OS + SID_OBJECT_ALIGN: dieser Controller tauscht die Images nicht aus! + + Rev 1.32 25 Nov 1996 10:56:50 OS + SwPopupWindowTbx entfernt + + Rev 1.31 23 Nov 1996 12:41:26 OS + StateChanged fuer ...TbxMgr + + Rev 1.30 14 Nov 1996 10:22:50 TRI + includes + + Rev 1.29 13 Nov 1996 15:30:08 OS + RegisterToolBox nur noch fuer ..OUTSTYLE + + Rev 1.28 12 Nov 1996 10:20:32 OS + Image an der Toolbox kann nur der Toolboxmgr selbst setzen + + Rev 1.27 22 Oct 1996 10:47:38 OS + Image an der Toolbox austauschen + + Rev 1.26 18 Oct 1996 08:52:02 OS + Alignment berichtigt + + Rev 1.25 14 Oct 1996 13:38:26 OS + UseDefault statt Initialize am SfxToolBoxManager + + Rev 1.24 10 Oct 1996 10:37:14 OS + Registrierung der Toolbox am SfxImageManager + + Rev 1.23 26 Sep 1996 08:17:24 OS + Execute am Dispatcher mit OL abschliessen + + Rev 1.22 23 Sep 1996 14:44:00 OS + Slot fuer ToolboxItem auch im SelectHdl rufen + + Rev 1.21 19 Sep 1996 19:40:04 HJS + fehlende includes + + Rev 1.20 19 Sep 1996 16:05:14 OS + neu: SwPopupWindowTbxMgr + + Rev 1.19 28 Aug 1996 13:39:28 OS + includes + + Rev 1.18 29 Jul 1996 15:16:04 OS + Clone impl. + +***********************************************************************/ + diff --git a/sw/source/ui/ribbar/workctrl.cxx b/sw/source/ui/ribbar/workctrl.cxx new file mode 100644 index 000000000000..c0c4eb92386d --- /dev/null +++ b/sw/source/ui/ribbar/workctrl.cxx @@ -0,0 +1,838 @@ +/************************************************************************* + * + * $RCSfile: workctrl.cxx,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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 <string> // HACK: prevent conflict between STLPORT and Workshop headers + +#ifndef _SFXENUMITEM_HXX //autogen +#include <svtools/eitem.hxx> +#endif +#ifndef _SVX_HTMLMODE_HXX //autogen +#include <svx/htmlmode.hxx> +#endif +#ifndef _SFXDISPATCH_HXX //autogen +#include <sfx2/dispatch.hxx> +#endif +#ifndef _SFX_BINDINGS_HXX //autogen +#include <sfx2/bindings.hxx> +#endif + + +#ifndef _SWMODULE_HXX +#include <swmodule.hxx> +#endif +#ifndef _VIEW_HXX +#include <view.hxx> +#endif +#ifndef _INITUI_HXX +#include <initui.hxx> +#endif +#ifndef _VIEWOPT_HXX +#include <viewopt.hxx> +#endif +#ifndef _DOCSH_HXX +#include <docsh.hxx> +#endif +#ifndef _GLOSHDL_HXX +#include <gloshdl.hxx> +#endif +#ifndef _GLOSSARY_HXX +#include <glossary.hxx> +#endif +#ifndef _GLOSDOC_HXX +#include <glosdoc.hxx> +#endif +#ifndef _GLOSLST_HXX +#include <gloslst.hxx> +#endif +#ifndef _TBXMGR_HXX +#include <tbxmgr.hxx> +#endif +#ifndef _WORKCTRL_HXX +#include <workctrl.hxx> +#endif +#ifndef _WORKCTRL_HRC +#include <workctrl.hrc> +#endif +#ifndef _CMDID_H +#include <cmdid.h> +#endif +#ifndef _HELPID_H +#include <helpid.h> +#endif +#ifndef _WRTSH_HXX //autogen +#include <wrtsh.hxx> +#endif + + +//JP 14.01.99: Size Abpruefung +#define NAVI_ENTRIES 20 +#if NAVI_ENTRIES != NID_COUNT +#error SwScrollNaviPopup-CTOR static Array falsche Size. Wurden neue IDs zugefuegt ?? +#endif + + +SFX_IMPL_TOOLBOX_CONTROL( SwTbxInsertCtrl, SfxUInt16Item); +SFX_IMPL_TOOLBOX_CONTROL( SwTbxAutoTextCtrl, SfxBoolItem ); + +/********************************************************************** + +**********************************************************************/ + + + +SwTbxInsertCtrl::SwTbxInsertCtrl( USHORT nId, + ToolBox& rTbx, + SfxBindings& rBind ) : + SfxToolBoxControl( nId, rTbx, rBind ), + nLastSlotId(0) +{ +} +/********************************************************************** + +**********************************************************************/ + + +SwTbxInsertCtrl::~SwTbxInsertCtrl() +{ +} + +/********************************************************************** + +**********************************************************************/ + + +void SwTbxInsertCtrl::StateChanged( USHORT nSID, + SfxItemState eState, + const SfxPoolItem* pState ) +{ + USHORT nId = GetId(); + GetToolBox().EnableItem( nId, (GetItemState(pState) != SFX_ITEM_DISABLED) ); + + if( eState == SFX_ITEM_AVAILABLE ) + { + const SfxUInt16Item* pItem = PTR_CAST( SfxUInt16Item, pState ); + if(pItem) + { + nLastSlotId = pItem->GetValue(); + if( nLastSlotId ) + nId = nLastSlotId; + Image aImage = SFX_IMAGEMANAGER()->GetImage( nId, SW_MOD() ); + GetToolBox().SetItemImage(GetId(), aImage); + } + } + +} +/********************************************************************** + +**********************************************************************/ + + +SfxPopupWindow* SwTbxInsertCtrl::CreatePopupWindow() +{ + USHORT nWinResId, nTbxResId; + if(GetId() == FN_INSERT_CTRL) + { + nWinResId = RID_INSERT_CTRL; + nTbxResId = TBX_INSERT; + } + else /* FN_INSERT_OBJ_CTRL */ + { + nWinResId = RID_INSERT_OBJ_CTRL; + nTbxResId = TBX_OBJ_INSERT; + } + + WindowAlign eAlign = WINDOWALIGN_TOP; + if(GetToolBox().IsHorizontal()) + eAlign = WINDOWALIGN_LEFT; + SwPopupWindowTbxMgr *pWin = new SwPopupWindowTbxMgr( GetId(), + eAlign, + SW_RES(nWinResId), + SW_RES(nTbxResId), + GetBindings()); + + pWin->StartPopupMode(&GetToolBox(), TRUE); + pWin->StartSelection(); + pWin->Show(); + return pWin; + +} + +/********************************************************************** + +**********************************************************************/ + + +SfxPopupWindowType SwTbxInsertCtrl::GetPopupWindowType() const +{ + return nLastSlotId ? SFX_POPUPWINDOW_ONTIMEOUT : SFX_POPUPWINDOW_ONCLICK; +} + + +/********************************************************************** + +**********************************************************************/ + + +void SwTbxInsertCtrl::Select( BOOL bMod1 ) +{ + if(nLastSlotId) + SfxViewFrame::Current()->GetDispatcher()->Execute(nLastSlotId); +} + +/********************************************************************** + +**********************************************************************/ + + +SwTbxAutoTextCtrl::SwTbxAutoTextCtrl( USHORT nId, + ToolBox& rTbx, + SfxBindings& rBind ) : + SfxToolBoxControl( nId, rTbx, rBind ), + pView(0), + pPopup(0) +{ +} +/********************************************************************** + +**********************************************************************/ + + +SwTbxAutoTextCtrl::~SwTbxAutoTextCtrl() +{ + DelPopup(); +} + +/********************************************************************** + +**********************************************************************/ + + +SfxPopupWindow* SwTbxAutoTextCtrl::CreatePopupWindow() +{ + pView = ::GetActiveView(); + if(pView && !pView->GetDocShell()->IsReadOnly() && + !pView->GetWrtShell().HasReadonlySel() ) + { + ToolBox& rBox = GetToolBox(); + Point aPt(rBox.OutputToScreenPixel(rBox.GetPointerPosPixel())); + if(pView) + { + Link aLnk = LINK(this, SwTbxAutoTextCtrl, PopupHdl); + + if (GetId() == FN_INSERT_FIELD_CTRL) + { + pPopup = new PopupMenu(SW_RES(RID_INSERT_FIELD_CTRL)); + pPopup->SetSelectHdl(aLnk); + + if (::GetHtmlMode(pView->GetDocShell()) & HTMLMODE_ON) + { + pPopup->RemoveItem(pPopup->GetItemPos(FN_INSERT_FLD_PGCOUNT)); + pPopup->RemoveItem(pPopup->GetItemPos(FN_INSERT_FLD_TOPIC)); + } + } + else + { + pPopup = new PopupMenu; + SwGlossaryList* pGlossaryList = ::GetGlossaryList(); + USHORT nGroupCount = pGlossaryList->GetGroupCount(); + for(USHORT i = 1; i <= nGroupCount; i++) + { + // Gruppenname mit Pfad-Extension besorgen + String sTitle; + String sGroupName = pGlossaryList->GetGroupName(i - 1, FALSE, &sTitle); + USHORT nBlockCount = pGlossaryList->GetBlockCount(i -1); + if(nBlockCount) + { + USHORT nIndex = 100 * (i); + // aber ohne extension einfuegen + pPopup->InsertItem( i, sTitle);//sGroupName.GetToken(0, GLOS_DELIM)); + PopupMenu* pSub = new PopupMenu; + pSub->SetSelectHdl(aLnk); + pPopup->SetPopupMenu(i, pSub); + for(USHORT j = 0; j < nBlockCount; j++) + { + String sEntry; + String sLongName(pGlossaryList->GetBlockName(i - 1, j, sEntry)); + sEntry.AppendAscii(" - "); + sEntry += sLongName; + pSub->InsertItem(++nIndex, sEntry); + } + } + } + } + } + ToolBox* pToolBox = &GetToolBox(); + USHORT nId = GetId(); + pToolBox->SetItemDown( nId, TRUE ); + pPopup->Execute( pToolBox, pToolBox->ScreenToOutputPixel( aPt ) ); + pToolBox->SetItemDown( nId, FALSE ); + } + GetToolBox().EndSelection(); + DelPopup(); + return 0; + +} + + +/********************************************************************** + +**********************************************************************/ + + +SfxPopupWindowType SwTbxAutoTextCtrl::GetPopupWindowType() const +{ + return SFX_POPUPWINDOW_ONTIMEOUT; +} + +/********************************************************************** + +**********************************************************************/ + + +void SwTbxAutoTextCtrl::StateChanged( USHORT nSID, + SfxItemState eState, + const SfxPoolItem* pState ) +{ + GetToolBox().EnableItem( GetId(), (GetItemState(pState) != SFX_ITEM_DISABLED) ); + if(FN_INSERT_FIELD_CTRL == nSID && eState >= SFX_ITEM_DEFAULT) + { + GetToolBox().CheckItem( GetId(), ((SfxBoolItem*)pState)->GetValue() ); + } +} + +/********************************************************************** + +**********************************************************************/ + + +IMPL_LINK(SwTbxAutoTextCtrl, PopupHdl, PopupMenu*, pMenu) +{ + int nId = pMenu->GetCurItemId(); + + if (GetId() == FN_INSERT_FIELD_CTRL) + { + SfxViewFrame::Current()->GetDispatcher()->Execute(nId); + } + else + { + USHORT nBlock = nId/100; + + SwGlossaryList* pGlossaryList = ::GetGlossaryList(); + String sShortName; + String sGroup = pGlossaryList->GetGroupName(nBlock - 1, FALSE); + String sLongName(pGlossaryList->GetBlockName(nBlock - 1, nId - (100 * nBlock) - 1, sShortName)); + + SwGlossaryHdl* pGlosHdl = pView->GetGlosHdl(); + SwGlossaryDlg::SetActGroup(sGroup); + pGlosHdl->SetCurGroup(sGroup, TRUE); + pGlosHdl->InsertGlossary(sShortName); + } + return 0; +} + +/********************************************************************** + +**********************************************************************/ + + +void SwTbxAutoTextCtrl::DelPopup() +{ + if(pPopup) + { + if (GetId() != FN_INSERT_FIELD_CTRL) + { + for( USHORT i = 0; i < pPopup->GetItemCount(); i ++ ) + { + PopupMenu* pSubPopup = pPopup->GetPopupMenu(pPopup->GetItemId(i)); + delete pSubPopup; + } + } + delete pPopup; + pPopup = 0; + } +} + +/*-----------------19.02.97 10.52------------------- + Navigations-Popup +--------------------------------------------------*/ + +SwScrollNaviPopup::SwScrollNaviPopup( USHORT nId, + const ResId &rId, + SfxBindings & rBnd) + : SfxPopupWindow(nId, rId, rBnd), + aVSet(this, WB_NAMEFIELD), + aIList(ResId(IL_VALUES)), + rResId(rId), + nFwdId(FN_START_OF_NEXT_PAGE), + nBackId(FN_START_OF_PREV_PAGE) +{ + aVSet.SetHelpId(HID_NAVI_VS); + // die Konvertierungstabelle legt die Reihenfolge fest + static USHORT __READONLY_DATA aInsert[ NAVI_ENTRIES ] = + { + // -- erste Zeile + NID_TBL, + NID_FRM, + NID_GRF, + NID_OLE, + NID_PGE, + NID_OUTL, + NID_MARK, + NID_DRW, + NID_CTRL, + // -- zweite Zeile + NID_REG, + NID_BKM, + NID_SEL, + NID_FTN, + NID_POSTIT, + NID_SRCH_REP, + NID_INDEX_ENTRY, + NID_TABLE_FORMULA, + NID_TABLE_FORMULA_ERROR + }; + + aVSet.SetLineCount( 2 ); + aVSet.SetColCount(NID_COUNT / 2 - 1); + for(USHORT i = 0; i < NID_COUNT - 2; i++) + { + USHORT nId = aInsert[i]; + aVSet.InsertItem(nId, aIList.GetImage(nId)); + // -2, weil es fuer Next/Prev keinen String gibt + USHORT nResStr = ST_TBL - 2 + nId - NID_START; + aVSet.SetItemText(nId, ResId(nResStr)); + } + // erst hier! + FreeResource(); + + // diese Strings sind global + for( i = 0; i < 2 * NID_COUNT; i++) + { + sQuickHelp[i] = String(SW_RES(STR_IMGBTN_START + i)); + } + + Size aImgSize = aIList.GetImageSize(); + aImgSize.Width() += 5; + aImgSize.Height() += 5; + Size aSz = aVSet.CalcWindowSizePixel(aImgSize, aVSet.GetItemCount() / 2, 2); + aVSet.SetPosSizePixel( Point(), aSz ); + SetOutputSizePixel(aSz); + aVSet.SetSelectHdl(LINK(this, SwScrollNaviPopup, SelectHdl)); + aVSet.StartSelection(); + aVSet.Show(); + SetBackground(Wallpaper(Color(COL_WHITE))); +} +/*-----------------19.02.97 12.45------------------- + +--------------------------------------------------*/ + +SwScrollNaviPopup::~SwScrollNaviPopup() +{ +} +/*-----------------19.02.97 13.58------------------- + +--------------------------------------------------*/ + +SfxPopupWindow* SwScrollNaviPopup::Clone() const +{ + return new SwScrollNaviPopup(GetId(), rResId, ( SfxBindings & ) GetBindings()); +} + +/*-----------------19.02.97 14.10------------------- + +--------------------------------------------------*/ + +IMPL_LINK(SwScrollNaviPopup, SelectHdl, ValueSet*, pSet) +{ + USHORT nSet = pSet->GetSelectItemId(); + if( nSet != NID_PREV && nSet != NID_NEXT ) + { + SwView::SetMoveType(nSet); + aVSet.SetItemText(NID_NEXT, sQuickHelp[nSet - NID_START]); + aVSet.SetItemText(NID_PREV, sQuickHelp[nSet - NID_START + NID_COUNT]); + } + else + { + SfxBoolItem aNext(FN_SCROLL_NEXT_PREV, NID_NEXT == nSet); + SfxViewFrame::Current()->GetDispatcher()-> + Execute(FN_SCROLL_NEXT_PREV,SFX_CALLMODE_SYNCHRON ,&aNext, 0L); + } + return 0; +} +/*-----------------23.02.97 18.21------------------- + +--------------------------------------------------*/ + +void SwScrollNaviValueSet::MouseButtonUp( const MouseEvent& rMEvt ) +{ + ValueSet::MouseButtonUp(rMEvt); + if ( ((SwScrollNaviPopup*)GetParent())->IsInPopupMode() ) + ((SwScrollNaviPopup*)GetParent())->EndPopupMode( FLOATWIN_POPUPMODEEND_CLOSEALL ); +} + +/*-----------------20.06.97 13:28------------------- + +--------------------------------------------------*/ +void SwScrollNaviValueSet::RequestHelp( const HelpEvent& rHEvt ) +{ + USHORT nMoveType = SwView::GetMoveType(); + SetItemText(NID_NEXT, SwScrollNaviPopup::GetQuickHelpText(TRUE)); + SetItemText(NID_PREV, SwScrollNaviPopup::GetQuickHelpText(FALSE)); + ValueSet::RequestHelp( rHEvt ); + +} +/*-----------------21.02.97 11:25------------------- + +--------------------------------------------------*/ + +void SwScrollNaviPopup::PopupModeEnd() +{ + if(aVSet.GetItemCount() < NID_COUNT) + { + aVSet.InsertItem(NID_NEXT, aIList.GetImage(NID_NEXT), NID_COUNT); + aVSet.InsertItem(NID_PREV, aIList.GetImage(NID_PREV), NID_COUNT/2 - 1); + USHORT nItemBits = aVSet.GetItemBits(NID_NEXT); + nItemBits |= VIB_NODOUBLECLICK; + aVSet.SetItemBits(NID_NEXT, nItemBits); + aVSet.SetItemBits(NID_PREV, nItemBits); + Size aImgSize = aIList.GetImageSize(); + aImgSize.Width() += 5; + aImgSize.Height() += 5; + aVSet.SetColCount(NID_COUNT/2); + Size aSz = aVSet.CalcWindowSizePixel(aImgSize, NID_COUNT / 2, 2); + aVSet.SetPosSizePixel( Point(), aSz ); + SetOutputSizePixel(aSz); + } + SfxPopupWindow::PopupModeEnd(); +} + +/*-----------------20.06.97 13:41------------------- + +--------------------------------------------------*/ +String SwScrollNaviPopup::GetQuickHelpText(BOOL bNext) +{ + USHORT nResId = STR_IMGBTN_START; + nResId += SwView::GetMoveType() - NID_START; + if(!bNext) + nResId += NID_COUNT; + return String(SW_RES(nResId)); +} + + +/*-----------------20.02.97 10:17------------------- + +--------------------------------------------------*/ + +void SwNaviImageButton::MouseButtonDown( const MouseEvent& rMEvt ) +{ + if(MOUSE_LEFT == rMEvt.GetButtons()) + { + SfxBindings& rBind = SfxViewFrame::Current()->GetBindings(); + rBind.ENTERREGISTRATIONS(); + pPopup = new + SwScrollNaviPopup(FN_SCROLL_NAVIGATION, + SW_RES(RID_SCROLL_NAVIGATION_WIN), + rBind); + rBind.LEAVEREGISTRATIONS(); + Point aPos = OutputToScreenPixel(Point(0,0)); + Rectangle aRect(aPos, GetSizePixel()); + pPopup->StartPopupMode(aRect, FLOATWIN_POPUPMODE_LEFT|FLOATWIN_POPUPMODE_ALLOWTEAROFF); + } + else + ImageButton::MouseButtonDown(rMEvt); +} +/*-----------------20.02.97 10:17------------------- + +--------------------------------------------------*/ + +void SwNaviImageButton::MouseButtonUp( const MouseEvent& rMEvt ) +{ +} + +/*-----------------21.02.97 09:41------------------- + +--------------------------------------------------*/ + +void SwHlpImageButton::RequestHelp( const HelpEvent& rHEvt ) +{ + + SetQuickHelpText(SwScrollNaviPopup::GetQuickHelpText(!bUp)); + + ImageButton::RequestHelp(rHEvt); +} + +/*-----------------25.02.97 12:38------------------- + +--------------------------------------------------*/ + +SwNaviImageButton::SwNaviImageButton(Window* pParent) : + ImageButton(pParent, SW_RES(BTN_NAVI)), pPopup(0), + aImage(ResId(IMG_BTN)), + sQuickText(ResId(ST_QUICK)) +{ + FreeResource(); + SetStyle(GetStyle()|WB_NOPOINTERFOCUS); + SetQuickHelpText(sQuickText); + SetImage(aImage); +} + +/*********************************************************************** + + $Log: not supported by cvs2svn $ + Revision 1.62 2000/09/18 16:06:02 willem.vandorp + OpenOffice header added. + + Revision 1.61 2000/09/07 15:59:27 os + change: SFX_DISPATCHER/SFX_BINDINGS removed + + Revision 1.60 2000/07/03 08:54:35 jp + must changes for VCL + + Revision 1.59 2000/06/13 09:58:28 os + using UCB + + Revision 1.58 2000/05/24 12:36:18 hr + conflict between STLPORT and Workshop header + + Revision 1.57 2000/04/18 14:54:44 os + UNICODE + + Revision 1.56 2000/03/03 15:17:03 os + StarView remainders removed + + Revision 1.55 2000/02/10 10:37:03 os + #70359# titles added to AutoText groups + + Revision 1.54 1999/04/01 11:58:32 OS + #64278# Zugriff auf Gruppen und Eintraege nur noch ueber Ids + + + Rev 1.53 01 Apr 1999 13:58:32 OS + #64278# Zugriff auf Gruppen und Eintraege nur noch ueber Ids + + Rev 1.52 09 Feb 1999 10:47:44 OS + #61205# AutoText-Gruppen koennen beliebige Namen erhalten + + Rev 1.51 05 Feb 1999 15:52:58 MA + #61463# Kein Popup fuer Glossary in Readonly + + Rev 1.50 14 Jan 1999 15:49:58 JP + Bug #60794#: Fehlererkennung beim Tabellenrechnen und anspringen von Formeln + + Rev 1.49 14 Jan 1999 14:18:46 JP + Bug #60794#: Fehlererkennung beim Tabellenrechnen und anspringen von Formeln + + Rev 1.48 03 Dec 1998 10:25:20 OS + #59441# Verzeichniseintrag in der Navigation + + Rev 1.47 03 Nov 1998 12:24:56 OS + 58830# Enter/LeaveRegistrations + + Rev 1.46 12 Oct 1998 08:46:42 OS + #52973# GetImage() mit Module* aufrufen + + Rev 1.45 18 Aug 1998 17:28:44 OS + GetShortName sollte auf bekannte Gruppe richtig reagieren #55219# + + Rev 1.44 15 Jun 1998 10:39:28 OS + WB_NOPOINTERFOCUS + + Rev 1.43 15 Jun 1998 09:36:42 OS + AutoText-Popup: Kuerzel mit angeben + + Rev 1.42 24 Feb 1998 12:10:32 OS + Navigationstool erweitert + + Rev 1.41 18 Feb 1998 14:45:12 OS + ItemBits an der richtigen Position setzen #46669# + + Rev 1.40 16 Feb 1998 08:03:22 OS + VIB_NODOUBLECLICK setzen #46669# + + Rev 1.39 07 Feb 1998 11:09:16 OS + initiale Groesse berichtigt #47144# + + Rev 1.38 20 Jan 1998 12:27:42 OS + Next und Prev im SelectHdl ausfuehren #46669# + + Rev 1.37 28 Nov 1997 20:17:34 MA + includes + + Rev 1.36 24 Nov 1997 14:53:58 MA + includes + + Rev 1.35 17 Oct 1997 09:11:08 OS + EndPopup rufen #44773# + + Rev 1.34 19 Sep 1997 12:51:24 PB + chg: fuer VCL ToolBox::SetItemDown() eingebaut + + Rev 1.33 18 Sep 1997 13:59:46 OS + Pointer::GetPosPixel fuer VCL ersetzt + + Rev 1.32 18 Sep 1997 13:18:08 TJ + include + + Rev 1.31 29 Aug 1997 15:45:34 OS + PopupMenu::Execute mit Window* fuer VCL + + Rev 1.30 29 Aug 1997 14:27:06 OS + DLL-Umbau + + Rev 1.29 09 Jul 1997 17:36:10 HJS + includes + + Rev 1.28 20 Jun 1997 13:52:52 OS + Merker und Notizen in der Navigation + + Rev 1.27 07 May 1997 15:30:12 OS + Execute mit 0L abschliessen fuer W16 + + Rev 1.26 05 May 1997 12:26:24 OS + QuickHelpText als Member, MouseButtonDwon: nur linke Taste! + + Rev 1.25 07 Apr 1997 12:36:44 OS + HelpId fuer ValueSet + + Rev 1.24 24 Mar 1997 01:43:52 OS + Alignment aussen einstellen + + Rev 1.23 23 Mar 1997 23:54:26 OS + ToolBoxAlign statt ToolBoxControl uebergeben + + Rev 1.22 25 Feb 1997 13:04:24 OS + Spruenge im MouseButtonUp + + Rev 1.21 23 Feb 1997 22:07:40 OS + richtige Hilfetexte fuer Prev/Next-Buttons + + Rev 1.20 23 Feb 1997 19:36:52 OS + MouseButtonDown im ValueSet erledigt die Spruenge -> kein hakliges Verhalten mehr + + Rev 1.19 22 Feb 1997 20:16:26 OS + eigenes Image fuer Button + + Rev 1.18 21 Feb 1997 19:35:42 OS + mit Prev/Next-Button + + Rev 1.17 21 Feb 1997 17:04:48 OS + fast fertig + + Rev 1.16 20 Feb 1997 16:45:02 OS + Navigation funktioniert + + Rev 1.15 19 Feb 1997 20:56:26 HJS + auf nicht const gecastet + + Rev 1.14 19 Feb 1997 16:55:16 OS + Popup fuer Navigation + + Rev 1.13 17 Feb 1997 10:39:42 OM + Neue Feldbefehle im Webmode + + Rev 1.12 06 Feb 1997 14:50:26 OM + feldbefehl Seitennummer im html-Mode erlauben + + Rev 1.11 06 Feb 1997 14:32:52 OM + Popup-Controller fuer Feldbefehle einfuegen + + Rev 1.10 29 Jan 1997 14:52:24 OM + Draw-Toolboxen ins Svx verschoben + + Rev 1.9 11 Nov 1996 11:15:14 MA + ResMgr + + Rev 1.8 27 Sep 1996 16:21:26 HJS + vertipper + + Rev 1.7 27 Sep 1996 12:56:42 OS + PopupMenu wird bei Bedarf angelegt + + Rev 1.6 26 Sep 1996 16:57:00 OS + Update der AutoText-Liste + + Rev 1.5 24 Sep 1996 16:45:06 OS + View-Wechsel vor jedem Aufruf + + Rev 1.4 23 Sep 1996 13:43:46 OS + beschleunigter Zugriff auf den GlosHdl + + Rev 1.3 23 Sep 1996 08:11:42 OS + Menu fuer Autotexte + + Rev 1.2 20 Sep 1996 14:44:28 OS + Zuerst kommt die Toolbox ohne Timer + + Rev 1.1 19 Sep 1996 19:40:04 HJS + fehlende includes + + Rev 1.0 19 Sep 1996 16:02:36 OS + Initial revision. + +***********************************************************************/ + + diff --git a/sw/source/ui/ribbar/workctrl.hrc b/sw/source/ui/ribbar/workctrl.hrc new file mode 100644 index 000000000000..220dbc33673a --- /dev/null +++ b/sw/source/ui/ribbar/workctrl.hrc @@ -0,0 +1,118 @@ +/************************************************************************* + * + * $RCSfile: workctrl.hrc,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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): _______________________________________ + * + * + ************************************************************************/ +#ifndef _WORKCTRL_HRC +#define _WORKCTRL_HRC +#include "ribbar.hrc" + +#define TBX_INSERT 1 +#define TBX_OBJ_INSERT 2 +#define TBX_FIELD_INSERT 3 +#define TBX_NAVIGATION 4 +#define IL_VALUES 5 +#define IMG_BTN 6 +#define ST_QUICK 7 + + +#define ST_TBL 12 +#define ST_FRM 13 +#define ST_PGE 14 +#define ST_DRW 15 +#define ST_CTRL 16 +#define ST_REG 17 +#define ST_BKM 18 +#define ST_GRF 19 +#define ST_OLE 20 +#define ST_OUTL 21 +#define ST_SEL 22 +#define ST_FTN 23 +#define ST_MARK 24 +#define ST_POSTIT 25 +#define ST_SRCH_REP 26 +#define ST_INDEX_ENTRY 27 +#define ST_TABLE_FORMULA 28 +#define ST_TABLE_FORMULA_ERROR 29 + +// doppelter Eintrag! hrc und hxx +// diese Ids bestimmen, was die Buttons unter dem Scrollbar tun +#define NID_START 20000 +#define NID_NEXT 20000 +#define NID_PREV 20001 +#define NID_TBL 20002 +#define NID_FRM 20003 +#define NID_PGE 20004 +#define NID_DRW 20005 +#define NID_CTRL 20006 +#define NID_REG 20007 +#define NID_BKM 20008 +#define NID_GRF 20009 +#define NID_OLE 20010 +#define NID_OUTL 20011 +#define NID_SEL 20012 +#define NID_FTN 20013 +#define NID_MARK 20014 +#define NID_POSTIT 20015 +#define NID_SRCH_REP 20016 +#define NID_INDEX_ENTRY 20017 +#define NID_TABLE_FORMULA 20018 +#define NID_TABLE_FORMULA_ERROR 20019 +#define NID_COUNT 20 + +#endif diff --git a/sw/source/ui/ribbar/workctrl.src b/sw/source/ui/ribbar/workctrl.src new file mode 100644 index 000000000000..01315ea11b48 --- /dev/null +++ b/sw/source/ui/ribbar/workctrl.src @@ -0,0 +1,1936 @@ +/************************************************************************* + * + * $RCSfile: workctrl.src,v $ + * + * $Revision: 1.1.1.1 $ + * + * last change: $Author: hr $ $Date: 2000-09-18 17:14:46 $ + * + * 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): _______________________________________ + * + * + ************************************************************************/ + +#ifndef _SVXIDS_HRC +#include <svx/svxids.hrc> +#endif +#ifndef _GLOBLMN_HRC +#include <svx/globlmn.hrc> +#endif +#include "workctrl.hrc" +#include "workctrl.hrc" +#include "helpid.h" +#include "cmdid.h" +#define IMAGE_STDBTN_COLOR Color { Red = 0xC000; Green = 0xC000; Blue = 0xC000; } +FloatingWindow RID_INSERT_CTRL +{ + Moveable = TRUE ; + Closeable = TRUE ; + Hide = TRUE ; + SVLook = TRUE ; + HelpID = HID_INSERT_CTRL ; + /* ### ACHTUNG: Neuer Text in Resource? Einfgen : Einfgen */ + Text = "Einfgen" ; + Text [ English ] = "Insert" ; + ToolBox TBX_INSERT + { + MenuStrings = TRUE ; + SVLook = TRUE ; + HelpID = 1 ; + ItemList = + { + ToolBoxItem + { + Identifier = FN_INSERT_FRAME_INTERACT_NOCOL ; + HelpID = FN_INSERT_FRAME_INTERACT_NOCOL ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_FRAME_INTERACT ; + HelpID = FN_INSERT_FRAME_INTERACT ; + DropDown = TRUE ; + }; + ToolBoxItem + { + Identifier = SID_INSERT_GRAPHIC ; + HelpID = SID_INSERT_GRAPHIC ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_TABLE ; + HelpID = FN_INSERT_TABLE ; + DropDown = TRUE ; + }; + ToolBoxItem + { + Identifier = SID_INSERTDOC ; + HelpID = SID_INSERTDOC ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_FOOTNOTE ; + HelpID = FN_INSERT_FOOTNOTE ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_ENDNOTE ; + HelpID = FN_INSERT_ENDNOTE ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_SYMBOL ; + HelpID = FN_INSERT_SYMBOL ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_COLUMN_SECTION ; + HelpID = FN_INSERT_COLUMN_SECTION; + DropDown = TRUE ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_IDX_ENTRY_DLG ; + HelpID = FN_INSERT_IDX_ENTRY_DLG ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_BOOKMARK ; + HelpID = FN_INSERT_BOOKMARK ; + RadioCheck = TRUE ; + }; + }; + }; + Text [ english_us ] = "Insert" ; + Text [ italian ] = "Inserisci" ; + Text [ spanish ] = "Insertar" ; + Text [ french ] = "Insrer" ; + Text [ dutch ] = "Invoegen" ; + Text [ swedish ] = "Infoga" ; + Text [ danish ] = "Indst" ; + Text [ portuguese_brazilian ] = "Einfgen" ; + Text [ portuguese ] = "Inserir" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Wstaw"; + Text[ japanese ] = "}"; + Text[ chinese_traditional ] = "J"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Ekle"; + Text[ language_user1 ] = " "; +}; +FloatingWindow RID_INSERT_OBJ_CTRL +{ + Moveable = TRUE ; + Closeable = TRUE ; + Hide = TRUE ; + SVLook = TRUE ; + HelpID = HID_INSERT_OBJ_CTRL ; + /* ### ACHTUNG: Neuer Text in Resource? Objekt einfgen : Objekt einfgen */ + Text = "Objekt einfgen" ; + Text [ English ] = "Insert object" ; + ToolBox TBX_OBJ_INSERT + { + MenuStrings = TRUE ; + SVLook = TRUE ; + HelpID = 1 ; + ItemList = + { + ToolBoxItem + { + Identifier = SID_INSERT_DIAGRAM ; + HelpID = SID_INSERT_DIAGRAM ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_SIM ; + HelpID = FN_INSERT_SIM ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_SMA ; + HelpID = FN_INSERT_SMA ; + }; + ToolBoxItem + { + Identifier = SID_INSERT_FLOATINGFRAME ; + HelpID = SID_INSERT_FLOATINGFRAME ; + }; + ToolBoxItem + { + Identifier = SID_INSERT_OBJECT ; + HelpID = SID_INSERT_OBJECT ; + }; +#ifdef SOLAR_PLUGIN + ToolBoxItem + { + Identifier = SID_INSERT_PLUGIN ; + HelpID = SID_INSERT_PLUGIN ; + }; +#endif +#ifdef SOLAR_JAVA + ToolBoxItem + { + Identifier = SID_INSERT_APPLET ; + HelpID = SID_INSERT_APPLET ; + }; +#endif + }; + }; + Text [ dutch ] = "Object invoegen" ; + Text [ english_us ] = "Insert Object" ; + Text [ italian ] = "Inserisci oggetto" ; + Text [ spanish ] = "Insertar objeto" ; + Text [ french ] = "Insrer un objet" ; + Text [ swedish ] = "Infoga objekt" ; + Text [ danish ] = "Indst objekt" ; + Text [ portuguese ] = "Inserir objecto" ; + Text [ portuguese_brazilian ] = "Objekt einfgen" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = " "; + Text[ polish ] = "Wstaw obiekt"; + Text[ japanese ] = "ުĂ̑}"; + Text[ chinese_traditional ] = "J"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = "ü "; + Text[ turkish ] = "Nesne ekle"; + Text[ language_user1 ] = " "; +}; +Menu RID_INSERT_FIELD_CTRL +{ + ItemList = + { + MenuItem + { + Identifier = FN_INSERT_FLD_DATE ; + HelpID = FN_INSERT_FLD_DATE ; + Text = "Datum" ; + Text [ English ] = "Date" ; + Text [ english_us ] = "Date" ; + Text [ italian ] = "Data" ; + Text [ spanish ] = "Fecha" ; + Text [ french ] = "Date" ; + Text [ dutch ] = "Datum" ; + Text [ swedish ] = "Datum" ; + Text [ danish ] = "Dato" ; + Text [ portuguese_brazilian ] = "Datum" ; + Text [ portuguese ] = "Data" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Data"; + Text[ japanese ] = "t"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Tarih"; + Text[ language_user1 ] = " "; + }; + MenuItem + { + Identifier = FN_INSERT_FLD_TIME ; + HelpID = FN_INSERT_FLD_TIME ; + Text = "Uhrzeit" ; + Text [ English ] = "Time" ; + Text [ english_us ] = "Time" ; + Text [ italian ] = "Orario" ; + Text [ spanish ] = "Hora" ; + Text [ french ] = "Heure" ; + Text [ dutch ] = "Tijd" ; + Text [ swedish ] = "Klockslag" ; + Text [ danish ] = "Klokkeslt" ; + Text [ portuguese_brazilian ] = "Uhrzeit" ; + Text [ portuguese ] = "Hora" ; + Text[ chinese_simplified ] = "ʱ"; + Text[ russian ] = ""; + Text[ polish ] = "Godzina"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "ɶ"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = "ð"; + Text[ turkish ] = "Saat"; + Text[ language_user1 ] = " "; + }; + //#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_INSERT_FLD_PGNUMBER ; + HelpID = FN_INSERT_FLD_PGNUMBER ; + Text = "Seitennummer" ; + Text [ English ] = "Pagenumber" ; + Text [ dutch ] = "Paginanummer" ; + Text [ english_us ] = "Page Numbers" ; + Text [ italian ] = "Numeri di pagina" ; + Text [ spanish ] = "Nmero de pgina" ; + Text [ french ] = "Numro de page" ; + Text [ swedish ] = "Sidnummer" ; + Text [ danish ] = "Sidetal" ; + Text [ portuguese_brazilian ] = "Seitennummer" ; + Text [ portuguese ] = "Nmero de pgina" ; + Text[ chinese_simplified ] = "ҳ"; + Text[ russian ] = " "; + Text[ polish ] = "Numer strony"; + Text[ japanese ] = "߰ޔԍ"; + Text[ chinese_traditional ] = "X"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sayfa numaras"; + Text[ language_user1 ] = " "; + }; + MenuItem + { + Identifier = FN_INSERT_FLD_PGCOUNT ; + HelpID = FN_INSERT_FLD_PGCOUNT ; + Text = "Seitenanzahl" ; + Text [ English ] = "Pagecount" ; + Text [ dutch ] = "Aantal paginas" ; + Text [ english_us ] = "Page Count" ; + Text [ italian ] = "Numero di pagine" ; + Text [ spanish ] = "Contar pginas" ; + Text [ french ] = "Nombre de pages" ; + Text [ swedish ] = "Sidantal" ; + Text [ danish ] = "Sideantal" ; + Text [ portuguese_brazilian ] = "Seitenanzahl" ; + Text [ portuguese ] = "Total de pginas" ; + Text[ chinese_simplified ] = "ҳ"; + Text[ russian ] = " "; + Text[ polish ] = "Liczba stron"; + Text[ japanese ] = "߰ޑ"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " īƮ"; + Text[ turkish ] = "Sayfa says"; + Text[ language_user1 ] = " "; + }; + MenuItem + { + Identifier = FN_INSERT_FLD_TOPIC ; + HelpID = FN_INSERT_FLD_TOPIC ; + Text = "Thema" ; + Text [ English ] = "Topic" ; + Text [ english_us ] = "Subject" ; + Text [ italian ] = "Argomento" ; + Text [ spanish ] = "Tema" ; + Text [ french ] = "Sujet" ; + Text [ dutch ] = "Onderwerp" ; + Text [ swedish ] = "mne" ; + Text [ danish ] = "Emne" ; + Text [ portuguese_brazilian ] = "Thema" ; + Text [ portuguese ] = "Assunto" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Temat"; + Text[ japanese ] = "ð"; + Text[ chinese_traditional ] = "DD"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Konu"; + Text[ language_user1 ] = " "; + }; + MenuItem + { + Identifier = FN_INSERT_FLD_TITLE ; + HelpID = FN_INSERT_FLD_TITLE ; + Text = "Titel" ; + Text [ English ] = "Title" ; + Text [ dutch ] = "Titel" ; + Text [ english_us ] = "Title" ; + Text [ italian ] = "Titolo" ; + Text [ spanish ] = "Ttulo" ; + Text [ french ] = "Titre" ; + Text [ swedish ] = "Titel" ; + Text [ danish ] = "Titel" ; + Text [ portuguese_brazilian ] = "Titel" ; + Text [ portuguese ] = "Ttulo" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Tytu"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "D"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Balk"; + Text[ language_user1 ] = " "; + }; + //#endif + MenuItem + { + Identifier = FN_INSERT_FLD_AUTHOR ; + HelpID = FN_INSERT_FLD_AUTHOR ; + Text = "Autor" ; + Text [ English ] = "Author" ; + Text [ dutch ] = "Auteur" ; + Text [ english_us ] = "Author" ; + Text [ italian ] = "Autore" ; + Text [ spanish ] = "Autor" ; + Text [ french ] = "Auteur" ; + Text [ swedish ] = "Frfattare" ; + Text [ danish ] = "Forfatter" ; + Text [ portuguese_brazilian ] = "Autor" ; + Text [ portuguese ] = "Autor" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Autor"; + Text[ japanese ] = "쐬"; + Text[ chinese_traditional ] = "@"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = "ۼ"; + Text[ turkish ] = "Yazan"; + Text[ language_user1 ] = " "; + }; + MenuItem + { + Separator = TRUE ; + }; + MenuItem + { + Identifier = FN_INSERT_FIELD ; + HelpID = FN_INSERT_FIELD ; + Text = "Andere..." ; + Text [ English ] = "Other..." ; + Text [ english_us ] = "Other..." ; + Text [ italian ] = "Altro..." ; + Text [ spanish ] = "Otros..." ; + Text [ french ] = "Autres..." ; + Text [ dutch ] = "Andere..." ; + Text [ swedish ] = "Andra..." ; + Text [ danish ] = "Andre..." ; + Text [ portuguese ] = "Outros..." ; + Text [ portuguese_brazilian ] = "Andere..." ; + Text[ chinese_simplified ] = "..."; + Text[ russian ] = "..."; + Text[ polish ] = "Inne..."; + Text[ japanese ] = "̑..."; + Text[ chinese_traditional ] = "L..."; + Text[ arabic ] = "..."; + Text[ greek ] = "..."; + Text[ korean ] = "Ÿ..."; + Text[ turkish ] = "Dier..."; + Text[ language_user1 ] = " "; + }; + }; +}; +FloatingWindow RID_SCROLL_NAVIGATION_WIN +{ + Moveable = TRUE ; + Closeable = TRUE ; + Hide = TRUE ; + SVLook = TRUE ; + HelpID = HID_INSERT_CTRL ; + Text = "Navigation" ; + Text [ English ] = "Navigation" ; + ImageList IL_VALUES + { + ImageBitmap = Bitmap { File = "srnavi.bmp" ; }; + MaskColor = IMAGE_STDBTN_COLOR ; + IdList = + { + NID_NEXT ; + NID_PREV ; + NID_TBL ; + NID_FRM ; + NID_PGE ; + NID_DRW ; + NID_CTRL ; + NID_REG ; + NID_BKM ; + NID_GRF ; + NID_OLE ; + NID_OUTL ; + NID_SEL ; + NID_FTN ; + NID_MARK ; + NID_POSTIT ; + NID_SRCH_REP ; + NID_INDEX_ENTRY; + NID_TABLE_FORMULA; + NID_TABLE_FORMULA_ERROR; + }; + IdCount = { 20 ; }; + }; + String ST_TBL + { + Text = "Tabelle" ; + Text [ English ] = "Table" ; + Text [ english_us ] = "Table" ; + Text [ portuguese_brazilian ] = "Tabelle" ; + Text [ swedish ] = "Tabell" ; + Text [ danish ] = "Tabel" ; + Text [ italian ] = "Tabella" ; + Text [ spanish ] = "Tabla" ; + Text [ french ] = "Tableau" ; + Text [ dutch ] = "Tabel" ; + Text [ portuguese ] = "Tabela" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Tabela"; + Text[ japanese ] = "\\"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = "ǥ"; + Text[ turkish ] = "Tablo"; + Text[ language_user1 ] = " "; + }; + String ST_FRM + { + Text = "Textrahmen" ; + Text [ English ] = "Frame" ; + Text [ english_us ] = "Text Frame" ; + Text [ portuguese_brazilian ] = "Textrahmen" ; + Text [ swedish ] = "Textram" ; + Text [ danish ] = "Tekstboks" ; + Text [ italian ] = "Cornice" ; + Text [ spanish ] = "Marco de texto" ; + Text [ french ] = "Cadre texte" ; + Text [ dutch ] = "Tekstkader" ; + Text [ portuguese ] = "Moldura de texto" ; + Text[ chinese_simplified ] = "ı"; + Text[ russian ] = " "; + Text[ polish ] = "Ramka tekstu"; + Text[ japanese ] = "÷Ęg"; + Text[ chinese_traditional ] = "r"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = "ؽƮ "; + Text[ turkish ] = "Metin erevesi"; + Text[ language_user1 ] = " "; + }; + String ST_PGE + { + Text = "Seite" ; + Text [ English ] = "Page" ; + Text [ english_us ] = "Page" ; + Text [ portuguese_brazilian ] = "Seite" ; + Text [ swedish ] = "Sida" ; + Text [ danish ] = "Side" ; + Text [ italian ] = "Pagina" ; + Text [ spanish ] = "Pgina" ; + Text [ french ] = "Page" ; + Text [ dutch ] = "Pagina" ; + Text [ portuguese ] = "Pgina" ; + Text[ chinese_simplified ] = "ҳ"; + Text[ russian ] = ""; + Text[ polish ] = "Strona"; + Text[ japanese ] = "߰"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Sayfa"; + Text[ language_user1 ] = " "; + }; + String ST_DRW + { + Text = "Zeichenobjekt" ; + Text [ English ] = "Drawing" ; + Text [ english_us ] = "Drawing" ; + Text [ portuguese_brazilian ] = "Zeichenobjekt" ; + Text [ swedish ] = "Ritobjekt" ; + Text [ danish ] = "Tegneobjekt" ; + Text [ italian ] = "Oggetto di disegno" ; + Text [ spanish ] = "Objeto de dibujo" ; + Text [ french ] = "Objet de dessin" ; + Text [ dutch ] = "Tekenobject" ; + Text [ portuguese ] = "Desenho" ; + Text[ chinese_simplified ] = "ͼ"; + Text[ russian ] = " "; + Text[ polish ] = "Obiekt rysunkowy"; + Text[ japanese ] = "}``ު"; + Text[ english_us ] = "Drawing"; + Text[ portuguese ] = "Desenho"; + Text[ russian ] = " "; + Text[ dutch ] = "Tekenobject"; + Text[ french ] = "Objet de dessin"; + Text[ spanish ] = "Objeto de dibujo"; + Text[ italian ] = "Oggetto di disegno"; + Text[ danish ] = "Tegneobjekt"; + Text[ swedish ] = "Ritobjekt"; + Text[ polish ] = "Obiekt rysunkowy"; + Text[ portuguese_brazilian ] = "Zeichenobjekt"; + Text[ japanese ] = "}``ު"; + Text[ chinese_simplified ] = "ͼ"; + Text[ chinese_traditional ] = "Ϥ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = ""; + Text[ turkish ] = "izim"; + Text[ language_user1 ] = " "; + }; + String ST_CTRL + { + Text = "Kontrollfeld" ; + Text [ English ] = "Control" ; + Text [ english_us ] = "Control" ; + Text [ portuguese_brazilian ] = "Kontrollfeld" ; + Text [ swedish ] = "Kontrollflt" ; + Text [ danish ] = "Kontrolelement" ; + Text [ italian ] = "Campo di controllo" ; + Text [ spanish ] = "Campo de control" ; + Text [ french ] = "Champ de contrle" ; + Text [ dutch ] = "Controleveld" ; + Text [ portuguese ] = "Campo de controlo" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = " "; + Text[ polish ] = "Pole kontrolne"; + Text[ japanese ] = "۰"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = "Ʈ"; + Text[ turkish ] = "Komut alan"; + Text[ language_user1 ] = " "; + }; + String ST_REG + { + Text = "Bereich" ; + Text [ English ] = "Region" ; + Text [ english_us ] = "Section" ; + Text [ portuguese_brazilian ] = "Bereich" ; + Text [ swedish ] = "Omrde" ; + Text [ danish ] = "Omrde" ; + Text [ italian ] = "Sezione" ; + Text [ spanish ] = "Area" ; + Text [ french ] = "Section" ; + Text [ dutch ] = "Bereik" ; + Text [ portuguese ] = "Seco" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Sekcja"; + Text[ japanese ] = "͈"; + Text[ chinese_traditional ] = "ϰ"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Blm"; + Text[ language_user1 ] = " "; + }; + String ST_BKM + { + Text = "Textmarke" ; + Text [ English ] = "Bookmark" ; + Text [ english_us ] = "Bookmark" ; + Text [ portuguese_brazilian ] = "Textmarke" ; + Text [ swedish ] = "Bokmrke" ; + Text [ danish ] = "Tekstmarkering" ; + Text [ italian ] = "Segnalibro" ; + Text [ spanish ] = "Marca de texto" ; + Text [ french ] = "Repre de texte" ; + Text [ dutch ] = "Tekstmarkering" ; + Text [ portuguese ] = "Marcador de texto" ; + Text[ chinese_simplified ] = "ǩ"; + Text[ russian ] = ""; + Text[ polish ] = "Zakadka"; + Text[ japanese ] = "÷ϰ"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = " "; + Text[ greek ] = ""; + Text[ korean ] = "å "; + Text[ turkish ] = "Metin iareti"; + Text[ language_user1 ] = " "; + }; + String ST_GRF + { + Text = "Grafik" ; + Text [ English ] = "Graphic" ; + Text [ english_us ] = "Graphics" ; + Text [ portuguese_brazilian ] = "Grafik" ; + Text [ swedish ] = "Grafik" ; + Text [ danish ] = "Billede" ; + Text [ italian ] = "Immagine" ; + Text [ spanish ] = "Imagen" ; + Text [ french ] = "Image" ; + Text [ dutch ] = "Afbeelding" ; + Text [ portuguese ] = "Imagem" ; + Text[ chinese_simplified ] = "ͼ"; + Text[ russian ] = ""; + Text[ polish ] = "Grafika"; + Text[ japanese ] = "̨"; + Text[ chinese_traditional ] = "Ϥ"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Grafik"; + Text[ language_user1 ] = " "; + }; + String ST_OLE + { + Text = "OLE-Objekt" ; + Text [ English ] = "OLE object" ; + Text [ english_us ] = "OLE object" ; + Text [ portuguese_brazilian ] = "OLE-Objekt" ; + Text [ swedish ] = "OLE-objekt" ; + Text [ danish ] = "OLE-objekt" ; + Text [ italian ] = "Oggetto OLE" ; + Text [ spanish ] = "Objeto OLE" ; + Text [ french ] = "Objet OLE" ; + Text [ dutch ] = "OLE-object" ; + Text [ portuguese ] = "Objecto OLE" ; + Text[ chinese_simplified ] = "OLE "; + Text[ russian ] = " OLE"; + Text[ polish ] = "Obiekt OLE"; + Text[ japanese ] = "OLEު"; + Text[ chinese_traditional ] = "OLE - "; + Text[ arabic ] = "OLE "; + Text[ greek ] = " OLE"; + Text[ korean ] = "OLE ü"; + Text[ turkish ] = "OLE nesnesi"; + Text[ language_user1 ] = " "; + }; + String ST_OUTL + { + /* ### ACHTUNG: Neuer Text in Resource? berschrift : berschrift */ + Text = "berschrift" ; + Text [ English ] = "Outline" ; + Text [ english_us ] = "Headings" ; + Text [ portuguese_brazilian ] = "berschrift" ; + Text [ swedish ] = "verskrift" ; + Text [ danish ] = "Overskrift" ; + Text [ italian ] = "Intestazione" ; + Text [ spanish ] = "Encabezado" ; + Text [ french ] = "Titre" ; + Text [ dutch ] = "Kop" ; + Text [ portuguese ] = "Ttulo" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Tytu"; + Text[ japanese ] = "o"; + Text[ chinese_traditional ] = "D"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Balk"; + Text[ language_user1 ] = " "; + }; + String ST_SEL + { + Text = "Markierung" ; + Text [ English ] = "Selection" ; + Text [ english_us ] = "Selection" ; + Text [ portuguese_brazilian ] = "Markierung" ; + Text [ swedish ] = "Markering" ; + Text [ danish ] = "Markering" ; + Text [ italian ] = "Selezione" ; + Text [ spanish ] = "Seleccin" ; + Text [ french ] = "Slection" ; + Text [ dutch ] = "Markering" ; + Text [ portuguese ] = "Seleco" ; + Text[ chinese_simplified ] = "ѡ"; + Text[ russian ] = ""; + Text[ polish ] = "Zaznaczenie"; + Text[ japanese ] = "I"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Seim"; + Text[ language_user1 ] = " "; + }; + String ST_FTN + { + /* ### ACHTUNG: Neuer Text in Resource? Funote : Funote */ + Text = "Funote" ; + Text [ English ] = "Footnote" ; + Text [ english_us ] = "Footnote" ; + Text [ portuguese_brazilian ] = "Funote" ; + Text [ swedish ] = "Fotnot" ; + Text [ danish ] = "Fodnote" ; + Text [ italian ] = "Nota a pi pagina" ; + Text [ spanish ] = "Nota al pie" ; + Text [ french ] = "Note de bas de page" ; + Text [ dutch ] = "Voetnoot" ; + Text [ portuguese ] = "Nota de rodap" ; + Text[ chinese_simplified ] = "ע"; + Text[ russian ] = ""; + Text[ polish ] = "Przypis dolny"; + Text[ japanese ] = "r"; + Text[ chinese_traditional ] = "}"; + Text[ arabic ] = " "; + Text[ greek ] = ""; + Text[ korean ] = " "; + Text[ turkish ] = "Dipnot"; + Text[ language_user1 ] = " "; + }; + String ST_MARK + { + Text = "Merker" ; + Text [ English ] = "Reminder" ; + Text [ english_us ] = "Reminder" ; + Text [ portuguese_brazilian ] = "Merker" ; + Text [ swedish ] = "Temporrt bokmrke" ; + Text [ danish ] = "Pmindelse" ; + Text [ italian ] = "Contrassegno" ; + Text [ spanish ] = "Marca" ; + Text [ french ] = "Pense-bte" ; + Text [ dutch ] = "Merktekens" ; + Text [ portuguese ] = "Marca" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Znacznik"; + Text[ japanese ] = "o~"; + Text[ chinese_traditional ] = ""; + Text[ arabic ] = " "; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Anmsatc"; + Text[ language_user1 ] = " "; + }; + String ST_POSTIT + { + Text = "Notiz" ; + Text [ English ] = "Annotation" ; + Text [ english_us ] = "Note" ; + Text [ portuguese_brazilian ] = "Notiz" ; + Text [ swedish ] = "Anteckning" ; + Text [ danish ] = "Note" ; + Text [ italian ] = "Nota" ; + Text [ spanish ] = "Nota" ; + Text [ french ] = "Note" ; + Text [ dutch ] = "Aantekening" ; + Text [ portuguese ] = "Anotao" ; + Text[ chinese_simplified ] = "ע"; + Text[ russian ] = ""; + Text[ polish ] = "Notatka"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "Ƶ"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = ""; + Text[ turkish ] = "Not"; + Text[ language_user1 ] = " "; + }; + String ST_SRCH_REP + { + Text = "Suche wiederholen" ; + Text [ English ] = "Repeat search" ; + Text [ english_us ] = "Repeat search" ; + Text [ portuguese_brazilian ] = "Suche wiederholen" ; + Text [ swedish ] = "Upprepa skning" ; + Text [ danish ] = "Gentag sgning" ; + Text [ italian ] = "Ripeti ricerca" ; + Text [ spanish ] = "Repetir bsqueda" ; + Text [ french ] = "Rpter la recherche" ; + Text [ dutch ] = "Zoeken herhalen" ; + Text [ portuguese ] = "Repetir procura" ; + Text[ chinese_simplified ] = "ظѰ"; + Text[ russian ] = " "; + Text[ polish ] = "Powtrz wyszukiwanie"; + Text[ japanese ] = "Č"; + Text[ chinese_traditional ] = "ƷjM"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = "ݺ ˻"; + Text[ turkish ] = "Aramay yinele"; + Text[ language_user1 ] = " "; + }; + String ST_INDEX_ENTRY + { + Text = "Verzeichniseintrag" ; + Text [ English ] = "Index entry" ; + Text[ italian ] = "Voce di indice"; + Text[ portuguese_brazilian ] = "Index entry"; + Text[ portuguese ] = "Entrada do ndice"; + Text[ danish ] = "Indekselement"; + Text[ french ] = "Entre d'index"; + Text[ swedish ] = "Frteckningspost"; + Text[ dutch ] = "Index item"; + Text[ spanish ] = "Entrada del ndice"; + Text[ english_us ] = "Index entry"; + Text[ chinese_simplified ] = "Ŀ¼Ŀ"; + Text[ russian ] = " "; + Text[ polish ] = "Wpis do indeksu"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "ؿ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Dizin girii"; + Text[ language_user1 ] = " "; + }; + String ST_TABLE_FORMULA + { + Text = "Tabellenformel" ; + Text [ English ] = "Table formula" ; + Text[ english_us ] = "Table formula"; + Text[ portuguese ] = "Frmula de tabela"; + Text[ russian ] = " "; + Text[ dutch ] = "Tabellenformule"; + Text[ french ] = "Formule de table"; + Text[ spanish ] = "Frmula de tabla"; + Text[ italian ] = "Formula tabella"; + Text[ danish ] = "Tabelformel"; + Text[ swedish ] = "Tabellformel"; + Text[ polish ] = "Formua tabeli"; + Text[ portuguese_brazilian ] = "Table formula"; + Text[ japanese ] = "\\̐"; + Text[ chinese_simplified ] = "ʽ"; + Text[ chinese_traditional ] = "u@"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = "ǥ "; + Text[ turkish ] = "Tablo forml"; + Text[ language_user1 ] = " "; + }; + String ST_TABLE_FORMULA_ERROR + { + Text = "Fehlerhafte Tabellenformel" ; + Text [ English ] = "Wrong table formula" ; + Text[ english_us ] = "Wrong table formula"; + Text[ portuguese ] = "Frmula de tabela errada"; + Text[ russian ] = " "; + Text[ dutch ] = "Foutieve tabellenformule"; + Text[ french ] = "Formule de table errone"; + Text[ spanish ] = "Frmula errnea de tabla"; + Text[ italian ] = "Formula tabella errata"; + Text[ danish ] = "Fejlagtig tabelformel"; + Text[ swedish ] = "Felaktig tabellformel"; + Text[ polish ] = "Nieprawidowa formua tabeli"; + Text[ portuguese_brazilian ] = "Wrong table formula"; + Text[ japanese ] = "Ȃ\\̐"; + Text[ chinese_simplified ] = "Ĺʽ"; + Text[ chinese_traditional ] = "~u@"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = "߸ ǥ "; + Text[ turkish ] = "Hatal tablo forml"; + Text[ language_user1 ] = " "; + }; + Text [ portuguese ] = "Navegao" ; + Text [ english_us ] = "Navigation" ; + Text [ portuguese_brazilian ] = "Navigation" ; + Text [ swedish ] = "Navigation" ; + Text [ danish ] = "Navigation" ; + Text [ italian ] = "Navigazione" ; + Text [ spanish ] = "Navegacin" ; + Text [ french ] = "Navigation" ; + Text [ dutch ] = "Navigatie" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Nawigacja"; + Text[ japanese ] = "ް"; + Text[ chinese_traditional ] = "s"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = "̼"; + Text[ turkish ] = "Dolama"; + Text[ language_user1 ] = " "; +}; +/* +Noch ein paar Reserven + ToolBoxItem + { + Identifier = NID_NEXT; + Text = "Vorwrts" ; + Text [ ENGLISH ] = "Forward" ; + }; + ToolBoxItem + { + Identifier = NID_PREV; + Text = "Rckwrts" ; + Text [ ENGLISH ] = "Backward" ; + }; + ToolBoxItem + { + Identifier = NID_CTRL; + Text = "Control" ; + }; + ToolBoxItem + { + Identifier = NID_DRW; + Text = "Zeichenobjekt" ; + }; + + +*/ +/*************************************************************** + Strings fuer die Quickhelp der View-PgUp/Down-Buttons +***************************************************************/ +String STR_IMGBTN_NEXT_DOWN +{ + Text = "" ; +}; +String STR_IMGBTN_PREV_DOWN +{ + Text = "" ; +}; +String STR_IMGBTN_TBL_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchste Tabelle : Nchste Tabelle */ + Text = "Nchste Tabelle" ; + Text [ English ] = "Next Table" ; + Text [ english_us ] = "Next table" ; + Text [ portuguese_brazilian ] = "Nchste Tabelle" ; + Text [ swedish ] = "Nsta tabell" ; + Text [ danish ] = "Nste tabel" ; + Text [ italian ] = "Tabella successiva" ; + Text [ spanish ] = "Tabla siguiente" ; + Text [ french ] = "Tableau suivant" ; + Text [ dutch ] = "Volgende tabel" ; + Text [ portuguese ] = "Tabela seguinte" ; + Text[ chinese_simplified ] = "һ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpna tabela"; + Text[ japanese ] = "̕\\"; + Text[ chinese_traditional ] = "U@Ӫ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " ǥ"; + Text[ turkish ] = "Sonraki tablo"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_FRM_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchster Textrahmen : Nchster Textrahmen */ + Text = "Nchster Textrahmen" ; + Text [ English ] = "Next Frame" ; + Text [ english_us ] = "Next text frame" ; + Text [ portuguese_brazilian ] = "Nchster Textrahmen" ; + Text [ swedish ] = "Nsta textram" ; + Text [ danish ] = "Nste tekstboks" ; + Text [ italian ] = "Cornice successiva" ; + Text [ spanish ] = "Marco de texto siguiente" ; + Text [ french ] = "Cadre texte suivant" ; + Text [ dutch ] = "Volgend tekstkader" ; + Text [ portuguese ] = "Moldura de texto seguinte" ; + Text[ chinese_simplified ] = "һı"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpna ramka tekstowa"; + Text[ japanese ] = "÷Ęg"; + Text[ chinese_traditional ] = "U@Ӥr"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " ؽƮ "; + Text[ turkish ] = "Sonraki metin erevesi"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_PGE_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchste Seite : Nchste Seite */ + Text = "Nchste Seite" ; + Text [ English ] = "Next Page" ; + Text [ english_us ] = "Next page" ; + Text [ portuguese_brazilian ] = "Nchste Seite" ; + Text [ swedish ] = "Nsta sida" ; + Text [ danish ] = "Nste side" ; + Text [ italian ] = "Pagina successiva" ; + Text [ spanish ] = "Pgina siguiente" ; + Text [ french ] = "Page suivante" ; + Text [ dutch ] = "Volgende pagina" ; + Text [ portuguese ] = "Pgina seguinte" ; + Text[ chinese_simplified ] = "һҳ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpna strona"; + Text[ japanese ] = "߰"; + Text[ chinese_traditional ] = "U@"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sonraki sayfa"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_DRW_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchstes Zeichenobjekt : Nchstes Zeichenobjekt */ + Text = "Nchstes Zeichenobjekt" ; + Text [ English ] = "Next drawing" ; + Text [ english_us ] = "Next drawing" ; + Text [ portuguese_brazilian ] = "Nchstes Zeichenobjekt" ; + Text [ swedish ] = "Nsta ritobjekt" ; + Text [ danish ] = "Nste tegneobjekt" ; + Text [ italian ] = "Oggetto di disegno successivo" ; + Text [ spanish ] = "Objeto de dibujo siguiente" ; + Text [ french ] = "Objet de dessin suivant" ; + Text [ dutch ] = "Volgend tekenobject" ; + Text [ portuguese ] = "Objecto de desenho seguinte" ; + Text[ chinese_simplified ] = "һַ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpny obiekt rysunkowy"; + Text[ japanese ] = "̕ު"; + Text[ chinese_traditional ] = "U@Ӧr"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sonraki izim"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_CTRL_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchstes Kontrollfeld : Nchstes Kontrollfeld */ + Text = "Nchstes Kontrollfeld" ; + Text [ English ] = "Next control" ; + Text [ english_us ] = "Next control" ; + Text [ portuguese_brazilian ] = "Nchstes Kontrollfeld" ; + Text [ swedish ] = "Nsta kontrollflt" ; + Text [ danish ] = "Nste kontrolelement" ; + Text [ italian ] = "Campo di controllo successivo" ; + Text [ spanish ] = "Campo de control siguiente" ; + Text [ french ] = "Elment de contrle suivant" ; + Text [ dutch ] = "Volgend controleveld" ; + Text [ portuguese ] = "Controlo seguinte" ; + Text[ chinese_simplified ] = "һ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpne pole kontrolne"; + Text[ japanese ] = "̺۰"; + Text[ chinese_traditional ] = "U@ӱ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " Ʈ"; + Text[ turkish ] = "Sonraki komut alan"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_REG_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchster Bereich : Nchster Bereich */ + Text = "Nchster Bereich" ; + Text [ English ] = "Next region" ; + Text [ english_us ] = "Next section" ; + Text [ portuguese_brazilian ] = "Nchster Bereich" ; + Text [ swedish ] = "Nsta omrde" ; + Text [ danish ] = "Nste omrde" ; + Text [ italian ] = "Area successiva" ; + Text [ spanish ] = "Area siguiente" ; + Text [ french ] = "Section suivante" ; + Text [ dutch ] = "Volgend bereik" ; + Text [ portuguese ] = "Seco seguinte" ; + Text[ chinese_simplified ] = "һ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpna sekcja"; + Text[ japanese ] = "͈̔"; + Text[ chinese_traditional ] = "U@Ӱϰ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sonraki blm"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_BKM_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchste Textmarke : Nchste Textmarke */ + Text = "Nchste Textmarke" ; + Text [ English ] = "Next bookmark" ; + Text [ english_us ] = "Next bookmark" ; + Text [ portuguese_brazilian ] = "Nchste Textmarke" ; + Text [ swedish ] = "Nsta bokmrke" ; + Text [ danish ] = "Nste tekstmarkering" ; + Text [ italian ] = "Segnalibro successivo" ; + Text [ spanish ] = "Marcador siguiente" ; + Text [ french ] = "Repre de texte suivant" ; + Text [ dutch ] = "Volgende tekstmarkering" ; + Text [ portuguese ] = "Marcador de texto seguinte" ; + Text[ chinese_simplified ] = "һǩ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpna zakadka"; + Text[ japanese ] = "÷ϰ"; + Text[ chinese_traditional ] = "U@Ӯ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " å "; + Text[ turkish ] = "Sonraki metin iareti"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_GRF_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchste Grafik : Nchste Grafik */ + Text = "Nchste Grafik" ; + Text [ English ] = "Next graphic" ; + Text [ english_us ] = "Next picture" ; + Text [ portuguese_brazilian ] = "Nchste Grafik" ; + Text [ swedish ] = "Nsta grafik" ; + Text [ danish ] = "Nste billede" ; + Text [ italian ] = "Immagine successiva" ; + Text [ spanish ] = "Imagen siguiente" ; + Text [ french ] = "Image suivante" ; + Text [ dutch ] = "Volgende afbeelding" ; + Text [ portuguese ] = "Imagem seguinte" ; + Text[ chinese_simplified ] = "һͼ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpna grafika"; + Text[ japanese ] = "̸̨"; + Text[ chinese_traditional ] = "U@ӹϤ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sonraki grafik"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_OLE_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchstes OLE-Objekt : Nchstes OLE object */ + /* ### ACHTUNG: Neuer Text in Resource? Nchstes OLE-Objekt : Nchstes OLE-Objekt */ + Text = "Nchstes OLE-Objekt" ; + Text [ English ] = "Next OLE object" ; + Text [ english_us ] = "Next OLE object" ; + Text [ portuguese_brazilian ] = "Nchstes OLE object" ; + Text [ swedish ] = "Nsta OLE-objekt" ; + Text [ danish ] = "Nste OLE-objekt" ; + Text [ italian ] = "Oggetto OLE successivo" ; + Text [ spanish ] = "Objeto OLE siguiente" ; + Text [ french ] = "Objet OLE suivant" ; + Text [ dutch ] = "Volgend OLE-object" ; + Text [ portuguese ] = "Objecto OLE seguinte" ; + Text[ chinese_simplified ] = "һ OLE-"; + Text[ russian ] = " OLE"; + Text[ polish ] = "Nastpny obiekt OLE"; + Text[ japanese ] = "OLE-ު"; + Text[ chinese_traditional ] = "U@ OLE-"; + Text[ arabic ] = " OLE "; + Text[ greek ] = " OLE"; + Text[ korean ] = " OLEü"; + Text[ turkish ] = "Sonraki OLE nesnesi"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_OUTL_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchste berschrift : Nchste berschrift */ + Text = "Nchste berschrift" ; + Text [ English ] = "Next outline" ; + Text [ english_us ] = "Next heading" ; + Text [ portuguese_brazilian ] = "Nchste berschrift" ; + Text [ swedish ] = "Nsta verskrift" ; + Text [ danish ] = "Nste overskrift" ; + Text [ italian ] = "Intestazione successiva" ; + Text [ spanish ] = "Encabezado siguiente" ; + Text [ french ] = "Titre suivant" ; + Text [ dutch ] = "Volgende kop" ; + Text [ portuguese ] = "Ttulo seguinte" ; + Text[ chinese_simplified ] = "һ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpny tytu"; + Text[ japanese ] = "̌o"; + Text[ chinese_traditional ] = "U@ӼD"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sonraki balk"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_SEL_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchste Markierung : Nchste Markierung */ + Text = "Nchste Markierung" ; + Text [ English ] = "Next selection" ; + Text [ english_us ] = "Next selection" ; + Text [ portuguese_brazilian ] = "Nchste Markierung" ; + Text [ swedish ] = "Nsta markering" ; + Text [ danish ] = "Nste markering" ; + Text [ italian ] = "Selezione successiva" ; + Text [ spanish ] = "Seleccin siguiente" ; + Text [ french ] = "Slection suivante" ; + Text [ dutch ] = "Volgende markering" ; + Text [ portuguese ] = "Seleco seguinte" ; + Text[ chinese_simplified ] = "һѡ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpne zaznaczenie"; + Text[ japanese ] = "̑I"; + Text[ chinese_traditional ] = "U@ӿ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "nceki seim"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_FTN_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchste Funote : Nchste Funote */ + Text = "Nchste Funote" ; + Text [ English ] = "Next Footnote" ; + Text [ english_us ] = "Next footnote" ; + Text [ portuguese_brazilian ] = "Nchste Funote" ; + Text [ swedish ] = "Nsta fotnot" ; + Text [ danish ] = "Nste fodnote" ; + Text [ italian ] = "Nota a pi pagina successiva" ; + Text [ spanish ] = "Nota al pie siguiente" ; + Text [ french ] = "Note de bas de page suivante" ; + Text [ dutch ] = "Volgende voetnoot" ; + Text [ portuguese ] = "Nota de rodap seguinte" ; + Text[ chinese_simplified ] = "һע"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpny przypis dolny"; + Text[ japanese ] = "̋r"; + Text[ chinese_traditional ] = "U@ӵ}"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sonraki dipnot"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_MARK_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchster Merker : Nchster Merker */ + Text = "Nchster Merker" ; + Text [ English ] = "Next Reminder" ; + Text [ english_us ] = "Next Reminder" ; + Text [ portuguese_brazilian ] = "Nchster Merker" ; + Text [ swedish ] = "Nsta temporra bokmrke" ; + Text [ danish ] = "Nste pmindelse" ; + Text [ italian ] = "Contrassegno successivo" ; + Text [ spanish ] = "Marca siguiente" ; + Text [ french ] = "Pense-bte suivant" ; + Text [ dutch ] = "Volgend merkteken" ; + Text [ portuguese ] = "Marca seguinte" ; + Text[ chinese_simplified ] = "һ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpny znacznik"; + Text[ japanese ] = "̊o~"; + Text[ chinese_traditional ] = "U@Ӵ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sonraki anmsatc"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_POSTIT_DOWN +{ + /* ### ACHTUNG: Neuer Text in Resource? Nchste Notiz : Nchste Notiz */ + Text = "Nchste Notiz" ; + Text [ English ] = "Next Annotation" ; + Text [ english_us ] = "Next Note" ; + Text [ portuguese_brazilian ] = "Nchste Notiz" ; + Text [ swedish ] = "Nsta anteckning" ; + Text [ danish ] = "Nste note" ; + Text [ italian ] = "Nota successiva" ; + Text [ spanish ] = "Nota siguiente" ; + Text [ french ] = "Note suivante" ; + Text [ dutch ] = "Volgende aantekening" ; + Text [ portuguese ] = "Anotao seguinte" ; + Text[ chinese_simplified ] = "һע"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpna notatka"; + Text[ japanese ] = ""; + Text[ chinese_traditional ] = "U@ӳƵ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sonraki not"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_SRCH_REP_DOWN +{ + Text = "Vorwrts weitersuchen" ; + Text [ English ] = "Repeat search " ; + Text [ english_us ] = "Continue search forward" ; + Text [ portuguese_brazilian ] = "Vorwrts weitersuchen" ; + Text [ swedish ] = "Sk vidare framt" ; + Text [ danish ] = "Fortst sgning fremad" ; + Text [ italian ] = "Continua a cercare in avanti" ; + Text [ spanish ] = "Continuar bsqueda hacia delante" ; + Text [ french ] = "Continuer la recherche vers le bas" ; + Text [ dutch ] = "Voorwaarts verder zoeken" ; + Text [ portuguese ] = "Continuar a procura para a frente" ; + Text[ chinese_simplified ] = "ǰѰ"; + Text[ russian ] = " "; + Text[ polish ] = "Szukaj dalej do przodu"; + Text[ japanese ] = "Ɍs"; + Text[ chinese_traditional ] = "VejM"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " ˻"; + Text[ turkish ] = "leri dogru ara"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_INDEX_ENTRY_DOWN +{ + Text = "Nchster Verzeichniseintrag" ; + Text [ English ] = "Next index entry" ; + Text[ italian ] = "Voce d'indice successiva"; + Text[ portuguese_brazilian ] = "Next index entry"; + Text[ portuguese ] = "Entrada do ndice seguinte"; + Text[ danish ] = "Nste indekselement"; + Text[ french ] = "Entre d'index suivante"; + Text[ swedish ] = "Nsta frteckningspost"; + Text[ dutch ] = "Volgend index item"; + Text[ spanish ] = "Entrada de ndice siguiente"; + Text[ english_us ] = "Next index entry"; + Text[ chinese_simplified ] = "һĿ¼Ŀ"; + Text[ russian ] = " "; + Text[ polish ] = "Nastpny wpis do indeksu"; + Text[ japanese ] = "̍"; + Text[ chinese_traditional ] = "U@ӥؿ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sonraki dizin girii"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_NEXT_UP +{ + Text = "" ; +}; +String STR_IMGBTN_PREV_UP +{ + Text = "" ; +}; +String STR_IMGBTN_TBL_UP +{ + Text = "Vorige Tabelle" ; + Text [ English ] = "Previous table" ; + Text [ english_us ] = "Previous table" ; + Text [ portuguese_brazilian ] = "Vorige Tabelle" ; + Text [ swedish ] = "Fregende tabell" ; + Text [ danish ] = "Forrige tabel" ; + Text [ italian ] = "Tabella precedente" ; + Text [ spanish ] = "Tabla anterior" ; + Text [ french ] = "Tableau prcdent" ; + Text [ dutch ] = "Vorige tabel" ; + Text [ portuguese ] = "Tabela anterior" ; + Text[ chinese_simplified ] = "һ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzednia tabela"; + Text[ japanese ] = "O̕\\"; + Text[ chinese_traditional ] = "W@Ӫ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = "ǥ"; + Text[ turkish ] = "nceki tablo"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_FRM_UP +{ + Text = "Voriger Textrahmen" ; + Text [ English ] = "Previous frame" ; + Text [ english_us ] = "Previous text frame" ; + Text [ portuguese_brazilian ] = "Voriger Textrahmen" ; + Text [ swedish ] = "Fregende textram" ; + Text [ danish ] = "Forrige tekstboks" ; + Text [ italian ] = "Cornice di testo precedente" ; + Text [ spanish ] = "Marco de texto anterior" ; + Text [ french ] = "Cadre texte prcdent" ; + Text [ dutch ] = "Vorig tekstkader" ; + Text [ portuguese ] = "Moldura de texto anterior" ; + Text[ chinese_simplified ] = "һı"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzednia ramka tekstowa"; + Text[ japanese ] = "O÷Ęg"; + Text[ chinese_traditional ] = "W@Ӥr"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " ؽƮ "; + Text[ turkish ] = "nceki metin erevesi"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_PGE_UP +{ + Text = "Vorige Seite" ; + Text [ English ] = "Previous page" ; + Text [ english_us ] = "Previous page" ; + Text [ portuguese_brazilian ] = "Vorige Seite" ; + Text [ swedish ] = "Fregende sida" ; + Text [ danish ] = "Forrige side" ; + Text [ italian ] = "Pagina precedente" ; + Text [ spanish ] = "Pgina anterior" ; + Text [ french ] = "Page prcdente" ; + Text [ dutch ] = "Vorige pagina" ; + Text [ portuguese ] = "Pgina anterior" ; + Text[ chinese_simplified ] = "һҳ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzednia strona"; + Text[ japanese ] = "O߰"; + Text[ chinese_traditional ] = "W@"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "nceki sayfa"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_DRW_UP +{ + Text = "Voriges Zeichenobjekt" ; + Text [ English ] = "Previous drawing" ; + Text [ english_us ] = "Previous drawing" ; + Text [ portuguese_brazilian ] = "Voriges Zeichenobjekt" ; + Text [ swedish ] = "Fregende ritobjekt" ; + Text [ danish ] = "Forrige tegneobjekt" ; + Text [ italian ] = "Oggetto di disegno precedente" ; + Text [ spanish ] = "Objeto de dibujo anterior" ; + Text [ french ] = "Objet de dessin prcdent" ; + Text [ dutch ] = "Vorig tekenobject" ; + Text [ portuguese ] = "Objecto de desenho anterior" ; + Text[ chinese_simplified ] = "һַ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzedni obiekt rysunkowy"; + Text[ japanese ] = "O̕ު"; + Text[ chinese_traditional ] = "W@Ӧr"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "nceki izim"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_CTRL_UP +{ + Text = "Voriges Kontrollfeld" ; + Text [ English ] = "Previous control" ; + Text [ english_us ] = "Previous control" ; + Text [ portuguese_brazilian ] = "Voriges Kontrollfeld" ; + Text [ swedish ] = "Fregende kontrollflt" ; + Text [ danish ] = "Forrige kontrolelement" ; + Text [ italian ] = "Campo di controllo precedente" ; + Text [ spanish ] = "Campo de control anterior" ; + Text [ french ] = "Elment de contrle prcdent" ; + Text [ dutch ] = "Vorig controleveld" ; + Text [ portuguese ] = "Controlo anterior" ; + Text[ chinese_simplified ] = "һ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzednie pole kontrolne"; + Text[ japanese ] = "O̺۰"; + Text[ chinese_traditional ] = "W@ӱ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " Ʈ"; + Text[ turkish ] = "nceki komut alan"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_REG_UP +{ + Text = "Voriger Bereich" ; + Text [ English ] = "Previous region" ; + Text [ english_us ] = "Previous section" ; + Text [ portuguese_brazilian ] = "Voriger Bereich" ; + Text [ swedish ] = "Fregende omrde" ; + Text [ danish ] = "Forrige omrde" ; + Text [ italian ] = "Area precedente" ; + Text [ spanish ] = "Area anterior" ; + Text [ french ] = "Section prcdente" ; + Text [ dutch ] = "Vorig bereik" ; + Text [ portuguese ] = "Seco anterior" ; + Text[ chinese_simplified ] = "һ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzednia sekcja"; + Text[ japanese ] = "O͈̔"; + Text[ chinese_traditional ] = "W@Ӱϰ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "nceki Blm"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_BKM_UP +{ + Text = "Vorige Textmarke" ; + Text [ English ] = "Previous bookmark" ; + Text [ english_us ] = "Previous bookmark" ; + Text [ portuguese_brazilian ] = "Vorige Textmarke" ; + Text [ swedish ] = "Fregende bokmrke" ; + Text [ danish ] = "Forrige tekstmarkering" ; + Text [ italian ] = "Segnalibro precedente" ; + Text [ spanish ] = "Marcador anterior" ; + Text [ french ] = "Repre de texte prcdent" ; + Text [ dutch ] = "Vorige tekstmarkering" ; + Text [ portuguese ] = "Marcador de texto anterior" ; + Text[ chinese_simplified ] = "һǩ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzednia zakadka"; + Text[ japanese ] = "O÷ϰ"; + Text[ chinese_traditional ] = "W@Ӯ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " å "; + Text[ turkish ] = "nceki metin iareti"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_GRF_UP +{ + Text = "Vorige Grafik" ; + Text [ English ] = "Previous graphic" ; + Text [ english_us ] = "Previous picture" ; + Text [ portuguese_brazilian ] = "Vorige Grafik" ; + Text [ swedish ] = "Fregende grafik" ; + Text [ danish ] = "Forrige billede" ; + Text [ italian ] = "Immagine precedente" ; + Text [ spanish ] = "Imagen anterior" ; + Text [ french ] = "Image prcdente" ; + Text [ dutch ] = "Vorige afbeelding" ; + Text [ portuguese ] = "Imagem anterior" ; + Text[ chinese_simplified ] = "һͼ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzednia grafika"; + Text[ japanese ] = "O̐}"; + Text[ chinese_traditional ] = "W@ӹϤ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "nceki grafik"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_OLE_UP +{ + /* ### ACHTUNG: Neuer Text in Resource? Voriges OLE-Objekt : Voriges OLE object */ + Text = "Voriges OLE-Objekt" ; + Text [ English ] = "Previous OLE object" ; + Text [ english_us ] = "Previous OLE object" ; + Text [ portuguese_brazilian ] = "Voriges OLE object" ; + Text [ swedish ] = "Fregende OLE-objekt" ; + Text [ danish ] = "Forrige OLE-objekt" ; + Text [ italian ] = "Oggetto OLE precedente" ; + Text [ spanish ] = "Objeto OLE anterior" ; + Text [ french ] = "Objet OLE prcdent" ; + Text [ dutch ] = "Vorig OLE-object" ; + Text [ portuguese ] = "Objecto OLE anterior" ; + Text[ chinese_simplified ] = "һ OLE-"; + Text[ russian ] = " OLE"; + Text[ polish ] = "Poprzedni obiekt OLE"; + Text[ japanese ] = "OOLE-ު"; + Text[ chinese_traditional ] = "W@ OLE-"; + Text[ arabic ] = " OLE "; + Text[ greek ] = " OLE"; + Text[ korean ] = " OLEü"; + Text[ turkish ] = "nceki OLE nesnesi"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_OUTL_UP +{ + /* ### ACHTUNG: Neuer Text in Resource? Vorige berschrift : Vorige berschrift */ + Text = "Vorige berschrift" ; + Text [ English ] = "Previous outline" ; + Text [ english_us ] = "Previous heading" ; + Text [ portuguese_brazilian ] = "Vorige berschrift" ; + Text [ swedish ] = "Fregende verskrift" ; + Text [ danish ] = "Forrige overskrift" ; + Text [ italian ] = "Intestazione precedente" ; + Text [ spanish ] = "Encabezado anterior" ; + Text [ french ] = "Titre prcdent" ; + Text [ dutch ] = "Vorige kop" ; + Text [ portuguese ] = "Ttulo anterior" ; + Text[ chinese_simplified ] = "һ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzedni tytu"; + Text[ japanese ] = "Ǒo"; + Text[ chinese_traditional ] = "W@ӼD"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = ""; + Text[ turkish ] = "nceki balk"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_SEL_UP +{ + Text = "Vorige Markierung" ; + Text [ English ] = "Previous selection" ; + Text [ english_us ] = "Previous selection" ; + Text [ portuguese_brazilian ] = "Vorige Markierung" ; + Text [ swedish ] = "Fregende markering" ; + Text [ danish ] = "Forrige markering" ; + Text [ italian ] = "Selezione precedente" ; + Text [ spanish ] = "Seleccin anterior" ; + Text [ french ] = "Slection prcdente" ; + Text [ dutch ] = "Vorige markering" ; + Text [ portuguese ] = "Seleco anterior" ; + Text[ chinese_simplified ] = "һѡ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzednie zaznaczenie"; + Text[ japanese ] = "ȎI"; + Text[ chinese_traditional ] = "W@ӿ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "Sonraki seim"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_FTN_UP +{ + /* ### ACHTUNG: Neuer Text in Resource? Vorige Funote : Vorige Funote */ + Text = "Vorige Funote" ; + Text [ English ] = "Previous Footnote" ; + Text [ english_us ] = "Previous footnote" ; + Text [ portuguese_brazilian ] = "Vorige Funote" ; + Text [ swedish ] = "Fregende fotnot" ; + Text [ danish ] = "Forrige fodnote" ; + Text [ italian ] = "Nota a pi pagina precedente" ; + Text [ spanish ] = "Nota al pie anterior" ; + Text [ french ] = "Note de bas de page prcdente" ; + Text [ dutch ] = "Vorige voetnoot" ; + Text [ portuguese ] = "Nota de rodap anterior" ; + Text[ chinese_simplified ] = "һע"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzedni przypis dolny"; + Text[ japanese ] = "Őr"; + Text[ chinese_traditional ] = "W@ӵ}"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "nceki dipnot"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_MARK_UP +{ + Text = "Voriger Merker" ; + Text [ English ] = "Previous Reminder" ; + Text [ english_us ] = "Previous Reminder" ; + Text [ portuguese_brazilian ] = "Voriger Merker" ; + Text [ swedish ] = "Fregende temporra bokmrke" ; + Text [ danish ] = "Forrige pmindelse" ; + Text [ italian ] = "Contrassegno precedente" ; + Text [ spanish ] = "Marca anterior" ; + Text [ french ] = "Pense-bte prcdent" ; + Text [ dutch ] = "Vorig merkteken" ; + Text [ portuguese ] = "Marca anterior" ; + Text[ chinese_simplified ] = "һ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzedni znacznik"; + Text[ japanese ] = "O̊o~"; + Text[ chinese_traditional ] = "W@Ӵ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "nceki anmsatc"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_POSTIT_UP +{ + Text = "Vorige Notiz" ; + Text [ English ] = "Previous Annotation" ; + Text [ english_us ] = "Previous Note" ; + Text [ portuguese_brazilian ] = "Vorige Notiz" ; + Text [ swedish ] = "Fregende anteckning" ; + Text [ danish ] = "Forrige note" ; + Text [ italian ] = "Nota precedente" ; + Text [ spanish ] = "Nota anterior" ; + Text [ french ] = "Note prcdente" ; + Text [ dutch ] = "Vorige aantekening" ; + Text [ portuguese ] = "Anotao anterior" ; + Text[ chinese_simplified ] = "һע"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzednia notatka"; + Text[ japanese ] = "O"; + Text[ chinese_traditional ] = "W@ӳƵ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "nceki not"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_SRCH_REP_UP +{ + Text = "Rckwrts weitersuchen" ; + Text [ English ] = "Repeat search backwards" ; + Text [ english_us ] = "Continue search backwards" ; + Text [ portuguese_brazilian ] = "Rckwrts weitersuchen" ; + Text [ swedish ] = "Sk vidare bakt" ; + Text [ danish ] = "Fortst sgning tilbage" ; + Text [ italian ] = "Cerca all'indietro" ; + Text [ spanish ] = "Continuar bsqueda en sentido inverso" ; + Text [ french ] = "Continuer la recherche vers le haut" ; + Text [ dutch ] = "Achterwaarts verder zoeken" ; + Text [ portuguese ] = "Continuar a procura para trs" ; + Text[ chinese_simplified ] = "Ѱ"; + Text[ russian ] = " "; + Text[ polish ] = "Szukaj dalej wstecz"; + Text[ japanese ] = "Ɍs"; + Text[ chinese_traditional ] = "~VjM"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " ڷ ˻"; + Text[ turkish ] = "Geriye doru ara"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_INDEX_ENTRY_UP +{ + Text = "Voriger Verzeichniseintrag" ; + Text [ English ] = "Previous index entry" ; + Text[ italian ] = "Voce d'indice precedente"; + Text[ portuguese_brazilian ] = "Previous index entry"; + Text[ portuguese ] = "Entrada do ndice anterior"; + Text[ danish ] = "Forrige indekselement"; + Text[ french ] = "Entre d'index prcdente"; + Text[ swedish ] = "Fregende frteckningspost"; + Text[ dutch ] = "Vorig index item"; + Text[ spanish ] = "Entrada de ndice anterior"; + Text[ english_us ] = "Previous index entry"; + Text[ chinese_simplified ] = "һĿ¼Ŀ"; + Text[ russian ] = " "; + Text[ polish ] = "Poprzedni wpis do indeksu"; + Text[ japanese ] = "O̍"; + Text[ chinese_traditional ] = "W@ӥؿ"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " "; + Text[ turkish ] = "nceki dizin girii"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_TBLFML_UP +{ + Text = "Vorige Tabellenformel" ; + Text [ English ] = "Previous table formula" ; + Text[ english_us ] = "Previous table formula"; + Text[ portuguese ] = "Frmula de tabela anterior"; + Text[ russian ] = " "; + Text[ dutch ] = "Vorige tabellenformule"; + Text[ french ] = "Formule de table prcdente"; + Text[ spanish ] = "Frmula de tabla anterior"; + Text[ italian ] = "Formula tabella precedente"; + Text[ danish ] = "Forrige tabelformel"; + Text[ swedish ] = "Fregende tabellformel"; + Text[ polish ] = "Poprzednia formua tabeli"; + Text[ portuguese_brazilian ] = "Previous table formula"; + Text[ japanese ] = "O̕\\̐"; + Text[ chinese_simplified ] = "һʽ"; + Text[ chinese_traditional ] = "W@Ӥu@"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " ǥ "; + Text[ turkish ] = "nceki tablo forml"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_TBLFML_DOWN +{ + Text = "Nchste Tabellenformel" ; + Text [ English ] = "Next table formula" ; + Text[ english_us ] = "Next table formula"; + Text[ portuguese ] = "Frmula de tabela seguinte"; + Text[ russian ] = " "; + Text[ dutch ] = "Volgende tabellenformule"; + Text[ french ] = "Formule de table suivante"; + Text[ spanish ] = "Siguiente frmula de tabla"; + Text[ italian ] = "Formula tabella successiva"; + Text[ danish ] = "Nste tabelformel"; + Text[ swedish ] = "Nsta tabellformel"; + Text[ polish ] = "Nastpna formua tabeli"; + Text[ portuguese_brazilian ] = "Next table formula"; + Text[ japanese ] = "̕\\̐"; + Text[ chinese_simplified ] = "һʽ"; + Text[ chinese_traditional ] = "U@Ӥu@榡"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = " ǥ "; + Text[ turkish ] = "Sonraki tablo forml"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_TBLFML_ERR_UP +{ + Text = "Vorige fehlerhafte Tabellenformel" ; + Text [ English ] = "Previous wrong table formula" ; + Text[ english_us ] = "Previous faulty table formula"; + Text[ portuguese ] = "Frmula de tabela anterior errada"; + Text[ russian ] = " "; + Text[ dutch ] = "Vorige foutieve tabellenformule"; + Text[ french ] = "Formule de table errone prcdente"; + Text[ spanish ] = "Frmula de tabla anterior errnea"; + Text[ italian ] = "Formula tabella errata precedente"; + Text[ danish ] = "Forrige fejlagtige tabelformel"; + Text[ swedish ] = "Fregende felaktiga tabellformel"; + Text[ polish ] = "Poprzednia bdna formua tabeli"; + Text[ portuguese_brazilian ] = "Previous wrong table formula"; + Text[ japanese ] = "O̐Ȃ\\̐"; + Text[ chinese_simplified ] = "һĹʽ"; + Text[ chinese_traditional ] = "W@ӿ~u@榡"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = "߸ ǥ "; + Text[ turkish ] = "nceki hatal tablo forml"; + Text[ language_user1 ] = " "; +}; +String STR_IMGBTN_TBLFML_ERR_DOWN +{ + Text = "Nchste fehlerhafte Tabellenformel" ; + Text [ English ] = "Next wrong table formula" ; + Text[ english_us ] = "Next faulty table formula"; + Text[ portuguese ] = "Frmula de tabela seguinte errada"; + Text[ russian ] = " "; + Text[ dutch ] = "Volgende foutieve tabellenformule"; + Text[ french ] = "Formule de table errone suivante"; + Text[ spanish ] = "Siguiente frmula errnea de tabla"; + Text[ italian ] = "Formula tabella errata successiva"; + Text[ danish ] = "Nste fejlagtige tabelformel"; + Text[ swedish ] = "Nsta felaktiga tabellformel"; + Text[ polish ] = "Nastpna bdna formua tabeli"; + Text[ portuguese_brazilian ] = "Next wrong table formula"; + Text[ japanese ] = "̐Ȃ\\̐"; + Text[ chinese_simplified ] = "һĹʽ"; + Text[ chinese_traditional ] = "U@ӿ~u@榡"; + Text[ arabic ] = " "; + Text[ greek ] = " "; + Text[ korean ] = "߸ ǥ "; + Text[ turkish ] = "Sonraki hatal tablo forml"; + Text[ language_user1 ] = " "; +}; +ImageButton BTN_NAVI +{ + HelpID = HID_NAVIGATION_IMGBTN ; + SVLOOK = TRUE ; + HIDE = TRUE ; + RectStyle = TRUE ; + SmallStyle = TRUE ; + Image IMG_BTN + { + ImageBitmap = Bitmap { File = "punkt.bmp" ; }; + }; + String ST_QUICK + { + Text [ english_us ] = "Navigation" ; + Text [ portuguese_brazilian ] = "Navigation" ; + Text [ swedish ] = "Navigation" ; + Text [ danish ] = "Navigation" ; + Text [ italian ] = "Navigazione" ; + Text [ spanish ] = "Navegacin" ; + Text [ french ] = "Navigation" ; + Text [ dutch ] = "Navigatie" ; + Text [ portuguese ] = "Navegao" ; + Text = "Navigation" ; + Text[ chinese_simplified ] = ""; + Text[ russian ] = ""; + Text[ polish ] = "Nawigacja"; + Text[ japanese ] = "ް"; + Text[ chinese_traditional ] = "s"; + Text[ arabic ] = ""; + Text[ greek ] = ""; + Text[ korean ] = "̼"; + Text[ turkish ] = "Dolama"; + Text[ language_user1 ] = " "; + }; +}; |