summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2011-12-21 06:49:39 -0500
committerAugust Sodora <augsod@gmail.com>2011-12-21 07:00:43 -0500
commiteeecf625351238f90c61c82b403bd65e35d7833e (patch)
tree84c106f8befa3ef090ebbb2f5c4509f7db2765b7 /svtools
parent3b8bf60a040d51d2d228127693f0b9c3292b151d (diff)
Remove TTProperties
Diffstat (limited to 'svtools')
-rw-r--r--svtools/AllLangResTarget_svt.mk1
-rw-r--r--svtools/Library_svt.mk1
-rw-r--r--svtools/Package_inc.mk2
-rw-r--r--svtools/inc/svtools/helpid.hrc6
-rw-r--r--svtools/inc/svtools/testtool.hxx78
-rw-r--r--svtools/source/misc/helpagentwindow.cxx3
-rw-r--r--svtools/source/plugapp/testtool.hrc55
-rw-r--r--svtools/source/plugapp/testtool.src194
-rw-r--r--svtools/source/plugapp/ttprops.cxx36
-rw-r--r--svtools/util/hidother.src3
10 files changed, 0 insertions, 379 deletions
diff --git a/svtools/AllLangResTarget_svt.mk b/svtools/AllLangResTarget_svt.mk
index e5d0a5b1c8aa..be34c69bc149 100644
--- a/svtools/AllLangResTarget_svt.mk
+++ b/svtools/AllLangResTarget_svt.mk
@@ -64,7 +64,6 @@ $(eval $(call gb_SrsTarget_add_files,svt/res,\
svtools/source/misc/imagemgr.src \
svtools/source/misc/langtab.src \
svtools/source/misc/undo.src \
- svtools/source/plugapp/testtool.src \
svtools/source/toolpanel/toolpanel.src \
))
diff --git a/svtools/Library_svt.mk b/svtools/Library_svt.mk
index bb2e0d18041d..84bc1bd2bd7c 100644
--- a/svtools/Library_svt.mk
+++ b/svtools/Library_svt.mk
@@ -224,7 +224,6 @@ $(eval $(call gb_Library_add_exception_objects,svt,\
svtools/source/misc/unitconv \
svtools/source/misc/wallitem \
svtools/source/misc/xwindowitem \
- svtools/source/plugapp/ttprops \
svtools/source/svhtml/htmlkywd \
svtools/source/svhtml/htmlout \
svtools/source/svhtml/htmlsupp \
diff --git a/svtools/Package_inc.mk b/svtools/Package_inc.mk
index ca1db3f40a0e..e63c930fb396 100644
--- a/svtools/Package_inc.mk
+++ b/svtools/Package_inc.mk
@@ -159,7 +159,6 @@ $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/table/tablesort.hxx,sv
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/taskbar.hxx,svtools/taskbar.hxx))
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/templatefoldercache.hxx,svtools/templatefoldercache.hxx))
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/templdlg.hxx,svtools/templdlg.hxx))
-$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/testtool.hxx,svtools/testtool.hxx))
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/textdata.hxx,svtools/textdata.hxx))
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/texteng.hxx,svtools/texteng.hxx))
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/textview.hxx,svtools/textview.hxx))
@@ -177,7 +176,6 @@ $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/toolpanel/toolpanel.hx
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/toolpanel/toolpaneldeck.hxx,svtools/toolpanel/toolpaneldeck.hxx))
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/transfer.hxx,svtools/transfer.hxx))
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/treelist.hxx,svtools/treelist.hxx))
-$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/ttprops.hxx,svtools/ttprops.hxx))
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/txtattr.hxx,svtools/txtattr.hxx))
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/txtcmp.hxx,svtools/txtcmp.hxx))
$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/unitconv.hxx,svtools/unitconv.hxx))
diff --git a/svtools/inc/svtools/helpid.hrc b/svtools/inc/svtools/helpid.hrc
index ecf8ba4b1bf7..530b3694022b 100644
--- a/svtools/inc/svtools/helpid.hrc
+++ b/svtools/inc/svtools/helpid.hrc
@@ -115,12 +115,6 @@
#define HID_FILEOPEN_VERSION "SVT_HID_FILEOPEN_VERSION"
#define HID_FILEOPEN_IMAGE_TEMPLATE "SVT_HID_FILEOPEN_IMAGE_TEMPLATE"
-// uniqueid for the helpagent window (testtool)
-#define HID_HELPAGENT_WINDOW "SVT_HID_HELPAGENT_WINDOW"
-
-// registration dialog
-#define HID_REGISTRATION_DIALOG "SVT_HID_REGISTRATION_DIALOG"
-
#define HID_PRINTDIALOG_TOFILE "SVT_HID_PRINTDIALOG_TOFILE"
#define HID_WIZARD_NEXT "SVT_HID_WIZARD_NEXT"
diff --git a/svtools/inc/svtools/testtool.hxx b/svtools/inc/svtools/testtool.hxx
deleted file mode 100644
index 0129a326f001..000000000000
--- a/svtools/inc/svtools/testtool.hxx
+++ /dev/null
@@ -1,78 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org 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 version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef SVTOOLS_TESTTOOL_HXX
-#define SVTOOLS_TESTTOOL_HXX
-
-#include <tools/solar.h>
-#include <tools/link.hxx>
-#include <tools/string.hxx>
-
-class Application;
-class SvStream;
-
-class StatementFlow;
-class CommunicationManager;
-class CommunicationLink;
-#if OSL_DEBUG_LEVEL > 1
-class EditWindow;
-#endif
-class ImplRC;
-
-class RemoteControl
-{
- friend class StatementFlow;
-
- sal_Bool m_bIdleInserted;
-#if OSL_DEBUG_LEVEL > 1
- EditWindow *m_pDbgWin;
-#endif
- ImplRC* pImplRC;
-
-public:
- RemoteControl();
- ~RemoteControl();
- sal_Bool QueCommands( sal_uLong nServiceId, SvStream *pIn );
- SvStream* GetReturnStream();
-
- DECL_LINK( IdleHdl, Application* );
- DECL_LINK( CommandHdl, Application* );
-
- DECL_LINK( QueCommandsEvent, CommunicationLink* );
- sal_uLong nStoredServiceId;
- SvStream *pStoredStream;
-
- void ExecuteURL( String &aURL );
-
-protected:
- CommunicationManager *pServiceMgr;
- SvStream *pRetStream;
-};
-
-#endif // SVTOOLS_TESTTOOL_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/misc/helpagentwindow.cxx b/svtools/source/misc/helpagentwindow.cxx
index 27defbe3f846..e4b8326bfed9 100644
--- a/svtools/source/misc/helpagentwindow.cxx
+++ b/svtools/source/misc/helpagentwindow.cxx
@@ -99,9 +99,6 @@ namespace svt
SetPointer(Pointer(POINTER_REFHAND));
AlwaysEnableInput( sal_True, sal_True );
-
- // unique id for the testtool
- SetUniqueId( HID_HELPAGENT_WINDOW );
}
//--------------------------------------------------------------------
diff --git a/svtools/source/plugapp/testtool.hrc b/svtools/source/plugapp/testtool.hrc
deleted file mode 100644
index d6a234b74236..000000000000
--- a/svtools/source/plugapp/testtool.hrc
+++ /dev/null
@@ -1,55 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org 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 version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#define TTSTART 12345
-
-#define DisplayHidToolBox ( TTSTART + 0 )
-#define TT_SHOW 1
-#define TT_SHOW2 ( TTSTART + 1 )
-#define TT_OUTPUT 3
-#define TT_SEND_DATA 4
-#define TT_ALLWIN 5
-#define TT_KURZNAME 6
-#define TT_LANGNAME 7
-#define TT_ALTERNATE_CAPTION ( TTSTART + 2 )
-
-#define TT_INLINE_TRANSLATION ( TTSTART + 3)
-#define TT_GB_TRANSLATION 1
-#define TT_E_NEW 2
-#define TT_FT_OLD 3
-#define TT_GB_COMMENT 4
-#define TT_E_COMMENT 5
-
-#define TT_PB_SELECT 6
-#define TT_PB_RESTORE 7
-#define TT_PB_ACCEPT 8
-#define TT_PB_NEXT 9
-
-#define TT_DISCARD_CHANGED_DATA ( TTSTART + 4 )
-#define TT_NO_CONTROL ( TTSTART + 5 )
-
-
-#define TT_GPF ( TTSTART + 6 )
diff --git a/svtools/source/plugapp/testtool.src b/svtools/source/plugapp/testtool.src
deleted file mode 100644
index 27f89221e0ba..000000000000
--- a/svtools/source/plugapp/testtool.src
+++ /dev/null
@@ -1,194 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org 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 version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#include "testtool.hrc"
-#include <svl/solar.hrc>
-
-
-#define Control_Control 5
-#define Control_Border 7
-#define Button_Button Control_Control
-#define ButtonWidth 40
-
-
-ToolBox DisplayHidToolBox {
- SVLook = TRUE ;
- ItemList = {
- ToolBoxItem {
- Type = TOOLBOXITEM_BUTTON;
- _ToolBoxItemFlags = TIB_AUTOCHECK ;
- Identifier = TT_SHOW;
- ItemBitmap = Bitmap {
- File = "ttshow.png";
- };
- Text[ en-US ] = "Display IDs";
- };
- ToolBoxItem {
- Type = TOOLBOXITEM_SEPARATOR;
- };
- ToolBoxItem {
- _ToolBoxItemFlags = TIB_AUTOSIZE;
- Identifier = TT_OUTPUT;
- Text[ en-US ] = "This is the input window";
- };
- ToolBoxItem {
- Type = TOOLBOXITEM_SEPARATOR;
- };
- ToolBoxItem {
- Identifier = TT_SEND_DATA;
- ItemBitmap = Bitmap {
- File = "ttremote.png";
- };
- Text[ en-US ] = "Transfer to TestTool";
- };
- ToolBoxItem {
- Type = TOOLBOXITEM_SEPARATOR;
- };
- ToolBoxItem {
- Identifier = TT_ALLWIN;
- ItemBitmap = Bitmap {
- File = "ttall.png";
- };
- Text[ en-US ] = "Show all windows";
- };
- ToolBoxItem {
- Identifier = TT_KURZNAME;
- ItemBitmap = Bitmap {
- File = "ttdef.png";
- };
- Text[ en-US ] = "Show short names (if available)";
- };
- ToolBoxItem {
- Identifier = TT_LANGNAME;
- ItemBitmap = Bitmap {
- File = "tthid.png";
- };
- Text[ en-US ] = "Always show long-name";
- };
- };
- Text[ en-US ] = "DisplayHID";
-};
-
-Bitmap TT_SHOW2 {
- File = "ttshow2.png";
-};
-
-WorkWindow TT_INLINE_TRANSLATION {
- HelpID = "svtools:WorkWindow:TT_INLINE_TRANSLATION";
- SVLook = TRUE;
- Size = MAP_APPFONT( 2*Control_Border + 4*ButtonWidth + 3*Button_Button, 120 );
- Moveable = TRUE;
- Sizeable = TRUE;
- Closeable = TRUE;
- Border = TRUE;
- GroupBox TT_GB_TRANSLATION {
- Pos = MAP_APPFONT( 2, 3 );
- Size = MAP_APPFONT( 173, 44 );
- Text[ en-US ] = "Translation";
- };
- Edit TT_E_NEW {
- HelpID = "svtools:Edit:TT_INLINE_TRANSLATION:TT_E_NEW";
- Disable = TRUE;
- Border = TRUE;
- Pos = MAP_APPFONT( 7, 16 );
- Size = MAP_APPFONT( 162, 12 );
- TabStop = TRUE;
- Text[ en-US ] = "~Edit";
- };
- FixedText TT_FT_OLD {
- Pos = MAP_APPFONT( 7, 33 );
- Size = MAP_APPFONT( 162, 10 );
- Text[ en-US ] = "Original Text";
- };
- GroupBox TT_GB_COMMENT {
- Pos = MAP_APPFONT( 2, 52 );
- Size = MAP_APPFONT( 173, 32 );
- Text[ en-US ] = "Comment";
- };
- Edit TT_E_COMMENT {
- HelpID = "svtools:Edit:TT_INLINE_TRANSLATION:TT_E_COMMENT";
- Disable = TRUE;
- Border = TRUE;
- Pos = MAP_APPFONT( 7, 64 );
- Size = MAP_APPFONT( 162, 12 );
- TabStop = TRUE;
- Text[ en-US ] = "~Comment";
- };
- PushButton TT_PB_SELECT {
- HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_SELECT";
- Pos = MAP_APPFONT( Control_Border, 89 );
- Size = MAP_APPFONT( ButtonWidth, 12 );
- TabStop = TRUE;
- Text[ en-US ] = "~Select";
- };
- PushButton TT_PB_RESTORE {
- HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_RESTORE";
- Disable = TRUE;
- Pos = MAP_APPFONT( Control_Border + ButtonWidth + Button_Button, 89 );
- Size = MAP_APPFONT( ButtonWidth, 12 );
- TabStop = TRUE;
- Text[ en-US ] = "~Restore";
- };
- PushButton TT_PB_ACCEPT {
- HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_ACCEPT";
- Disable = TRUE;
- Pos = MAP_APPFONT( Control_Border + 2*(ButtonWidth + Button_Button), 89 );
- Size = MAP_APPFONT( ButtonWidth, 12 );
- TabStop = TRUE;
- Text[ en-US ] = "~Accept";
- };
- PushButton TT_PB_NEXT {
- HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_NEXT";
- Pos = MAP_APPFONT( Control_Border + 3*(ButtonWidth + Button_Button), 89 );
- Size = MAP_APPFONT( ButtonWidth, 12 );
- TabStop = TRUE;
- Text[ en-US ] = "~Next";
- };
- Text[ en-US ] = "Inplace Translation";
-};
-
-MessBox TT_DISCARD_CHANGED_DATA {
- Buttons = WB_YES_NO;
- DefButton = WB_DEF_YES;
- Message[ en-US ] = "The Translation will be lost. Proceed anyway?";
-};
-
-ErrorBox TT_NO_CONTROL {
- Buttons = WB_OK;
- DefButton = WB_DEF_OK;
- Message[ en-US ] = "The Control is no longer valid. The Translation cannot be saved.";
-};
-
-String TT_GPF
-{
- Text[ en-US ] = "GPF occurred";
-};
-
-String TT_ALTERNATE_CAPTION
-{
- Text[ en-US ] = "HelpID does not match UniqueID: ";
-};
-
diff --git a/svtools/source/plugapp/ttprops.cxx b/svtools/source/plugapp/ttprops.cxx
deleted file mode 100644
index c050df6d3c28..000000000000
--- a/svtools/source/plugapp/ttprops.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org 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 version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <svtools/ttprops.hxx>
-#include <vcl/svapp.hxx>
-#include <vcl/bitmap.hxx>
-#include <tools/rtti.hxx>
-
-TYPEINIT1( TTProperties, ApplicationProperty )
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/util/hidother.src b/svtools/util/hidother.src
index 03aea7ebdf7e..0d4e24b9dbcb 100644
--- a/svtools/util/hidother.src
+++ b/svtools/util/hidother.src
@@ -49,9 +49,6 @@ hidspecial HID_FILESAVE_DOPLAY { HelpID = HID_FILESAVE_DOPLAY;
hidspecial HID_FILEOPEN_READONLY { HelpID = HID_FILEOPEN_READONLY; };
hidspecial HID_FILEOPEN_VERSION { HelpID = HID_FILEOPEN_VERSION; };
hidspecial HID_FILEOPEN_IMAGE_TEMPLATE { HelpID = HID_FILEOPEN_IMAGE_TEMPLATE; };
-hidspecial HID_HELPAGENT_WINDOW { HelpID = HID_HELPAGENT_WINDOW; };
-
-hidspecial HID_REGISTRATION_DIALOG { HelpID = HID_REGISTRATION_DIALOG; };
hidspecial HID_PRINTDIALOG_TOFILE { HelpID = HID_PRINTDIALOG_TOFILE; };