summaryrefslogtreecommitdiff
path: root/writerperfect/inc
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/inc')
-rw-r--r--writerperfect/inc/WPFTResMgr.hxx20
-rw-r--r--writerperfect/inc/strings.hrc25
2 files changed, 45 insertions, 0 deletions
diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx
new file mode 100644
index 000000000000..d578685f275e
--- /dev/null
+++ b/writerperfect/inc/WPFTResMgr.hxx
@@ -0,0 +1,20 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+
+#ifndef INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX
+#define INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX
+
+#include "writerperfectdllapi.h"
+
+#include <tools/resid.hxx>
+
+struct WRITERPERFECT_DLLPUBLIC WPFTResMgr
+{
+ static ResMgr &GetResMgr();
+};
+
+#define WPFT_RES(i) ResId((i), WPFTResMgr::GetResMgr())
+#define WPFT_RESSTR(i) WPFT_RES(i).toString()
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/strings.hrc b/writerperfect/inc/strings.hrc
new file mode 100644
index 000000000000..e18214f511df
--- /dev/null
+++ b/writerperfect/inc/strings.hrc
@@ -0,0 +1,25 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_WRITERPERFECT_INC_STRINGS_HRC
+#define INCLUDED_WRITERPERFECT_INC_STRINGS_HRC
+
+#define RES_START 1000
+
+#define STR_ENCODING_DIALOG_TITLE (RES_START + 1)
+#define STR_ENCODING_DIALOG_TITLE_MSWORKS (RES_START + 2)
+#define STR_ENCODING_DIALOG_TITLE_MSWRITE (RES_START + 3)
+#define STR_ENCODING_DIALOG_TITLE_DOSWORD (RES_START + 4)
+#define STR_ENCODING_DIALOG_TITLE_LOTUS (RES_START + 5)
+#define STR_ENCODING_DIALOG_TITLE_SYMPHONY (RES_START + 6)
+#define STR_ENCODING_DIALOG_TITLE_QUATTROPRO (RES_START + 7)
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */