- Add winhelp based on Wine.

- Not fully complete and has some bugs.
- go to help -> help on help for a preview

svn path=/trunk/; revision=26719
This commit is contained in:
Ged Murphy 2007-05-12 10:14:45 +00:00
parent 62ae8a3919
commit d5d68cf53f
38 changed files with 9649 additions and 0 deletions

View file

@ -55,6 +55,9 @@
<directory name="taskmgr">
<xi:include href="taskmgr/taskmgr.rbuild" />
</directory>
<directory name="winhelp">
<xi:include href="winhelp/winhelp.rbuild" />
</directory>
<directory name="wordpad">
<xi:include href="wordpad/wordpad.rbuild" />
</directory>

View file

@ -0,0 +1,69 @@
/*
* Help Viewer Bulgarian resource
*
* Copyright 2005 Milko Krachounov
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
{
POPUP "&Ôàéë" {
MENUITEM "&Îòâîðè", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Ïå÷àò", MNID_FILE_PRINT
MENUITEM "&Íàñòðîéêà íà ïðèíòåðà...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Èçõîä", MNID_FILE_EXIT
}
POPUP "&Ðåäàêòèðàíå" {
MENUITEM "&Êîïèðàé...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Àíîòèðàé...", MNID_EDIT_ANNOTATE
}
POPUP "&Îòìåòêè" {
MENUITEM "&Çàäàé...", MNID_BKMK_DEFINE
}
POPUP "&Ïîìîù" {
MENUITEM "Ïîìîù &çà ïîìîùòà", MNID_HELP_HELPON
MENUITEM "Âèíàãè îò&ãîðå", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Èíôîðìàöèÿ...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Îòíîñíî WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE Ïîìîù"
STID_WHERROR, "ÃÐÅØÊÀ"
STID_WARNING, "ÏÐÅÄÓÏÐÅÆÄÅÍÈÅ"
STID_INFO, "Èíôîðìàöèÿ"
STID_NOT_IMPLEMENTED, "Íå å ðåàëèçèðàíî"
STID_HLPFILE_ERROR_s, "Ãðåøêà ïðè ÷åòåíå íà ïîìîùíèÿ ôàéë `%s'"
STID_CONTENTS, "&Ñúäúðæàíèå"
STID_SEARCH, "&Òúðñè"
STID_BACK, "&Íàçàä"
STID_HISTORY, "&Èñòîðèÿ"
STID_TOPICS, "&Òåìè"
STID_ALL_FILES, "Âñè÷êè ôàéëîâå (*.*)"
STID_HELP_FILES_HLP, "Ïîìîùíè ôàéëîâå (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,74 @@
/* Hey, Emacs, open this file with -*- coding: cp1250 -*-
*
* Help Viewer Czech resources
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle
* Copyright 2004 David Kredba
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Czech strings in CP1250 */
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
{
POPUP "&Soubor" {
MENUITEM "&Otevøít", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Tisk", MNID_FILE_PRINT
MENUITEM "Na&stavení tisku...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Konec", MNID_FILE_EXIT
}
POPUP "Úprav&y" {
MENUITEM "&Kopírovat...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "P&oznamenat si...", MNID_EDIT_ANNOTATE
}
POPUP "&Záložka" {
MENUITEM "Pøi&dat...", MNID_BKMK_DEFINE
}
POPUP "&Nápovìda" {
MENUITEM "Náp&ovìda k nápovìdì", MNID_HELP_HELPON
MENUITEM "Vždy na &vrchu", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Informace...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "O &WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
{
STID_WINE_HELP, "Nápovìda WINE"
STID_WHERROR, "CHYBA"
STID_WARNING, "VAROVÁNÍ"
STID_INFO, "Informace"
STID_NOT_IMPLEMENTED, "Není implementováno"
STID_HLPFILE_ERROR_s, "Nelze pøeèíst soubor nápovìdy `%s'"
STID_CONTENTS, "&Obsah"
STID_SEARCH, "&Hledat"
STID_BACK, "&Zpìt"
STID_HISTORY, "&Historie"
STID_TOPICS, "&Témata"
STID_ALL_FILES, "Všechny soubory (*.*)"
STID_HELP_FILES_HLP, "Soubory nápovìdy (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,72 @@
/*
* Help Viewer
*
* Copyright 1997 Henrik Olsen
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
{
POPUP "&Filer" {
MENUITEM "Å&bn...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Udskriv emne", MNID_FILE_PRINT
MENUITEM "&Indstil printer", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Afslut", MNID_FILE_EXIT
}
POPUP "&Rediger" {
MENUITEM "K&opier...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Anmærk...", MNID_EDIT_ANNOTATE
}
POPUP "Bog&mærke" {
MENUITEM "&Definer...", MNID_BKMK_DEFINE
}
POPUP "&Hjælp" {
MENUITEM "&Brug af Hjælp", MNID_HELP_HELPON
MENUITEM "Altid &øverst", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Info...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "Om &WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE Hjælp"
STID_WHERROR, "FEJL"
STID_WARNING, "ADVARSEL"
STID_INFO, "Information"
STID_NOT_IMPLEMENTED, "Ikke implementeret"
STID_HLPFILE_ERROR_s, "Fejl ved indlæsning af filen `%s'"
STID_CONTENTS, "&Indhold"
STID_SEARCH, "&Søg"
STID_BACK, "&Tilbage"
STID_HISTORY, "&Oversigt"
STID_TOPICS, "To&pics"
STID_ALL_FILES, "Alle filer (*.*)"
STID_HELP_FILES_HLP, "Hjælpe filer (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,71 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
{
POPUP "&Datei" {
MENUITEM "Ö&ffnen...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "Thema &drucken", MNID_FILE_PRINT
MENUITEM "Drucker&einrichtung...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Beenden", MNID_FILE_EXIT
}
POPUP "&Bearbeiten" {
MENUITEM "&Kopieren...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Anmerken...", MNID_EDIT_ANNOTATE
}
POPUP "&Lesezeichen" {
MENUITEM "&Definieren...", MNID_BKMK_DEFINE
}
POPUP "&Hilfe" {
MENUITEM "&Hilfe benutzen", MNID_HELP_HELPON
MENUITEM "Immer im &Vordergrund", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Info...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Über WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
{
STID_WINE_HELP, "WINE Hilfe"
STID_WHERROR, "FEHLER"
STID_WARNING, "ACHTUNG"
STID_INFO, "Information"
STID_NOT_IMPLEMENTED, "Nicht implementiert"
STID_HLPFILE_ERROR_s, "Fehler beim Lesen der Hilfe-Datei `%s'"
STID_CONTENTS, "&Inhalt"
STID_SEARCH, "&Suchen"
STID_BACK, "&Zurück"
STID_HISTORY, "&Bisher"
STID_TOPICS, "&Topics"
STID_ALL_FILES, "Alle Dateien (*.*)"
STID_HELP_FILES_HLP, "Hilfe-Dateien (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,70 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
{
POPUP "&File" {
MENUITEM "&Open", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Print", MNID_FILE_PRINT
MENUITEM "Printer &setup...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "E&xit", MNID_FILE_EXIT
}
POPUP "&Edit" {
MENUITEM "&Copy...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Annotate...", MNID_EDIT_ANNOTATE
}
POPUP "&Bookmark" {
MENUITEM "&Define...", MNID_BKMK_DEFINE
}
POPUP "&Help" {
MENUITEM "Help &on help", MNID_HELP_HELPON
MENUITEM "Always on &top", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Info...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&About WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE Help"
STID_WHERROR, "ERROR"
STID_WARNING, "WARNING"
STID_INFO, "Information"
STID_NOT_IMPLEMENTED, "Not implemented"
STID_HLPFILE_ERROR_s, "Error while reading the help file `%s'"
STID_CONTENTS, "&Contents"
STID_SEARCH, "&Search"
STID_BACK, "&Back"
STID_HISTORY, "&History"
STID_TOPICS, "&Topics"
STID_ALL_FILES, "All files (*.*)"
STID_HELP_FILES_HLP, "Help files (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,72 @@
/*
* Help Viewer
* Esperanto Language Support
*
* Copyright 2006 Antonio Codazzi
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Cxapelitaj literoj estas en Latin-3 iso8859-3 */
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_ESPERANTO, SUBLANG_DEFAULT
{
POPUP "&Dosiero" {
MENUITEM "&Malfermu", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Presu", MNID_FILE_PRINT
MENUITEM "&Impozu Printilon...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Finu", MNID_FILE_EXIT
}
POPUP "&Redakto" {
MENUITEM "&Kopiu...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Notu...", MNID_EDIT_ANNOTATE
}
POPUP "&Legosigno" {
MENUITEM "&Difinu...", MNID_BKMK_DEFINE
}
POPUP "&Helpo" {
MENUITEM "&Helpu pri helpo", MNID_HELP_HELPON
MENUITEM "Æiam &supre", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Pri...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Pri WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_ESPERANTO, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE Helpanto"
STID_WHERROR, "ERARO"
STID_WARNING, "ATENTU"
STID_INFO, "Informo pri"
STID_NOT_IMPLEMENTED, "Ne-implementata"
STID_HLPFILE_ERROR_s, "Eraro dum la legado de helpdosiero `%s'"
STID_CONTENTS, "&Enhavo"
STID_SEARCH, "&Seræu"
STID_BACK, "&Retro"
STID_HISTORY, "Krono&logio"
STID_TOPICS, "&Temoj"
STID_ALL_FILES, "Tutaj dosieroj (*.*)"
STID_HELP_FILES_HLP, "Helpaj dosieroj (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,71 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* Copyright 2003, 2004 José Manuel Ferrer Ortiz
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
{
POPUP "&Archivo" {
MENUITEM "A&brir...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Imprimir", MNID_FILE_PRINT
MENUITEM "&Configuración impresora...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Salir", MNID_FILE_EXIT
}
POPUP "&Editar" {
MENUITEM "&Copiar...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Anotar...", MNID_EDIT_ANNOTATE
}
POPUP "&Marcador" {
MENUITEM "&Definir...", MNID_BKMK_DEFINE
}
POPUP "A&yuda" {
MENUITEM "&Ayuda sobre la ayuda", MNID_HELP_HELPON
MENUITEM "&Siempre visible", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Info...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Acerca de WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
{
STID_WINE_HELP, "Ayuda de WINE"
STID_WHERROR, "ERROR"
STID_WARNING, "ADVERTENCIA"
STID_INFO, "Información"
STID_NOT_IMPLEMENTED, "Aún no implementado"
STID_HLPFILE_ERROR_s, "Error al leer el archivo de ayuda `%s'"
STID_CONTENTS, "&Índice"
STID_SEARCH, "&Buscar"
STID_BACK, "&Anterior"
STID_HISTORY, "&Historial"
STID_TOPICS, "&Temas"
STID_ALL_FILES, "Todos los archivos (*.*)"
STID_HELP_FILES_HLP, "Archivos de ayuda (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,72 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Finnish language by Jussi Tirkkonen <jt@modeemi.cs.tut.fi>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
{
POPUP "&Tiedosto" {
MENUITEM "&Avaa...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Tulosta", MNID_FILE_PRINT
MENUITEM "&Kirjoittimen asetukset...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Lopeta", MNID_FILE_EXIT
}
POPUP "&Muokkaa" {
MENUITEM "&Kopioi...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Huomautus...", MNID_EDIT_ANNOTATE
}
POPUP "&Kirjanmerkki" {
MENUITEM "&Aseta...", MNID_BKMK_DEFINE
}
POPUP "&Ohje" {
MENUITEM "&Ohjeen käyttö", MNID_HELP_HELPON
MENUITEM "&Aina päällimmäisenä", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "T&ietoja...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Tietoja WINEstä", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE Ohje"
STID_WHERROR, "VIRHE"
STID_WARNING, "VAROITUS"
STID_INFO, "Tietoja"
STID_NOT_IMPLEMENTED, "Ei käytettävissä"
STID_HLPFILE_ERROR_s, "Virhe luettaessa ohjetiedostoa `%s'"
STID_CONTENTS, "&Sisällys"
STID_SEARCH, "&Etsi"
STID_BACK, "&Takaisin"
STID_HISTORY, "&Luetut"
STID_TOPICS, "T&opics"
STID_ALL_FILES, "Kaikki tiedostot (*.*)"
STID_HELP_FILES_HLP, "Ohjetiedostot (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,72 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
MAIN_MENU MENU
{
POPUP "&Fichier" {
MENUITEM "&Ouvrir", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "Im&primer", MNID_FILE_PRINT
MENUITEM "&Configuration de l'imprimante...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Quitter", MNID_FILE_EXIT
}
POPUP "É&dition" {
MENUITEM "&Copier...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Annotation...", MNID_EDIT_ANNOTATE
}
POPUP "&Signet" {
MENUITEM "&Définir...", MNID_BKMK_DEFINE
}
POPUP "Aid&e" {
MENUITEM "&Utiliser l'aide", MNID_HELP_HELPON
MENUITEM "&Toujours visible", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Info...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "À &propos de WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE
{
STID_WINE_HELP, "Aide de WINE"
STID_WHERROR, "ERREUR"
STID_WARNING, "ATTENTION"
STID_INFO, "Information"
STID_NOT_IMPLEMENTED, "Non implémenté"
STID_HLPFILE_ERROR_s, "Une erreur est survenue en lisant le fichier d'aide « %s »"
STID_CONTENTS, "&Index"
STID_SEARCH, "&Rechercher"
STID_BACK, "&Précédent"
STID_HISTORY, "&Historique"
STID_TOPICS, "&Sujets"
STID_ALL_FILES, "Tous fichiers (*.*)"
STID_HELP_FILES_HLP, "Fichiers d'aide (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,72 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle
* Copyright 2002 Zoly Nagy
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
{
POPUP "&Fájl" {
MENUITEM "&Megnyitás...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Nyomtatás", MNID_FILE_PRINT
MENUITEM "Nyomtató &beállítás...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Kilépés", MNID_FILE_EXIT
}
POPUP "&Szerkesztés" {
MENUITEM "&Másolás...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Jegyzet...", MNID_EDIT_ANNOTATE
}
POPUP "&Könyvjelzõ" {
MENUITEM "&Definiálás...", MNID_BKMK_DEFINE
}
POPUP "&Súgó" {
MENUITEM "&Használat", MNID_HELP_HELPON
MENUITEM "Mindig &legfelül", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Információ...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&&A WINE-ról", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE súgó"
STID_WHERROR, "HIBA"
STID_WARNING, "FIGYELMEZTETÉS"
STID_INFO, "Információ"
STID_NOT_IMPLEMENTED, "Nincs implementálva"
STID_HLPFILE_ERROR_s, "Hiba a `%s' file olvasásakor"
STID_CONTENTS, "&Tartalom"
STID_SEARCH, "&Keresés"
STID_BACK, "&Vissza"
STID_HISTORY, "&Elõzmény"
STID_TOPICS, "&Témakörök"
STID_ALL_FILES, "Minden fájl (*.*)"
STID_HELP_FILES_HLP, "Súgó fájlok (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,71 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
{
POPUP "&File" {
MENUITEM "&Apri...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "S&tampa", MNID_FILE_PRINT
MENUITEM "&Setup stampante...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Esci", MNID_FILE_EXIT
}
POPUP "&Modifica" {
MENUITEM "&Copia...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Annota...", MNID_EDIT_ANNOTATE
}
POPUP "&Segnalibro" {
MENUITEM "&Definisci...", MNID_BKMK_DEFINE
}
POPUP "&?" {
MENUITEM "&Aiuto sulla guida", MNID_HELP_HELPON
MENUITEM "Sempre in primo &piano", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Informazioni su...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Informazion su WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
{
STID_WINE_HELP, "Guida di WINE"
STID_WHERROR, "ERRORE"
STID_WARNING, "ATTENZIONE"
STID_INFO, "Informazione"
STID_NOT_IMPLEMENTED, "Non ancora implementato"
STID_HLPFILE_ERROR_s, "Errore di lettura del file della Guida `%s'"
STID_CONTENTS, "&Sommario"
STID_SEARCH, "&Trova"
STID_BACK, "&Precedente"
STID_HISTORY, "&Cronologia"
STID_TOPICS, "&Argomenti"
STID_ALL_FILES, "Tutti i file (*.*)"
STID_HELP_FILES_HLP, "File della Guida (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,71 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL
{
POPUP "파일(&F)" {
MENUITEM "열기(&O)...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "인쇄(&P)", MNID_FILE_PRINT
MENUITEM "프린터 설정(&S)...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "종료(&E)", MNID_FILE_EXIT
}
POPUP "편집(&E)" {
MENUITEM "복사(&C)...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "주석(&A)...", MNID_EDIT_ANNOTATE
}
POPUP "책갈피(&B)" {
MENUITEM "정의(&D)...", MNID_BKMK_DEFINE
}
POPUP "도움말(&H)" {
MENUITEM "도움말 사용법(&O)", MNID_HELP_HELPON
MENUITEM "항상 위(&T)", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "정보(&I)...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "Wine에 관하여(&A)", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL
{
STID_WINE_HELP, "Wine 도움말"
STID_WHERROR, "오류"
STID_WARNING, "경고"
STID_INFO, "정보"
STID_NOT_IMPLEMENTED, "구현되지 않았음"
STID_HLPFILE_ERROR_s, "도움말 파일 `%s'를 읽는 도중 오류 발생"
STID_CONTENTS, "목차(&C)"
STID_SEARCH, "찾기(&S)"
STID_BACK, "뒤로(&B)"
STID_HISTORY, "히스토리(&H)"
STID_TOPICS, "목차(&T)"
STID_ALL_FILES, "모든 파일 (*.*)"
STID_HELP_FILES_HLP, "도움말 파일 (*.hlp)"
STID_FILE_NOT_FOUND_s "%s을 찾을 수 없습니다'. 이 파일을 스스로 찾겠습니까?"
}

View file

@ -0,0 +1,69 @@
/*
* Help Viewer (Dutch resources)
*
* Copyright 2003 Hans Leidekker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
{
POPUP "&Bestand" {
MENUITEM "&Openen", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "Af&drukken", MNID_FILE_PRINT
MENUITEM "&Printerinstellingen...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Afsluiten", MNID_FILE_EXIT
}
POPUP "&Bewerken" {
MENUITEM "&Kopiëren...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Annoteren...", MNID_EDIT_ANNOTATE
}
POPUP "&Favorieten" {
MENUITEM "&Aanmaken...", MNID_BKMK_DEFINE
}
POPUP "&Help" {
MENUITEM "Hulp &bij help", MNID_HELP_HELPON
MENUITEM "Altijd &zichtbaar", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Info...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Over WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
{
STID_WINE_HELP, "WINE Help"
STID_WHERROR, "FOUT"
STID_WARNING, "WAARSCHUWING"
STID_INFO, "Informatie"
STID_NOT_IMPLEMENTED, "Niet geïmplementeerd"
STID_HLPFILE_ERROR_s, "Fout bij het lezen van het helpbestand `%s'"
STID_CONTENTS, "&Inhoud"
STID_SEARCH, "&Zoeken"
STID_BACK, "&Terug"
STID_HISTORY, "&Geschiedenis"
STID_TOPICS, "&Onderwerpen"
STID_ALL_FILES, "Alle bestanden (*.*)"
STID_HELP_FILES_HLP, "Helpbestanden (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,69 @@
/*
* Help Viewer
*
* Copyright 2005 Alexander N. Sørnes <alex@thehandofagony.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
{
POPUP "&Fil" {
MENUITEM "&Åpne", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "Skriv &ut", MNID_FILE_PRINT
MENUITEM "Opp&sett av skriveren . . .", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Avslutt", MNID_FILE_EXIT
}
POPUP "R&ediger" {
MENUITEM "&Kopier . . .", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "K&ommenter . . .", MNID_EDIT_ANNOTATE
}
POPUP "&Bokmerke" {
MENUITEM "&Definer . . .", MNID_BKMK_DEFINE
}
POPUP "&Hjelp" {
MENUITEM "&Hjelp til Hjelp", MNID_HELP_HELPON
MENUITEM "All&tid øverst", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Informasjon . . .", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&om WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
{
STID_WINE_HELP, "Hjelp"
STID_WHERROR, "FEIL"
STID_WARNING, "ADVARSEL"
STID_INFO, "Informasjon"
STID_NOT_IMPLEMENTED, "Ikke implementert"
STID_HLPFILE_ERROR_s, "Feil ved lesing av hjelpefilen '%s'"
STID_CONTENTS, "&Innhold"
STID_SEARCH, "&Søk"
STID_BACK, "Til&bake"
STID_HISTORY, "&Historikk"
STID_TOPICS, "&Emner"
STID_ALL_FILES, "Alle filer (*.*)"
STID_HELP_FILES_HLP, "Hjelp-filer (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,71 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* Copyright 2004 Piotr Caban
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
{
POPUP "&Plik" {
MENUITEM "&Otwórz", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Drukuj", MNID_FILE_PRINT
MENUITEM "&Ustawienia drukarki...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Wyjœcie", MNID_FILE_EXIT
}
POPUP "&Edycja" {
MENUITEM "&Kopiuj...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Skomentuj...", MNID_EDIT_ANNOTATE
}
POPUP "&Zak³adka" {
MENUITEM "&Zdefiniuj...", MNID_BKMK_DEFINE
}
POPUP "Pomo&c" {
MENUITEM "&Pomoc", MNID_HELP_HELPON
MENUITEM "&Zawsze na wierzchu", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&O programie...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&O programie WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE - Pomoc"
STID_WHERROR, "B£¥D"
STID_WARNING, "OSTRZE¯ENIE"
STID_INFO, "Informacja"
STID_NOT_IMPLEMENTED, "Nie zaimplementowane"
STID_HLPFILE_ERROR_s, "B³¹d w trakcie odczytu pliku pomocy `%s'"
STID_CONTENTS, "&ZawartoϾ"
STID_SEARCH, "&Szukaj"
STID_BACK, "&Wstecz"
STID_HISTORY, "&Historia"
STID_TOPICS, "&Tematy"
STID_ALL_FILES, "Wszystkie pliki (*.*)"
STID_HELP_FILES_HLP, "Pliki pomocy (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,130 @@
/*
* Help Viewer
* Portuguese Language Support
*
* Copyright 1996 Ulrich Schmid
* Portuguese translation by Gustavo Junior Alves <alves@correionet.com.br>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* Copyright 2003 Marcelo Duarte
* Copyright 2004 Américo José Melo
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
MAIN_MENU MENU
{
POPUP "&Arquivo" {
MENUITEM "&Abrir...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Imprimir", MNID_FILE_PRINT
MENUITEM "&Configurar Impressora...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "Sai&r", MNID_FILE_EXIT
}
POPUP "&Editar" {
MENUITEM "&Copiar...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Anotar...", MNID_EDIT_ANNOTATE
}
POPUP "In&dicador" {
MENUITEM "&Definir...", MNID_BKMK_DEFINE
}
POPUP "Aj&uda" {
MENUITEM "Ajuda &na ajuda", MNID_HELP_HELPON
MENUITEM "Sempre &visível", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Informações...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Sobre WINE", MNID_HELP_WINE
#endif
}
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
MAIN_MENU MENU
{
POPUP "&Ficheiro" {
MENUITEM "&Abrir...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Imprimir", MNID_FILE_PRINT
MENUITEM "&Configurar Impressora...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "Sai&r", MNID_FILE_EXIT
}
POPUP "&Editar" {
MENUITEM "&Copiar...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Anotar...", MNID_EDIT_ANNOTATE
}
POPUP "In&dicador" {
MENUITEM "&Definir...", MNID_BKMK_DEFINE
}
POPUP "Aj&uda" {
MENUITEM "Ajuda &na ajuda", MNID_HELP_HELPON
MENUITEM "Sempre &visível", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Informações...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Acerca do WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE DISCARDABLE
{
STID_WINE_HELP, "Ajuda WINE"
STID_WHERROR, "ERRO"
STID_WARNING, "AVISO"
STID_INFO, "Informação"
STID_NOT_IMPLEMENTED, "Não implementado"
STID_HLPFILE_ERROR_s, "Erro encontrado na leitura do arquivo de ajuda '%s'"
STID_CONTENTS, "&Conteúdo"
STID_SEARCH, "&Procurar"
STID_BACK, "&Voltar"
STID_HISTORY, "&Histórico"
STID_TOPICS, "&Tópicos"
STID_ALL_FILES, "Todos os arquivos (*.*)"
STID_HELP_FILES_HLP, "Arquivos de ajuda (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE DISCARDABLE
{
STID_WINE_HELP, "Ajuda WINE"
STID_WHERROR, "ERRO"
STID_WARNING, "AVISO"
STID_INFO, "Informação"
STID_NOT_IMPLEMENTED, "Não implementado"
STID_HLPFILE_ERROR_s, "Erro encontrado na leitura do ficheiro de ajuda '%s'"
STID_CONTENTS, "&Conteúdo"
STID_SEARCH, "&Procurar"
STID_BACK, "&Voltar"
STID_HISTORY, "&Histórico"
STID_TOPICS, "&Tópicos"
STID_ALL_FILES, "Todos os ficheiros (*.*)"
STID_HELP_FILES_HLP, "Ficheiros de ajuda (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,69 @@
/*
* Help Viewer (Russian resources)
*
* Copyright 2003 Igor Stepin
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
{
POPUP "&Ôàéë" {
MENUITEM "&Îòêðûòü", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Ïå÷àòàòü", MNID_FILE_PRINT
MENUITEM "Íàñòðîéêà &ïðèíòåðà...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Âûõîä", MNID_FILE_EXIT
}
POPUP "&Ïðàâêà" {
MENUITEM "&Êîïèðîâàòü...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Çàìåòêè...", MNID_EDIT_ANNOTATE
}
POPUP "&Çàêëàäêà" {
MENUITEM "&Îïðåäåëèòü...", MNID_BKMK_DEFINE
}
POPUP "&Ñïðàâêà" {
MENUITEM "Ïîìîùü &ïî ïîìîùè", MNID_HELP_HELPON
MENUITEM "Âñåãäà &ñâåðõó", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Èíôîðìàöèÿ...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Î Wine", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
{
STID_WINE_HELP, "Ñïðàâêà WINE"
STID_WHERROR, "ÎØÈÁÊÀ"
STID_WARNING, "ÂÍÈÌÀÍÈÅ"
STID_INFO, "Èíôîðìàöèÿ"
STID_NOT_IMPLEMENTED, "Íå ðåàëèçîâàííî"
STID_HLPFILE_ERROR_s, "Îøèáêà ïðè ÷òåíèè ôàéëà ïîìîùè `%s'"
STID_CONTENTS, "&Ñîäåðæàíèå"
STID_SEARCH, "&Íàéòè"
STID_BACK, "&Íàçàä"
STID_HISTORY, "&Èñòîðèÿ"
STID_TOPICS, "&Óêàçàòåëü"
STID_ALL_FILES, "Âñå ôàéëû (*.*)"
STID_HELP_FILES_HLP, "Ôàéëû ñïðàâêè (*.hlp)"
STID_FILE_NOT_FOUND_s "Íå ìîãó íàéòè '%s'. Âû õîòèòå íàéòè ýòîò ôàéë ñàìîñòîÿòåëüíî?"
}

View file

@ -0,0 +1,69 @@
/*
* Help Viewer (Slovenian Resources)
*
* Copyright 2002-2003 Rok Mandeljc <rok.mandeljc@gimb.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
{
POPUP "&Datoteka" {
MENUITEM "&Odpri ...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "Na&tisni temo ...", MNID_FILE_PRINT
MENUITEM "&Priprava tiskalnika", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "Iz&hod", MNID_FILE_EXIT
}
POPUP "&Urejanje" {
MENUITEM "&Kopiraj", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Pripombe ...", MNID_EDIT_ANNOTATE
}
POPUP "&Zaznamek" {
MENUITEM "&Doloèi ...", MNID_BKMK_DEFINE
}
POPUP "&Pomoè" {
MENUITEM "&O pomoèi", MNID_HELP_HELPON
MENUITEM "Vedno na &vrhu", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Informacije ...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&O WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE Pomoè"
STID_WHERROR, "NAPAKA"
STID_WARNING, "OPOZORILO"
STID_INFO, "Informacija"
STID_NOT_IMPLEMENTED, "Ni (še) na voljo"
STID_HLPFILE_ERROR_s, "Napaka pri branju datoteke `%s'"
STID_CONTENTS, "&Teme pomoèi"
STID_SEARCH, "&Iskanje"
STID_BACK, "&Nazaj"
STID_HISTORY, "&Zgodovina"
STID_TOPICS, "&Vsebina"
STID_ALL_FILES, "Vse datiteke (*.*)"
STID_HELP_FILES_HLP, "Datoteke s pomoèjo (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,66 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
MAIN_MENU MENU LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
{
POPUP "&Súbor" {
MENUITEM "&Otvori<72>...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Tlaèi<C3A8>", MNID_FILE_PRINT
MENUITEM "&Nastavenie tlaèe...", MNID_FILE_SETUP
MENUITEM "U&konèi<C3A8>", MNID_FILE_EXIT
}
POPUP "&Upravi<76>" {
MENUITEM "Kopí&rova<76>...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Skomentova<76>...", MNID_EDIT_ANNOTATE
}
POPUP "&Záložka" {
MENUITEM "&Definova<76>...", MNID_BKMK_DEFINE
}
POPUP "&Pomoc" {
MENUITEM "Pomoc &na pomoci", MNID_HELP_HELPON
MENUITEM "Vždy na &vrchu", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Info...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "O& WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE Pomoc"
STID_WHERROR, "CHYBA"
STID_WARNING, "VAROVANIE"
STID_INFO, "Informácie"
STID_NOT_IMPLEMENTED, "Neimplementované"
STID_HLPFILE_ERROR_s, "Chyba poèas èítania súboru `%s'"
STID_CONTENTS, "&Obsah"
STID_SEARCH, "&H¾ada<64>"
STID_BACK, "&Spä<70>"
STID_HISTORY, "&História"
STID_TOPICS, "&Topics"
STID_ALL_FILES, "Všetky súbory (*.*)"
STID_HELP_FILES_HLP, "Súbory pomoci (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,72 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Swedish language by Karl Backström <karl_b@geocities.com>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
{
POPUP "&Arkiv" {
MENUITEM "&Öppna...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Skriv ut", MNID_FILE_PRINT
MENUITEM "Skrivar &inställningar...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Avsluta", MNID_FILE_EXIT
}
POPUP "&Redigera" {
MENUITEM "&Kopiera...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Markera...", MNID_EDIT_ANNOTATE
}
POPUP "&Bokmärke" {
MENUITEM "&Defingera...", MNID_BKMK_DEFINE
}
POPUP "&Hjälp" {
MENUITEM "Användningen &av hjälp", MNID_HELP_HELPON
MENUITEM "Alltid &överst", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Information...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "&Om WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE Hjälp"
STID_WHERROR, "FEL"
STID_WARNING, "VARNING"
STID_INFO, "Information"
STID_NOT_IMPLEMENTED, "Ej implementererat"
STID_HLPFILE_ERROR_s, "FEL vid läsning av hjälp filen `%s'"
STID_CONTENTS, "&Innehåll"
STID_SEARCH, "&Sök"
STID_BACK, "&Tillbaka"
STID_HISTORY, "&Översikt"
STID_TOPICS, "T&opics"
STID_ALL_FILES, "Alla filer (*.*))"
STID_HELP_FILES_HLP, "Hjälp filer (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,69 @@
/*
* Turkish Resources for Help Viewer
*
* Copyright 2006 Fatih Aþýcý <fasici@linux-sevenler.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
{
POPUP "&Dosya" {
MENUITEM "&Aç", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "Ya&zdýr", MNID_FILE_PRINT
MENUITEM "&Yazýcý ayarlarý...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Çýkýþ", MNID_FILE_EXIT
}
POPUP "Dü&zen" {
MENUITEM "K&opyala...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Annotate...", MNID_EDIT_ANNOTATE
}
POPUP "Yer Ý&mleri" {
MENUITEM "&Tanýmla...", MNID_BKMK_DEFINE
}
POPUP "&Yardým" {
MENUITEM "&Yardým Kullanýmý", MNID_HELP_HELPON
MENUITEM "&Her Zaman Üstte", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Bilgi...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "WINE &Hakkýnda", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
{
STID_WINE_HELP, "WINE Yardým"
STID_WHERROR, "HATA"
STID_WARNING, "UYARI"
STID_INFO, "Bilgi"
STID_NOT_IMPLEMENTED, "Henüz tamamlanmadý"
STID_HLPFILE_ERROR_s, "'%s' yardým dosyasý açýlýrken hata"
STID_CONTENTS, "&Ýçindekiler"
STID_SEARCH, "&Ara"
STID_BACK, "&Geri"
STID_HISTORY, "Ge&çmiþ"
STID_TOPICS, "&Konular"
STID_ALL_FILES, "Tüm dosyalar (*.*)"
STID_HELP_FILES_HLP, "Yardým dosyalarý (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,76 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Rumantsch Ladin (Vallader) by mbaur@g26.ethz.ch
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
/*
* language : switzerland romanch
* not supported today
*/
MAIN_MENU MENU LANGUAGE LANG_, SUBLANG_DEFAULT
{
POPUP "&Datoteca" {
MENUITEM "&Rivir", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Stampar tema", MNID_FILE_PRINT
MENUITEM "&Installaziun dal stampader...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "&Finir", MNID_FILE_EXIT
}
POPUP "&Lavurar" {
MENUITEM "Capchar", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Annotaziun...", MNID_EDIT_ANNOTATE
}
POPUP "&Marca" {
MENUITEM "&Definir...", MNID_BKMK_DEFINE
}
POPUP "&Agüd" {
MENUITEM "&Douvrar l'agüd", MNID_HELP_HELPON
MENUITEM "Adüna da&vant", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "I&nfuormaziuns", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "Davart &WINE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_FRENCH, SUBLANG_DEFAULT
{
WINE_HELP, "WINE agüd"
WHERROR, "SBAGL"
WARNING, "ATTENZIUN"
INFO, "INFUORMAZIUN"
NOT_IMPLEMENTED, "Na implementa"
HLPFILE_ERROR_s, "Sbagl cun leger la datoteca d'agüd `%s'"
CONTENTS, "&Cuntgnü"
SEARCH, "&Tscherchar"
BACK, "&Inavo"
HISTORY, "&Fin qua"
TOPICS, "T&opics"
ALL_FILES, "Tuot las datotecas (*.*)"
HELP_FILES_HLP, "Datotecas d'agüd (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,76 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 1999 Pablo Saratxaga
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifdef LANG_WALON
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_WALON, SUBLANG_DEFAULT
{
POPUP "&Fitchî" {
MENUITEM "&Drovî...", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Rexhe", MNID_FILE_PRINT
MENUITEM "&Apontiaedje del scrirece...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "Moussî &Foû", MNID_FILE_EXIT
}
POPUP "&Candjî" {
MENUITEM "&Copyî...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "&Sicrîre...", MNID_EDIT_ANNOTATE
}
POPUP "&Rimårkes" {
MENUITEM "&Defini...", MNID_BKMK_DEFINE
}
POPUP "&Aide" {
MENUITEM "&Aide so l' Aide", MNID_HELP_HELPON
MENUITEM "Todi &Visibe", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "&Informåcion...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "Å &dfait di WINEE", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_WALON, SUBLANG_DEFAULT
{
STID_WINE_HELP, "Aidance di WINE"
STID_WHERROR, "AROKE"
STID_WARNING, "ADVERTIXHMINT"
STID_INFO, "Informåcion"
STID_NOT_IMPLEMENTED, "Nén co possibe"
STID_HLPFILE_ERROR_s, "Yåk n' a nén stî å moumint di lere li fitchî d' aide `%s'"
STID_CONTENTS, "Å&dvins"
STID_SEARCH, "C&werî"
STID_BACK, "Èn &Erî"
STID_HISTORY, "&Istwere"
STID_TOPICS, "&Topics"
STID_ALL_FILES, "Tos les fitchîs (*.*)"
STID_HELP_FILES_HLP, "Fitchîs d' aide (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}
#endif /* LANG_WALON */

View file

@ -0,0 +1,70 @@
/*
* Help Viewer
* Simplified Chinese Language Support
*
* Copyright 2002 liuspider <liuspider@yahoo.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Menu */
MAIN_MENU MENU LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
{
POPUP "文件(&F" {
MENUITEM "打开(&O", MNID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "打印(&P", MNID_FILE_PRINT
MENUITEM "打印机设置(&S...", MNID_FILE_SETUP
MENUITEM SEPARATOR
MENUITEM "退出(&E", MNID_FILE_EXIT
}
POPUP "编辑(&E" {
MENUITEM "复制(&C...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR
MENUITEM "注释(&A...", MNID_EDIT_ANNOTATE
}
POPUP "书签(&B" {
MENUITEM "定义(&D...", MNID_BKMK_DEFINE
}
POPUP "帮助(&H" {
MENUITEM "如何使用帮助(&O", MNID_HELP_HELPON
MENUITEM "总是在最前面(&T", MNID_HELP_HELPTOP
MENUITEM SEPARATOR
MENUITEM "资料信息(&I...", MNID_HELP_ABOUT
#ifdef WINELIB
MENUITEM "关于 WINE&A", MNID_HELP_WINE
#endif
}
}
/* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
{
STID_WINE_HELP, "WINE 帮助"
STID_WHERROR, "错误"
STID_WARNING, "警告"
STID_INFO, "信息"
STID_NOT_IMPLEMENTED, "未实现"
STID_HLPFILE_ERROR_s, "读入帮助文件 %s 时发生错误"
STID_CONTENTS, "内容(&C"
STID_SEARCH, "搜索(&S"
STID_BACK, "返回(&B"
STID_HISTORY, "历史(&H"
STID_TOPICS, "主题(&T"
STID_ALL_FILES, "所有文件 (*.*)"
STID_HELP_FILES_HLP, "帮助文件 (*.hlp)"
STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?"
}

View file

@ -0,0 +1,180 @@
/*
* Help Viewer - DLL callback into WineHelp
*
* Copyright 2004 Eric Pouech
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include "windows.h"
#include "winhelp.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winhelp);
static WORD CALLBACK WHD_GetFSError(void)
{
WINE_FIXME("()\n");
return 0;
}
static HANDLE CALLBACK WHD_Open(LPSTR name, BYTE flags)
{
unsigned mode = 0;
//WINE_FIXME("(%s %x)\n", wine_dbgstr_a(name), flags);
switch (flags)
{
case 0: mode = GENERIC_READ | GENERIC_WRITE; break;
case 2: mode = GENERIC_READ; break;
default: WINE_FIXME("Undocumented flags %x\n", flags);
}
return CreateFile(name, mode, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
}
static WORD CALLBACK WHD_Close(HANDLE fs)
{
WINE_FIXME("(%p)\n", fs);
CloseHandle(fs);
return 0;
}
static HANDLE CALLBACK WHD_OpenBag(HANDLE fs, LPSTR name, BYTE flags)
{
WINE_FIXME("(%p %s %x)\n", fs, name, flags);
return NULL;
}
static HANDLE CALLBACK WHD_CloseBag(HANDLE bag)
{
WINE_FIXME("()\n");
return NULL;
}
static LONG CALLBACK WHD_ReadBag(HANDLE bag, BYTE* ptr, LONG len)
{
WINE_FIXME("()\n");
return 0;
}
static LONG CALLBACK WHD_TellBag(HANDLE bag)
{
WINE_FIXME("()\n");
return 0;
}
static LONG CALLBACK WHD_SeekBag(HANDLE bag, LONG offset, WORD whence)
{
WINE_FIXME("()\n");
return 0;
}
static BOOL CALLBACK WHD_IsEofBag(HANDLE bag)
{
WINE_FIXME("()\n");
return FALSE;
}
static LONG CALLBACK WHD_SizeBag(HANDLE bag)
{
WINE_FIXME("()\n");
return 0;
}
static BOOL CALLBACK WHD_Access(HANDLE fs, LPSTR name, BYTE flags)
{
WINE_FIXME("()\n");
return FALSE;
}
static WORD CALLBACK WHD_LLInfoFromBag(HANDLE bag, WORD opt, LPWORD p1, LPLONG p2, LPLONG p3)
{
WINE_FIXME("()\n");
return 0;
}
static WORD CALLBACK WHD_LLInfoFromFile(HANDLE fs, LPSTR name, WORD opt, LPWORD p1, LPLONG p2, LPLONG p3)
{
WINE_FIXME("()\n");
return 0;
}
static void CALLBACK WHD_Error(int err)
{
WINE_FIXME("()\n");
}
static void CALLBACK WHD_ErrorString(LPSTR err)
{
WINE_FIXME("()\n");
}
static LONG CALLBACK WHD_GetInfo(WORD what, HWND hnd)
{
LONG ret = 0;
WINE_TRACE("(%x %p)\n", what, hnd);
switch (what)
{
case 0: break;
case 1: /* instance */ ret = (LONG)Globals.hInstance; break;
case 3: /* current window */ ret = (LONG)Globals.active_win->hMainWnd; break;
case 2: /* main window */
case 4: /* handle to opened file */
case 5: /* foreground color */
case 6: /* background color */
case 7: /* topic number */
case 8: /* current opened file name */
WINE_FIXME("NIY %u\n", what);
break;
default:
WINE_FIXME("Undocumented %u\n", what);
break;
}
return ret;
}
static LONG CALLBACK WHD_API(LPSTR x, WORD xx, DWORD xxx)
{
WINE_FIXME("()\n");
return 0;
}
FARPROC Callbacks[] =
{
(FARPROC)WHD_GetFSError,
(FARPROC)WHD_Open,
(FARPROC)WHD_Close,
(FARPROC)WHD_OpenBag,
(FARPROC)WHD_CloseBag,
(FARPROC)WHD_ReadBag,
(FARPROC)WHD_TellBag,
(FARPROC)WHD_SeekBag,
(FARPROC)WHD_IsEofBag,
(FARPROC)WHD_SizeBag,
(FARPROC)WHD_Access,
(FARPROC)WHD_LLInfoFromBag,
(FARPROC)WHD_LLInfoFromFile,
(FARPROC)WHD_Error,
(FARPROC)WHD_ErrorString,
(FARPROC)WHD_GetInfo,
(FARPROC)WHD_API
};

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,163 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* 2002 Eric Pouech
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
struct tagHelpFile;
typedef struct
{
char type[10];
char name[9];
char caption[51];
POINT origin;
SIZE size;
int style;
DWORD win_style;
COLORREF sr_color; /* color for scrollable region */
COLORREF nsr_color; /* color for non scrollable region */
} HLPFILE_WINDOWINFO;
typedef struct
{
enum {hlp_link_link, hlp_link_popup, hlp_link_macro} cookie;
LPCSTR lpszString; /* name of the file to for the link (NULL if same file) */
LONG lHash; /* topic index */
unsigned bClrChange : 1, /* true if the link is green & underlined */
wRefCount; /* number of internal references to this object */
unsigned window; /* window number for displaying the link (-1 is current) */
} HLPFILE_LINK;
enum para_type {para_normal_text, para_debug_text, para_bitmap, para_metafile};
typedef struct tagHlpFileParagraph
{
enum para_type cookie;
union
{
struct
{
LPSTR lpszText;
unsigned wFont;
unsigned wIndent;
unsigned wHSpace;
unsigned wVSpace;
} text;
struct
{
unsigned pos; /* 0: center, 1: left, 2: right */
union
{
struct
{
HBITMAP hBitmap;
} bmp;
METAFILEPICT mfp;
} u;
} gfx; /* for bitmaps and metafiles */
} u;
HLPFILE_LINK* link;
struct tagHlpFileParagraph* next;
} HLPFILE_PARAGRAPH;
typedef struct tagHlpFileMacro
{
LPCSTR lpszMacro;
struct tagHlpFileMacro* next;
} HLPFILE_MACRO;
typedef struct tagHlpFilePage
{
LPSTR lpszTitle;
HLPFILE_PARAGRAPH* first_paragraph;
HLPFILE_MACRO* first_macro;
unsigned wNumber;
unsigned offset;
struct tagHlpFilePage* next;
struct tagHlpFilePage* prev;
DWORD browse_bwd;
DWORD browse_fwd;
struct tagHlpFileFile* file;
} HLPFILE_PAGE;
typedef struct
{
LONG lHash;
unsigned long offset;
} HLPFILE_CONTEXT;
typedef struct
{
LONG lMap;
unsigned long offset;
} HLPFILE_MAP;
typedef struct
{
LOGFONT LogFont;
HFONT hFont;
COLORREF color;
} HLPFILE_FONT;
typedef struct tagHlpFileFile
{
LPSTR lpszPath;
LPSTR lpszTitle;
LPSTR lpszCopyright;
HLPFILE_PAGE* first_page;
HLPFILE_MACRO* first_macro;
unsigned wContextLen;
HLPFILE_CONTEXT* Context;
unsigned wMapLen;
HLPFILE_MAP* Map;
unsigned long contents_start;
struct tagHlpFileFile* prev;
struct tagHlpFileFile* next;
unsigned wRefCount;
unsigned short version;
unsigned short flags;
unsigned hasPhrases; /* Phrases or PhrIndex/PhrImage */
unsigned numBmps;
HBITMAP* bmps;
unsigned numFonts;
HLPFILE_FONT* fonts;
unsigned numWindows;
HLPFILE_WINDOWINFO* windows;
} HLPFILE;
HLPFILE* HLPFILE_ReadHlpFile(LPCSTR lpszPath);
HLPFILE_PAGE* HLPFILE_Contents(HLPFILE* hlpfile);
HLPFILE_PAGE* HLPFILE_PageByHash(HLPFILE* hlpfile, LONG lHash);
HLPFILE_PAGE* HLPFILE_PageByMap(HLPFILE* hlpfile, LONG lMap);
HLPFILE_PAGE* HLPFILE_PageByOffset(HLPFILE* hlpfile, LONG offset);
LONG HLPFILE_Hash(LPCSTR lpszContext);
void HLPFILE_FreeLink(HLPFILE_LINK* link);
void HLPFILE_FreeHlpFile(HLPFILE*);

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,928 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Eric Pouech
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include "windows.h"
#include "commdlg.h"
#include "winhelp.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winhelp);
/**************************************************/
/* Macro table */
/**************************************************/
struct MacroDesc {
const char* name;
const char* alias;
BOOL isBool;
const char* arguments;
FARPROC fn;
};
/* types:
* U: 32 bit unsigned int
* I: 32 bit signed int
* S: string
* v: unknown (32 bit entity)
*/
static struct MacroDesc MACRO_Builtins[] = {
{"About", NULL, 0, "", (FARPROC)MACRO_About},
{"AddAccelerator", "AA", 0, "UUS", (FARPROC)MACRO_AddAccelerator},
{"ALink", "AL", 0, "SUS", (FARPROC)MACRO_ALink},
{"Annotate", NULL, 0, "", (FARPROC)MACRO_Annotate},
{"AppendItem", NULL, 0, "SSSS", (FARPROC)MACRO_AppendItem},
{"Back", NULL, 0, "", (FARPROC)MACRO_Back},
{"BackFlush", "BF", 0, "", (FARPROC)MACRO_BackFlush},
{"BookmarkDefine", NULL, 0, "", (FARPROC)MACRO_BookmarkDefine},
{"BookmarkMore", NULL, 0, "", (FARPROC)MACRO_BookmarkMore},
{"BrowseButtons", NULL, 0, "", (FARPROC)MACRO_BrowseButtons},
{"ChangeButtonBinding", "CBB",0, "SS", (FARPROC)MACRO_ChangeButtonBinding},
{"ChangeEnable", "CE", 0, "SS", (FARPROC)MACRO_ChangeEnable},
{"ChangeItemBinding", "CIB",0, "SS", (FARPROC)MACRO_ChangeItemBinding},
{"CheckItem", "CI", 0, "S", (FARPROC)MACRO_CheckItem},
{"CloseSecondarys", "CS", 0, "", (FARPROC)MACRO_CloseSecondarys},
{"CloseWindow", "CW", 0, "S", (FARPROC)MACRO_CloseWindow},
{"Compare", NULL, 0, "S", (FARPROC)MACRO_Compare},
{"Contents", NULL, 0, "", (FARPROC)MACRO_Contents},
{"ControlPanel", NULL, 0, "SSU", (FARPROC)MACRO_ControlPanel},
{"CopyDialog", NULL, 0, "", (FARPROC)MACRO_CopyDialog},
{"CopyTopic", "CT", 0, "", (FARPROC)MACRO_CopyTopic},
{"CreateButton", "CB", 0, "SSS", (FARPROC)MACRO_CreateButton},
{"DeleteItem", NULL, 0, "S", (FARPROC)MACRO_DeleteItem},
{"DeleteMark", NULL, 0, "S", (FARPROC)MACRO_DeleteMark},
{"DestroyButton", NULL, 0, "S", (FARPROC)MACRO_DestroyButton},
{"DisableButton", "DB", 0, "S", (FARPROC)MACRO_DisableButton},
{"DisableItem", "DI", 0, "S", (FARPROC)MACRO_DisableItem},
{"EnableButton", "EB", 0, "S", (FARPROC)MACRO_EnableButton},
{"EnableItem", "EI", 0, "S", (FARPROC)MACRO_EnableItem},
{"EndMPrint", NULL, 0, "", (FARPROC)MACRO_EndMPrint},
{"ExecFile", "EF", 0, "SSUS", (FARPROC)MACRO_ExecFile},
{"ExecProgram", "EP", 0, "SU", (FARPROC)MACRO_ExecProgram},
{"Exit", NULL, 0, "", (FARPROC)MACRO_Exit},
{"ExtAbleItem", NULL, 0, "SU", (FARPROC)MACRO_ExtAbleItem},
{"ExtInsertItem", NULL, 0, "SSSSUU", (FARPROC)MACRO_ExtInsertItem},
{"ExtInsertMenu", NULL, 0, "SSSUU", (FARPROC)MACRO_ExtInsertMenu},
{"FileExist", "FE", 1, "S", (FARPROC)MACRO_FileExist},
{"FileOpen", "FO", 0, "", (FARPROC)MACRO_FileOpen},
{"Find", NULL, 0, "", (FARPROC)MACRO_Find},
{"Finder", "FD", 0, "", (FARPROC)MACRO_Finder},
{"FloatingMenu", NULL, 0, "", (FARPROC)MACRO_FloatingMenu},
{"Flush", "FH", 0, "", (FARPROC)MACRO_Flush},
{"FocusWindow", NULL, 0, "S", (FARPROC)MACRO_FocusWindow},
{"Generate", NULL, 0, "SUU", (FARPROC)MACRO_Generate},
{"GotoMark", NULL, 0, "S", (FARPROC)MACRO_GotoMark},
{"HelpOn", NULL, 0, "", (FARPROC)MACRO_HelpOn},
{"HelpOnTop", NULL, 0, "", (FARPROC)MACRO_HelpOnTop},
{"History", NULL, 0, "", (FARPROC)MACRO_History},
{"InitMPrint", NULL, 1, "", (FARPROC)MACRO_InitMPrint},
{"InsertItem", NULL, 0, "SSSSU", (FARPROC)MACRO_InsertItem},
{"InsertMenu", NULL, 0, "SSU", (FARPROC)MACRO_InsertMenu},
{"IfThen", "IF", 0, "BS", (FARPROC)MACRO_IfThen},
{"IfThenElse", "IE", 0, "BSS", (FARPROC)MACRO_IfThenElse},
{"IsBook", NULL, 1, "", (FARPROC)MACRO_IsBook},
{"IsMark", NULL, 1, "S", (FARPROC)MACRO_IsMark},
{"IsNotMark", "NM", 1, "S", (FARPROC)MACRO_IsNotMark},
{"JumpContents", NULL, 0, "SS", (FARPROC)MACRO_JumpContents},
{"JumpContext", "JC", 0, "SSU", (FARPROC)MACRO_JumpContext},
{"JumpHash", "JH", 0, "SSU", (FARPROC)MACRO_JumpHash},
{"JumpHelpOn", NULL, 0, "", (FARPROC)MACRO_JumpHelpOn},
{"JumpID", "JI", 0, "SSS", (FARPROC)MACRO_JumpID},
{"JumpKeyword", "JK", 0, "SSS", (FARPROC)MACRO_JumpKeyword},
{"KLink", "KL", 0, "SUSS", (FARPROC)MACRO_KLink},
{"Menu", "MU", 0, "", (FARPROC)MACRO_Menu},
{"MPrintHash", NULL, 0, "U", (FARPROC)MACRO_MPrintHash},
{"MPrintID", NULL, 0, "S", (FARPROC)MACRO_MPrintID},
{"Next", NULL, 0, "", (FARPROC)MACRO_Next},
{"NoShow", NULL, 0, "", (FARPROC)MACRO_NoShow},
{"PopupContext", "PC", 0, "SU", (FARPROC)MACRO_PopupContext},
{"PopupHash", NULL, 0, "SU", (FARPROC)MACRO_PopupHash},
{"PopupId", "PI", 0, "SS", (FARPROC)MACRO_PopupId},
{"PositionWindow", "PW", 0, "IIUUUS", (FARPROC)MACRO_PositionWindow},
{"Prev", NULL, 0, "", (FARPROC)MACRO_Prev},
{"Print", NULL, 0, "", (FARPROC)MACRO_Print},
{"PrinterSetup", NULL, 0, "", (FARPROC)MACRO_PrinterSetup},
{"RegisterRoutine", "RR", 0, "SSS", (FARPROC)MACRO_RegisterRoutine},
{"RemoveAccelerator", "RA", 0, "UU", (FARPROC)MACRO_RemoveAccelerator},
{"ResetMenu", NULL, 0, "", (FARPROC)MACRO_ResetMenu},
{"SaveMark", NULL, 0, "S", (FARPROC)MACRO_SaveMark},
{"Search", NULL, 0, "", (FARPROC)MACRO_Search},
{"SetContents", NULL, 0, "SU", (FARPROC)MACRO_SetContents},
{"SetHelpOnFile", NULL, 0, "S", (FARPROC)MACRO_SetHelpOnFile},
{"SetPopupColor", "SPC",0, "UUU", (FARPROC)MACRO_SetPopupColor},
{"ShellExecute", "SE", 0, "SSUUSS", (FARPROC)MACRO_ShellExecute},
{"ShortCut", "SH", 0, "SSUUS", (FARPROC)MACRO_ShortCut},
{"TCard", NULL, 0, "U", (FARPROC)MACRO_TCard},
{"Test", NULL, 0, "U", (FARPROC)MACRO_Test},
{"TestALink", NULL, 1, "S", (FARPROC)MACRO_TestALink},
{"TestKLink", NULL, 1, "S", (FARPROC)MACRO_TestKLink},
{"UncheckItem", "UI", 0, "S", (FARPROC)MACRO_UncheckItem},
{"UpdateWindow", "UW", 0, "SS", (FARPROC)MACRO_UpdateWindow},
{NULL, NULL, 0, NULL, NULL}
};
static struct MacroDesc*MACRO_Loaded /* = NULL */;
static unsigned MACRO_NumLoaded /* = 0 */;
static int MACRO_DoLookUp(struct MacroDesc* start, const char* name, struct lexret* lr, unsigned len)
{
struct MacroDesc* md;
for (md = start; md->name && len != 0; md++, len--)
{
if (strcasecmp(md->name, name) == 0 || (md->alias != NULL && strcasecmp(md->alias, name) == 0))
{
lr->proto = md->arguments;
lr->function = md->fn;
return md->isBool ? BOOL_FUNCTION : VOID_FUNCTION;
}
}
return EMPTY;
}
int MACRO_Lookup(const char* name, struct lexret* lr)
{
int ret;
if ((ret = MACRO_DoLookUp(MACRO_Builtins, name, lr, -1)) != EMPTY)
return ret;
if (MACRO_Loaded && (ret = MACRO_DoLookUp(MACRO_Loaded, name, lr, MACRO_NumLoaded)) != EMPTY)
return ret;
lr->string = name;
return IDENTIFIER;
}
/******* helper functions *******/
static WINHELP_BUTTON** MACRO_LookupButton(WINHELP_WINDOW* win, LPCSTR name)
{
WINHELP_BUTTON** b;
for (b = &win->first_button; *b; b = &(*b)->next)
if (!lstrcmpi(name, (*b)->lpszID)) break;
return b;
}
/******* real macro implementation *******/
void CALLBACK MACRO_About(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_AddAccelerator(LONG u1, LONG u2, LPCSTR str)
{
WINE_FIXME("(%u, %u, \"%s\")\n", u1, u2, str);
}
void CALLBACK MACRO_ALink(LPCSTR str1, LONG u, LPCSTR str2)
{
WINE_FIXME("(\"%s\", %u, \"%s\")\n", str1, u, str2);
}
void CALLBACK MACRO_Annotate(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_AppendItem(LPCSTR str1, LPCSTR str2, LPCSTR str3, LPCSTR str4)
{
WINE_FIXME("(\"%s\", \"%s\", \"%s\", \"%s\")\n", str1, str2, str3, str4);
}
void CALLBACK MACRO_Back(void)
{
WINHELP_WINDOW* win = Globals.active_win;
WINE_TRACE("()\n");
if (win && win->backIndex >= 2)
WINHELP_CreateHelpWindow(win->back[--win->backIndex - 1],
win->info, SW_SHOW);
}
void CALLBACK MACRO_BackFlush(void)
{
WINHELP_WINDOW* win = Globals.active_win;
WINE_TRACE("()\n");
if (win)
{
int i;
for (i = 0; i < win->backIndex; i++)
{
HLPFILE_FreeHlpFile(win->back[i]->file);
win->back[i] = NULL;
}
win->backIndex = 0;
}
}
void CALLBACK MACRO_BookmarkDefine(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_BookmarkMore(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_BrowseButtons(void)
{
WINE_TRACE("()\n");
MACRO_CreateButton("BTN_PREV", "&<<", "Prev()");
MACRO_CreateButton("BTN_NEXT", "&>>", "Next()");
}
void CALLBACK MACRO_ChangeButtonBinding(LPCSTR id, LPCSTR macro)
{
WINHELP_WINDOW* win = Globals.active_win;
WINHELP_BUTTON* button;
WINHELP_BUTTON** b;
LONG size;
LPSTR ptr;
WINE_TRACE("(\"%s\", \"%s\")\n", id, macro);
b = MACRO_LookupButton(win, id);
if (!*b) {WINE_FIXME("Couldn't find button '%s'\n", id); return;}
size = sizeof(WINHELP_BUTTON) + lstrlen(id) +
lstrlen((*b)->lpszName) + lstrlen(macro) + 3;
button = HeapAlloc(GetProcessHeap(), 0, size);
if (!button) return;
button->next = (*b)->next;
button->hWnd = (*b)->hWnd;
button->wParam = (*b)->wParam;
ptr = (char*)button + sizeof(WINHELP_BUTTON);
lstrcpy(ptr, id);
button->lpszID = ptr;
ptr += lstrlen(id) + 1;
lstrcpy(ptr, (*b)->lpszName);
button->lpszName = ptr;
ptr += lstrlen((*b)->lpszName) + 1;
lstrcpy(ptr, macro);
button->lpszMacro = ptr;
*b = button;
SendMessage(win->hMainWnd, WM_USER, 0, 0);
}
void CALLBACK MACRO_ChangeEnable(LPCSTR id, LPCSTR macro)
{
WINE_TRACE("(\"%s\", \"%s\")\n", id, macro);
MACRO_ChangeButtonBinding(id, macro);
MACRO_EnableButton(id);
}
void CALLBACK MACRO_ChangeItemBinding(LPCSTR str1, LPCSTR str2)
{
WINE_FIXME("(\"%s\", \"%s\")\n", str1, str2);
}
void CALLBACK MACRO_CheckItem(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_CloseSecondarys(void)
{
WINHELP_WINDOW *win;
WINE_TRACE("()\n");
for (win = Globals.win_list; win; win = win->next)
if (win->lpszName && lstrcmpi(win->lpszName, "main"))
DestroyWindow(win->hMainWnd);
}
void CALLBACK MACRO_CloseWindow(LPCSTR lpszWindow)
{
WINHELP_WINDOW *win;
WINE_TRACE("(\"%s\")\n", lpszWindow);
if (!lpszWindow || !lpszWindow[0]) lpszWindow = "main";
for (win = Globals.win_list; win; win = win->next)
if (win->lpszName && !lstrcmpi(win->lpszName, lpszWindow))
DestroyWindow(win->hMainWnd);
}
void CALLBACK MACRO_Compare(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_Contents(void)
{
WINE_TRACE("()\n");
if (Globals.active_win->page)
MACRO_JumpContents(Globals.active_win->page->file->lpszPath, NULL);
}
void CALLBACK MACRO_ControlPanel(LPCSTR str1, LPCSTR str2, LONG u)
{
WINE_FIXME("(\"%s\", \"%s\", %u)\n", str1, str2, u);
}
void CALLBACK MACRO_CopyDialog(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_CopyTopic(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_CreateButton(LPCSTR id, LPCSTR name, LPCSTR macro)
{
WINHELP_WINDOW *win = Globals.active_win;
WINHELP_BUTTON *button, **b;
LONG size;
LPSTR ptr;
WINE_TRACE("(\"%s\", \"%s\", %s)\n", id, name, macro);
size = sizeof(WINHELP_BUTTON) + lstrlen(id) + lstrlen(name) + lstrlen(macro) + 3;
button = HeapAlloc(GetProcessHeap(), 0, size);
if (!button) return;
button->next = 0;
button->hWnd = 0;
ptr = (char*)button + sizeof(WINHELP_BUTTON);
lstrcpy(ptr, id);
button->lpszID = ptr;
ptr += lstrlen(id) + 1;
lstrcpy(ptr, name);
button->lpszName = ptr;
ptr += lstrlen(name) + 1;
lstrcpy(ptr, macro);
button->lpszMacro = ptr;
button->wParam = WH_FIRST_BUTTON;
for (b = &win->first_button; *b; b = &(*b)->next)
button->wParam = max(button->wParam, (*b)->wParam + 1);
*b = button;
SendMessage(win->hMainWnd, WM_USER, 0, 0);
}
void CALLBACK MACRO_DeleteItem(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_DeleteMark(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_DestroyButton(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_DisableButton(LPCSTR id)
{
WINHELP_BUTTON** b;
WINE_FIXME("(\"%s\")\n", id);
b = MACRO_LookupButton(Globals.active_win, id);
if (!*b) {WINE_FIXME("Couldn't find button '%s'\n", id); return;}
EnableWindow((*b)->hWnd, FALSE);
}
void CALLBACK MACRO_DisableItem(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_EnableButton(LPCSTR id)
{
WINHELP_BUTTON** b;
WINE_TRACE("(\"%s\")\n", id);
b = MACRO_LookupButton(Globals.active_win, id);
if (!*b) {WINE_FIXME("Couldn't find button '%s'\n", id); return;}
EnableWindow((*b)->hWnd, TRUE);
}
void CALLBACK MACRO_EnableItem(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_EndMPrint(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_ExecFile(LPCSTR str1, LPCSTR str2, LONG u, LPCSTR str3)
{
WINE_FIXME("(\"%s\", \"%s\", %u, \"%s\")\n", str1, str2, u, str3);
}
void CALLBACK MACRO_ExecProgram(LPCSTR str, LONG u)
{
WINE_FIXME("(\"%s\", %u)\n", str, u);
}
void CALLBACK MACRO_Exit(void)
{
WINE_TRACE("()\n");
while (Globals.win_list)
DestroyWindow(Globals.win_list->hMainWnd);
}
void CALLBACK MACRO_ExtAbleItem(LPCSTR str, LONG u)
{
WINE_FIXME("(\"%s\", %u)\n", str, u);
}
void CALLBACK MACRO_ExtInsertItem(LPCSTR str1, LPCSTR str2, LPCSTR str3, LPCSTR str4, LONG u1, LONG u2)
{
WINE_FIXME("(\"%s\", \"%s\", \"%s\", \"%s\", %u, %u)\n", str1, str2, str3, str4, u1, u2);
}
void CALLBACK MACRO_ExtInsertMenu(LPCSTR str1, LPCSTR str2, LPCSTR str3, LONG u1, LONG u2)
{
WINE_FIXME("(\"%s\", \"%s\", \"%s\", %u, %u)\n", str1, str2, str3, u1, u2);
}
BOOL CALLBACK MACRO_FileExist(LPCSTR str)
{
WINE_TRACE("(\"%s\")\n", str);
return GetFileAttributes(str) != INVALID_FILE_ATTRIBUTES;
}
void CALLBACK MACRO_FileOpen(void)
{
char szFile[MAX_PATH];
if (WINHELP_GetOpenFileName(szFile, MAX_PATH))
{
HLPFILE* hlpfile = WINHELP_LookupHelpFile(szFile);
WINHELP_CreateHelpWindowByHash(hlpfile, 0,
WINHELP_GetWindowInfo(hlpfile, "main"), SW_SHOWNORMAL);
}
}
void CALLBACK MACRO_Find(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_Finder(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_FloatingMenu(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_Flush(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_FocusWindow(LPCSTR lpszWindow)
{
WINHELP_WINDOW *win;
WINE_TRACE("(\"%s\")\n", lpszWindow);
if (!lpszWindow || !lpszWindow[0]) lpszWindow = "main";
for (win = Globals.win_list; win; win = win->next)
if (win->lpszName && !lstrcmpi(win->lpszName, lpszWindow))
SetFocus(win->hMainWnd);
}
void CALLBACK MACRO_Generate(LPCSTR str, LONG w, LONG l)
{
WINE_FIXME("(\"%s\", %x, %x)\n", str, w, l);
}
void CALLBACK MACRO_GotoMark(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_HelpOn(void)
{
WINE_TRACE("()\n");
MACRO_JumpContents((Globals.wVersion > 4) ? "winhelp32.hlp" : "winhelp.hlp", NULL);
}
void CALLBACK MACRO_HelpOnTop(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_History(void)
{
WINE_TRACE("()\n");
if (Globals.active_win && !Globals.active_win->hHistoryWnd)
{
HWND hWnd = CreateWindow(HISTORY_WIN_CLASS_NAME, "History", WS_OVERLAPPEDWINDOW,
0, 0, 0, 0, 0, 0, Globals.hInstance, Globals.active_win);
ShowWindow(hWnd, SW_NORMAL);
}
}
void CALLBACK MACRO_IfThen(BOOL b, LPCSTR t)
{
if (b) MACRO_ExecuteMacro(t);
}
void CALLBACK MACRO_IfThenElse(BOOL b, LPCSTR t, LPCSTR f)
{
if (b) MACRO_ExecuteMacro(t); else MACRO_ExecuteMacro(f);
}
BOOL CALLBACK MACRO_InitMPrint(void)
{
WINE_FIXME("()\n");
return FALSE;
}
void CALLBACK MACRO_InsertItem(LPCSTR str1, LPCSTR str2, LPCSTR str3, LPCSTR str4, LONG u)
{
WINE_FIXME("(\"%s\", \"%s\", \"%s\", \"%s\", %u)\n", str1, str2, str3, str4, u);
}
void CALLBACK MACRO_InsertMenu(LPCSTR str1, LPCSTR str2, LONG u)
{
WINE_FIXME("(\"%s\", \"%s\", %u)\n", str1, str2, u);
}
BOOL CALLBACK MACRO_IsBook(void)
{
WINE_TRACE("()\n");
return Globals.isBook;
}
BOOL CALLBACK MACRO_IsMark(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
return FALSE;
}
BOOL CALLBACK MACRO_IsNotMark(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
return TRUE;
}
void CALLBACK MACRO_JumpContents(LPCSTR lpszPath, LPCSTR lpszWindow)
{
HLPFILE* hlpfile;
WINE_TRACE("(\"%s\", \"%s\")\n", lpszPath, lpszWindow);
hlpfile = WINHELP_LookupHelpFile(lpszPath);
WINHELP_CreateHelpWindowByHash(hlpfile, 0,
WINHELP_GetWindowInfo(hlpfile, lpszWindow),
SW_NORMAL);
}
void CALLBACK MACRO_JumpContext(LPCSTR lpszPath, LPCSTR lpszWindow, LONG context)
{
HLPFILE* hlpfile;
WINE_TRACE("(\"%s\", \"%s\", %d)\n", lpszPath, lpszWindow, context);
hlpfile = WINHELP_LookupHelpFile(lpszPath);
/* Some madness: what user calls 'context', hlpfile calls 'map' */
WINHELP_CreateHelpWindowByMap(hlpfile, context,
WINHELP_GetWindowInfo(hlpfile, lpszWindow),
SW_NORMAL);
}
void CALLBACK MACRO_JumpHash(LPCSTR lpszPath, LPCSTR lpszWindow, LONG lHash)
{
HLPFILE* hlpfile;
WINE_TRACE("(\"%s\", \"%s\", %u)\n", lpszPath, lpszWindow, lHash);
hlpfile = WINHELP_LookupHelpFile(lpszPath);
WINHELP_CreateHelpWindowByHash(hlpfile, lHash,
WINHELP_GetWindowInfo(hlpfile, lpszWindow),
SW_NORMAL);
}
void CALLBACK MACRO_JumpHelpOn(void)
{
WINE_FIXME("()\n");
}
/* FIXME: those two macros are wrong
* they should only contain 2 strings, path & window are coded as path>window
*/
void CALLBACK MACRO_JumpID(LPCSTR lpszPath, LPCSTR lpszWindow, LPCSTR topic_id)
{
WINE_TRACE("(\"%s\", \"%s\", \"%s\")\n", lpszPath, lpszWindow, topic_id);
MACRO_JumpHash(lpszPath, lpszWindow, HLPFILE_Hash(topic_id));
}
void CALLBACK MACRO_JumpKeyword(LPCSTR lpszPath, LPCSTR lpszWindow, LPCSTR keyword)
{
WINE_FIXME("(\"%s\", \"%s\", \"%s\")\n", lpszPath, lpszWindow, keyword);
}
void CALLBACK MACRO_KLink(LPCSTR str1, LONG u, LPCSTR str2, LPCSTR str3)
{
WINE_FIXME("(\"%s\", %u, \"%s\", \"%s\")\n", str1, u, str2, str3);
}
void CALLBACK MACRO_Menu(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_MPrintHash(LONG u)
{
WINE_FIXME("(%u)\n", u);
}
void CALLBACK MACRO_MPrintID(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_Next(void)
{
HLPFILE_PAGE* page;
WINE_TRACE("()\n");
page = Globals.active_win->page;
page = HLPFILE_PageByOffset(page->file, page->browse_fwd);
if (page)
{
page->file->wRefCount++;
WINHELP_CreateHelpWindow(page, Globals.active_win->info, SW_NORMAL);
}
}
void CALLBACK MACRO_NoShow(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_PopupContext(LPCSTR str, LONG u)
{
WINE_FIXME("(\"%s\", %u)\n", str, u);
}
void CALLBACK MACRO_PopupHash(LPCSTR str, LONG u)
{
WINE_FIXME("(\"%s\", %u)\n", str, u);
}
void CALLBACK MACRO_PopupId(LPCSTR str1, LPCSTR str2)
{
WINE_FIXME("(\"%s\", \"%s\")\n", str1, str2);
}
void CALLBACK MACRO_PositionWindow(LONG i1, LONG i2, LONG u1, LONG u2, LONG u3, LPCSTR str)
{
WINE_FIXME("(%i, %i, %u, %u, %u, \"%s\")\n", i1, i2, u1, u2, u3, str);
}
void CALLBACK MACRO_Prev(void)
{
HLPFILE_PAGE* page;
WINE_TRACE("()\n");
page = Globals.active_win->page;
page = HLPFILE_PageByOffset(page->file, page->browse_bwd);
if (page)
{
page->file->wRefCount++;
WINHELP_CreateHelpWindow(page, Globals.active_win->info, SW_NORMAL);
}
}
void CALLBACK MACRO_Print(void)
{
PRINTDLG printer;
WINE_TRACE("()\n");
printer.lStructSize = sizeof(printer);
printer.hwndOwner = Globals.active_win->hMainWnd;
printer.hInstance = Globals.hInstance;
printer.hDevMode = 0;
printer.hDevNames = 0;
printer.hDC = 0;
printer.Flags = 0;
printer.nFromPage = 0;
printer.nToPage = 0;
printer.nMinPage = 0;
printer.nMaxPage = 0;
printer.nCopies = 0;
printer.lCustData = 0;
printer.lpfnPrintHook = 0;
printer.lpfnSetupHook = 0;
printer.lpPrintTemplateName = 0;
printer.lpSetupTemplateName = 0;
printer.hPrintTemplate = 0;
printer.hSetupTemplate = 0;
if (PrintDlgA(&printer)) {
WINE_FIXME("Print()\n");
}
}
void CALLBACK MACRO_PrinterSetup(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_RegisterRoutine(LPCSTR dll_name, LPCSTR proc, LPCSTR args)
{
FARPROC fn = NULL;
int size;
WINHELP_DLL* dll;
WINE_TRACE("(\"%s\", \"%s\", \"%s\")\n", dll_name, proc, args);
/* FIXME: are the registered DLLs global or linked to the current file ???
* We assume globals (as we did for macros, but is this really the case ???)
*/
for (dll = Globals.dlls; dll; dll = dll->next)
{
if (!strcmp(dll->name, dll_name)) break;
}
if (!dll)
{
HANDLE hLib = LoadLibrary(dll_name);
/* FIXME: the library will not be unloaded until exit of program
* We don't send the DW_TERM message
*/
WINE_TRACE("Loading %s\n", dll_name);
/* FIXME: should look in the directory where current hlpfile
* is loaded from
*/
if (hLib == NULL)
{
/* FIXME: internationalisation for error messages */
WINE_FIXME("Cannot find dll %s\n", dll_name);
}
else if ((dll = HeapAlloc(GetProcessHeap(), 0, sizeof(*dll))))
{
dll->hLib = hLib;
dll->name = strdup(dll_name); /* FIXME */
dll->next = Globals.dlls;
Globals.dlls = dll;
dll->handler = (WINHELP_LDLLHandler)GetProcAddress(dll->hLib, "LDLLHandler");
dll->class = dll->handler ? (dll->handler)(DW_WHATMSG, 0, 0) : DC_NOMSG;
WINE_TRACE("Got class %x for DLL %s\n", dll->class, dll_name);
if (dll->class & DC_INITTERM) dll->handler(DW_INIT, 0, 0);
if (dll->class & DC_CALLBACKS) dll->handler(DW_CALLBACKS, (DWORD)Callbacks, 0);
}
else WINE_WARN("OOM\n");
}
if (dll && !(fn = GetProcAddress(dll->hLib, proc)))
{
/* FIXME: internationalisation for error messages */
WINE_FIXME("Cannot find proc %s in dll %s\n", dll_name, proc);
}
size = ++MACRO_NumLoaded * sizeof(struct MacroDesc);
if (!MACRO_Loaded) MACRO_Loaded = HeapAlloc(GetProcessHeap(), 0, size);
else MACRO_Loaded = HeapReAlloc(GetProcessHeap(), 0, MACRO_Loaded, size);
MACRO_Loaded[MACRO_NumLoaded - 1].name = strdup(proc); /* FIXME */
MACRO_Loaded[MACRO_NumLoaded - 1].alias = NULL;
MACRO_Loaded[MACRO_NumLoaded - 1].isBool = 0;
MACRO_Loaded[MACRO_NumLoaded - 1].arguments = strdup(args); /* FIXME */
MACRO_Loaded[MACRO_NumLoaded - 1].fn = fn;
WINE_TRACE("Added %s(%s) at %p\n", proc, args, fn);
}
void CALLBACK MACRO_RemoveAccelerator(LONG u1, LONG u2)
{
WINE_FIXME("(%u, %u)\n", u1, u2);
}
void CALLBACK MACRO_ResetMenu(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_SaveMark(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_Search(void)
{
WINE_FIXME("()\n");
}
void CALLBACK MACRO_SetContents(LPCSTR str, LONG u)
{
WINE_FIXME("(\"%s\", %u)\n", str, u);
}
void CALLBACK MACRO_SetHelpOnFile(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_SetPopupColor(LONG u1, LONG u2, LONG u3)
{
WINE_FIXME("(%u, %u, %u)\n", u1, u2, u3);
}
void CALLBACK MACRO_ShellExecute(LPCSTR str1, LPCSTR str2, LONG u1, LONG u2, LPCSTR str3, LPCSTR str4)
{
WINE_FIXME("(\"%s\", \"%s\", %u, %u, \"%s\", \"%s\")\n", str1, str2, u1, u2, str3, str4);
}
void CALLBACK MACRO_ShortCut(LPCSTR str1, LPCSTR str2, LONG w, LONG l, LPCSTR str)
{
WINE_FIXME("(\"%s\", \"%s\", %x, %x, \"%s\")\n", str1, str2, w, l, str);
}
void CALLBACK MACRO_TCard(LONG u)
{
WINE_FIXME("(%u)\n", u);
}
void CALLBACK MACRO_Test(LONG u)
{
WINE_FIXME("(%u)\n", u);
}
BOOL CALLBACK MACRO_TestALink(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
return FALSE;
}
BOOL CALLBACK MACRO_TestKLink(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
return FALSE;
}
void CALLBACK MACRO_UncheckItem(LPCSTR str)
{
WINE_FIXME("(\"%s\")\n", str);
}
void CALLBACK MACRO_UpdateWindow(LPCSTR str1, LPCSTR str2)
{
WINE_FIXME("(\"%s\", \"%s\")\n", str1, str2);
}

View file

@ -0,0 +1,140 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Eric Pouech
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __MACRO_H__
#define __MACRO_H__
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
struct lexret {
LPCSTR proto;
BOOL bool;
LONG integer;
LPCSTR string;
FARPROC function;
};
extern struct lexret yylval;
BOOL MACRO_ExecuteMacro(LPCSTR);
int MACRO_Lookup(const char* name, struct lexret* lr);
enum token_types {EMPTY, VOID_FUNCTION, BOOL_FUNCTION, INTEGER, STRING, IDENTIFIER};
void CALLBACK MACRO_About(void);
void CALLBACK MACRO_AddAccelerator(LONG, LONG, LPCSTR);
void CALLBACK MACRO_ALink(LPCSTR, LONG, LPCSTR);
void CALLBACK MACRO_Annotate(void);
void CALLBACK MACRO_AppendItem(LPCSTR, LPCSTR, LPCSTR, LPCSTR);
void CALLBACK MACRO_Back(void);
void CALLBACK MACRO_BackFlush(void);
void CALLBACK MACRO_BookmarkDefine(void);
void CALLBACK MACRO_BookmarkMore(void);
void CALLBACK MACRO_BrowseButtons(void);
void CALLBACK MACRO_ChangeButtonBinding(LPCSTR, LPCSTR);
void CALLBACK MACRO_ChangeEnable(LPCSTR, LPCSTR);
void CALLBACK MACRO_ChangeItemBinding(LPCSTR, LPCSTR);
void CALLBACK MACRO_CheckItem(LPCSTR);
void CALLBACK MACRO_CloseSecondarys(void);
void CALLBACK MACRO_CloseWindow(LPCSTR);
void CALLBACK MACRO_Compare(LPCSTR);
void CALLBACK MACRO_Contents(void);
void CALLBACK MACRO_ControlPanel(LPCSTR, LPCSTR, LONG);
void CALLBACK MACRO_CopyDialog(void);
void CALLBACK MACRO_CopyTopic(void);
void CALLBACK MACRO_CreateButton(LPCSTR, LPCSTR, LPCSTR);
void CALLBACK MACRO_DeleteItem(LPCSTR);
void CALLBACK MACRO_DeleteMark(LPCSTR);
void CALLBACK MACRO_DestroyButton(LPCSTR);
void CALLBACK MACRO_DisableButton(LPCSTR);
void CALLBACK MACRO_DisableItem(LPCSTR);
void CALLBACK MACRO_EnableButton(LPCSTR);
void CALLBACK MACRO_EnableItem(LPCSTR);
void CALLBACK MACRO_EndMPrint(void);
void CALLBACK MACRO_ExecFile(LPCSTR, LPCSTR, LONG, LPCSTR);
void CALLBACK MACRO_ExecProgram(LPCSTR, LONG);
void CALLBACK MACRO_Exit(void);
void CALLBACK MACRO_ExtAbleItem(LPCSTR, LONG);
void CALLBACK MACRO_ExtInsertItem(LPCSTR, LPCSTR, LPCSTR, LPCSTR, LONG, LONG);
void CALLBACK MACRO_ExtInsertMenu(LPCSTR, LPCSTR, LPCSTR, LONG, LONG);
BOOL CALLBACK MACRO_FileExist(LPCSTR);
void CALLBACK MACRO_FileOpen(void);
void CALLBACK MACRO_Find(void);
void CALLBACK MACRO_Finder(void);
void CALLBACK MACRO_FloatingMenu(void);
void CALLBACK MACRO_Flush(void);
void CALLBACK MACRO_FocusWindow(LPCSTR);
void CALLBACK MACRO_Generate(LPCSTR, LONG, LONG);
void CALLBACK MACRO_GotoMark(LPCSTR);
void CALLBACK MACRO_HelpOn(void);
void CALLBACK MACRO_HelpOnTop(void);
void CALLBACK MACRO_History(void);
void CALLBACK MACRO_IfThen(BOOL, LPCSTR);
void CALLBACK MACRO_IfThenElse(BOOL, LPCSTR, LPCSTR);
BOOL CALLBACK MACRO_InitMPrint(void);
void CALLBACK MACRO_InsertItem(LPCSTR, LPCSTR, LPCSTR, LPCSTR, LONG);
void CALLBACK MACRO_InsertMenu(LPCSTR, LPCSTR, LONG);
BOOL CALLBACK MACRO_IsBook(void);
BOOL CALLBACK MACRO_IsMark(LPCSTR);
BOOL CALLBACK MACRO_IsNotMark(LPCSTR);
void CALLBACK MACRO_JumpContents(LPCSTR, LPCSTR);
void CALLBACK MACRO_JumpContext(LPCSTR, LPCSTR, LONG);
void CALLBACK MACRO_JumpHash(LPCSTR, LPCSTR, LONG);
void CALLBACK MACRO_JumpHelpOn(void);
void CALLBACK MACRO_JumpID(LPCSTR, LPCSTR, LPCSTR);
void CALLBACK MACRO_JumpKeyword(LPCSTR, LPCSTR, LPCSTR);
void CALLBACK MACRO_KLink(LPCSTR, LONG, LPCSTR, LPCSTR);
void CALLBACK MACRO_Menu(void);
void CALLBACK MACRO_MPrintHash(LONG);
void CALLBACK MACRO_MPrintID(LPCSTR);
void CALLBACK MACRO_Next(void);
void CALLBACK MACRO_NoShow(void);
void CALLBACK MACRO_PopupContext(LPCSTR, LONG);
void CALLBACK MACRO_PopupHash(LPCSTR, LONG);
void CALLBACK MACRO_PopupId(LPCSTR, LPCSTR);
void CALLBACK MACRO_PositionWindow(LONG, LONG, LONG, LONG, LONG, LPCSTR);
void CALLBACK MACRO_Prev(void);
void CALLBACK MACRO_Print(void);
void CALLBACK MACRO_PrinterSetup(void);
void CALLBACK MACRO_RegisterRoutine(LPCSTR, LPCSTR, LPCSTR);
void CALLBACK MACRO_RemoveAccelerator(LONG, LONG);
void CALLBACK MACRO_ResetMenu(void);
void CALLBACK MACRO_SaveMark(LPCSTR);
void CALLBACK MACRO_Search(void);
void CALLBACK MACRO_SetContents(LPCSTR, LONG);
void CALLBACK MACRO_SetHelpOnFile(LPCSTR);
void CALLBACK MACRO_SetPopupColor(LONG, LONG, LONG);
void CALLBACK MACRO_ShellExecute(LPCSTR, LPCSTR, LONG, LONG, LPCSTR, LPCSTR);
void CALLBACK MACRO_ShortCut(LPCSTR, LPCSTR, LONG, LONG, LPCSTR);
void CALLBACK MACRO_TCard(LONG);
void CALLBACK MACRO_Test(LONG);
BOOL CALLBACK MACRO_TestALink(LPCSTR);
BOOL CALLBACK MACRO_TestKLink(LPCSTR);
void CALLBACK MACRO_UncheckItem(LPCSTR);
void CALLBACK MACRO_UpdateWindow(LPCSTR, LPCSTR);
/* Local Variables: */
/* c-file-style: "GNU" */
/* End: */
#endif /* __MACRO_H__ */

View file

@ -0,0 +1,295 @@
%{
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Eric Pouech
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
%}
%option nounput interactive 8bit
%x quote
%{
#include <assert.h>
#include "macro.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winhelp);
static LPCSTR macroptr;
static LPSTR strptr;
static int quote_stack[32];
static int quote_stk_idx = 0;
struct lexret yylval;
#define YY_INPUT(buf,result,max_size)\
if ((result = *macroptr ? 1 : 0)) buf[0] = *macroptr++;
%}
%%
[-+]?[0-9]+ yylval.integer = strtol(yytext, NULL, 10); return INTEGER;
[-+]?0[xX][0-9a-f]+ yylval.integer = strtol(yytext, NULL, 16); return INTEGER;
[a-zA-Z][_0-9a-zA-Z]* return MACRO_Lookup(yytext, &yylval);
\` |
\" |
\' |
<quote>\` |
<quote>\" |
<quote>\' {
if (quote_stk_idx == 0 ||
(yytext[0] == '\"' && quote_stack[quote_stk_idx - 1] != '\"') ||
(yytext[0] == '`'))
{
/* opening a new one */
if (quote_stk_idx == 0)
{
strptr = HeapAlloc(GetProcessHeap(), 0, strlen(macroptr) + 1);
yylval.string = strptr;
BEGIN(quote);
}
else *strptr++ = yytext[0];
quote_stack[quote_stk_idx++] = yytext[0];
assert(quote_stk_idx < sizeof(quote_stack) / sizeof(quote_stack[0]));
}
else
{
if (yytext[0] == '`') assert(0);
/* close the current quote */
if (--quote_stk_idx == 0)
{
BEGIN INITIAL;
*strptr++ = '\0';
return STRING;
}
else *strptr++ = yytext[0];
}
}
<quote>. *strptr++ = yytext[0];
<quote>\\. *strptr++ = yytext[1];
<quote><<EOF>> return 0;
" "
. return yytext[0];
%%
#if 0
/* all code for testing macros */
#include "winhelp.h"
static CHAR szTestMacro[256];
static LRESULT CALLBACK MACRO_TestDialogProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
if (msg == WM_COMMAND && wParam == IDOK)
{
GetDlgItemText(hDlg, 99, szTestMacro, sizeof(szTestMacro));
EndDialog(hDlg, IDOK);
return TRUE;
}
return FALSE;
}
void macro_test(void)
{
WNDPROC lpfnDlg = MakeProcInstance(MACRO_TestDialogProc, Globals.hInstance);
DialogBox(Globals.hInstance, STRING_DIALOG_TEST, Globals.active_win->hMainWnd, (DLGPROC)lpfnDlg);
FreeProcInstance(lpfnDlg);
macro = szTestMacro;
}
#endif
/* small helper function for debug messages */
static const char* ts(int t)
{
static char c[2] = {0,0};
switch (t)
{
case EMPTY: return "EMPTY";
case VOID_FUNCTION: return "VOID_FUNCTION";
case BOOL_FUNCTION: return "BOOL_FUNCTION";
case INTEGER: return "INTEGER";
case STRING: return "STRING";
case IDENTIFIER: return "IDENTIFIER";
default: c[0] = (char)t; return c;
}
}
static int MACRO_CallBoolFunc(FARPROC fn, const char* args, void** ret);
/******************************************************************
* MACRO_CheckArgs
*
* checks number of arguments against prototype, and stores arguments on
* stack pa for later call
* returns -1 on error, otherwise the number of pushed parameters
*/
static int MACRO_CheckArgs(void* pa[], unsigned max, const char* args)
{
int t;
int len = 0, idx = 0;
WINE_TRACE("Checking %s\n", args);
if (yylex() != '(') {WINE_WARN("missing (\n");return -1;}
if (*args)
{
len = strlen(args);
for (;;)
{
t = yylex();
WINE_TRACE("Got %s <=> %c\n", ts(t), *args);
switch (*args)
{
case 'S':
if (t != STRING)
{WINE_WARN("missing S\n");return -1;}
pa[idx] = (void*)yylval.string;
break;
case 'U':
case 'I':
if (t != INTEGER)
{WINE_WARN("missing U\n");return -1;}
pa[idx] = (void*)yylval.integer;
break;
case 'B':
if (t != BOOL_FUNCTION)
{WINE_WARN("missing B\n");return -1;}
if (MACRO_CallBoolFunc(yylval.function, yylval.proto, &pa[idx]) == 0)
return -1;
break;
default:
WINE_WARN("unexpected %s while args is %c\n", ts(t), *args);
return -1;
}
idx++;
if (*++args == '\0') break;
t = yylex();
if (t == ')') goto CheckArgs_end;
if (t != ',') {WINE_WARN("missing ,\n");return -1;}
if (idx >= max) {WINE_FIXME("stack overflow (%d)\n", max);return -1;}
}
}
if (yylex() != ')') {WINE_WARN("missing )\n");return -1;}
CheckArgs_end:
while (len > idx) pa[--len] = NULL;
return idx;
}
/******************************************************************
* MACRO_CallBoolFunc
*
* Invokes boolean function fn, which arguments are defined by args
* stores bool result into ret
*/
static int MACRO_CallBoolFunc(FARPROC fn, const char* args, void** ret)
{
void* pa[2];
int idx = MACRO_CheckArgs(pa, sizeof(pa)/sizeof(pa[0]), args);
if (idx < 0) return 0;
if (!fn) return 1;
WINE_TRACE("calling with %u pmts\n", idx);
switch (strlen(args))
{
case 0: *ret = (void*)(fn)(); break;
case 1: *ret = (void*)(fn)(pa[0]); break;
default: WINE_FIXME("NIY\n");
}
return 1;
}
/******************************************************************
* MACRO_CallVoidFunc
*
*
*/
static int MACRO_CallVoidFunc(FARPROC fn, const char* args)
{
void* pa[6];
int idx = MACRO_CheckArgs(pa, sizeof(pa)/sizeof(pa[0]), args);
if (idx < 0) return 0;
if (!fn) return 1;
WINE_TRACE("calling %p with %u pmts\n", fn, idx);
switch (strlen(args))
{
case 0: (fn)(); break;
case 1: (fn)(pa[0]); break;
case 2: (fn)(pa[0],pa[1]); break;
case 3: (fn)(pa[0],pa[1],pa[2]); break;
case 4: (fn)(pa[0],pa[1],pa[2],pa[3]); break;
case 5: (fn)(pa[0],pa[1],pa[2],pa[3],pa[4]); break;
case 6: (fn)(pa[0],pa[1],pa[2],pa[3],pa[4],pa[5]); break;
default: WINE_FIXME("NIY\n");
}
return 1;
}
BOOL MACRO_ExecuteMacro(LPCSTR macro)
{
int t;
//WINE_TRACE("%s\n", wine_dbgstr_a(macro));
macroptr = macro;
while ((t = yylex()) != EMPTY)
{
switch (t)
{
case VOID_FUNCTION:
WINE_TRACE("got type void func(%s)\n", yylval.proto);
MACRO_CallVoidFunc(yylval.function, yylval.proto);
break;
case BOOL_FUNCTION:
WINE_WARN("got type bool func(%s)\n", yylval.proto);
break;
default:
WINE_WARN("got unexpected type %s\n", ts(t));
return 0;
}
switch (t = yylex())
{
case EMPTY: return 1;
case ';': break;
default: return 0;
}
}
HeapFree(GetProcessHeap(), 0, strptr);
strptr = NULL;
quote_stk_idx = 0;
return 1;
}
#ifndef yywrap
int yywrap(void) { return 1; }
#endif

View file

@ -0,0 +1,48 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windows.h>
#include "winhelp.h"
#include "winhelp_res.h"
#include "Bg.rc"
#include "Cs.rc"
#include "Da.rc"
#include "De.rc"
#include "En.rc"
//#include "Eo.rc"
#include "Es.rc"
#include "Fi.rc"
#include "Fr.rc"
#include "Hu.rc"
#include "It.rc"
#include "Ko.rc"
#include "Nl.rc"
#include "No.rc"
#include "Pl.rc"
#include "Pt.rc"
#include "Ru.rc"
#include "Si.rc"
#include "Sk.rc"
#include "Sw.rc"
#include "Tr.rc"
#include "Wa.rc"
#include "Zh.rc"

View file

@ -0,0 +1,35 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* Class names */
const char MAIN_WIN_CLASS_NAME[] = "MS_WINHELP";
const char BUTTON_BOX_WIN_CLASS_NAME[] = "WHButtonBox";
const char TEXT_WIN_CLASS_NAME[] = "WHText";
const char SHADOW_WIN_CLASS_NAME[] = "WHShadow";
const char HISTORY_WIN_CLASS_NAME[] = "WHHistory";
const char STRING_BUTTON[] = "BUTTON";
/* Resource names */
const char STRING_DIALOG_TEST[] = "DIALOG_TEST";
/* Local Variables: */
/* c-file-style: "GNU" */
/* End: */

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,200 @@
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* 2002 Eric Pouech
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINHELP_H__
#define __WINHELP_H__
#define MAX_LANGUAGE_NUMBER 255
#define MAX_STRING_LEN 255
#define INTERNAL_BORDER_WIDTH 5
#define POPUP_YDISTANCE 20
#define SHADOW_DX 10
#define SHADOW_DY 10
#define BUTTON_CX 6
#define BUTTON_CY 6
#define WINE_WARN DPRINT
#ifndef RC_INVOKED
#include <stdarg.h>
#include "hlpfile.h"
#include "windef.h"
#include "winbase.h"
#include "macro.h"
#include "winhelp_res.h"
typedef struct tagHelpLinePart
{
RECT rect;
enum {hlp_line_part_text, hlp_line_part_bitmap, hlp_line_part_metafile} cookie;
union
{
struct
{
LPCSTR lpsText;
HFONT hFont;
COLORREF color;
WORD wTextLen;
WORD wUnderline; /* 0 None, 1 simple, 2 double, 3 dotted */
} text;
struct
{
HBITMAP hBitmap;
} bitmap;
struct
{
HMETAFILE hMetaFile;
INT mm;
} metafile;
} u;
HLPFILE_LINK* link;
struct tagHelpLinePart *next;
} WINHELP_LINE_PART;
typedef struct tagHelpLine
{
RECT rect;
WINHELP_LINE_PART first_part;
struct tagHelpLine* next;
} WINHELP_LINE;
typedef struct tagHelpButton
{
HWND hWnd;
LPCSTR lpszID;
LPCSTR lpszName;
LPCSTR lpszMacro;
WPARAM wParam;
RECT rect;
struct tagHelpButton*next;
} WINHELP_BUTTON;
typedef struct tagWinHelp
{
LPCSTR lpszName;
WINHELP_BUTTON* first_button;
HLPFILE_PAGE* page;
WINHELP_LINE* first_line;
HWND hMainWnd;
HWND hButtonBoxWnd;
HWND hTextWnd;
HWND hShadowWnd;
HWND hHistoryWnd;
HFONT* fonts;
UINT fonts_len;
HCURSOR hArrowCur;
HCURSOR hHandCur;
HBRUSH hBrush;
HLPFILE_WINDOWINFO* info;
/* FIXME: for now it's a fixed size */
HLPFILE_PAGE* history[40];
unsigned histIndex;
HLPFILE_PAGE* back[40];
unsigned backIndex;
struct tagWinHelp* next;
} WINHELP_WINDOW;
#define DC_NOMSG 0x00000000
#define DC_MINMAX 0x00000001
#define DC_INITTERM 0x00000002
#define DC_JUMP 0x00000004
#define DC_ACTIVATE 0x00000008
#define DC_CALLBACKS 0x00000010
#define DW_NOTUSED 0
#define DW_WHATMSG 1
#define DW_MINMAX 2
#define DW_SIZE 3
#define DW_INIT 4
#define DW_TERM 5
#define DW_STARTJUMP 6
#define DW_ENDJUMP 7
#define DW_CHGFILE 8
#define DW_ACTIVATE 9
#define DW_CALLBACKS 10
typedef long (CALLBACK *WINHELP_LDLLHandler)(WORD, LONG, LONG);
typedef struct tagDll
{
HANDLE hLib;
const char* name;
WINHELP_LDLLHandler handler;
DWORD class;
struct tagDll* next;
} WINHELP_DLL;
typedef struct
{
UINT wVersion;
HANDLE hInstance;
HWND hPopupWnd;
UINT wStringTableOffset;
BOOL isBook;
WINHELP_WINDOW* active_win;
WINHELP_WINDOW* win_list;
WNDPROC button_proc;
WINHELP_DLL* dlls;
} WINHELP_GLOBALS;
extern WINHELP_GLOBALS Globals;
extern FARPROC Callbacks[];
BOOL WINHELP_CreateHelpWindowByHash(HLPFILE*, LONG, HLPFILE_WINDOWINFO*, int);
BOOL WINHELP_CreateHelpWindowByMap(HLPFILE*, LONG, HLPFILE_WINDOWINFO*, int);
BOOL WINHELP_CreateHelpWindow(HLPFILE_PAGE*, HLPFILE_WINDOWINFO*, int);
BOOL WINHELP_GetOpenFileName(LPSTR, int);
INT WINHELP_MessageBoxIDS(UINT, UINT, WORD);
INT WINHELP_MessageBoxIDS_s(UINT, LPCSTR, UINT, WORD);
HLPFILE* WINHELP_LookupHelpFile(LPCSTR lpszFile);
HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name);
extern const char MAIN_WIN_CLASS_NAME[];
extern const char BUTTON_BOX_WIN_CLASS_NAME[];
extern const char TEXT_WIN_CLASS_NAME[];
extern const char SHADOW_WIN_CLASS_NAME[];
extern const char HISTORY_WIN_CLASS_NAME[];
extern const char STRING_BUTTON[];
extern const char STRING_MENU_Xx[];
extern const char STRING_DIALOG_TEST[];
#endif
/* Buttons */
#define WH_FIRST_BUTTON 500
#endif /* __WINHELP_H__ */

View file

@ -0,0 +1,26 @@
<?xml version="1.0"?>
<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
<module name="winhelp" type="win32gui" installbase="system32" installname="winhelp.exe" unicode="no">
<include base="winhelp">.</include>
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0600</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<library>user32</library>
<library>gdi32</library>
<library>ntdll</library>
<library>comdlg32</library>
<library>advapi32</library>
<library>shell32</library>
<library>comctl32</library>
<compilationunit name="unit.c">
<file>callback.c</file>
<file>hlpfile.c</file>
<file>macro.c</file>
<file>string.c</file>
<file>winhelp.c</file>
<file>lex.yy.c</file>
</compilationunit>
<file>rsrc.rc</file>
</module>
</rbuild>

View file

@ -0,0 +1,32 @@
#define MNID_FILE_OPEN 0x101
#define MNID_FILE_PRINT 0x104
#define MNID_FILE_SETUP 0x106
#define MNID_FILE_EXIT 0x108
#define MNID_EDIT_COPYDLG 0x111
#define MNID_EDIT_ANNOTATE 0x112
#define MNID_BKMK_DEFINE 0x121
#define MNID_HELP_HELPON 0x131
#define MNID_HELP_HELPTOP 0x132
#define MNID_HELP_ABOUT 0x141
#define MNID_HELP_WINE 0x142
#define MAIN_MENU 0x10F
#define STID_WINE_HELP 0x120
#define STID_WHERROR 0x121
#define STID_WARNING 0x122
#define STID_INFO 0x123
#define STID_NOT_IMPLEMENTED 0x124
#define STID_HLPFILE_ERROR_s 0x125
#define STID_CONTENTS 0x126
#define STID_SEARCH 0x127
#define STID_BACK 0x128
#define STID_HISTORY 0x129
#define STID_TOPICS 0x12A
#define STID_ALL_FILES 0x12B
#define STID_HELP_FILES_HLP 0x12C
#define STID_DIALOG_TEST 0x12D
#define STID_FILE_NOT_FOUND_s 0x12E