diff options
Diffstat (limited to 'binfilter/bf_sw/source/ui')
199 files changed, 49139 insertions, 0 deletions
diff --git a/binfilter/bf_sw/source/ui/app/makefile.mk b/binfilter/bf_sw/source/ui/app/makefile.mk new file mode 100644 index 000000000000..a5e2ae702c5a --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/makefile.mk @@ -0,0 +1,97 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_app + +NO_HIDS=TRUE + + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw +RSCUPDVER=$(RSCREVISION)(SV$(UPD)$(UPDMINOR)) + +#IMGLST_SRS=$(SRS)$/app.srs +#BMP_IN=$(PRJ)$/win/imglst + +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES =\ + sw_app.src \ + sw_error.src + +SLOFILES = \ + $(SLO)$/sw_apphdl.obj \ + $(SLO)$/sw_docsh.obj \ + $(SLO)$/sw_docsh2.obj \ + $(SLO)$/sw_docshdrw.obj \ + $(SLO)$/sw_docshini.obj \ + $(SLO)$/sw_docstyle.obj \ + $(SLO)$/sw_mainwn.obj \ + $(SLO)$/sw_version.obj \ + $(SLO)$/sw_swmodule.obj \ + $(SLO)$/sw_swmodul1.obj \ + $(SLO)$/sw_swdll.obj + + +EXCEPTIONSFILES= \ + $(SLO)$/sw_swmodule.obj \ + $(SLO)$/sw_swmodul1.obj \ + $(SLO)$/sw_docsh2.obj + + +DEPOBJFILES= \ + $(SLO)$/sw_swlib.obj \ + $(SLO)$/sw_swcomlib.obj + + +# --- Targets ------------------------------------------------------ + +.INCLUDE : target.mk + +ALLTAR : $(DEPOBJFILES) + +$(SLO)$/sw_swdll.obj : $(INCCOM)$/swdll0.hxx +$(SLO)$/sw_swlib.obj : $(INCCOM)$/swdll0.hxx +$(SLO)$/sw_swmodule.obj : $(INCCOM)$/swdll0.hxx + +$(INCCOM)$/swdll0.hxx: makefile.mk + echo \#define DLL_NAME \"$(DLLPRE)bf_sw$(DLLPOSTFIX)$(DLLPOST)\" >$@ + +$(SRS)$/sw_app.srs: $(PRJ)$/inc$/bf_svx$/globlmn.hrc + diff --git a/binfilter/bf_sw/source/ui/app/sw_app.src b/binfilter/bf_sw/source/ui/app/sw_app.src new file mode 100644 index 000000000000..8845120872ec --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_app.src @@ -0,0 +1,840 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + + + +#include <bf_svtools/style.hrc> +#include <bf_sfx2/sfx.hrc> +#include <bf_svx/dialogs.hrc> +#include <bf_svx/globlmn.hrc> +#include "cmdid.h" +#include "globals.hrc" +#include "app.hrc" +#include "statstr.hrc" +#include "swstyle.h" +#include "comcore.hrc" +#include "shells.hrc" +#include "helpid.h" + +String RID_SW_NAME +{ + Text = "StarWriter" ; +}; + +String STR_PRINT_MERGE_MACRO +{ + Text [ de ] = "Serienbriefe drucken" ; + Text [ en-US ] = "Print form letters" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Imprimir cartas em série"; + Text[ ru ] = "Печать сформированных писем"; + Text[ el ] = "Εκτύπωση εγκυκλίου επιστολής"; + Text[ nl ] = "Standaardbrieven afdrukken"; + Text[ fr ] = "Imprimer les lettres types"; + Text[ es ] = "Imprimir cartas en serie"; + Text[ fi ] = "Tulosta joukkokirjeet"; + Text[ ca ] = "Imprimeix les cartes de formulari"; + Text[ it ] = "Stampa in serie"; + Text[ sk ] = "Tlačiť štandardný list"; + Text[ da ] = "Udskriv flettede breve"; + Text[ sv ] = "Skriv ut standardbrev"; + Text[ pl ] = "Drukuj listy seryjne"; + Text[ pt-BR ] = "Imprimir mala direta"; + Text[ th ] = "พิมพ์แบบตัวอักษร"; + Text[ ja ] = "差し込み印刷"; + Text[ ko ] = "편지 양식 인쇄"; + Text[ zh-CN ] = "打印邮件合并"; + Text[ zh-TW ] = "合併列印"; + Text[ tr ] = "Standart mektup yazdır"; + Text[ hi-IN ] = "फ़ॉर्म पत्रों को छपाई करो"; + Text[ ar ] = "طباعة خطابات مسلسلة"; + Text[ he ] = "Serienbriefe drucken"; +}; + +String STR_PAGE_COUNT_MACRO +{ + Text [ de ] = "Änderung der Seitenanzahl" ; + Text [ en-US ] = "Changing the page count" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Modificar número de páginas"; + Text[ ru ] = "Изменение количества страниц"; + Text[ el ] = "Διόρθωση πλήθους σελιδών"; + Text[ nl ] = "Wijziging van het aantal pagina's"; + Text[ fr ] = "Modification du nombre de pages"; + Text[ es ] = "Modificación del número de páginas"; + Text[ fi ] = "Muutetaan sivumäärää"; + Text[ ca ] = "Modificació del número de pàgines"; + Text[ it ] = "Modifica del numero delle pagine"; + Text[ sk ] = "Zmeniť číslo stránky"; + Text[ da ] = "Modificer sideantal"; + Text[ sv ] = "Ändring av sidantal"; + Text[ pl ] = "Zmiana liczby stron"; + Text[ pt-BR ] = "Alterando a contagem de páginas"; + Text[ th ] = "กำลังเปลี่ยนการนับหน้า"; + Text[ ja ] = "ページ数の変更"; + Text[ ko ] = "페이지 수 변경"; + Text[ zh-CN ] = "更改页数"; + Text[ zh-TW ] = "變更頁數"; + Text[ tr ] = "Sayfa sayısının değiştirilmesi"; + Text[ hi-IN ] = "पृष्ठ गिनती को बदलना"; + Text[ ar ] = "تغيير عدد الصفحات"; + Text[ he ] = "Änderung der Seitenanzahl"; +}; + + // Image-Liste ---------------------------------------------------------------- + //Dafuer gibt es jetzt eine Vorsortierung: + //1. SID_ + //2. RID_ + //3. FN_ + //4. Ids, die noch aus der Default-Liste entfernt werden muessen + + + + + + + + + // ShortName!!! +String STR_HUMAN_SWDOC_NAME +{ + /* ### ACHTUNG: Neuer Text in Resource? Text : Dokument */ + Text [ de ] = "Text" ; + Text [ en-US ] = "Text" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Texto"; + Text[ ru ] = "Текст"; + Text[ el ] = "Κείμενο"; + Text[ nl ] = "Tekst"; + Text[ fr ] = "Texte"; + Text[ es ] = "Texto"; + Text[ fi ] = "Teksti"; + Text[ ca ] = "Text"; + Text[ it ] = "Testo"; + Text[ sk ] = "Text"; + Text[ da ] = "Tekst"; + Text[ sv ] = "Text"; + Text[ pl ] = "Tekst"; + Text[ pt-BR ] = "Texto"; + Text[ th ] = "ข้อความ"; + Text[ ja ] = "テキスト"; + Text[ ko ] = "텍스트"; + Text[ zh-CN ] = "文字"; + Text[ zh-TW ] = "文字"; + Text[ tr ] = "Metin"; + Text[ hi-IN ] = "टेक्स्ट्"; + Text[ ar ] = "النص"; + Text[ he ] = "טקסט"; +}; + +String STR_WRITER_DOCUMENT_FULLTYPE_31 +{ + Text [ de ] = "%PRODUCTNAME 3.0 Text" ; + Text [ en-US ] = "Text (%PRODUCTNAME 3.0)" ; + Text [ x-comment ] = " "; + Text[ pt ] = "%PRODUCTNAME 3.0 Text"; + Text[ ru ] = "Текст (%PRODUCTNAME 3.0)"; + Text[ el ] = "Κείμενο (%PRODUCTNAME 3.0)"; + Text[ nl ] = "%PRODUCTNAME 3.0 Tekst"; + Text[ fr ] = "%PRODUCTNAME 3.0 Texte"; + Text[ es ] = "%PRODUCTNAME 3.0 - Texto"; + Text[ fi ] = "Teksti (%PRODUCTNAME 3.0)"; + Text[ ca ] = "%PRODUCTNAME 3.0 Text"; + Text[ it ] = "Test %PRODUCTNAME 3.0"; + Text[ sk ] = "Text (%PRODUCTNAME 3.0)"; + Text[ da ] = "%PRODUCTNAME 3.0 tekst"; + Text[ sv ] = "%PRODUCTNAME 3.0 text"; + Text[ pl ] = "Tekst %PRODUCTNAME 3.0"; + Text[ pt-BR ] = "Texto (%PRODUCTNAME 3.0)"; + Text[ th ] = "ข้อความ (%PRODUCTNAME 3.0)"; + Text[ ja ] = "%PRODUCTNAME 3.0 テキスト"; + Text[ ko ] = "%PRODUCTNAME 3.0 텍스트"; + Text[ zh-CN ] = "%PRODUCTNAME 3.0 文本"; + Text[ zh-TW ] = "%PRODUCTNAME 3.0 文字文件"; + Text[ tr ] = "%PRODUCTNAME 3.0 metni"; + Text[ hi-IN ] = "टेक्स्ट् (%PRODUCTNAME 3.0)"; + Text[ ar ] = "نص من %PRODUCTNAME 3.0"; + Text[ he ] = "%PRODUCTNAME 3.0 Text"; +}; + +String STR_WRITER_DOCUMENT_FULLTYPE_40 +{ + Text [ de ] = "%PRODUCTNAME 4.0 Text" ; + Text [ en-US ] = "Text (%PRODUCTNAME 4.0)" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Texto (%PRODUCTNAME 4.0)"; + Text[ ru ] = "Текст (%PRODUCTNAME 4.0)"; + Text[ el ] = "Κείμενο (%PRODUCTNAME 4.0)"; + Text[ nl ] = "%PRODUCTNAME 4.0 Tekst"; + Text[ fr ] = "%PRODUCTNAME 4.0 Texte"; + Text[ es ] = "%PRODUCTNAME 4.0 - Texto"; + Text[ fi ] = "Teksti (%PRODUCTNAME 4.0)"; + Text[ ca ] = "%PRODUCTNAME 4.0 text"; + Text[ it ] = "Testo %PRODUCTNAME 4.0"; + Text[ sk ] = "Text (%PRODUCTNAME 4.0)"; + Text[ da ] = "%PRODUCTNAME 4.0 tekst"; + Text[ sv ] = "%PRODUCTNAME 4.0 text"; + Text[ pl ] = "Tekst %PRODUCTNAME 4.0"; + Text[ pt-BR ] = "Texto (%PRODUCTNAME 4.0)"; + Text[ th ] = "ข้อความ (%PRODUCTNAME 4.0)"; + Text[ ja ] = "%PRODUCTNAME 4.0 テキスト"; + Text[ ko ] = "%PRODUCTNAME 4.0 텍스트"; + Text[ zh-CN ] = "%PRODUCTNAME 4.0 文本"; + Text[ zh-TW ] = "%PRODUCTNAME 4.0 文字文件"; + Text[ tr ] = "%PRODUCTNAME 4.0 metni"; + Text[ hi-IN ] = "टेक्स्ट् (%PRODUCTNAME 4.0"; + Text[ ar ] = "نص من %PRODUCTNAME 4.0"; + Text[ he ] = "%PRODUCTNAME 4.0 Text"; +}; + +String STR_WRITER_DOCUMENT_FULLTYPE_50 +{ + Text [ de ] = "%PRODUCTNAME 5.0 Text" ; + Text [ en-US ] = "Text (%PRODUCTNAME 5.0)" ; + Text [ x-comment ] = " "; + Text[ pt ] = "%PRODUCTNAME 5.0 Texto"; + Text[ ru ] = "Текст (%PRODUCTNAME 5.0)"; + Text[ el ] = "Κείμενο %PRODUCTNAME 5.0"; + Text[ nl ] = "%PRODUCTNAME 5.0 Tekst"; + Text[ fr ] = "%PRODUCTNAME 5.0 Texte"; + Text[ es ] = "%PRODUCTNAME 5.0 - Texto"; + Text[ fi ] = "Teksti (%PRODUCTNAME 5.0)"; + Text[ ca ] = "%PRODUCTNAME 5.0 Text"; + Text[ it ] = "Testo %PRODUCTNAME 5.0"; + Text[ sk ] = "Text (%PRODUCTNAME 5.0)"; + Text[ da ] = "%PRODUCTNAME 5.0 Tekst"; + Text[ sv ] = "%PRODUCTNAME 5.0 text"; + Text[ pl ] = "%PRODUCTNAME 5.0 - Tekst"; + Text[ pt-BR ] = "Texto (%PRODUCTNAME 5.0)"; + Text[ th ] = "ข้อความ (%PRODUCTNAME 5.0)"; + Text[ ja ] = "%PRODUCTNAME 5.0 文書"; + Text[ ko ] = "%PRODUCTNAME 5.0 텍스트"; + Text[ zh-CN ] = "%PRODUCTNAME 5.0 文本"; + Text[ zh-TW ] = "%PRODUCTNAME 5.0 文字"; + Text[ tr ] = "Metin (%PRODUCTNAME 5.0)"; + Text[ hi-IN ] = "टेक्स्ट् (%PRODUCTNAME 5.0"; + Text[ ar ] = "نص من %PRODUCTNAME 5.0"; + Text[ he ] = "%PRODUCTNAME 5.0 Text"; +}; +String STR_WRITER_DOCUMENT_FULLTYPE +{ + Text [ de ] = "%PRODUCTNAME %PRODUCTVERSION Textdokument" ; + Text [ en-US ] = "%PRODUCTNAME %PRODUCTVERSION Text Document"; + Text [ x-comment ] = " "; + Text[ pt ] = "%PRODUCTNAME 6.0 Texto"; + Text[ ru ] = "Текстовый документ (%PRODUCTNAME 6.0)"; + Text[ el ] = "Έγγραφο κειμένου %PRODUCTNAME 6.0"; + Text[ nl ] = "%PRODUCTNAME 6.0 Tekstdocument"; + Text[ fr ] = "%PRODUCTNAME %PRODUCTVERSION Texte"; + Text[ es ] = "Documento de texto %PRODUCTNAME %PRODUCTVERSION "; + Text[ fi ] = "%PRODUCTNAME 6.0 -tekstiasiakirja"; + Text[ ca ] = "%PRODUCTNAME 6.0 Text"; + Text[ it ] = "%PRODUCTNAME %PRODUCTVERSION Documento di testo "; + Text[ sk ] = "Textový dokument %PRODUCTNAME %PRODUCTVERSION"; + Text[ da ] = "%PRODUCTNAME 6.0 Tekstdokument"; + Text[ sv ] = "%PRODUCTNAME %PRODUCTVERSION-textdokument"; + Text[ pl ] = "%PRODUCTNAME 6.0 - Dokument tekstowy"; + Text[ pt-BR ] = "Documento Texto %PRODUCTNAME 4.0"; + Text[ th ] = "ข้อความเอกสาร%PRODUCTNAME 6.0 "; + Text[ ja ] = "%PRODUCTNAME %PRODUCTVERSION 文書ドキュメント"; + Text[ ko ] = "%PRODUCTNAME %PRODUCTVERSION 텍스트 문서"; + Text[ zh-CN ] = "%PRODUCTNAME %PRODUCTVERSION 文本文档"; + Text[ zh-TW ] = "%PRODUCTNAME %PRODUCTVERSION 文字文件"; + Text[ tr ] = "%PRODUCTNAME 6.0 Metin Belgesi"; + Text[ hi-IN ] = "%PRODUCTNAME 6.0 टेक्स्ट् लेखपत्र"; + Text[ ar ] = "مستند نص من %PRODUCTNAME 6.0"; + Text[ he ] = "%PRODUCTNAME 6.0 Text Dokument"; +}; + + + +String STR_UNBENANNT +{ + Text [ de ] = "Unbenannt" ; + Text [ en-US ] = "Untitled" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Sem nome"; + Text[ ru ] = "Документ"; + Text[ el ] = "Δίχως όνομα"; + Text[ nl ] = "Naamloos"; + Text[ fr ] = "Sans nom"; + Text[ es ] = "Sin nombre"; + Text[ fi ] = "Nimetön"; + Text[ ca ] = "Sense nom"; + Text[ it ] = "Senza nome"; + Text[ sk ] = "Bez_názvu"; + Text[ da ] = "Ikke-navngivet"; + Text[ sv ] = "Namnlös"; + Text[ pl ] = "Bez tytułu"; + Text[ pt-BR ] = "Sem nome"; + Text[ th ] = "ไม่มีชื่อ"; + Text[ ja ] = "無題"; + Text[ ko ] = "제목 없음"; + Text[ zh-CN ] = "未命名"; + Text[ zh-TW ] = "未命名"; + Text[ tr ] = "Adsız"; + Text[ hi-IN ] = "नाम रहित"; + Text[ ar ] = "بدون عنوان"; + Text[ he ] = "Unbenannt"; +}; + + + +#define NO_LOCALIZE_EXPORT + +String RID_BUILDVERSION +{ + Text = UPDVER ; +}; + + + + + // ---------------------------- + // Statusleisten-Ueberschriften + // ---------------------------- + + +String STR_STATSTR_W4WWRITE +{ + Text [ de ] = "Dokument wird exportiert..." ; + Text [ en-US ] = "Exporting document..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "A exportar documento..."; + Text[ ru ] = "Экспорт документа..."; + Text[ el ] = "Εξαγωγή εγγράφου..."; + Text[ nl ] = "Document wordt geëxporteerd..."; + Text[ fr ] = "Export du document..."; + Text[ es ] = "Exportando el documento..."; + Text[ fi ] = "Viedään asiakirjaa..."; + Text[ ca ] = "S'està exportant el document..."; + Text[ it ] = "Il documento viene esportato..."; + Text[ sk ] = "Prebieha export dokumentu..."; + Text[ da ] = "Eksporterer dokument"; + Text[ sv ] = "Dokument exporteras..."; + Text[ pl ] = "Eksportowanie dokumentu..."; + Text[ pt-BR ] = "Exportando o documento..."; + Text[ th ] = "กำลังส่งออกเอกสาร..."; + Text[ ja ] = "文書のエクスポート..."; + Text[ ko ] = "문서 내보내기..."; + Text[ zh-CN ] = "输出文档..."; + Text[ zh-TW ] = "匯出文件..."; + Text[ tr ] = "Belge dışa aktarılıyor..."; + Text[ hi-IN ] = "लेखपत्र को निर्यात कर रहा है..."; + Text[ ar ] = "جاري تصدير المستند..."; + Text[ he ] = "Dokument wird exportiert..."; +}; + +String STR_STATSTR_SWGREAD +{ + Text [ de ] = "Dokument wird geladen..." ; + Text [ en-US ] = "Loading document..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "A carregar documento..."; + Text[ ru ] = "Загрузка документа..."; + Text[ el ] = "Το έγγραφο φορτώνεται..."; + Text[ nl ] = "Document wordt gemaakt..."; + Text[ fr ] = "Chargement du document..."; + Text[ es ] = "Cargando el documento..."; + Text[ fi ] = "Ladataan asiakirjaa..."; + Text[ ca ] = "S'està carregant el document..."; + Text[ it ] = "Il documento viene caricato..."; + Text[ sk ] = "Načíta sa súbor..."; + Text[ da ] = "Indlæser dokument..."; + Text[ sv ] = "Dokument laddas..."; + Text[ pl ] = "Ładowanie dokumentu..."; + Text[ pt-BR ] = "Carregando o documento..."; + Text[ th ] = "กำลังโหลดเอกสาร..."; + Text[ ja ] = "ドキュメントを読み込んでいます..."; + Text[ ko ] = "문서를 로드하는 중..."; + Text[ zh-CN ] = "装入文档..."; + Text[ zh-TW ] = "載入文件..."; + Text[ tr ] = "Belge yükleniyor..."; + Text[ hi-IN ] = "लेखपत्र को लोड़ कर रहा है..."; + Text[ ar ] = "جاري تحميل المستند..."; + Text[ he ] = "Dokument wird geladen..."; +}; + +String STR_STATSTR_SWGWRITE +{ + Text [ de ] = "Dokument wird gespeichert..." ; + Text [ en-US ] = "Saving document..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "A guardar documento..."; + Text[ ru ] = "Сохранение документа..."; + Text[ el ] = "Αποθήκευση εγγράφου..."; + Text[ nl ] = "Document wordt opgeslagen..."; + Text[ fr ] = "Enregistrement du document..."; + Text[ es ] = "Guardando el documento..."; + Text[ fi ] = "Tallennetaan asiakirjaa..."; + Text[ ca ] = "S'està desant el document..."; + Text[ it ] = "Il documento viene salvato..."; + Text[ sk ] = "Súbor sa ukladá..."; + Text[ da ] = "Gemmer dokument..."; + Text[ sv ] = "Dokument sparas..."; + Text[ pl ] = "Zapisywanie dokumentu..."; + Text[ pt-BR ] = "Salvando o documento..."; + Text[ th ] = "กำลังบันทึกเอกสาร..."; + Text[ ja ] = "ドキュメントを保存しています..."; + Text[ ko ] = "문서 저장하는 중..."; + Text[ zh-CN ] = "存盘文档..."; + Text[ zh-TW ] = "正在儲存文件..."; + Text[ tr ] = "Belge kaydediliyor..."; + Text[ hi-IN ] = "लेखपत्र को संचित कर रहा है..."; + Text[ ar ] = "جاري حفظ المستند..."; + Text[ he ] = "Dokument wird gespeichert..."; +}; + +String STR_STATSTR_REFORMAT +{ + Text [ de ] = "Neuformatierung des Dokumentes..." ; + Text [ en-US ] = "Repagination..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Nova formatação do documento..."; + Text[ ru ] = "Разбивка на страницы..."; + Text[ el ] = "Μορφοποίηση εκ νέου του εγγράφου..."; + Text[ nl ] = "Bezig met nieuwe opmaak..."; + Text[ fr ] = "Nouveau formatage du document..."; + Text[ es ] = "Reformateado del documento..."; + Text[ fi ] = "Uudelleensivutus..."; + Text[ ca ] = "S'està reformatant el document..."; + Text[ it ] = "Riformattazione del documento..."; + Text[ sk ] = "Prestránkovanie..."; + Text[ da ] = "Genformatering af dokumentet..."; + Text[ sv ] = "Omformatering av dokumentet..."; + Text[ pl ] = "Ponowne dzielenie na strony..."; + Text[ pt-BR ] = "Repaginação..."; + Text[ th ] = "จัดแบ่งหน้า..."; + Text[ ja ] = "ドキュメントの新規書式設定..."; + Text[ ko ] = "문서 서식 다시 지정..."; + Text[ zh-CN ] = "重新制作文档格式..."; + Text[ zh-TW ] = "重新製作文件格式..."; + Text[ tr ] = "Belge yeniden formatlanıyor..."; + Text[ hi-IN ] = "रिपेजिनेशन..."; + Text[ ar ] = "إعادة تنسيق المستند..."; + Text[ he ] = "Neuformatierung des Dokumentes..."; +}; + + + +String STR_STATSTR_SEARCH +{ + Text [ de ] = "Suche..." ; + Text [ en-US ] = "Search..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "A localizar..."; + Text[ ru ] = "Поиск..."; + Text[ el ] = "Αναζήτηση..."; + Text[ nl ] = "Bezig met zoeken..."; + Text[ fr ] = "Recherche..."; + Text[ es ] = "Búsqueda..."; + Text[ fi ] = "Etsi..."; + Text[ ca ] = "Cerca..."; + Text[ it ] = "Cerca..."; + Text[ sk ] = "Hľadať..."; + Text[ da ] = "Søger..."; + Text[ sv ] = "Söker..."; + Text[ pl ] = "Szukaj..."; + Text[ pt-BR ] = "Pesquisar..."; + Text[ th ] = "ค้นหา..."; + Text[ ja ] = "検索..."; + Text[ ko ] = "찾기..."; + Text[ zh-CN ] = "搜寻..."; + Text[ zh-TW ] = "搜尋..."; + Text[ tr ] = "Ara..."; + Text[ hi-IN ] = "खोज..."; + Text[ ar ] = "بحث..."; + Text[ he ] = "Suche..."; +}; + + + +String STR_STATSTR_LAYOUTINIT +{ + Text [ de ] = "Konvertiere..." ; + Text [ en-US ] = "Converting..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "A converter..."; + Text[ ru ] = "Преобразование..."; + Text[ el ] = "Μετατροπή..."; + Text[ nl ] = "Bezig met converteren..."; + Text[ fr ] = "Conversion..."; + Text[ es ] = "Convirtiendo..."; + Text[ fi ] = "Muunnetaan..."; + Text[ ca ] = "S'està convertint..."; + Text[ it ] = "Converti..."; + Text[ sk ] = "Prebieha konverzia..."; + Text[ da ] = "Konverterer..."; + Text[ sv ] = "Konverterar..."; + Text[ pl ] = "Konwersja..."; + Text[ pt-BR ] = "Convertendo..."; + Text[ th ] = "กำลังแปลง..."; + Text[ ja ] = "変換..."; + Text[ ko ] = "변환..."; + Text[ zh-CN ] = "转换..."; + Text[ zh-TW ] = "轉換..."; + Text[ tr ] = "Dönüştürülüyor..."; + Text[ hi-IN ] = "बदल रहा है..."; + Text[ ar ] = "تحويل..."; + Text[ he ] = "Konvertiere..."; +}; + + + + + + + +String STR_STATSTR_SWGPRTOLENOTIFY +{ + Text [ de ] = "Objekte Anpassen..." ; + Text [ en-US ] = "Adapt Objects..."; + Text [ x-comment ] = " "; + Text[ pt ] = "Ajustar objectos..."; + Text[ ru ] = "Адаптировать объекты..."; + Text[ el ] = "Προσαρμογή αντικειμένων..."; + Text[ nl ] = "Objecten aanpassen..."; + Text[ fr ] = "Adapter les objets..."; + Text[ es ] = "Ajustar objetos..."; + Text[ fi ] = "Sovita objektit..."; + Text[ ca ] = "S'estan adaptant els objectes..."; + Text[ it ] = "Adatta oggetti..."; + Text[ sk ] = "Adaptujem objekty..."; + Text[ da ] = "Tilpas objekter..."; + Text[ sv ] = "Anpassa objekt..."; + Text[ pl ] = "Dostosuj obiekty..."; + Text[ pt-BR ] = "Adaptar Objetos..."; + Text[ th ] = "ปรับวัตถุ..."; + Text[ ja ] = "オブジェクトの調整..."; + Text[ ko ] = "개체 조정..."; + Text[ zh-CN ] = "调整对象..."; + Text[ zh-TW ] = "調整物件..."; + Text[ tr ] = "Nesneleri uyarla..."; + Text[ hi-IN ] = "वस्तुओं को स्वीकार करो..."; + Text[ ar ] = "ضبط كائنات..."; + Text[ he ] = "Objekte Anpassen..."; +}; + + + +Bitmap RID_GRAPHIC_REPLACEBMP +{ + File = "grafikei.bmp" ; +}; + +Bitmap RID_GRAPHIC_ERRORBMP +{ + File = "grafikde.bmp" ; +}; + +String STR_TABLE_DEFNAME +{ + Text [ de ] = "Tabelle" ; + Text [ en-US ] = "Table" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Tabela"; + Text[ ru ] = "Таблица"; + Text[ el ] = "Πίνακας"; + Text[ nl ] = "Tabel"; + Text[ fr ] = "Tableau"; + Text[ es ] = "Tabla"; + Text[ fi ] = "Taulukko"; + Text[ ca ] = "Taula"; + Text[ it ] = "Tabella"; + Text[ sk ] = "Tabuľka"; + Text[ da ] = "Tabel"; + Text[ sv ] = "Tabell"; + Text[ pl ] = "Tabela"; + Text[ pt-BR ] = "Tabela"; + Text[ th ] = "ตาราง"; + Text[ ja ] = "表"; + Text[ ko ] = "표"; + Text[ zh-CN ] = "表格"; + Text[ zh-TW ] = "表格"; + Text[ tr ] = "Tablo"; + Text[ hi-IN ] = "सारणी"; + Text[ ar ] = "جدول"; + Text[ he ] = "טבלה"; +}; + +String STR_GRAPHIC_DEFNAME +{ + Text [ de ] = "Grafik" ; + Text [ en-US ] = "Graphic" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Imagem"; + Text[ ru ] = "Графический объект"; + Text[ el ] = "Γραφικό"; + Text[ nl ] = "Afbeelding"; + Text[ fr ] = "Image"; + Text[ es ] = "Imagen"; + Text[ fi ] = "Grafiikka"; + Text[ ca ] = "Imatge"; + Text[ it ] = "Immagine"; + Text[ sk ] = "Obrázok"; + Text[ da ] = "Grafik"; + Text[ sv ] = "Grafik"; + Text[ pl ] = "Grafika"; + Text[ pt-BR ] = "Figura"; + Text[ th ] = "กราฟิค"; + Text[ ja ] = "図"; + Text[ ko ] = "그림"; + Text[ zh-CN ] = "图形"; + Text[ zh-TW ] = "圖形"; + Text[ tr ] = "Grafik"; + Text[ hi-IN ] = "सुचित्र"; + Text[ ar ] = "صورة"; + Text[ he ] = "Grafik"; +}; + +String STR_OBJECT_DEFNAME +{ + Text [ de ] = "Objekt" ; + Text [ en-US ] = "Object" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Objecto"; + Text[ ru ] = "Объект"; + Text[ el ] = "Αντικείμενο"; + Text[ nl ] = "Object"; + Text[ fr ] = "Objet"; + Text[ es ] = "Objeto"; + Text[ fi ] = "Objekti"; + Text[ ca ] = "Objecte"; + Text[ it ] = "Oggetto"; + Text[ sk ] = "Objekt"; + Text[ da ] = "Objekt"; + Text[ sv ] = "Objekt"; + Text[ pl ] = "Obiekt"; + Text[ pt-BR ] = "Objeto"; + Text[ th ] = "วัตถุ"; + Text[ ja ] = "オブジェクト"; + Text[ ko ] = "개체"; + Text[ zh-CN ] = "对象"; + Text[ zh-TW ] = "物件"; + Text[ tr ] = "Nesne"; + Text[ hi-IN ] = "वस्तु"; + Text[ ar ] = "كائن"; + Text[ he ] = "אוביקט"; +}; + +String STR_FRAME_DEFNAME +{ + Text [ de ] = "Rahmen" ; + Text [ en-US ] = "Frame" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Moldura"; + Text[ ru ] = "Врезка"; + Text[ el ] = "Πλαίσιο"; + Text[ nl ] = "Kader"; + Text[ fr ] = "Cadre"; + Text[ es ] = "Marco"; + Text[ fi ] = "Kehys"; + Text[ ca ] = "Marc"; + Text[ it ] = "Cornice"; + Text[ sk ] = "Rámček"; + Text[ da ] = "Ramme"; + Text[ sv ] = "Ram"; + Text[ pl ] = "Ramka"; + Text[ pt-BR ] = "Moldura"; + Text[ th ] = "กรอบ"; + Text[ ja ] = "枠"; + Text[ ko ] = "프레임"; + Text[ zh-CN ] = "框"; + Text[ zh-TW ] = "文字方塊"; + Text[ tr ] = "Çerçeve"; + Text[ hi-IN ] = "फ्रेम "; + Text[ ar ] = "كادر"; + Text[ he ] = "מסגרת"; +}; +String STR_REGION_DEFNAME +{ + Text [ de ] = "Bereich" ; + Text [ en-US ] = "Section" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Secção"; + Text[ ru ] = "Раздел"; + Text[ el ] = "Ενότητα"; + Text[ nl ] = "Bereik"; + Text[ fr ] = "Section"; + Text[ es ] = "Sección"; + Text[ fi ] = "Osa"; + Text[ ca ] = "Area"; + Text[ it ] = "Sezione"; + Text[ sk ] = "Sekcia"; + Text[ da ] = "Område"; + Text[ sv ] = "Område"; + Text[ pl ] = "Sekcja"; + Text[ pt-BR ] = "Seção"; + Text[ th ] = "ส่วน"; + Text[ ja ] = "範囲"; + Text[ ko ] = "구역"; + Text[ zh-CN ] = "区域"; + Text[ zh-TW ] = "區域"; + Text[ tr ] = "Bölüm"; + Text[ hi-IN ] = "विभाग"; + Text[ ar ] = "نطاق"; + Text[ he ] = "מיקטע"; +}; +String STR_NUMRULE_DEFNAME +{ + Text [ de ] = "Nummerierung" ; + Text [ en-US ] = "Numbering" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Numeração"; + Text[ ru ] = "Нумерация"; + Text[ el ] = "Αρίθμηση"; + Text[ nl ] = "Nummering"; + Text[ fr ] = "Numérotation"; + Text[ es ] = "Numeración"; + Text[ fi ] = "Numerointi"; + Text[ ca ] = "Numeració"; + Text[ it ] = "Numerazione"; + Text[ sk ] = "Číslovanie"; + Text[ da ] = "Nummerering"; + Text[ sv ] = "Numrering"; + Text[ pl ] = "Numeracja"; + Text[ pt-BR ] = "Numeração"; + Text[ th ] = "ลำดับตัวเลข"; + Text[ ja ] = "番号付け"; + Text[ ko ] = "번호 매기기"; + Text[ zh-CN ] = "编号"; + Text[ zh-TW ] = "編號"; + Text[ tr ] = "Numaralama"; + Text[ hi-IN ] = "संख्या देना"; + Text[ ar ] = "الترقيم"; + Text[ he ] = "מיספור"; +}; + + + + + +String STR_FDLG_TEMPLATE_BUTTON +{ + Text [ de ] = "Vorlage" ; + Text [ en-US ] = "Style" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Estilo"; + Text[ ru ] = "Стиль"; + Text[ el ] = "Πρότυπο"; + Text[ nl ] = "Sjabloon"; + Text[ fr ] = "Style"; + Text[ es ] = "Estilo"; + Text[ fi ] = "Tyyli"; + Text[ ca ] = "Estil"; + Text[ it ] = "Modello"; + Text[ sk ] = "Štýl"; + Text[ da ] = "Skabelon"; + Text[ sv ] = "Formatmall"; + Text[ pl ] = "Styl"; + Text[ pt-BR ] = "Estilo"; + Text[ th ] = "ลักษณะ"; + Text[ ja ] = "スタイル"; + Text[ ko ] = "스타일"; + Text[ zh-CN ] = "样式"; + Text[ zh-TW ] = "樣式"; + Text[ tr ] = "Biçim"; + Text[ hi-IN ] = "शैली"; + Text[ ar ] = "نمط"; + Text[ he ] = "Vorlage"; +}; + + + +String STR_PAGEBREAK +{ + Text [ de ] = "Umbruch vor neuer Seite" ; + Text [ en-US ] = "Break before new page" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Quebra antes de nova página"; + Text[ ru ] = "Разрыв перед новой страницей"; + Text[ el ] = "Αλλαγή πριν από νέα σελίδα"; + Text[ nl ] = "Einde voor nieuwe pagina"; + Text[ fr ] = "Saut avant nouvelle page"; + Text[ es ] = "Salto antes de página nueva"; + Text[ fi ] = "Vaihto ennen uutta sivua"; + Text[ ca ] = "Salt abans de pàgina nova"; + Text[ it ] = "Interrompi prima della pagina nuova"; + Text[ sk ] = "Zalomiť pred novou stránkou"; + Text[ da ] = "Skift før ny side"; + Text[ sv ] = "Bryt före ny sida"; + Text[ pl ] = "Podział przed nową stroną"; + Text[ pt-BR ] = "Quebrar antes da nova página"; + Text[ th ] = "แบ่งก่อนขึ้นหน้าใหม่"; + Text[ ja ] = "新しいページの前で区切る"; + Text[ ko ] = "새 페이지 앞에서 나누기"; + Text[ zh-CN ] = "在新一页之前换页"; + Text[ zh-TW ] = "在新一頁之前換頁"; + Text[ tr ] = "Yeni sayfa öncesi kesme"; + Text[ hi-IN ] = "नया पृष्ठ से पहिले खण्डन"; + Text[ ar ] = "فاصل قبل الصفحة الجديدة"; + Text[ he ] = "Umbruch vor neuer Seite"; +}; + + +/*QueryBox MSG_INS_MERGE_FIELDS +{ + HelpId = HID_MAIL_MERGE_INSERT_FIELDS; + Buttons = WB_OK_CANCEL ; + DefButton = WB_DEF_YES ; + Message [ de ] = "Mchten Sie Namen und Adressen aus einer Datenbank verwenden?"; + Message [ en-US ] = "Do you want to use names and addresses from a database?"; +}; +*/ + +String RID_MODULE_TOOLBOX +{ + Text [ de ] = "Funktionsleiste (Lesemodus)" ; + Text [ en-US ] = "Function Bar (viewing mode)" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Barra de funções"; + Text[ ru ] = "Панель функций"; + Text[ el ] = "Γραμμή λειτουργιών"; + Text[ nl ] = "Werkbalk"; + Text[ fr ] = "Barre de fonctions (mode visualisation)"; + Text[ es ] = "Barra de funciones (modo vista)"; + Text[ fi ] = "Toimintorivi"; + Text[ ca ] = "Barra de funcions"; + Text[ it ] = "Barra delle funzioni (modo visualizzazione)"; + Text[ sk ] = "Panel funkcií (mód náhľadu)"; + Text[ da ] = "Funktionslinje"; + Text[ sv ] = "Funktionslist (visningsläge)"; + Text[ pl ] = "Pasek funkcji"; + Text[ pt-BR ] = "Barra de funções"; + Text[ th ] = "แถบฟังก์ชั่น"; + Text[ ja ] = "ファンクションバー(表示モード)"; + Text[ ko ] = "기능 모음 (보기 모드)"; + Text[ zh-CN ] = "功能栏(视图模式)"; + Text[ zh-TW ] = "功能列(檢視模式)"; + Text[ tr ] = "Fonksiyon Çubuğu"; + Text[ hi-IN ] = "फंक्शन् पट्टी"; + Text[ ar ] = "شريط المهام"; + Text[ he ] = "סרגל פעולות נפוצות"; +}; + + diff --git a/binfilter/bf_sw/source/ui/app/sw_apphdl.cxx b/binfilter/bf_sw/source/ui/app/sw_apphdl.cxx new file mode 100644 index 000000000000..6a9a5d71ed73 --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_apphdl.cxx @@ -0,0 +1,215 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + + + +#define _SVSTDARR_STRINGSDTOR + +#include <bf_sfx2/event.hxx> +#include <bf_svtools/colorcfg.hxx> +#include <bf_svtools/eitem.hxx> +#include <bf_svtools/whiter.hxx> +#include <bf_svtools/isethint.hxx> +#include <bf_svtools/ctloptions.hxx> + + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +#include <cmdid.h> // Funktion-Ids +#include <swmodule.hxx> +#include <wdocsh.hxx> +#include <doc.hxx> +#include <globals.h> // globale Konstanten z.B. +#include <app.hrc> +#include <usrpref.hxx> +#include <prtopt.hxx> +#include <modcfg.hxx> +#include <fontcfg.hxx> +#include <barcfg.hxx> +#include <uinums.hxx> +#include <dbconfig.hxx> + +#include <bf_sfx2/app.hxx> +#include <bf_svx/svxids.hrc> + +// #107253# + +using namespace ::com::sun::star; + +#define C2S(cChar) String::CreateFromAscii(cChar) + +#include <cfgid.h> + +#include <shells.hrc> +#include "bf_so3/staticbaseurl.hxx" + +namespace binfilter { + +/*M*/ void SwModule::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) +/*M*/ { +/*M*/ if( rHint.ISA( SfxEventHint ) ) +/*M*/ { +/*M*/ SfxEventHint& rEvHint = (SfxEventHint&) rHint; +/*M*/ SwDocShell* pDocSh = PTR_CAST( SwDocShell, rEvHint.GetObjShell() ); +/*M*/ if( pDocSh ) +/*M*/ { +/*M*/ SwWrtShell* pWrtSh = pDocSh ? pDocSh->GetWrtShell() : 0; +/*M*/ switch( rEvHint.GetEventId() ) +/*M*/ { +/* MA 07. Mar. 96: UpdateInputFlds() nur noch bei Dokument neu. + (Und bei Einfuegen Textbaust.) + case SFX_EVENT_OPENDOC: + // dann am aktuellen Dokument die Input-Fedler updaten + if( pWrtSh ) + pWrtSh->UpdateInputFlds(); + break; +*/ +/*M*/ case SFX_EVENT_CREATEDOC: +/*M*/ // alle FIX-Date/Time Felder auf akt. setzen +/*M*/ if( pWrtSh ) +/*M*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 pWrtSh->SetFixFields(); +/*M*/ } +/*M*/ break; +/*M*/ } +/*M*/ } +/*M*/ } +/*M*/ else if(rHint.ISA(SfxItemSetHint)) +/*M*/ { +/*M*/ if( SFX_ITEM_SET == ((SfxItemSetHint&)rHint).GetItemSet().GetItemState(SID_ATTR_PATHNAME)) +/*M*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 ::GetGlossaries()->UpdateGlosPath( sal_False ); +/*M*/ } +/*M*/ +/*M*/ if( SFX_ITEM_SET == ((SfxItemSetHint&)rHint).GetItemSet(). +/*M*/ GetItemState( SID_ATTR_ADDRESS, sal_False )) +/*M*/ bAuthorInitialised = FALSE; +/*M*/ } +/*M*/ else if(rHint.ISA(SfxSimpleHint)) +/*M*/ { +/*M*/ ULONG nHintId = ((SfxSimpleHint&)rHint).GetId(); +/*M*/ if(SFX_HINT_COLORS_CHANGED == nHintId || +/*N*/ SFX_HINT_ACCESSIBILITY_CHANGED == nHintId ) +/*M*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 +/*N*/ } +/*N*/ else if( SFX_HINT_CTL_SETTINGS_CHANGED == nHintId ) +/*N*/ { +/*N*/ const SfxObjectShell* pObjSh = SfxObjectShell::GetFirst(); +/*N*/ while( pObjSh ) +/*N*/ { +/*N*/ if( pObjSh->IsA(TYPE(SwDocShell)) ) +/*N*/ { +/*N*/ const SwDoc* pDoc = ((SwDocShell*)pObjSh)->GetDoc(); +/*N*/ ViewShell* pVSh = 0; +/*N*/ pDoc->GetEditShell( &pVSh ); +/*N*/ if ( pVSh ) +/*N*/ pVSh->ChgNumberDigits(); +/*N*/ } +/*N*/ pObjSh = SfxObjectShell::GetNext(*pObjSh); +/*N*/ } +/*N*/ } +/*M*/ else if(SFX_HINT_DEINITIALIZING == nHintId) +/*M*/ { +/*M*/ DELETEZ(pWebUsrPref); +/*M*/ DELETEZ(pUsrPref) ; +/*M*/ DELETEZ(pModuleConfig); +/*M*/ DELETEZ(pPrtOpt) ; +/*M*/ DELETEZ(pWebPrtOpt) ; +/*M*/ DELETEZ(pChapterNumRules); +/*M*/ DELETEZ(pStdFontConfig) ; +/*M*/ DELETEZ(pAuthorNames) ; +/*M*/ DELETEZ(pDBConfig); +/*M*/ EndListening(*pColorConfig); +/*M*/ DELETEZ(pColorConfig); +/*N*/ EndListening(*pCTLOptions); +/*N*/ DELETEZ(pCTLOptions); +/*M*/ } +/*M*/ } +/*M*/ } + +/* -----------------------------20.02.01 12:43-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwDBConfig* SwModule::GetDBConfig() +/*N*/ { +/*N*/ if(!pDBConfig) +/*N*/ pDBConfig = new SwDBConfig; +/*N*/ return pDBConfig; +/*N*/ } +/* -----------------------------11.04.2002 15:27------------------------------ + + ---------------------------------------------------------------------------*/ +/*N*/ ColorConfig& SwModule::GetColorConfig() +/*N*/ { +/*N*/ if(!pColorConfig) +/*N*/ { +/*N*/ pColorConfig = new ColorConfig; +/*N*/ SwViewOption::ApplyColorConfigValues(*pColorConfig); +/*N*/ StartListening(*pColorConfig); +/*N*/ } +/*N*/ return *pColorConfig; +/*N*/ } + +SvtCTLOptions& SwModule::GetCTLOptions() +{ + if(!pCTLOptions) + { + pCTLOptions = new SvtCTLOptions; + StartListening(*pCTLOptions); + } + return *pCTLOptions; +} +/*-----------------30.01.97 08.30------------------- + +--------------------------------------------------*/ +/*N*/ const SwMasterUsrPref *SwModule::GetUsrPref(sal_Bool bWeb) const +/*N*/ { +/*N*/ SwModule* pNonConstModule = (SwModule*)this; +/*N*/ if(bWeb && !pWebUsrPref) +/*N*/ { +/*N*/ // im Load der SwMasterUsrPref wird der SpellChecker gebraucht, dort darf +/*N*/ // er aber nicht angelegt werden #58256# +/*N*/ pNonConstModule->pWebUsrPref = new SwMasterUsrPref(TRUE); +/*N*/ } +/*N*/ else if(!bWeb && !pUsrPref) +/*N*/ { +/*N*/ pNonConstModule->pUsrPref = new SwMasterUsrPref(FALSE); +/*N*/ } +/*N*/ return bWeb ? pWebUsrPref : pUsrPref; +/*N*/ } + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_docsh.cxx b/binfilter/bf_sw/source/ui/app/sw_docsh.cxx new file mode 100644 index 000000000000..83c16b3f6eca --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_docsh.cxx @@ -0,0 +1,873 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <hintids.hxx> + +#include <rtl/logfile.hxx> +#include <tools/urlobj.hxx> +#include <bf_svtools/whiter.hxx> +#include <bf_svtools/stritem.hxx> +#include <bf_svx/adjitem.hxx> + +#include <bf_sfx2/app.hxx> + +#include <bf_sfx2/docfile.hxx> +#include <bf_sfx2/docfilt.hxx> +#include <bf_sfx2/printer.hxx> +#include <bf_svx/linkmgr.hxx> +#include <comphelper/classids.hxx> + +#include <fmtpdsc.hxx> +#include <fmtfsize.hxx> + +#include <errhdl.hxx> + +#include <swwait.hxx> + +#include <horiornt.hxx> + +#include <wrtsh.hxx> // Verbindung zur Core +#include <wdocsh.hxx> +#include <swmodule.hxx> +#include <globdoc.hxx> +#include <usrpref.hxx> +#include <shellio.hxx> // I/O +#include <sw3io.hxx> // I/O, Hausformat +#include <docstyle.hxx> +#include <doc.hxx> +#include <pagedesc.hxx> +#include <swbaslnk.hxx> +#include <ndindex.hxx> +#include <ndole.hxx> + +#include <swerror.h> // Fehlermeldungen +#include <helpid.h> +#include <cmdid.h> // +#include <globals.hrc> +#include <app.hrc> + +#include <bf_svtools/moduleoptions.hxx> + +using namespace rtl; +using namespace ::com::sun::star::uno; + +namespace binfilter { +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::script; +using namespace ::com::sun::star::container; + +/*N*/ class SwTmpPersist : public SvPersist +/*N*/{ +/*N*/ SwDocShell* pDShell; +/*N*/ virtual void FillClass( SvGlobalName * pClassName, +/*N*/ ULONG * pClipFormat, +/*N*/ String * pAppName, +/*N*/ String * pLongUserName, +/*N*/ String * pUserName, +/*N*/ long nFileFormat=SOFFICE_FILEFORMAT_CURRENT ) const; +/*N*/ virtual BOOL Save(); +/*N*/ virtual BOOL SaveCompleted( SvStorage * ); +/*N*/ public: +/*N*/ SwTmpPersist( SwDocShell& rDSh ) : pDShell( &rDSh ) {} +/*N*/}; + + +/*-------------------------------------------------------------------- + Beschreibung: Aller Filter registrieren + --------------------------------------------------------------------*/ + +SFX_IMPL_OBJECTFACTORY_DLL(SwDocShell, SFXOBJECTSHELL_STD_NORMAL|SFXOBJECTSHELL_HASMENU, \ +//swriter3 0xDC5C7E40L, 0xB35C, 0x101B, 0x99, 0x61, 0x04, 0x02, 0x1C, 0x00, 0x70,0x02) +//swriter4 0x8b04e9b0, 0x420e, 0x11d0, 0xa4, 0x5e, 0x0, 0xa0, 0x24, 0x9d, 0x57,0xb1, Sw) +//swriter5 0xc20cf9d1, 0x85ae, 0x11d1, 0xaa, 0xb4, 0x0, 0x60, 0x97, 0xda, 0x56, 0x1a + SvGlobalName(BF_SO3_SW_CLASSID), Sw) /*swriter5,*/ + +/*{ + ::RegisterFilterInSfxFactory( (SfxObjectFactory&)Factory(), RC_DOC_ICON ); +} + */ + + +/*N*/ TYPEINIT2(SwDocShell, SfxObjectShell, SfxListener); + +/*-------------------------------------------------------------------- + Beschreibung: Laden vorbereiten + --------------------------------------------------------------------*/ + + +/*N*/ Reader* SwDocShell::StartConvertFrom(SfxMedium& rMedium, SwReader** ppRdr, +/*N*/ SwCrsrShell *pCrsrShell, +/*N*/ SwPaM* pPaM ) +/*N*/ { +/*N*/ BOOL bAPICall = FALSE; + const SfxPoolItem* pApiItem; + const SfxItemSet* pMedSet; + if( 0 != ( pMedSet = rMedium.GetItemSet() ) && SFX_ITEM_SET == + pMedSet->GetItemState( FN_API_CALL, TRUE, &pApiItem ) ) + bAPICall = ((const SfxBoolItem*)pApiItem)->GetValue(); + + const SfxFilter* pFlt = rMedium.GetFilter(); + if( !pFlt ) + { + if(!bAPICall) + { + } + return 0; + } + String aFileName( rMedium.GetName() ); + SwRead pRead = SwIoSystem::GetReader( pFlt->GetUserData() ); + if( !pRead ) + return 0; + + if( rMedium.IsStorage() + ? SW_STORAGE_READER & pRead->GetReaderType() + : SW_STREAM_READER & pRead->GetReaderType() ) + { + *ppRdr = pPaM ? new SwReader( rMedium, aFileName, *pPaM ) : + pCrsrShell ? + new SwReader( rMedium, aFileName, *pCrsrShell->GetCrsr() ) + : new SwReader( rMedium, aFileName, pDoc ); + } + else + return 0; + + // PassWord Checken + String aPasswd; + if ((*ppRdr)->NeedsPasswd( *pRead )) + { + { + const SfxItemSet* pSet = rMedium.GetItemSet(); + const SfxPoolItem *pPassItem; + if(pSet && SFX_ITEM_SET == pSet->GetItemState(SID_PASSWORD, TRUE, &pPassItem)) + aPasswd = ((const SfxStringItem *)pPassItem)->GetValue(); + } + + if (!(*ppRdr)->CheckPasswd( aPasswd, *pRead )) + { + delete *ppRdr; + //JP: SFX-Aenderung - kein close rufen + // if( !rMedium.IsStorage() ) + // rMedium.CloseInStream(); + return 0; + } + } + if(rMedium.IsStorage()) + { + SvStorageRef aStor( rMedium.GetStorage() ); + const SfxItemSet* pSet = rMedium.GetItemSet(); + const SfxPoolItem *pItem; + if(pSet && SFX_ITEM_SET == pSet->GetItemState(SID_PASSWORD, TRUE, &pItem)) + { + DBG_ASSERT(pItem->IsA( TYPE(SfxStringItem) ), "Fehler Parametertype"); + ByteString aPasswd( ((const SfxStringItem *)pItem)->GetValue(), + gsl_getSystemTextEncoding() ); + aStor->SetKey( aPasswd ); + } + // Fuer's Dokument-Einfuegen noch die FF-Version, wenn's der + // eigene Filter ist. + ASSERT( pRead != ReadSw3 || pRead != ReadXML || pFlt->GetVersion(), + "Am Filter ist keine FF-Version gesetzt" ); + if( (pRead == ReadSw3 || pRead == ReadXML) && pFlt->GetVersion() ) + aStor->SetVersion( (long)pFlt->GetVersion() ); + } + // beim Sw3-Reader noch den pIo-Pointer setzen + if( pRead == ReadSw3 ) + ((Sw3Reader*)pRead)->SetSw3Io( pIo ); + + if( pFlt->GetDefaultTemplate().Len() ) + pRead->SetTemplateName( pFlt->GetDefaultTemplate() ); + + if( pRead == ReadAscii && 0 != rMedium.GetInStream() && + pFlt->GetUserData().EqualsAscii( FILTER_TEXT_DLG ) ) + { + SwAsciiOptions aOpt; + const SfxItemSet* pSet; + const SfxPoolItem* pItem; + if( 0 != ( pSet = rMedium.GetItemSet() ) && SFX_ITEM_SET == + pSet->GetItemState( SID_FILE_FILTEROPTIONS, TRUE, &pItem ) ) + aOpt.ReadUserData( ((const SfxStringItem*)pItem)->GetValue() ); + + if( pRead ) + pRead->GetReaderOpt().SetASCIIOpts( aOpt ); + } + + return pRead; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Laden + --------------------------------------------------------------------*/ + + BOOL SwDocShell::ConvertFrom( SfxMedium& rMedium ) + { + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::ConvertFrom" ); + + SwReader* pRdr; + SwRead pRead = StartConvertFrom(rMedium, &pRdr); + if (!pRead) + return FALSE; + + // SfxProgress unterdruecken, wenn man Embedded ist + SW_MOD()->SetEmbeddedLoadSave( + SFX_CREATE_MODE_EMBEDDED == GetCreateMode() ); + + pRdr->GetDoc()->SetHTMLMode( ISA(SwWebDocShell) ); + + /* #106748# Restore the pool default if reading a saved document. */ + pDoc->RemoveAllFmtLanguageDependencies(); + + ULONG nErr = pRdr->Read( *pRead ); + + // Evtl. ein altes Doc weg + if( pDoc ) + RemoveLink(); + pDoc = pRdr->GetDoc(); + + // die DocInfo vom Doc am DocShell-Medium setzen + if( GetMedium()->GetFilter() && + GetMedium()->GetFilter()->UsesStorage() ) + { + SvStorageRef aRef = GetMedium()->GetStorage(); + if( aRef.Is() ) + pDoc->GetInfo()->Save(aRef); + } + + AddLink(); + + ASSERT( !pBasePool, "wer hat seinen Pool nicht zerstoert?" ); + pBasePool = new SwDocStyleSheetPool( *pDoc, + SFX_CREATE_MODE_ORGANIZER == GetCreateMode() ); + UpdateFontList(); + InitDraw(); + + delete pRdr; + + SW_MOD()->SetEmbeddedLoadSave( FALSE ); + + SetError( nErr ); + BOOL bOk = !IsError( nErr ); + + // StartFinishedLoading rufen. Nicht bei asynchronen Filtern! + // Diese muessen das selbst rufen! + if( bOk && !pDoc->IsInLoadAsynchron() ) + StartLoadFinishedTimer(); + + return bOk; + } + +/*-------------------------------------------------------------------- + Beschreibung: Sichern des Default-Formats, Stg vorhanden + --------------------------------------------------------------------*/ + + +/*?*/ BOOL SwDocShell::Save() +/*?*/ { +/*?*/ RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::Save" ); + /*?*/ sal_Bool bXML = pIo->GetStorage()->GetVersion() >= SOFFICE_FILEFORMAT_60; + /*?*/ + /*?*/ CalcLayoutForOLEObjects(); // format for OLE objets + + /*?*/ ULONG nErr = ERR_SWG_WRITE_ERROR, nVBWarning = ERRCODE_NONE; + /*?*/ if( SfxInPlaceObject::Save() ) + /*?*/ { + /*?*/ switch( GetCreateMode() ) + /*?*/ { + /*?*/ case SFX_CREATE_MODE_INTERNAL: + /*?*/ nErr = 0; + /*?*/ break; + /*?*/ + /*?*/ case SFX_CREATE_MODE_ORGANIZER: + /*?*/ if( bXML ) + /*?*/ { + /*?*/ WriterRef xWrt; +/*?*/ ::binfilter::GetXMLWriter( aEmptyStr, xWrt ); + /*?*/ xWrt->SetOrganizerMode( TRUE ); + /*?*/ SwWriter aWrt( *pIo->GetStorage(), *pDoc ); + /*?*/ nErr = aWrt.Write( xWrt ); + /*?*/ xWrt->SetOrganizerMode( FALSE ); + /*?*/ } + /*?*/ else + /*?*/ nErr = pIo->SaveStyles(); + /*?*/ break; + /*?*/ + /*?*/ case SFX_CREATE_MODE_EMBEDDED: + /*?*/ // SfxProgress unterdruecken, wenn man Embedded ist + /*?*/ SW_MOD()->SetEmbeddedLoadSave( TRUE ); + /*?*/ // kein break; + /*?*/ + /*?*/ case SFX_CREATE_MODE_STANDARD: + /*?*/ case SFX_CREATE_MODE_PREVIEW: + /*?*/ default: + /*?*/ { + /*?*/ // TabellenBox Edit beenden! + /*?*/ if( pWrtShell ) + /*?*/ pWrtShell->EndAllTblBoxEdit(); + /*?*/ + /*?*/ WriterRef xWrt; + /*?*/ if( bXML ) + /*?*/ { +/*?*/ ::binfilter::GetXMLWriter( aEmptyStr, xWrt ); + /*?*/ } + /*?*/ else + /*?*/ { +/*?*/ ::binfilter::GetSw3Writer( aEmptyStr, xWrt ); + /*?*/ ((Sw3Writer*)&xWrt)->SetSw3Io( pIo, FALSE ); + /*?*/ } + /*?*/ + /*?*/ BOOL bLockedView; + /*?*/ if ( pWrtShell ) + /*?*/ { + /*?*/ bLockedView = pWrtShell->IsViewLocked(); + /*?*/ pWrtShell->LockView( TRUE ); //lock visible section + /*?*/ } + /*?*/ + /*?*/ SwWriter aWrt( *pIo->GetStorage(), *pDoc ); + /*?*/ nErr = aWrt.Write( xWrt ); + /*?*/ + /*?*/ if ( pWrtShell ) + /*?*/ pWrtShell->LockView( bLockedView ); + /*?*/ } + /*?*/ break; + /*?*/ } + /*?*/ SW_MOD()->SetEmbeddedLoadSave( FALSE ); + /*?*/ } + /*?*/ SetError( nErr ? nErr : nVBWarning ); + /*?*/ + /*?*/ return !IsError( nErr ); +/*?*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Sichern im Defaultformat + --------------------------------------------------------------------*/ + + +/*N*/ BOOL SwDocShell::SaveAs( SvStorage * pStor ) +/*N*/ { +/*N*/ RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::SaveAs" ); +/*N*/ sal_Bool bXML = pStor->GetVersion() >= SOFFICE_FILEFORMAT_60; +/*N*/ +/*N*/ if( pDoc->IsGlobalDoc() && !pDoc->IsGlblDocSaveLinks() ) +/*N*/ RemoveOLEObjects(); +/*N*/ +/*N*/ { +/*N*/ // Task 75666 - is the Document imported by our Microsoft-Filters? +/*N*/ const SfxFilter* pOldFilter = GetMedium()->GetFilter(); +/*N*/ if( pOldFilter && +/*N*/ ( pOldFilter->GetUserData().EqualsAscii( FILTER_WW8 ) || +/*N*/ pOldFilter->GetUserData().EqualsAscii( "CWW6" ) || +/*N*/ pOldFilter->GetUserData().EqualsAscii( "WW6" ) || +/*N*/ pOldFilter->GetUserData().EqualsAscii( "WW1" ) )) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 // when saving it in our own fileformat, then remove the template +/*?*/ // name from the docinfo. +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ CalcLayoutForOLEObjects(); // format for OLE objets +/*N*/ +/*N*/ ULONG nErr = ERR_SWG_WRITE_ERROR, nVBWarning = ERRCODE_NONE; +/*N*/ if( SfxInPlaceObject::SaveAs( pStor ) ) +/*N*/ { +/*N*/ if( GetDoc()->IsGlobalDoc() && !ISA( SwGlobalDocShell ) ) +/*N*/ { +/*?*/ // This is to set the correct class id if SaveAs is +/*?*/ // called from SwDoc::SplitDoc to save a normal doc as +/*?*/ // global doc. In this case, SaveAs is called at a +/*?*/ // normal doc shell, therefore, SfxInplaceObject::SaveAs +/*?*/ // will set the wrong class id. +/*?*/ SvGlobalName aClassName; +/*?*/ ULONG nClipFormat; +/*?*/ String aAppName, aLongUserName, aUserName; +/*?*/ SfxObjectShellRef xDocSh = +/*?*/ new SwGlobalDocShell( SFX_CREATE_MODE_INTERNAL ); +/*?*/ xDocSh->FillClass( &aClassName, &nClipFormat, &aAppName, +/*?*/ &aLongUserName, &aUserName, +/*?*/ pStor->GetVersion() ); +/*?*/ pStor->SetClass( aClassName, nClipFormat, aUserName ); +/*N*/ } + +/*N*/ if( pDoc->ContainsMSVBasic() ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SvxImportMSVBasic aTmp( *this, *pIo->GetStorage() ); +/*N*/ } + +/*N*/ if( !bXML && !ISA( SwGlobalDocShell ) && !ISA( SwWebDocShell ) && +/*N*/ SFX_CREATE_MODE_EMBEDDED != GetCreateMode() ) +/*N*/ AddXMLAsZipToTheStorage( *pStor ); + + // TabellenBox Edit beenden! +/*N*/ if( pWrtShell ) +/*N*/ pWrtShell->EndAllTblBoxEdit(); + + // Modified-Flag merken und erhalten ohne den Link zu Callen + // (fuer OLE; nach Anweisung von MM) +/*N*/ BOOL bIsModified = pDoc->IsModified(); +/*N*/ Link aOldOLELnk( pDoc->GetOle2Link() ); +/*N*/ pDoc->SetOle2Link( Link() ); + + // SfxProgress unterdruecken, wenn man Embedded ist +/*N*/ SW_MOD()->SetEmbeddedLoadSave( +/*N*/ SFX_CREATE_MODE_EMBEDDED == GetCreateMode() ); +/*N*/ +/*N*/ WriterRef xWrt; +/*N*/ if( bXML ) +/*N*/ { +/*?*/ ::binfilter::GetXMLWriter( aEmptyStr, xWrt ); +/*N*/ } +/*N*/ else +/*N*/ { +/*N*/ ::binfilter::GetSw3Writer( aEmptyStr, xWrt ); +/*N*/ ((Sw3Writer*)&xWrt)->SetSw3Io( pIo, TRUE ); +/*N*/ } + +/*N*/ BOOL bLockedView; +/*N*/ if ( pWrtShell ) +/*N*/ { +/*N*/ bLockedView = pWrtShell->IsViewLocked(); +/*N*/ pWrtShell->LockView( TRUE ); //lock visible section +/*N*/ } +/*N*/ +/*N*/ SwWriter aWrt( *pStor, *pDoc ); +/*N*/ nErr = aWrt.Write( xWrt ); +/*N*/ +/*N*/ if ( pWrtShell ) +/*N*/ pWrtShell->LockView( bLockedView ); +/*N*/ +/*N*/ if( bIsModified ) +/*N*/ pDoc->SetModified(); +/*N*/ pDoc->SetOle2Link( aOldOLELnk ); +/*N*/ +/*N*/ SW_MOD()->SetEmbeddedLoadSave( FALSE ); +/*N*/ } +/*N*/ SetError( nErr ? nErr : nVBWarning ); +/*N*/ +/*N*/ return !IsError( nErr ); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Sichern aller Formate + --------------------------------------------------------------------*/ + + +/*-------------------------------------------------------------------- + Beschreibung: Haende weg + --------------------------------------------------------------------*/ + + +/*N*/ void SwDocShell::HandsOff() +/*N*/ { +/*N*/ pIo->HandsOff(); +/*N*/ SfxInPlaceObject::HandsOff(); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: ??? noch nicht zu aktivieren, muss TRUE liefern + --------------------------------------------------------------------*/ + + +/*N*/ BOOL SwDocShell::SaveCompleted( SvStorage * pStor ) +/*N*/ { +/*N*/ RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::SaveCompleted" ); +/*N*/ BOOL bRet = SfxInPlaceObject::SaveCompleted( pStor ); +/*N*/ if( bRet ) +/*N*/ { +/*N*/ // erst hier entscheiden, ob das Speichern geklappt hat oder nicht +/*N*/ if( IsModified() ) +/*?*/ pDoc->SetModified(); +/*N*/ else +/*N*/ pDoc->ResetModified(); +/*N*/ +/*N*/ bRet = pIo->SaveCompleted( pStor ); +/*N*/ } + +/*N*/ if( xOLEChildList.Is() ) +/*N*/ { +/*N*/ BOOL bResetModified = IsEnableSetModified(); +/*N*/ if( bResetModified ) +/*N*/ EnableSetModified( FALSE ); +/*N*/ +/*N*/ SvPersist* pPersist = this; +/*N*/ const SvInfoObjectMemberList* pInfList = xOLEChildList->GetObjectList(); +/*N*/ +/*N*/ for( ULONG n = pInfList->Count(); n; ) +/*N*/ { +/*N*/ SvInfoObjectRef aRef( pInfList->GetObject( --n )); +/*N*/ pPersist->Move( &aRef, aRef->GetStorageName() ); +/*N*/ } +/*N*/ +/*N*/ xOLEChildList.Clear(); +/*N*/ if( bResetModified ) +/*N*/ EnableSetModified( TRUE ); +/*N*/ } +/*N*/ return bRet; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Draw()-Overload fuer OLE2 (Sfx) + --------------------------------------------------------------------*/ + + + +/*N*/ void SwDocShell::SetVisArea( const Rectangle &rRect ) +/*N*/ { +/*N*/ Rectangle aRect( rRect ); + SfxInPlaceObject::SetVisArea( aRect ); +/*N*/ } + + +/*N*/ Rectangle SwDocShell::GetVisArea( USHORT nAspect ) const +/*N*/ { +/*N*/ if ( nAspect == ASPECT_THUMBNAIL ) +/*N*/ { +/*?*/ //PreView: VisArea auf die erste Seite einstellen. +/*?*/ +/*?*/ //PageDesc besorgen, vom ersten Absatz oder den default. +/*?*/ SwNodeIndex aIdx( pDoc->GetNodes().GetEndOfExtras(), 1 ); +/*?*/ SwCntntNode* pNd = pDoc->GetNodes().GoNext( &aIdx ); +/*?*/ const SwFmtPageDesc &rDesc = pNd->GetSwAttrSet().GetPageDesc(); +/*?*/ const SwPageDesc* pDesc = rDesc.GetPageDesc(); +/*?*/ if( !pDesc ) +/*?*/ pDesc = &pDoc->GetPageDesc( 0 ); +/*?*/ +/*?*/ //Das Format wird evtl. von der virtuellen Seitennummer bestimmt. +/*?*/ const USHORT nPgNum = rDesc.GetNumOffset(); +/*?*/ const BOOL bOdd = nPgNum % 2 ? TRUE : FALSE; +/*?*/ const SwFrmFmt *pFmt = bOdd ? pDesc->GetRightFmt() : pDesc->GetLeftFmt(); +/*?*/ if ( !pFmt ) //#40568# +/*?*/ pFmt = bOdd ? pDesc->GetLeftFmt() : pDesc->GetRightFmt(); +/*?*/ +/*?*/ if ( pFmt->GetFrmSize().GetWidth() == LONG_MAX ) +/*?*/ //Jetzt wird es aber Zeit fuer die Initialisierung +/*?*/ pDoc->GetPrt( TRUE ); +/*?*/ +/*?*/ const SwFmtFrmSize& rFrmSz = pFmt->GetFrmSize(); +/*?*/ const Size aSz( rFrmSz.GetWidth(), rFrmSz.GetHeight() ); +/*?*/ const Point aPt( DOCUMENTBORDER, DOCUMENTBORDER ); +/*?*/ const Rectangle aRect( aPt, aSz ); +/*?*/ return aRect; +/*N*/ } +/*N*/ return SvEmbeddedObject::GetVisArea( nAspect ); +/*N*/ } + +/*N*/ Printer *SwDocShell::GetDocumentPrinter() +/*N*/ { +/*N*/ return pDoc->GetPrt(); +/*N*/ } + +/*N*/ OutputDevice* SwDocShell::GetDocumentRefDev() +/*N*/ { +/*N*/ return pDoc->_GetRefDev(); +/*N*/ } + +/*N*/ void SwDocShell::OnDocumentPrinterChanged( Printer * pNewPrinter ) +/*N*/ { +/*N*/ if ( pNewPrinter ) +/*N*/ GetDoc()->SetJobsetup( pNewPrinter->GetJobSetup() ); +/*N*/ else +/*N*/ GetDoc()->SetPrt( 0 ); +/*N*/ } + +/*N*/ ULONG SwDocShell::GetMiscStatus() const +/*N*/ { +/*N*/ return SfxInPlaceObject::GetMiscStatus() | +/*N*/ SVOBJ_MISCSTATUS_RESIZEONPRINTERCHANGE; +/*N*/ } + + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + +/*N*/ IMPL_LINK( SwDocShell, Ole2ModifiedHdl, void *, p ) +/*N*/ { +/*N*/ // vom Doc wird der Status mitgegeben (siehe doc.cxx) +/*N*/ // Bit 0: -> alter Zustand +/*N*/ // Bit 1: -> neuer Zustand +/*N*/ long nStatus = (long)p; +/*N*/ if( IsEnableSetModified() ) +/*N*/ SetModified( (nStatus & 2) ? TRUE : FALSE ); +/*N*/ return 0; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Pool returnen Hier weil virtuelll + --------------------------------------------------------------------*/ + + +/*N*/ SfxStyleSheetBasePool* SwDocShell::GetStyleSheetPool() +/*N*/ { +/*N*/ return pBasePool; +/*N*/ } + + +/*N*/ void SwDocShell::StartLoadFinishedTimer() +/*N*/ { +/*N*/ BOOL bSttTimer = FALSE; + // ohne WrtShell haben wir eine WebDocShell und muessen uns die + // Optionen vom Modul holen +/*N*/ if( pWrtShell ? pWrtShell->GetViewOptions()->IsGraphic() +/*N*/ : SW_MOD()->GetUsrPref(TRUE)->IsGraphic() ) +/*N*/ { +/*N*/ const SvxLinkManager& rLnkMgr = pDoc->GetLinkManager(); +/*N*/ const ::binfilter::SvBaseLinks& rLnks = rLnkMgr.GetLinks(); +/*N*/ for( USHORT n = 0; n < rLnks.Count(); ++n ) +/*N*/ { +/*N*/ ::binfilter::SvBaseLink* pLnk = &(*rLnks[ n ]); +/*N*/ if( pLnk && OBJECT_CLIENT_GRF == pLnk->GetObjType() && +/*N*/ pLnk->ISA( SwBaseLink ) ) +/*N*/ { +/*N*/ ::binfilter::SvLinkSource* pLnkObj = pLnk->GetObj(); +/*N*/ if( !pLnkObj ) +/*N*/ { +/*N*/ String sFileNm; +/*N*/ if( rLnkMgr.GetDisplayNames( pLnk, 0, &sFileNm, 0, 0 )) +/*N*/ { +/*N*/ INetURLObject aURL( sFileNm ); +/*N*/ switch( aURL.GetProtocol() ) +/*N*/ { +/*N*/ case INET_PROT_NOT_VALID: +/*N*/ case INET_PROT_FILE: +/*N*/ case INET_PROT_MAILTO: +/*N*/ case INET_PROT_NEWS: +/*N*/ case INET_PROT_CID: +/*N*/ break; +/*N*/ +/*N*/ default: +/*?*/ ((SwBaseLink*)pLnk)->SwapIn(); +/*?*/ ((SwBaseLink*)pLnk)->GetCntntNode()->SetAutoFmtLvl(1); +/*?*/ bSttTimer = TRUE; +/*N*/ break; +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ else +/*N*/ { +/*N*/ BOOL bSendState = FALSE; +/*N*/ if( pLnkObj->IsPending() ) +/*N*/ bSttTimer = TRUE; // Pending? +/*N*/ else if( !pLnkObj->IsDataComplete() ) +/*N*/ { +/*N*/ // falls aber nicht angetickert werden muss (liegt +/*N*/ // im QuickdrawCache) +/*N*/ if( !((SwBaseLink*)pLnk)->IsShowQuickDrawBmp() ) +/*N*/ { +/*N*/ ((SwBaseLink*)pLnk)->SwapIn(); +/*N*/ ((SwBaseLink*)pLnk)->GetCntntNode()->SetAutoFmtLvl(1); +/*N*/ bSttTimer = TRUE; +/*N*/ } +/*N*/ else +/*N*/ // dann muss aber auf jedenfall der Status +/*N*/ // an die Handler verschickt werden! +/*N*/ bSendState = TRUE; +/*N*/ } +/*N*/ else if( ((SwBaseLink*)pLnk)->IsShowQuickDrawBmp() ) +/*N*/ // Wenn die Grafik aus dem QuickDrawCache kommt, +/*N*/ // wird sie nie angefordert! +/*N*/ // Dann muss aber auf jedenfall der Status +/*N*/ // an die Handler verschickt werden! +/*N*/ bSendState = TRUE; +/*N*/ +/*N*/ if( bSendState ) +/*N*/ { +/*?*/ ::com::sun::star::uno::Any aValue; +/*?*/ aValue <<= ::rtl::OUString::valueOf( +/*?*/ (sal_Int32)STATE_LOAD_OK ); +/*?*/ String sMimeType( SotExchange::GetFormatMimeType( +/*?*/ SvxLinkManager::RegisterStatusInfoId() )); +/*?*/ pLnkObj->DataChanged( sMimeType, aValue ); +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ if( bSttTimer ) +/*N*/ { +/*N*/ aFinishedTimer.SetTimeoutHdl( STATIC_LINK( this, SwDocShell, IsLoadFinished )); +/*N*/ aFinishedTimer.SetTimeout( 1000 ); +/*N*/ aFinishedTimer.Start(); +/*N*/ GetDoc()->StopIdleTimer(); +/*N*/ } +/*N*/ FinishedLoading( SFX_LOADED_MAINDOCUMENT | +/*N*/ ( bSttTimer ? 0 : SFX_LOADED_IMAGES )); +/*N*/ } + + +/*N*/ IMPL_STATIC_LINK( SwDocShell, IsLoadFinished, void*, EMPTYARG ) +/*N*/ { +/*N*/ BOOL bSttTimer = FALSE; +/*N*/ +/*N*/ if( !pThis->IsAbortingImport() ) +/*N*/ { +/*N*/ const SvxLinkManager& rLnkMgr = pThis->pDoc->GetLinkManager(); +/*N*/ const ::binfilter::SvBaseLinks& rLnks = rLnkMgr.GetLinks(); +/*N*/ for( USHORT n = rLnks.Count(); n; ) +/*N*/ { +/*N*/ ::binfilter::SvBaseLink* pLnk = &(*rLnks[ --n ]); +/*N*/ if( pLnk && OBJECT_CLIENT_GRF == pLnk->GetObjType() && +/*N*/ pLnk->ISA( SwBaseLink ) ) +/*N*/ { +/*N*/ ::binfilter::SvLinkSource* pLnkObj = pLnk->GetObj(); +/*N*/ if( pLnkObj && pLnkObj->IsPending() && +/*N*/ !((SwBaseLink*)pLnk)->IsShowQuickDrawBmp() ) +/*N*/ { +/*?*/ bSttTimer = TRUE; +/*?*/ break; +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } + +/*N*/ if( bSttTimer ) +/*?*/ pThis->aFinishedTimer.Start(); +/*N*/ else +/*N*/ { +/*N*/ BOOL bIsModifiedEnabled = pThis->IsEnableSetModified(); +/*N*/ pThis->EnableSetModified( FALSE ); +/*N*/ pThis->FinishedLoading( SFX_LOADED_MAINDOCUMENT | SFX_LOADED_IMAGES ); +/*N*/ pThis->EnableSetModified( bIsModifiedEnabled ); +/*N*/ +/*N*/ pThis->GetDoc()->StartIdleTimer(); +/*N*/ } +/*N*/ return 0; +/*N*/ } + + +// eine Uebertragung wird abgebrochen (wird aus dem SFX gerufen) +/*N*/ void SwDocShell::CancelTransfers() +/*N*/ { +/*N*/ // alle Links vom LinkManager Canceln +/*N*/ aFinishedTimer.Stop(); +/*N*/ pDoc->GetLinkManager().CancelTransfers(); +/*N*/ SfxObjectShell::CancelTransfers(); +/*N*/ } + + + // embedded alle lokalen Links (Bereiche/Grafiken) + + +/*N*/ void SwDocShell::RemoveOLEObjects() +/*N*/ { +/*N*/ SvPersist* pPersist = this; +/*N*/ SwClientIter aIter( *(SwModify*)pDoc->GetDfltGrfFmtColl() ); +/*N*/ for( SwCntntNode* pNd = (SwCntntNode*)aIter.First( TYPE( SwCntntNode ) ); +/*N*/ pNd; pNd = (SwCntntNode*)aIter.Next() ) +/*N*/ { +/*N*/ SwOLENode* pOLENd = pNd->GetOLENode(); +/*N*/ if( pOLENd && ( pOLENd->IsOLEObjectDeleted() || +/*N*/ pOLENd->IsInGlobalDocSection() ) ) +/*N*/ { +/*N*/ SvInfoObjectRef aRef( pPersist->Find( +/*N*/ pOLENd->GetOLEObj().GetName() ) ); +/*N*/ if( aRef.Is() ) +/*N*/ { +/*N*/ if( !xOLEChildList.Is() ) +/*N*/ { +/*N*/ xOLEChildList = new SwTmpPersist( *this ); +/*N*/ xOLEChildList->DoInitNew( 0 ); +/*N*/ } +/*N*/ +/*N*/ xOLEChildList->Move( &aRef, aRef->GetStorageName(), TRUE ); +/*N*/ pPersist->Remove( &aRef ); +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } + +// When a document is loaded, SwDoc::PrtOLENotify is called to update +// the sizes of math objects. However, for objects that do not have a +// SwFrm at this time, only a flag is set (bIsOLESizeInvalid) and the +// size change takes place later, while calculating the layout in the +// idle handler. If this document is saved now, it is saved with invalid +// sizes. For this reason, the layout has to be calculated before a document is +// saved, but of course only id there are OLE objects with bOLESizeInvalid set. +/*N*/ void SwDocShell::CalcLayoutForOLEObjects() +/*N*/ { +/*N*/ if( !pWrtShell ) +/*N*/ return; +/*N*/ +/*N*/ SwClientIter aIter( *(SwModify*)pDoc->GetDfltGrfFmtColl() ); +/*N*/ for( SwCntntNode* pNd = (SwCntntNode*)aIter.First( TYPE( SwCntntNode ) ); +/*N*/ pNd; pNd = (SwCntntNode*)aIter.Next() ) +/*N*/ { +/*N*/ SwOLENode* pOLENd = pNd->GetOLENode(); +/*N*/ if( pOLENd && pOLENd->IsOLESizeInvalid() ) +/*N*/ { +/*N*/ pWrtShell->CalcLayout(); +/*N*/ break; +/*N*/ } +/*N*/ } +/*N*/ } +/* -----------------------------12.02.01 12:08-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ Sequence< OUString > SwDocShell::GetEventNames() +/*N*/ { +/*N*/ Sequence< OUString > aRet = SfxObjectShell::GetEventNames(); +/*N*/ sal_Int32 nLen = aRet.getLength(); +/*N*/ aRet.realloc(nLen + 2); +/*N*/ OUString* pNames = aRet.getArray(); +/*N*/ pNames[nLen++] = OUString::createFromAscii("OnMailMerge"); +/*N*/ pNames[nLen] = OUString::createFromAscii("OnPageCountChange"); +/*N*/ return aRet; +/*N*/ } +/*N*/ void SwTmpPersist::FillClass( SvGlobalName * pClassName, +/*N*/ ULONG * pClipFormat, +/*N*/ String * pAppName, +/*N*/ String * pLongUserName, +/*N*/ String * pUserName, +/*N*/ long nFileFormat ) const +/*N*/ { +/*N*/ pDShell->SwDocShell::FillClass( pClassName, pClipFormat, pAppName, +/*N*/ pLongUserName, pUserName, nFileFormat ); +/*N*/ } + +/*N*/ BOOL SwTmpPersist::Save() +/*N*/{ +/*N*/ if( SaveChilds() ) +/*N*/ return SvPersist::Save(); +/*N*/ return FALSE; +/*N*/} + +/*N*/ BOOL SwTmpPersist::SaveCompleted( SvStorage * pStor ) +/*N*/{ +/*N*/ if( SaveCompletedChilds( pStor ) ) +/*N*/ return SvPersist::SaveCompleted( pStor ); +/*N*/ return FALSE; +/*N*/} + + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_docsh2.cxx b/binfilter/bf_sw/source/ui/app/sw_docsh2.cxx new file mode 100644 index 000000000000..c0f8ef66fbde --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_docsh2.cxx @@ -0,0 +1,255 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#define ITEMID_COLOR_TABLE SID_COLOR_TABLE + +#include <hintids.hxx> + +#include <tools/urlobj.hxx> +#include <unotools/tempfile.hxx> +#include <vcl/wrkwin.hxx> +#include <vcl/msgbox.hxx> +#include <bf_svtools/lckbitem.hxx> +#include <bf_svtools/eitem.hxx> +#include <bf_svtools/macitem.hxx> +#include <bf_svtools/zforlist.hxx> +#include <bf_svtools/zformat.hxx> +#include <bf_svtools/pathoptions.hxx> +#include <bf_sfx2/docinf.hxx> +#include <bf_sfx2/docinf.hxx> +#include <bf_sfx2/request.hxx> +#include <bf_sfx2/printer.hxx> +#include <bf_sfx2/evntconf.hxx> +#include <bf_svtools/sfxecode.hxx> +#include <bf_sfx2/docfile.hxx> +#include <bf_sfx2/docfilt.hxx> +#include <bf_svx/svxids.hrc> +#include <bf_svx/drawitem.hxx> +#include <bf_svx/langitem.hxx> + +#include <bf_offmgr/app.hxx> + +#include "bf_basic/sbstar.hxx" +#include "bf_basic/basmgr.hxx" +#include <bf_so3/svstor.hxx> +#include <comphelper/classids.hxx> + +#include <swunodef.hxx> + +#include <errhdl.hxx> + +#include <fmtcol.hxx> +#include <swevent.hxx> + +#include <docsh.hxx> // Dokumenterzeugung + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +#include <fldbas.hxx> +#include <viewopt.hxx> +#include <globdoc.hxx> +#include <docstyle.hxx> +#include <doc.hxx> +#include <pagedesc.hxx> +#include <shellio.hxx> +#include <poolfmt.hxx> +#include <usrpref.hxx> +#include <wdocsh.hxx> +#include <unotxdoc.hxx> +#include <acmplwrd.hxx> +#include <swmodule.hxx> +#include <unoobj.hxx> +#include <swwait.hxx> + +#include <cmdid.h> +#include <globals.h> +#include <helpid.h> +#include <app.hrc> +#include <poolfmt.hrc> +#include <globals.hrc> + +#include <SwStyleNameMapper.hxx> + +#include <sw3io.hxx> +#include "bf_so3/staticbaseurl.hxx" +namespace binfilter { + +using namespace ::com::sun::star::lang; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star; +using namespace ::rtl; + + +/*-------------------------------------------------------------------- + Beschreibung: Benachrichtigung bei geaenderter DocInfo + --------------------------------------------------------------------*/ + + +/*N*/ void SwDocShell::Notify( SfxBroadcaster&, const SfxHint& rHint ) +/*N*/ { +/*N*/ if( !pDoc ) +/*N*/ { +/*N*/ //MA: Kommt bei der OLE-Registration vor! +/*N*/ // ASSERT( !this, "DocShell ist nicht richtig initialisiert!" ); +/*N*/ return ; +/*N*/ } +/*N*/ +/*N*/ USHORT nAction = 0; +/*N*/ if( rHint.ISA(SfxDocumentInfoHint) ) +/*N*/ nAction = 1; +/*N*/ else if( rHint.ISA(SfxSimpleHint) ) +/*N*/ { +/*N*/ // swithc for more actions +/*N*/ switch( ((SfxSimpleHint&) rHint).GetId() ) +/*N*/ { +/*N*/ case SFX_HINT_TITLECHANGED: +/*N*/ if( GetMedium() ) +/*N*/ nAction = 2; +/*N*/ break; +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ if( nAction ) +/*N*/ { +/*N*/ BOOL bUnlockView; +/*N*/ if( pWrtShell ) +/*N*/ { +/*N*/ bUnlockView = !pWrtShell->IsViewLocked(); +/*N*/ pWrtShell->LockView( TRUE ); //lock visible section +/*N*/ pWrtShell->StartAllAction(); +/*N*/ } +/*N*/ switch( nAction ) +/*N*/ { +/*N*/ case 1: +/*N*/ pDoc->DocInfoChgd( *((SfxDocumentInfoHint&)rHint).GetObject() ); +/*N*/ break; +/*N*/ +/*N*/ case 2: +/*N*/ pDoc->GetSysFldType( RES_FILENAMEFLD )->UpdateFlds(); +/*N*/ break; +/*N*/ } +/*N*/ +/*N*/ if( pWrtShell ) +/*N*/ { +/*N*/ pWrtShell->EndAllAction(); +/*N*/ if( bUnlockView ) +/*N*/ pWrtShell->LockView( FALSE ); +/*N*/ } +/*N*/ } +/*N*/ } + +/*N*/ void SwDoc::SetInfo( const SfxDocumentInfo& rInfo ) +/*N*/ { +DBG_BF_ASSERT(0, "STRIP"); //STRIP001 if( pDocShell ) +/*N*/ } + +/*N*/ void SwDocShell::FillClass( SvGlobalName * pClassName, +/*N*/ ULONG * pClipFormat, +/*N*/ String * pAppName, +/*N*/ String * pLongUserName, +/*N*/ String * pUserName, +/*N*/ long nVersion ) const +/*N*/ { +/*N*/ SfxInPlaceObject::FillClass(pClassName, pClipFormat, pAppName, pLongUserName, +/*N*/ pUserName, nVersion); +/*N*/ +/*N*/ if (nVersion == SOFFICE_FILEFORMAT_31) +/*N*/ { +/*N*/ // *pClassName = SvGlobalName(0xDC5C7E40L, 0xB35C, 0x101B, 0x99, 0x61, +// 0x04, 0x02, 0x1C, 0x00, 0x70,0x02); +/*N*/ *pClassName = SvGlobalName( BF_SO3_SW_CLASSID_30 ); + +/*N*/ *pClipFormat = SOT_FORMATSTR_ID_STARWRITER_30; +/*N*/ pAppName->AssignAscii( "Swriter 3.1" ); +/*N*/ *pLongUserName = SW_RESSTR(STR_WRITER_DOCUMENT_FULLTYPE_31); +/*N*/ } +/*N*/ else if (nVersion == SOFFICE_FILEFORMAT_40) +/*N*/ { +// *pClassName = SvGlobalName(0xDC5C7E40L, 0xB35C, 0x101B, 0x99, 0x61, +// 0x04, 0x02, 0x1C, 0x00, 0x70,0x02); +/*N*/ *pClassName = SvGlobalName( BF_SO3_SW_CLASSID_40 ); +/*N*/ +/*N*/ *pClipFormat = SOT_FORMATSTR_ID_STARWRITER_40; +/*N*/ pAppName->AssignAscii( "StarWriter 4.0" ); +/*N*/ *pLongUserName = SW_RESSTR(STR_WRITER_DOCUMENT_FULLTYPE_40); +/*N*/ } +/*N*/ else if (nVersion == SOFFICE_FILEFORMAT_50) +/*N*/ { +/*N*/ *pClassName = SvGlobalName( BF_SO3_SW_CLASSID_50 ); +/*N*/ *pClipFormat = SOT_FORMATSTR_ID_STARWRITER_50; +/*N*/ *pLongUserName = SW_RESSTR(STR_WRITER_DOCUMENT_FULLTYPE_50); +/*N*/ } +/*N*/ else if (nVersion == SOFFICE_FILEFORMAT_60) +/*N*/ { +/*N*/ *pLongUserName = SW_RESSTR(STR_WRITER_DOCUMENT_FULLTYPE); + + // for binfilter, we need the FormatIDs to be set. Not setting them + // has always been an error (!) + *pClassName = SvGlobalName( BF_SO3_SW_CLASSID_60 ); + *pClipFormat = SOT_FORMATSTR_ID_STARWRITER_60; + +/*N*/ } +/*N*/ *pUserName = SW_RESSTR(STR_HUMAN_SWDOC_NAME); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + +/*N*/ void SwDocShell::SetModified( BOOL bSet ) +/*N*/ { +/*N*/ SfxInPlaceObject::SetModified( bSet ); +/*N*/ if( IsEnableSetModified() && !pDoc->IsInCallModified() ) +/*N*/ { +/*N*/ EnableSetModified( FALSE ); +/*N*/ +/*N*/ if( bSet ) +/*N*/ { +/*N*/ BOOL bOld = pDoc->IsModified(); +/*N*/ pDoc->SetModified(); +/*N*/ } +/*N*/ else +/*N*/ pDoc->ResetModified(); +/*N*/ +/*N*/ EnableSetModified( TRUE ); +/*N*/ } +/*N*/ Broadcast(SfxSimpleHint(SFX_HINT_DOCCHANGED)); +/*N*/ } + +/*N*/ULONG SwDocShell::LoadStylesFromFile( const String& rURL, +/*N*/ SwgReaderOption& rOpt, BOOL bUnoCall ) +/*N*/{ +/*N*/ ULONG nErr = 0;DBG_BF_ASSERT(0, "STRIP"); //STRIP001 +/*N*/ return nErr; +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_docshdrw.cxx b/binfilter/bf_sw/source/ui/app/sw_docshdrw.cxx new file mode 100644 index 000000000000..4765bb9628a0 --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_docshdrw.cxx @@ -0,0 +1,82 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + + +#include <bf_svx/svxids.hrc> + +#define ITEMID_COLOR_TABLE SID_COLOR_TABLE +#define ITEMID_GRADIENT_LIST SID_GRADIENT_LIST +#define ITEMID_HATCH_LIST SID_HATCH_LIST +#define ITEMID_BITMAP_LIST SID_BITMAP_LIST +#define ITEMID_DASH_LIST SID_DASH_LIST +#define ITEMID_LINEEND_LIST SID_LINEEND_LIST + + +#include <bf_offmgr/app.hxx> +#include <bf_svx/drawitem.hxx> +#include <bf_svx/svdmodel.hxx> +#include <bf_svx/svdoutl.hxx> + +#include <docsh.hxx> + +#include <horiornt.hxx> + +#include <doc.hxx> +namespace binfilter { + +/*-------------------------------------------------------------------- + Beschreibung: Document laden + --------------------------------------------------------------------*/ + + +/*N*/ void SwDocShell::InitDraw() +/*N*/ { +/*N*/ SdrModel *pDrDoc = pDoc->GetDrawModel(); +/*N*/ if( pDrDoc ) +/*N*/ { +/*N*/ // Listen, bzw. Tables im ItemSet der DocShell anlegen +/*N*/ PutItem( SvxGradientListItem( pDrDoc->GetGradientList() ) ); +/*N*/ PutItem( SvxHatchListItem( pDrDoc->GetHatchList() ) ); +/*N*/ PutItem( SvxBitmapListItem( pDrDoc->GetBitmapList() ) ); +/*N*/ PutItem( SvxDashListItem( pDrDoc->GetDashList() ) ); +/*N*/ PutItem( SvxLineEndListItem( pDrDoc->GetLineEndList() ) ); +/*N*/ +/*N*/ Outliner& rOutliner = pDrDoc->GetDrawOutliner(); +/*N*/ } +/*N*/ else +/*N*/ PutItem( SvxColorTableItem( OFF_APP()->GetStdColorTable() )); +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_docshini.cxx b/binfilter/bf_sw/source/ui/app/sw_docshini.cxx new file mode 100644 index 000000000000..5c85ecb2a40a --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_docshini.cxx @@ -0,0 +1,787 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include "swrect.hxx" +#include <hintids.hxx> +#include <bf_svx/paperinf.hxx> + +//Statt uiparam.hxx selbst definieren, das spart keys +#include <bf_svx/dialogs.hrc> +#include <sal/macros.h> +#define ITEMID_FONTLIST SID_ATTR_CHAR_FONTLIST + +#include <sot/storinfo.hxx> +#include <bf_svtools/ctrltool.hxx> +#include <bf_svtools/lingucfg.hxx> +#include <bf_sfx2/docfile.hxx> +#include <bf_sfx2/printer.hxx> +#include <bf_svx/asiancfg.hxx> +#include <bf_sfx2/request.hxx> +#include <bf_svtools/intitem.hxx> +#include <bf_svx/adjitem.hxx> + +#include <com/sun/star/document/UpdateDocMode.hpp> + +#include <rtl/logfile.hxx> +#include <bf_sfx2/docfilt.hxx> +#include <bf_svx/xtable.hxx> +#ifndef _SVX_DRAWITEM_HXX //autogen +#define ITEMID_COLOR_TABLE SID_COLOR_TABLE +#include <bf_svx/drawitem.hxx> +#endif +#include <bf_svx/fontitem.hxx> +#include <bf_svx/flstitem.hxx> +#include <bf_svx/tstpitem.hxx> +#include <bf_svx/langitem.hxx> +#include <bf_svx/colritem.hxx> +#include <bf_svx/hyznitem.hxx> + +#include <bf_offmgr/app.hxx> + +#include <prtopt.hxx> + +#include <errhdl.hxx> + +#include <wdocsh.hxx> +#include <swmodule.hxx> + +#include <horiornt.hxx> + +#include <doc.hxx> +#include <docstyle.hxx> +#include <sw3io.hxx> // I/O, Hausformat +#include <shellio.hxx> +#include <swdtflvr.hxx> +#include <usrpref.hxx> +#include <fontcfg.hxx> +#include <poolfmt.hxx> +#include <globdoc.hxx> +#include <ndole.hxx> +#include <unotxdoc.hxx> +#include <linkenum.hxx> + +#include <swerror.h> +#include <globals.hrc> + +// #107253# +#include <swlinguconfig.hxx> +namespace binfilter { + + +using namespace ::com::sun::star::i18n; +using namespace ::com::sun::star::lang; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star; +using namespace ::rtl; +#define C2U(cChar) OUString::createFromAscii(cChar) +/*-----------------21.09.96 15.29------------------- + +--------------------------------------------------*/ + + +/*-------------------------------------------------------------------- + Beschreibung: Document laden + --------------------------------------------------------------------*/ + + +/*N*/ sal_Bool SwDocShell::InitNew( SvStorage * pStor ) +/*N*/ { +/*N*/ RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::InitNew" ); +/*N*/ +/*N*/ sal_Bool bRet = SfxInPlaceObject::InitNew( pStor ); +/*N*/ ASSERT( GetMapUnit() == MAP_TWIP, "map unit is not twip!" ); +/*N*/ sal_Bool bHTMLTemplSet = sal_False; +/*N*/ if( bRet ) +/*N*/ { +/*N*/ AddLink(); // pDoc / pIo ggf. anlegen +/*N*/ +/*N*/ sal_Bool bWeb = ISA( SwWebDocShell ); +/*N*/ if ( bWeb ) +/*?*/ bHTMLTemplSet = SetHTMLTemplate( *GetDoc() );//Styles aus HTML.vor +/*N*/ else if( ISA( SwGlobalDocShell ) ) +/*?*/ GetDoc()->SetGlobalDoc(); // Globaldokument +/*N*/ +/*N*/ +/* + //JP 12.07.95: so einfach waere es fuer die neu Mimik + pDoc->SetDefault( SvxTabStopItem( 1, + GetStar Writer App()->GetUsrPref()->GetDefTabDist(), + SVX_TAB_ADJUST_DEFAULT, + RES_PARATR_TABSTOP)); +*/ +/*N*/ if ( GetCreateMode() == SFX_CREATE_MODE_EMBEDDED ) +/*N*/ { + SvEmbeddedObject* pObj = this; + const Size aSz( lA4Width - 2 * lMinBorder, 6 * MM50 ); + SwRect aVis( Point( DOCUMENTBORDER, DOCUMENTBORDER ), aSz ); + pObj->SetVisArea( aVis.SVRect() ); + pDoc->SetBrowseMode( TRUE ); +/*N*/ } + // set forbidden characters if necessary +/*N*/ SvxAsianConfig aAsian; +/*N*/ Sequence<Locale> aLocales = aAsian.GetStartEndCharLocales(); +/*N*/ if(aLocales.getLength()) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 const Locale* pLocales = aLocales.getConstArray(); +/*N*/ } +/*N*/ pDoc->SetKernAsianPunctuation(!aAsian.IsKerningWesternTextOnly()); +/*N*/ pDoc->SetCharCompressType((SwCharCompressType)aAsian.GetCharDistanceCompression()); +/*N*/ pDoc->SetPrintData(*SW_MOD()->GetPrtOptions(bWeb)); + +/*N*/ SubInitNew(); + + // fuer alle + +/*N*/ SwStdFontConfig* pStdFont = SW_MOD()->GetStdFontConfig(); +/*N*/ SfxPrinter* pPrt = pDoc->GetPrt(); + +/*N*/ String sEntry; +/*N*/ USHORT aFontWhich[] = +/*N*/ { RES_CHRATR_FONT, +/*N*/ RES_CHRATR_CJK_FONT, +/*N*/ RES_CHRATR_CTL_FONT +/*N*/ }; +/*N*/ USHORT aFontIds[] = +/*N*/ { +/*N*/ FONT_STANDARD, +/*N*/ FONT_STANDARD_CJK, +/*N*/ FONT_STANDARD_CTL +/*N*/ }; +/*M*/ USHORT nFontTypes[] = +/*M*/ { +/*M*/ DEFAULTFONT_LATIN_TEXT, +/*M*/ DEFAULTFONT_CJK_TEXT, +/*M*/ DEFAULTFONT_CTL_TEXT +/*M*/ }; +/*M*/ USHORT aLangTypes[] = +/*N*/ { +/*N*/ RES_CHRATR_LANGUAGE, +/*N*/ RES_CHRATR_CJK_LANGUAGE, +/*N*/ RES_CHRATR_CTL_LANGUAGE +/*N*/ }; +/*N*/ +/*N*/ for(USHORT i = 0; i < 3; i++) +/*N*/ { +/*N*/ USHORT nFontWhich = aFontWhich[i]; +/*N*/ USHORT nFontId = aFontIds[i]; +/*N*/ SvxFontItem* pFontItem = 0; +/*N*/ if(!pStdFont->IsFontDefault(nFontId)) +/*N*/ { +/*?*/ sEntry = pStdFont->GetFontFor(nFontId); +/*?*/ sal_Bool bDelete = sal_False; +/*?*/ const SfxFont* pFnt = pPrt ? pPrt->GetFontByName(sEntry): 0; +/*?*/ if(!pFnt) +/*?*/ { +/*?*/ pFnt = new SfxFont( FAMILY_DONTKNOW, sEntry, PITCH_DONTKNOW, +/*?*/ ::gsl_getSystemTextEncoding() ); +/*?*/ bDelete = sal_True; +/*?*/ } +/*?*/ pFontItem = new SvxFontItem(pFnt->GetFamily(), pFnt->GetName(), +/*?*/ aEmptyStr, pFnt->GetPitch(), pFnt->GetCharSet(), nFontWhich); +/*?*/ if(bDelete) +/*?*/ { +/*?*/ delete (SfxFont*) pFnt; +/*?*/ bDelete = sal_False; +/*?*/ } +/*?*/ } +/*N*/ else +/*M*/ { +/*N*/ const SvxLanguageItem& rLang = (const SvxLanguageItem&)pDoc->GetDefault( aLangTypes[i] ); +/*N*/ // #107782# OJ use korean language if latin was used +/*N*/ LanguageType eLanguage = rLang.GetLanguage(); +/*N*/ if ( i == 0 ) +/*N*/ { +/*N*/ LanguageType eUiLanguage = Application::GetSettings().GetUILanguage(); +/*N*/ switch( eUiLanguage ) +/*N*/ { +/*N*/ case LANGUAGE_KOREAN: +/*N*/ case LANGUAGE_KOREAN_JOHAB: +/*N*/ eLanguage = eUiLanguage; +/*N*/ break; +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ Font aLangDefFont = OutputDevice::GetDefaultFont( +/*N*/ nFontTypes[i], +/*N*/ eLanguage, +/*N*/ DEFAULTFONT_FLAGS_ONLYONE ); +/*N*/ pFontItem = new SvxFontItem(aLangDefFont.GetFamily(), aLangDefFont.GetName(), +/*N*/ aEmptyStr, aLangDefFont.GetPitch(), aLangDefFont.GetCharSet(), nFontWhich); +/*M*/ } +/*N*/ pDoc->SetDefault(*pFontItem); +/*N*/ if( !bHTMLTemplSet ) +/*N*/ { +/*N*/ SwTxtFmtColl *pColl = pDoc->GetTxtCollFromPool(RES_POOLCOLL_STANDARD); +/*N*/ pColl->ResetAttr(nFontWhich); +/*N*/ } +/*N*/ delete pFontItem; +/*N*/ } +/*M*/ USHORT aFontIdPoolId[] = +/*M*/ { +/*M*/ FONT_OUTLINE, RES_POOLCOLL_HEADLINE_BASE, +/*M*/ FONT_LIST, RES_POOLCOLL_NUMBUL_BASE, +/*M*/ FONT_CAPTION, RES_POOLCOLL_LABEL, +/*M*/ FONT_INDEX, RES_POOLCOLL_REGISTER_BASE, +/*M*/ FONT_OUTLINE_CJK, RES_POOLCOLL_HEADLINE_BASE, +/*M*/ FONT_LIST_CJK, RES_POOLCOLL_NUMBUL_BASE, +/*M*/ FONT_CAPTION_CJK, RES_POOLCOLL_LABEL, +/*M*/ FONT_INDEX_CJK, RES_POOLCOLL_REGISTER_BASE, +/*M*/ FONT_OUTLINE_CTL, RES_POOLCOLL_HEADLINE_BASE, +/*M*/ FONT_LIST_CTL, RES_POOLCOLL_NUMBUL_BASE, +/*M*/ FONT_CAPTION_CTL, RES_POOLCOLL_LABEL, +/*M*/ FONT_INDEX_CTL, RES_POOLCOLL_REGISTER_BASE +/*M*/ }; +/*N*/ +/*N*/ USHORT nFontWhich = RES_CHRATR_FONT; +/*M*/ for(USHORT nIdx = 0; nIdx < 24; nIdx += 2) +/*M*/ { +/*M*/ if(nIdx == 8) +/*M*/ nFontWhich = RES_CHRATR_CJK_FONT; +/*M*/ else if(nIdx == 16) +/*M*/ nFontWhich = RES_CHRATR_CTL_FONT; +/*M*/ if(!pStdFont->IsFontDefault(aFontIdPoolId[nIdx])) +/*M*/ { +/*M*/ sEntry = pStdFont->GetFontFor(aFontIdPoolId[nIdx]); +/*M*/ sal_Bool bDelete = sal_False; +/*M*/ const SfxFont* pFnt = pPrt ? pPrt->GetFontByName(sEntry): 0; +/*M*/ if(!pFnt) +/*M*/ { +/*M*/ pFnt = new SfxFont( FAMILY_DONTKNOW, sEntry, PITCH_DONTKNOW, +/*M*/ ::gsl_getSystemTextEncoding() ); +/*M*/ bDelete = sal_True; +/*M*/ } +/*M*/ SwTxtFmtColl *pColl = pDoc->GetTxtCollFromPool(aFontIdPoolId[nIdx + 1]); +/*M*/ if( !bHTMLTemplSet || +/*M*/ SFX_ITEM_SET != pColl->GetAttrSet().GetItemState( +/*M*/ nFontWhich, sal_False ) ) +/*M*/ { +/*M*/ pColl->SetAttr(SvxFontItem(pFnt->GetFamily(), pFnt->GetName(), +/*M*/ aEmptyStr, pFnt->GetPitch(), pFnt->GetCharSet(), nFontWhich)); +/*M*/ } +/*M*/ if(bDelete) +/*M*/ { +/*M*/ delete (SfxFont*) pFnt; +/*M*/ } +/*M*/ } +/*M*/ } +/*N*/ } +/*N*/ + /* #106748# If the default frame direction of a document is RTL + the default adjusment is to the right. */ +/*N*/ if( !bHTMLTemplSet && +/*N*/ FRMDIR_HORI_RIGHT_TOP == GetDefaultFrameDirection(GetAppLanguage()) ) +/*N*/ pDoc->SetDefault( SvxAdjustItem(SVX_ADJUST_RIGHT) ); +/*N*/ +/*N*/ return bRet; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Ctor mit SfxCreateMode ????? + --------------------------------------------------------------------*/ + + +/*N*/ SwDocShell::SwDocShell(SfxObjectCreateMode eMode) : +/*N*/ pDoc(0), +/*N*/ pIo(0), +/*N*/ pBasePool(0), +/*N*/ pFontList(0), +/*N*/ SfxObjectShell ( eMode ), +/*N*/ pView( 0 ), +/*N*/ pWrtShell( 0 ), +/*N*/ nUpdateDocMode(document::UpdateDocMode::ACCORDING_TO_CONFIG) +/*N*/ { +/*N*/ RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::SwDocShell" ); +/*N*/ Init_Impl(); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Ctor / Dtor + --------------------------------------------------------------------*/ + + +/*?*/ SwDocShell::SwDocShell( SwDoc *pD, SfxObjectCreateMode eMode ): +/*?*/ pDoc(pD), +/*?*/ pIo(0), +/*?*/ pBasePool(0), +/*?*/ pFontList(0), +/*?*/ SfxObjectShell ( eMode ), +/*?*/ pView( 0 ), +/*?*/ pWrtShell( 0 ), +/*?*/ nUpdateDocMode(document::UpdateDocMode::ACCORDING_TO_CONFIG) +/*?*/ { +/*?*/ RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::SwDocShell" ); +/*?*/ Init_Impl(); +/*?*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Dtor + --------------------------------------------------------------------*/ + + +/*N*/ SwDocShell::~SwDocShell() +/*N*/ { +/*N*/ RemoveLink(); +/*N*/ delete pIo; +/*N*/ delete pFontList; +/*N*/ +/*N*/ // wir als BroadCaster werden auch unser eigener Listener +/*N*/ // (fuer DocInfo/FileNamen/....) +/*N*/ EndListening( *this ); +/*N*/ SvxColorTableItem* pColItem = (SvxColorTableItem*)GetItem(SID_COLOR_TABLE); +/*N*/ // wird nur die DocInfo fuer den Explorer gelesen, ist das Item nicht da +/*N*/ if(pColItem) +/*N*/ { +/*N*/ XColorTable* pTable = pColItem->GetColorTable(); +/*N*/ // wurde eine neue Table angelegt, muss sie auch geloescht werden. +/*N*/ if((void*)pTable != (void*)(OFF_APP())->GetStdColorTable()) +/*?*/ delete pTable; +/*N*/ } +/*N*/ } +/* -----------------------------10.09.2001 15:59------------------------------ + + ---------------------------------------------------------------------------*/ +/*N*/ void SwDocShell::Init_Impl() +/*N*/ { +/*N*/ SetShell(this); +/*N*/ SetPool(&SW_MOD()->GetPool()); +/*N*/ SetBaseModel(new SwXTextDocument(this)); +/*N*/ // wir als BroadCaster werden auch unser eigener Listener + // (fuer DocInfo/FileNamen/....) +/*N*/ StartListening( *this ); + //position of the "Automatic" style filter for the stylist (app.src) +/*N*/ SetAutoStyleFilterIndex(3); + + // set map unit to twip +/*N*/ SetMapUnit( MAP_TWIP ); +/*N*/ } +/*-------------------------------------------------------------------- + Beschreibung: AddLink + --------------------------------------------------------------------*/ + + +/*N*/ void SwDocShell::AddLink() +/*N*/ { +/*N*/ if( !pDoc ) +/*N*/ { +/*N*/ SwDocFac aFactory; +/*N*/ pDoc = aFactory.GetDoc(); +/*N*/ pDoc->AddLink(); +/*N*/ pDoc->SetHTMLMode( ISA(SwWebDocShell) ); +/*N*/ } +/*N*/ else +/*?*/ pDoc->AddLink(); +/*N*/ pDoc->SetDocShell( this ); // am Doc den DocShell-Pointer setzen +/*N*/ uno::Reference< text::XTextDocument > xDoc(GetBaseModel(), uno::UNO_QUERY); +/*N*/ ((SwXTextDocument*)xDoc.get())->Reactivate(this); +/*N*/ +/*N*/ if( !pIo ) +/*N*/ pIo = new Sw3Io( *pDoc ); +/*N*/ else +/*?*/ {DBG_BF_ASSERT(0, "STRIP");} //STRIP001 pIo->SetDoc( *pDoc ); +/*N*/ +/*N*/ SetPool(&pDoc->GetAttrPool()); + + // am besten erst wenn eine sdbcx::View erzeugt wird !!! +/*N*/ pDoc->SetOle2Link(LINK(this, SwDocShell, Ole2ModifiedHdl)); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: neue FontList erzeugen Aenderung Drucker + --------------------------------------------------------------------*/ + + +/*N*/ void SwDocShell::UpdateFontList() +/*N*/ { +/*N*/ ASSERT(pDoc, "Kein Doc keine FontList"); +/*N*/ if( pDoc ) +/*N*/ { +/*N*/ SfxPrinter* pPrt = pDoc->GetPrt(); +/*N*/ delete pFontList; +/*N*/ +/*N*/ if( pPrt && pPrt->GetDevFontCount() && !pDoc->IsBrowseMode() ) +/*N*/ pFontList = new FontList( pPrt ); +/*N*/ else +/*N*/ pFontList = new FontList( Application::GetDefaultDevice() ); +/*N*/ +/*N*/ PutItem( SvxFontListItem( pFontList, SID_ATTR_CHAR_FONTLIST ) ); +/*N*/ } +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: RemoveLink + --------------------------------------------------------------------*/ + + +/*N*/ void SwDocShell::RemoveLink() +/*N*/ { +/*N*/ // Uno-Object abklemmen +/*N*/ uno::Reference< text::XTextDocument > xDoc(GetBaseModel(), uno::UNO_QUERY); +/*N*/ ((SwXTextDocument*)xDoc.get())->Invalidate(); +/*N*/ aFinishedTimer.Stop(); +/*N*/ if(pDoc) +/*N*/ { +/*N*/ DELETEZ(pBasePool); +/*N*/ sal_Int8 nRefCt = pDoc->RemoveLink(); +/*N*/ pDoc->SetOle2Link(Link()); +/*N*/ pDoc->SetDocShell( 0 ); +/*N*/ if( !nRefCt ) +/*?*/ delete pDoc; +/*N*/ pDoc = 0; // wir haben das Doc nicht mehr !! +/*N*/ } +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Laden, Default-Format + --------------------------------------------------------------------*/ + + +/*N*/ sal_Bool SwDocShell::Load(SvStorage* pStor) +/*N*/ { +/*N*/ RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::Load" ); +/*N*/ sal_Bool bRet = sal_False; +/*N*/ sal_Bool bXML = pStor->GetVersion() >= SOFFICE_FILEFORMAT_60; +/*N*/ if( SfxInPlaceObject::Load( pStor )) +/*N*/ { +/*N*/ RTL_LOGFILE_CONTEXT_TRACE( aLog, "after SfxInPlaceObject::Load" ); +/*N*/ if( pDoc ) // fuer Letzte Version !! +/*?*/ RemoveLink(); // das existierende Loslassen +/*N*/ +/*N*/ AddLink(); // Link setzen und Daten updaten !! +/*N*/ +/*N*/ // Das Laden +/*N*/ // fuer MD +/*N*/ if( bXML ) +/*N*/ { +/*?*/ ASSERT( !pBasePool, "wer hat seinen Pool nicht zerstoert?" ); +/*?*/ pBasePool = new SwDocStyleSheetPool( *pDoc, +/*?*/ SFX_CREATE_MODE_ORGANIZER == GetCreateMode() ); +/*?*/ if(GetCreateMode() != SFX_CREATE_MODE_ORGANIZER) +/*?*/ { +/*?*/ SfxMedium* pMedium = GetMedium(); +/*?*/ SFX_ITEMSET_ARG( pMedium->GetItemSet(), pUpdateDocItem, SfxUInt16Item, SID_UPDATEDOCMODE, sal_False); +/*?*/ nUpdateDocMode = pUpdateDocItem ? pUpdateDocItem->GetValue() : ::com::sun::star::document::UpdateDocMode::NO_UPDATE; +/*?*/ } +/*?*/ +/*N*/ } +/*N*/ +/*N*/ sal_uInt32 nErr = ERR_SWG_READ_ERROR; +/*N*/ switch( GetCreateMode() ) +/*N*/ { +// case SFX_CREATE_MODE_INTERNAL: +// nErr = 0; +// break; + +/*N*/ case SFX_CREATE_MODE_ORGANIZER: +/*?*/ if( bXML ) +/*?*/ { +/*?*/ if( ReadXML ) +/*?*/ { +/*?*/ ReadXML->SetOrganizerMode( TRUE ); +/*?*/ SwReader aRdr( *pStor, aEmptyStr, pDoc ); +/*?*/ nErr = aRdr.Read( *ReadXML ); +/*?*/ ReadXML->SetOrganizerMode( FALSE ); +/*?*/ } +/*?*/ } +/*?*/ else +/*?*/ {DBG_BF_ASSERT(0, "STRIP");} //STRIP001 nErr = pIo->LoadStyles( pStor ); +/*?*/ break; + +/*N*/ case SFX_CREATE_MODE_INTERNAL: +/*N*/ case SFX_CREATE_MODE_EMBEDDED: +/*N*/ if ( bXML ) +/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 +/*N*/ } + // SfxProgress unterdruecken, wenn man Embedded ist +/*N*/ SW_MOD()->SetEmbeddedLoadSave( sal_True ); + // kein break; + +/*N*/ case SFX_CREATE_MODE_STANDARD: +/*N*/ case SFX_CREATE_MODE_PREVIEW: +/*N*/ { +/*N*/ Reader *pReader = bXML ? ReadXML : ReadSw3; +/*N*/ if( pReader ) +/*N*/ { +/*N*/ // die DocInfo vom Doc am DocShell-Medium setzen +/*N*/ RTL_LOGFILE_CONTEXT_TRACE( aLog, "before ReadDocInfo" ); +/*N*/ if( !bXML ) +/*N*/ { +/*N*/ SfxDocumentInfo aInfo; +/*N*/ aInfo.Load( pStor ); +/*N*/ pDoc->DocInfoChgd( aInfo ); +/*N*/ } +/*N*/ SwReader aRdr( *pStor, aEmptyStr, pDoc ); +/*N*/ RTL_LOGFILE_CONTEXT_TRACE( aLog, "before Read" ); +/*N*/ nErr = aRdr.Read( *pReader ); +/*N*/ RTL_LOGFILE_CONTEXT_TRACE( aLog, "after Read" ); + + // If a XML document is loaded, the global doc/web doc + // flags have to be set, because they aren't loaded + // by this formats. +/*?*/ if( ISA( SwWebDocShell ) ) +/*?*/ { +/*?*/ if( !pDoc->IsHTMLMode() ) +/*?*/ pDoc->SetHTMLMode( TRUE ); +/*?*/ } +/*N*/ if( ISA( SwGlobalDocShell ) ) +/*N*/ { +/*N*/ if( !pDoc->IsGlobalDoc() ) +/*?*/ pDoc->SetGlobalDoc( TRUE ); +/*N*/ } +/*N*/ } +/*N*/ #ifdef DBG_UTIL +/*N*/ else +/*?*/ ASSERT( !this, "ohne Sw3Reader geht nichts" ); +/*N*/ #endif +/*N*/ } +/*N*/ break; + +/*N*/ #ifdef DBG_UTIL +/*N*/ default: +/*?*/ ASSERT( !this, "Load: new CreateMode?" ); +/*N*/ #endif +/*N*/ +/*N*/ } +/*N*/ +/*N*/ if( !bXML ) +/*N*/ { +/*N*/ ASSERT( !pBasePool, "wer hat seinen Pool nicht zerstoert?" ); +/*N*/ pBasePool = new SwDocStyleSheetPool( *pDoc, +/*N*/ SFX_CREATE_MODE_ORGANIZER == GetCreateMode() ); +/*N*/ } +/*N*/ UpdateFontList(); +/*N*/ InitDraw(); +/*N*/ +/*N*/ SetError( nErr ); +/*N*/ bRet = !IsError( nErr ); + + // StartFinishedLoading rufen. +/*N*/ if( bRet && !pDoc->IsInLoadAsynchron() && +/*N*/ GetCreateMode() == SFX_CREATE_MODE_STANDARD ) +/*N*/ StartLoadFinishedTimer(); + + // SfxProgress unterdruecken, wenn man Embedded ist +/*N*/ SW_MOD()->SetEmbeddedLoadSave( sal_False ); + +/*N*/ if( pDoc->IsGlobalDoc() && !pDoc->IsGlblDocSaveLinks() ) +/*N*/ { +/*N*/ // dann entferne alle nicht referenzierte OLE-Objecte +/*N*/ SvStorageInfoList aInfoList; +/*N*/ pStor->FillInfoList( &aInfoList ); +/*N*/ +/*N*/ // erstmal alle nicht "OLE-Objecte" aus der Liste entfernen + sal_uInt32 n; +/*N*/ for( n = aInfoList.Count(); n; ) +/*N*/ { +/*N*/ const String& rName = aInfoList.GetObject( --n ).GetName(); +/*N*/ // in ndole.cxx wird dieser PreFix benutzt +/*N*/ if( 3 != rName.Match( String::CreateFromAscii("Obj") )) +/*N*/ aInfoList.Remove( n ); +/*N*/ } +/*N*/ +/*N*/ // dann alle referenzierten Object aus der Liste entfernen +/*N*/ SwClientIter aIter( *(SwModify*)pDoc->GetDfltGrfFmtColl() ); +/*N*/ for( SwCntntNode* pNd = (SwCntntNode*)aIter.First( TYPE( SwCntntNode ) ); +/*N*/ pNd; pNd = (SwCntntNode*)aIter.Next() ) +/*N*/ { +/*N*/ SwOLENode* pOLENd = pNd->GetOLENode(); +/*N*/ if( pOLENd ) +/*N*/ { +/*N*/ const String& rOLEName = pOLENd->GetOLEObj().GetName(); +/*N*/ for( n = aInfoList.Count(); n; ) +/*N*/ { +/*N*/ const String& rName = aInfoList.GetObject( --n ).GetName(); +/*N*/ if( rOLEName == rName ) +/*N*/ { +/*N*/ aInfoList.Remove( n ); +/*N*/ break; +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } + // und jetzt haben wir alle Objecte, die nicht mehr + // referenziert werden +/*N*/ SvPersist* p = this; +/*N*/ for( n = aInfoList.Count(); n; ) +/*N*/ { +/*?*/ const String& rName = aInfoList.GetObject( --n ).GetName(); +/*?*/ SvInfoObjectRef aRef( p->Find( rName ) ); +/*?*/ if( aRef.Is() ) +/*?*/ p->Remove( &aRef ); +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ return bRet; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + + +/*?*/ sal_Bool SwDocShell::LoadFrom(SvStorage* pStor) +/*?*/ { +/*?*/ RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::LoadFrom" ); +/*?*/ sal_Bool bRet = sal_False; +/*?*/ if( pDoc ) +/*?*/ RemoveLink(); +/*?*/ +/*?*/ AddLink(); // Link setzen und Daten updaten !! +/*?*/ +/*?*/ do { // middle check loop +/*?*/ sal_uInt32 nErr = ERR_SWG_READ_ERROR; +/*?*/ const String& rNm = pStor->GetName(); +/*?*/ String aStreamName; +/*?*/ sal_Bool bXML = pStor->GetVersion() >= SOFFICE_FILEFORMAT_60; +/*?*/ if( bXML ) +/*?*/ aStreamName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM("styles.xml")); +/*?*/ else +/*?*/ aStreamName = SfxStyleSheetBasePool::GetStreamName(); +/*?*/ if( pStor->IsStream( aStreamName ) ) +/*?*/ { +/*?*/ // Das Laden +/*?*/ if( bXML ) +/*?*/ { +/*?*/ ASSERT( !pBasePool, "wer hat seinen Pool nicht zerstoert?" ); +/*?*/ pBasePool = new SwDocStyleSheetPool( *pDoc, +/*?*/ SFX_CREATE_MODE_ORGANIZER == GetCreateMode() ); +/*?*/ if( ReadXML ) +/*?*/ { +/*?*/ ReadXML->SetOrganizerMode( TRUE ); +/*?*/ SwReader aRdr( *pStor, aEmptyStr, pDoc ); +/*?*/ nErr = aRdr.Read( *ReadXML ); +/*?*/ ReadXML->SetOrganizerMode( FALSE ); +/*?*/ } +/*?*/ } +/*?*/ else +/*?*/ {DBG_BF_ASSERT(0, "STRIP"); }//STRIP001 nErr = pIo->LoadStyles( pStor ); +/*?*/ } +/*?*/ else +/*?*/ { +/*?*/ // sollte es sich um eine 2. Vrolage handeln ?? +/*?*/ if( SvStorage::IsStorageFile( rNm ) ) +/*?*/ break; +/*?*/ +/*?*/ const SfxFilter* pFltr = SwIoSystem::GetFileFilter( rNm, aEmptyStr ); +/*?*/ if( !pFltr || !pFltr->GetUserData().EqualsAscii( FILTER_SWG )) +/*?*/ break; +/*?*/ +/*?*/ SfxMedium aMed( rNm, STREAM_STD_READ, FALSE ); +/*?*/ if( 0 == ( nErr = aMed.GetInStream()->GetError() ) ) +/*?*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwWait aWait( *this, sal_True ); +/*?*/ } +/*?*/ } +/*?*/ +/*?*/ if( !bXML ) +/*?*/ { +/*?*/ ASSERT( !pBasePool, "wer hat seinen Pool nicht zerstoert?" ); +/*?*/ pBasePool = new SwDocStyleSheetPool( *pDoc, +/*?*/ SFX_CREATE_MODE_ORGANIZER == GetCreateMode() ); +/*?*/ } +/*?*/ +/*?*/ SetError( nErr ); +/*?*/ bRet = !IsError( nErr ); +/*?*/ +/*?*/ } while( sal_False ); +/*?*/ +/*?*/ SfxObjectShell::LoadFrom( pStor ); +/*?*/ pDoc->ResetModified(); +/*?*/ return bRet; +/*?*/ } + + +/*M*/ void SwDocShell::SubInitNew() +/*M*/ { +/*M*/ ASSERT( !pBasePool, "wer hat seinen Pool nicht zerstoert?" ); +/*M*/ pBasePool = new SwDocStyleSheetPool( *pDoc, +/*M*/ SFX_CREATE_MODE_ORGANIZER == GetCreateMode() ); +/*M*/ UpdateFontList(); +/*M*/ InitDraw(); +/*M*/ +/*M*/ pDoc->SetLinkUpdMode( GLOBALSETTING ); +/*M*/ pDoc->SetFldUpdateFlags( AUTOUPD_GLOBALSETTING ); +/*M*/ +/*M*/ sal_Bool bWeb = ISA(SwWebDocShell); +/*M*/ +/*M*/ sal_uInt16 nRange[] = { +/*N*/ RES_PARATR_ADJUST, RES_PARATR_ADJUST, +/*M*/ RES_CHRATR_COLOR, RES_CHRATR_COLOR, +/*M*/ RES_CHRATR_LANGUAGE, RES_CHRATR_LANGUAGE, +/*M*/ RES_CHRATR_CJK_LANGUAGE, RES_CHRATR_CJK_LANGUAGE, +/*M*/ RES_CHRATR_CTL_LANGUAGE, RES_CHRATR_CTL_LANGUAGE, +/*M*/ 0, 0, 0 }; +/*M*/ if(!bWeb) +/*M*/ { +/*M*/ nRange[ SAL_N_ELEMENTS(nRange) - 3 ] = RES_PARATR_TABSTOP; +/*M*/ nRange[ SAL_N_ELEMENTS(nRange) - 2 ] = RES_PARATR_HYPHENZONE; +/*M*/ } +/*M*/ SfxItemSet aDfltSet( pDoc->GetAttrPool(), nRange ); +/*M*/ +/*M*/ //! get lingu options without loading lingu DLL +/*M*/ SvtLinguOptions aLinguOpt; +/*N*/ +/*N*/ // #107253# Replaced SvtLinguConfig with SwLinguConfig wrapper with UsageCount +/*N*/ SwLinguConfig().GetOptions( aLinguOpt ); +/*M*/ +/*M*/ sal_Int16 nVal = aLinguOpt.nDefaultLanguage, +/*M*/ eCJK = aLinguOpt.nDefaultLanguage_CJK, +/*M*/ eCTL = aLinguOpt.nDefaultLanguage_CTL; +/*M*/ aDfltSet.Put( SvxLanguageItem( nVal, RES_CHRATR_LANGUAGE ) ); +/*M*/ aDfltSet.Put( SvxLanguageItem( eCJK, RES_CHRATR_CJK_LANGUAGE ) ); +/*M*/ aDfltSet.Put( SvxLanguageItem( eCTL, RES_CHRATR_CTL_LANGUAGE ) ); +/*M*/ +/*M*/ if(!bWeb) +/*M*/ { +/*M*/ SvxHyphenZoneItem aHyp( (SvxHyphenZoneItem&) pDoc->GetDefault( +/*M*/ RES_PARATR_HYPHENZONE) ); +/*M*/ aHyp.GetMinLead() = aLinguOpt.nHyphMinLeading; +/*M*/ aHyp.GetMinTrail() = aLinguOpt.nHyphMinTrailing; +/*M*/ +/*M*/ aDfltSet.Put( aHyp ); +/*M*/ +/*M*/ sal_uInt16 nNewPos = SW_MOD()->GetUsrPref(FALSE)->GetDefTab(); +/*M*/ if( nNewPos ) +/*M*/ aDfltSet.Put( SvxTabStopItem( 1, nNewPos, +/*M*/ SVX_TAB_ADJUST_DEFAULT ) ); +/*M*/ } +/*M*/ aDfltSet.Put( SvxColorItem( Color( COL_AUTO ), RES_CHRATR_COLOR ) ); +/*N*/ +/*M*/ pDoc->SetDefault( aDfltSet ); +/*M*/ pDoc->ResetModified(); +/*M*/ } + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_docstyle.cxx b/binfilter/bf_sw/source/ui/app/sw_docstyle.cxx new file mode 100644 index 000000000000..46ff87c9adc3 --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_docstyle.cxx @@ -0,0 +1,1710 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#define _SVSTDARR_USHORTS + +#include <uiparam.hxx> +#include <hintids.hxx> + +#include <bf_svtools/itemiter.hxx> +#include <bf_svtools/eitem.hxx> +#include <bf_svx/boxitem.hxx> + +#include <errhdl.hxx> + +#include <fmtcol.hxx> +#include <uitool.hxx> + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +#include <docsh.hxx> +#include <errhdl.hxx> +#include <charfmt.hxx> +#include <poolfmt.hxx> +#include <docstyle.hxx> +#include <docary.hxx> +#include <ccoll.hxx> +#include <doc.hxx> +#include <uiitems.hxx> + +#include <cmdid.h> +#include <swstyle.h> +#include <app.hrc> +#include <SwStyleNameMapper.hxx> +namespace binfilter { + +// MD 06.02.95: Die Formatnamen in der Liste aller Namen haben als +// erstes Zeichen die Familie: + +#define cCHAR (sal_Unicode)'c' +#define cPARA (sal_Unicode)'p' +#define cFRAME (sal_Unicode)'f' +#define cPAGE (sal_Unicode)'g' +#define cNUMRULE (sal_Unicode)'n' + +// Dieses Zeichen wird bei der Herausgabe der Namen wieder entfernt und +// die Familie wird neu generiert. + +// Ausserdem gibt es jetzt zusaetzlich das Bit bPhysical. Ist dieses Bit +// TRUE, werden die Pool-Formatnamen NICHT mit eingetragen. + + +/*N*/ class SwImplShellAction +/*N*/ { +/*N*/ SwWrtShell* pSh; +/*N*/ CurrShell* pCurrSh; +/*N*/ public: +/*N*/ SwImplShellAction( SwDoc& rDoc ); +/*N*/ ~SwImplShellAction(); +/*N*/ +/*N*/ SwWrtShell* GetSh() { return pSh; } +/*N*/ }; + +/*N*/ SwImplShellAction::SwImplShellAction( SwDoc& rDoc ) +/*N*/ : pCurrSh( 0 ) +/*N*/ { +/*N*/ if( rDoc.GetDocShell() ) +/*N*/ pSh = rDoc.GetDocShell()->GetWrtShell(); +/*N*/ else +/*N*/ pSh = 0; +/*N*/ +/*N*/ if( pSh ) +/*N*/ { +/*N*/ pCurrSh = new CurrShell( pSh ); +/*N*/ pSh->StartAllAction(); +/*N*/ } +/*N*/ } + +/*N*/ SwImplShellAction::~SwImplShellAction() +/*N*/ { +/*N*/ if( pCurrSh ) +/*N*/ { +/*N*/ pSh->EndAllAction(); +/*N*/ delete pCurrSh; +/*N*/ } +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: SwCharFormate finden/anlegen + evtl. Style fuellen + --------------------------------------------------------------------*/ + +/*N*/ SwCharFmt* lcl_FindCharFmt( SwDoc& rDoc, +/*N*/ const String& rName, +/*N*/ SwDocStyleSheet* pStyle = 0, +/*N*/ FASTBOOL bCreate = TRUE ) +/*N*/ { +/*N*/ SwCharFmt* pFmt = 0; +/*N*/ if( rName.Len() ) +/*N*/ { +/*N*/ pFmt = rDoc.FindCharFmtByName( rName ); +/*N*/ if( !pFmt && rName == *SwStyleNameMapper::GetTextUINameArray()[ RES_POOLCOLL_STANDARD - +/*N*/ RES_POOLCOLL_TEXT_BEGIN ] ) +/*N*/ { +/*N*/ // Standard-Zeichenvorlage +/*?*/ pFmt = (SwCharFmt*)rDoc.GetDfltCharFmt(); +/*N*/ } +/*N*/ +/*N*/ if( !pFmt && bCreate ) +/*N*/ { // Pool abklappern +/*N*/ const USHORT nId = SwStyleNameMapper::GetPoolIdFromUIName(rName, GET_POOLID_CHRFMT); +/*N*/ if(nId != USHRT_MAX) +/*N*/ pFmt = rDoc.GetCharFmtFromPool(nId); +/*N*/ } +/*N*/ } +/*N*/ if(pStyle) +/*N*/ { +/*N*/ if(pFmt) +/*N*/ { +/*N*/ pStyle->SetPhysical(TRUE); +/*N*/ SwFmt* p = pFmt->DerivedFrom(); +/*N*/ if( p && !p->IsDefault() ) +/*N*/ pStyle->PresetParent( p->GetName() ); +/*N*/ else +/*N*/ pStyle->PresetParent( aEmptyStr ); +/*N*/ } +/*N*/ else +/*N*/ pStyle->SetPhysical(FALSE); +/*N*/ } +/*N*/ return pFmt; +/*N*/ } + + +/*-------------------------------------------------------------------- + Beschreibung: ParaFormate finden/erzeugen + Style fuellen + --------------------------------------------------------------------*/ + +/*N*/ SwTxtFmtColl* lcl_FindParaFmt( SwDoc& rDoc, +/*N*/ const String& rName, +/*N*/ SwDocStyleSheet* pStyle = 0, +/*N*/ FASTBOOL bCreate = TRUE ) +/*N*/ { +/*N*/ SwTxtFmtColl* pColl = 0; +/*N*/ +/*N*/ if( rName.Len() ) +/*N*/ { +/*N*/ pColl = rDoc.FindTxtFmtCollByName( rName ); +/*N*/ if( !pColl && bCreate ) +/*N*/ { // Pool abklappern +/*N*/ const USHORT nId = SwStyleNameMapper::GetPoolIdFromUIName(rName, GET_POOLID_TXTCOLL); +/*N*/ if(nId != USHRT_MAX) +/*N*/ pColl = rDoc.GetTxtCollFromPool(nId); +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ if(pStyle) +/*N*/ { +/*N*/ if(pColl) +/*N*/ { +/*N*/ pStyle->SetPhysical(TRUE); +/*N*/ if( pColl->DerivedFrom() && !pColl->DerivedFrom()->IsDefault() ) +/*N*/ pStyle->PresetParent( pColl->DerivedFrom()->GetName() ); +/*N*/ else +/*N*/ pStyle->PresetParent( aEmptyStr ); +/*N*/ +/*N*/ SwTxtFmtColl& rNext = pColl->GetNextTxtFmtColl(); +/*N*/ pStyle->PresetFollow(rNext.GetName()); +/*N*/ } +/*N*/ else +/*N*/ pStyle->SetPhysical(FALSE); +/*N*/ } +/*N*/ return pColl; +/*N*/ } + + +/*-------------------------------------------------------------------- + Beschreibung: Rahmenformate + --------------------------------------------------------------------*/ + + +/*N*/ SwFrmFmt* lcl_FindFrmFmt( SwDoc& rDoc, +/*N*/ const String& rName, +/*N*/ SwDocStyleSheet* pStyle = 0, +/*N*/ FASTBOOL bCreate = TRUE ) +/*N*/ { +/*N*/ SwFrmFmt* pFmt = 0; +/*N*/ if( rName.Len() ) +/*N*/ { +/*N*/ pFmt = rDoc.FindFrmFmtByName( rName ); +/*N*/ if( !pFmt && bCreate ) +/*N*/ { // Pool abklappern +/*N*/ const USHORT nId = SwStyleNameMapper::GetPoolIdFromUIName(rName, GET_POOLID_FRMFMT); +/*N*/ if(nId != USHRT_MAX) +/*N*/ pFmt = rDoc.GetFrmFmtFromPool(nId); +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ if(pStyle) +/*N*/ { +/*N*/ if(pFmt) +/*N*/ { +/*N*/ pStyle->SetPhysical(TRUE); +/*N*/ if( pFmt->DerivedFrom() && !pFmt->DerivedFrom()->IsDefault() ) +/*?*/ pStyle->PresetParent( pFmt->DerivedFrom()->GetName() ); +/*N*/ else +/*N*/ pStyle->PresetParent( aEmptyStr ); +/*N*/ } +/*N*/ else +/*N*/ pStyle->SetPhysical(FALSE); +/*N*/ } +/*N*/ return pFmt; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Seitendescriptoren + --------------------------------------------------------------------*/ + + +/*N*/ const SwPageDesc* lcl_FindPageDesc( SwDoc& rDoc, +/*N*/ const String& rName, +/*N*/ SwDocStyleSheet* pStyle = 0, +/*N*/ FASTBOOL bCreate = TRUE ) +/*N*/ { +/*N*/ const SwPageDesc* pDesc = 0; +/*N*/ +/*N*/ if( rName.Len() ) +/*N*/ { +/*N*/ pDesc = rDoc.FindPageDescByName( rName ); +/*N*/ if( !pDesc && bCreate ) +/*N*/ { +/*N*/ USHORT nId = SwStyleNameMapper::GetPoolIdFromUIName(rName, GET_POOLID_PAGEDESC); +/*N*/ if(nId != USHRT_MAX) +/*N*/ pDesc = rDoc.GetPageDescFromPool(nId); +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ if(pStyle) +/*N*/ { +/*N*/ if(pDesc) +/*N*/ { +/*N*/ pStyle->SetPhysical(TRUE); +/*N*/ if(pDesc->GetFollow()) +/*N*/ pStyle->PresetFollow(pDesc->GetFollow()->GetName()); +/*N*/ else +/*?*/ pStyle->PresetParent( aEmptyStr ); +/*N*/ } +/*N*/ else +/*N*/ pStyle->SetPhysical(FALSE); +/*N*/ } +/*N*/ return pDesc; +/*N*/ } + +/*N*/ const SwNumRule* lcl_FindNumRule( SwDoc& rDoc, +/*N*/ const String& rName, +/*N*/ SwDocStyleSheet* pStyle = 0, +/*N*/ FASTBOOL bCreate = TRUE ) +/*N*/ { +/*N*/ const SwNumRule* pRule = 0; +/*N*/ +/*N*/ if( rName.Len() ) +/*N*/ { +/*N*/ pRule = rDoc.FindNumRulePtr( rName ); +/*N*/ if( !pRule && bCreate ) +/*N*/ { +/*N*/ USHORT nId = SwStyleNameMapper::GetPoolIdFromUIName(rName, GET_POOLID_NUMRULE); +/*N*/ if(nId != USHRT_MAX) +/*N*/ pRule = rDoc.GetNumRuleFromPool(nId); +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ if(pStyle) +/*N*/ { +/*N*/ if(pRule) +/*N*/ { +/*N*/ pStyle->SetPhysical(TRUE); +/*N*/ pStyle->PresetParent( aEmptyStr ); +/*N*/ } +/*N*/ else +/*N*/ pStyle->SetPhysical(FALSE); +/*N*/ } +/*N*/ return pRule; +/*N*/ } + + + + + +/*-------------------------------------------------------------------- + Beschreibung: Einfuegen von Strings in die Liste der Vorlagen + --------------------------------------------------------------------*/ + + +/*N*/ void SwPoolFmtList::Append( char cChar, const String& rStr ) +/*N*/ { +/*N*/ String* pStr = new String( cChar ); +/*N*/ *pStr += rStr; +/*N*/ for ( USHORT i=0; i < Count(); ++i ) +/*N*/ { +/*N*/ if( *operator[](i) == *pStr ) +/*N*/ { +/*N*/ delete pStr; +/*N*/ return; +/*N*/ } +/*N*/ } +/*N*/ Insert( pStr, Count() ); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Liste kompletti loeschen + --------------------------------------------------------------------*/ + + +/*N*/ void SwPoolFmtList::Erase() +/*N*/ { +/*N*/ DeleteAndDestroy( 0, Count() ); +/*N*/ } + +/* */ + +/*-------------------------------------------------------------------- + Beschreibung: UI-seitige implementierung von StyleSheets + greift auf die Core-Engine zu + --------------------------------------------------------------------*/ + +/*N*/ SwDocStyleSheet::SwDocStyleSheet( SwDoc& rDocument, +/*N*/ const String& rName, +/*N*/ SwDocStyleSheetPool& rPool, +/*N*/ SfxStyleFamily eFam, +/*N*/ USHORT nMask) : +/*N*/ +/*N*/ SfxStyleSheetBase( rName, rPool, eFam, nMask ), +/*N*/ rDoc(rDocument), +/*N*/ pCharFmt(0), +/*N*/ pFrmFmt(0), +/*N*/ pColl(0), +/*N*/ pDesc(0), +/*N*/ pNumRule(0), +/*N*/ bPhysical(FALSE), +/*N*/ aCoreSet(GetPool().GetPool(), +/*N*/ RES_CHRATR_BEGIN, RES_CHRATR_END - 1, +/*N*/ RES_PARATR_BEGIN, RES_PARATR_END - 1, +/*N*/ RES_FRMATR_BEGIN, RES_FRMATR_END - 1, +/*N*/ RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1, +/*N*/ SID_ATTR_PAGE, SID_ATTR_PAGE_EXT1, +/*N*/ SID_ATTR_PAGE_HEADERSET,SID_ATTR_PAGE_FOOTERSET, +/*N*/ SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER, +/*N*/ FN_PARAM_FTN_INFO, FN_PARAM_FTN_INFO, +/*N*/ SID_ATTR_PARA_MODEL, SID_ATTR_PARA_MODEL, +/*N*/ SID_ATTR_PARA_PAGENUM, SID_ATTR_PARA_PAGENUM, +/*N*/ SID_SWREGISTER_MODE, SID_SWREGISTER_COLLECTION, +/*N*/ FN_COND_COLL, FN_COND_COLL, +/*N*/ SID_ATTR_AUTO_STYLE_UPDATE, SID_ATTR_AUTO_STYLE_UPDATE, +/*N*/ SID_ATTR_NUMBERING_RULE, SID_ATTR_NUMBERING_RULE, +/*N*/ SID_PARA_BACKGRND_DESTINATION, SID_ATTR_BRUSH_CHAR, +/*N*/ SID_ATTR_NUMBERING_RULE, SID_ATTR_NUMBERING_RULE, +/*N*/ 0) +/*N*/ { +/*N*/ nHelpId = UCHAR_MAX; +/*N*/ } + + +/*N*/ SwDocStyleSheet::SwDocStyleSheet( const SwDocStyleSheet& rOrg) : +/*N*/ SfxStyleSheetBase(rOrg), +/*N*/ pCharFmt(rOrg.pCharFmt), +/*N*/ pFrmFmt(rOrg.pFrmFmt), +/*N*/ pColl(rOrg.pColl), +/*N*/ pDesc(rOrg.pDesc), +/*N*/ pNumRule(rOrg.pNumRule), +/*N*/ rDoc(rOrg.rDoc), +/*N*/ bPhysical(rOrg.bPhysical), +/*N*/ aCoreSet(rOrg.aCoreSet) +/*N*/ { +/*N*/ } + + +/*N*/ SwDocStyleSheet::~SwDocStyleSheet() +/*N*/ { +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Zuruecksetzen + --------------------------------------------------------------------*/ + + +/*N*/ void SwDocStyleSheet::Reset() +/*N*/ { +/*N*/ aName.Erase(); +/*N*/ aFollow.Erase(); +/*N*/ aParent.Erase(); +/*N*/ SetPhysical(FALSE); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: virtuelle Methoden + --------------------------------------------------------------------*/ + + +/*N*/ const String& SwDocStyleSheet::GetParent() const +/*N*/ { +/*N*/ if( !bPhysical ) +/*N*/ { +/*?*/ // dann pruefe, ob schon im Doc vorhanden +/*?*/ SwFmt* pFmt = 0; +/*?*/ SwGetPoolIdFromName eGetType; +/*?*/ switch(nFamily) +/*?*/ { +/*?*/ case SFX_STYLE_FAMILY_CHAR: +/*?*/ pFmt = rDoc.FindCharFmtByName( aName ); +/*?*/ eGetType = GET_POOLID_CHRFMT; +/*?*/ break; +/*?*/ +/*?*/ case SFX_STYLE_FAMILY_PARA: +/*?*/ pFmt = rDoc.FindTxtFmtCollByName( aName ); +/*?*/ eGetType = GET_POOLID_TXTCOLL; +/*?*/ break; +/*?*/ +/*?*/ case SFX_STYLE_FAMILY_FRAME: +/*?*/ pFmt = rDoc.FindFrmFmtByName( aName ); +/*?*/ eGetType = GET_POOLID_FRMFMT; +/*?*/ break; +/*?*/ +/*?*/ case SFX_STYLE_FAMILY_PAGE: +/*?*/ case SFX_STYLE_FAMILY_PSEUDO: +/*?*/ default: +/*?*/ return aEmptyStr; // es gibt keinen Parent +/*?*/ } +/*?*/ +/*?*/ String sTmp; +/*?*/ if( !pFmt ) // noch nicht vorhanden, also dflt. Parent +/*?*/ { +/*?*/ USHORT i = SwStyleNameMapper::GetPoolIdFromUIName( aName, eGetType ); +/*?*/ i = ::binfilter::GetPoolParent( i ); +/*?*/ if( i && USHRT_MAX != i ) +/*?*/ SwStyleNameMapper::FillUIName( i, sTmp ); +/*?*/ } +/*?*/ else +/*?*/ { +/*?*/ SwFmt* p = pFmt->DerivedFrom(); +/*?*/ if( p && !p->IsDefault() ) +/*?*/ sTmp = p->GetName(); +/*?*/ } +/*?*/ SwDocStyleSheet* pThis = (SwDocStyleSheet*)this; +/*?*/ pThis->aParent = sTmp; +/*N*/ } +/*N*/ return aParent; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Nachfolger + --------------------------------------------------------------------*/ + + +/*N*/ const String& SwDocStyleSheet::GetFollow() const +/*N*/ { +/*N*/ if( !bPhysical ) +/*N*/ { +/*?*/ SwDocStyleSheet* pThis = (SwDocStyleSheet*)this; +/*?*/ pThis->FillStyleSheet( FillAllInfo ); +/*N*/ } +/*N*/ return aFollow; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Welche Verkettung ist moeglich + --------------------------------------------------------------------*/ + + + +/*-------------------------------------------------------------------- + Beschreibung: Parent ? + --------------------------------------------------------------------*/ + + + + + +/*-------------------------------------------------------------------- + Beschreibung: textuelle Beschreibung ermitteln + --------------------------------------------------------------------*/ + + + +/*-------------------------------------------------------------------- + Beschreibung: Namen setzen + --------------------------------------------------------------------*/ + + + +/*-------------------------------------------------------------------- + Beschreibung: Ableitungshirachie + --------------------------------------------------------------------*/ + + +/*N*/ BOOL SwDocStyleSheet::SetParent( const String& rStr) +/*N*/ { +/*N*/ SwFmt* pFmt = 0, *pParent = 0; +/*N*/ switch(nFamily) +/*N*/ { +/*N*/ case SFX_STYLE_FAMILY_CHAR : +/*N*/ ASSERT( pCharFmt, "SwCharFormat fehlt!" ) +/*N*/ if( 0 != ( pFmt = pCharFmt ) && rStr.Len() ) +/*N*/ pParent = lcl_FindCharFmt(rDoc, rStr); +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PARA : +/*N*/ ASSERT( pColl, "Collektion fehlt!") +/*N*/ if( 0 != ( pFmt = pColl ) && rStr.Len() ) +/*N*/ pParent = lcl_FindParaFmt( rDoc, rStr ); +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_FRAME: +/*?*/ ASSERT(pFrmFmt, "FrameFormat fehlt!"); +/*?*/ if( 0 != ( pFmt = pFrmFmt ) && rStr.Len() ) +/*?*/ pParent = lcl_FindFrmFmt( rDoc, rStr ); +/*?*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PAGE: +/*N*/ case SFX_STYLE_FAMILY_PSEUDO: +/*N*/ break; +/*N*/ default: +/*N*/ ASSERT(!this, "unbekannte Style-Familie"); +/*N*/ } +/*N*/ +/*N*/ BOOL bRet = FALSE; +/*N*/ if( pFmt && pFmt->DerivedFrom() && +/*N*/ pFmt->DerivedFrom()->GetName() != rStr ) +/*N*/ { +/*N*/ { +/*N*/ SwImplShellAction aTmp( rDoc ); +/*N*/ bRet = pFmt->SetDerivedFrom( pParent ); +/*N*/ } +/*N*/ +/*N*/ if( bRet ) +/*N*/ { +/*N*/ aParent = rStr; +/*N*/ rPool.Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_MODIFIED, +/*N*/ *this ) ); +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ return bRet; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Nachfolger detzen + --------------------------------------------------------------------*/ + + +/*N*/ BOOL SwDocStyleSheet::SetFollow( const String& rStr) +/*N*/ { +/*N*/ if( rStr.Len() && !SfxStyleSheetBase::SetFollow( rStr )) +/*?*/ return FALSE; +/*N*/ +/*N*/ SwImplShellAction aTmpSh( rDoc ); +/*N*/ switch(nFamily) +/*N*/ { +/*N*/ case SFX_STYLE_FAMILY_PARA : +/*N*/ { +/*N*/ ASSERT(pColl, "Collection fehlt!"); +/*N*/ if( pColl ) +/*N*/ { +/*N*/ SwTxtFmtColl* pFollow = pColl; +/*N*/ if( rStr.Len() && 0 == (pFollow = lcl_FindParaFmt(rDoc, rStr) )) +/*?*/ pFollow = pColl; +/*N*/ +/*N*/ pColl->SetNextTxtFmtColl(*pFollow); +/*N*/ } +/*N*/ break; +/*N*/ } +/*N*/ case SFX_STYLE_FAMILY_PAGE : +/*N*/ { +/*N*/ ASSERT(pDesc, "PageDesc fehlt!"); +/*N*/ if( pDesc ) +/*N*/ { +/*N*/ const SwPageDesc* pFollowDesc = rStr.Len() +/*N*/ ? lcl_FindPageDesc(rDoc, rStr) +/*N*/ : 0; +/*N*/ USHORT nId; +/*N*/ if( rDoc.FindPageDescByName( pDesc->GetName(), &nId )) +/*N*/ { +/*N*/ SwPageDesc aDesc( *pDesc ); +/*N*/ aDesc.SetFollow( pFollowDesc ); +/*N*/ rDoc.ChgPageDesc( nId, aDesc ); +/*N*/ pDesc = &rDoc.GetPageDesc( nId ); +/*N*/ } +/*N*/ } +/*N*/ break; +/*N*/ } +/*N*/ case SFX_STYLE_FAMILY_CHAR: +/*N*/ case SFX_STYLE_FAMILY_FRAME: +/*N*/ case SFX_STYLE_FAMILY_PSEUDO: +/*N*/ break; +/*N*/ default: +/*?*/ ASSERT(!this, "unbekannte Style-Familie"); +/*N*/ } +/*N*/ +/*N*/ return TRUE; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: ueber Name und Family, Mask den ItemSet rausholen + --------------------------------------------------------------------*/ + +/*N*/ SfxItemSet& SwDocStyleSheet::GetItemSet() +/*N*/ { +/*N*/ if(!bPhysical) +/*?*/ FillStyleSheet( FillPhysical ); +/*N*/ +/*N*/ switch(nFamily) +/*N*/ { +/*N*/ case SFX_STYLE_FAMILY_CHAR: +/*N*/ { +/*N*/ ASSERT(pCharFmt, "Wo ist das SwCharFmt"); +/*N*/ aCoreSet.Put(pCharFmt->GetAttrSet()); +/*N*/ if(pCharFmt->DerivedFrom()) +/*N*/ aCoreSet.SetParent(&pCharFmt->DerivedFrom()->GetAttrSet()); +/*N*/ } +/*N*/ break; +/*N*/ case SFX_STYLE_FAMILY_PARA : +/*N*/ case SFX_STYLE_FAMILY_FRAME: +/*N*/ { +/*N*/ SvxBoxInfoItem aBoxInfo; +/*N*/ aBoxInfo.SetTable( FALSE ); +/*N*/ aBoxInfo.SetDist( TRUE); // Abstandsfeld immer anzeigen +/*N*/ aBoxInfo.SetMinDist( TRUE );// Minimalgroesse in Tabellen und Absaetzen setzen +/*N*/ aBoxInfo.SetDefDist( MIN_BORDER_DIST );// Default-Abstand immer setzen +/*N*/ // Einzelne Linien koennen nur in Tabellen DontCare-Status haben +/*N*/ aBoxInfo.SetValid( VALID_DISABLE, TRUE ); +/*N*/ if ( nFamily == SFX_STYLE_FAMILY_PARA ) +/*N*/ { +/*N*/ ASSERT(pColl, "Wo ist die Collektion"); +/*N*/ aCoreSet.Put(pColl->GetAttrSet()); +/*N*/ aCoreSet.Put( aBoxInfo ); +/*N*/ aCoreSet.Put(SfxBoolItem(SID_ATTR_AUTO_STYLE_UPDATE, pColl->IsAutoUpdateFmt())); +/*N*/ if(pColl->DerivedFrom()) +/*N*/ aCoreSet.SetParent(&pColl->DerivedFrom()->GetAttrSet()); +/*N*/ } +/*N*/ else +/*N*/ { +/*N*/ ASSERT(pFrmFmt, "Wo ist das FrmFmt"); +/*N*/ aCoreSet.Put(pFrmFmt->GetAttrSet()); +/*N*/ aCoreSet.Put( aBoxInfo ); +/*N*/ aCoreSet.Put(SfxBoolItem(SID_ATTR_AUTO_STYLE_UPDATE, pFrmFmt->IsAutoUpdateFmt())); +/*N*/ if(pFrmFmt->DerivedFrom()) +/*N*/ aCoreSet.SetParent(&pFrmFmt->DerivedFrom()->GetAttrSet()); +/*N*/ } +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PAGE : +/*N*/ { +/*N*/ ASSERT(pDesc, "Kein PageDescriptor"); +/*N*/ ::binfilter::PageDescToItemSet(*((SwPageDesc*)pDesc), aCoreSet); +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PSEUDO: +/*N*/ { +/*N*/ ASSERT(pNumRule, "Keine NumRule"); +/*N*/ SvxNumRule aRule = pNumRule->MakeSvxNumRule(); +/*N*/ aCoreSet.Put(SvxNumBulletItem(aRule)); +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ +/*N*/ #ifdef DBG_UTIL +/*N*/ default: +/*N*/ ASSERT(!this, "unbekannte Style-Familie"); +/*N*/ #endif +/*N*/ } +/*N*/ // Member der Basisklasse +/*N*/ pSet = &aCoreSet; +/*N*/ +/*N*/ return aCoreSet; +/*N*/ } +/*N*/ +/*-------------------------------------------------------------------- + Beschreibung: ItemSet setzen + --------------------------------------------------------------------*/ + + +/*N*/ void SwDocStyleSheet::SetItemSet(const SfxItemSet& rSet) +/*N*/ { +/*N*/ // gegebenenfalls Format erst ermitteln +/*N*/ if(!bPhysical) +/*?*/ FillStyleSheet( FillPhysical ); +/*N*/ +/*N*/ SwImplShellAction aTmpSh( rDoc ); +/*N*/ +/*N*/ ASSERT( &rSet != &aCoreSet, "SetItemSet mit eigenem Set ist nicht erlaubt" ); +/*N*/ +/*N*/ SwFmt* pFmt = 0; +/*N*/ SwPageDesc* pNewDsc = 0; +/*N*/ USHORT nPgDscPos; +/*N*/ +/*N*/ switch(nFamily) +/*N*/ { +/*N*/ case SFX_STYLE_FAMILY_CHAR : +/*N*/ { +/*N*/ ASSERT(pCharFmt, "Wo ist das CharFormat"); +/*N*/ pFmt = pCharFmt; +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PARA : +/*N*/ { +/*N*/ ASSERT(pColl, "Wo ist die Collection"); +/*N*/ const SfxPoolItem* pAutoUpdate; +/*N*/ if(SFX_ITEM_SET == rSet.GetItemState(SID_ATTR_AUTO_STYLE_UPDATE,FALSE, &pAutoUpdate )) +/*N*/ { +/*N*/ pColl->SetAutoUpdateFmt(((const SfxBoolItem*)pAutoUpdate)->GetValue()); +/*N*/ } +/*N*/ +/*N*/ const SwCondCollItem* pCondItem; +/*N*/ if( SFX_ITEM_SET != rSet.GetItemState( FN_COND_COLL, FALSE, +/*N*/ (const SfxPoolItem**)&pCondItem )) +/*N*/ pCondItem = 0; +/*N*/ +/*N*/ if( RES_CONDTXTFMTCOLL == pColl->Which() && pCondItem ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwFmt* pFindFmt; +/*N*/ } +/*N*/ else if( pCondItem && !pColl->GetDepends() ) +/*N*/ { +/*?*/ // keine bedingte Vorlage, dann erstmal erzeugen und +/*?*/ // alle wichtigen Werte uebernehmen +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwConditionTxtFmtColl* pCColl = rDoc.MakeCondTxtFmtColl( +/*N*/ } +/*N*/ pFmt = pColl; + +/*N*/ USHORT nId = pColl->GetPoolFmtId() & +/*N*/ ~ ( COLL_GET_RANGE_BITS | POOLGRP_NOCOLLID ); +/*N*/ switch( GetMask() & ( 0x0fff & ~SWSTYLEBIT_CONDCOLL ) ) +/*N*/ { +/*N*/ case SWSTYLEBIT_TEXT: +/*N*/ nId |= COLL_TEXT_BITS; +/*N*/ break; +/*N*/ case SWSTYLEBIT_CHAPTER: +/*N*/ nId |= COLL_DOC_BITS; +/*N*/ break; +/*N*/ case SWSTYLEBIT_LIST: +/*N*/ nId |= COLL_LISTS_BITS; +/*N*/ break; +/*N*/ case SWSTYLEBIT_IDX: +/*N*/ nId |= COLL_REGISTER_BITS; +/*N*/ break; +/*N*/ case SWSTYLEBIT_EXTRA: +/*N*/ nId |= COLL_EXTRA_BITS; +/*N*/ break; +/*N*/ case SWSTYLEBIT_HTML: +/*N*/ nId |= COLL_HTML_BITS; +/*N*/ break; +/*N*/ } +/*N*/ pColl->SetPoolFmtId( nId ); +/*N*/ break; +/*N*/ } +/*N*/ case SFX_STYLE_FAMILY_FRAME: +/*N*/ { +/*N*/ ASSERT(pFrmFmt, "Wo ist das FrmFmt"); +/*N*/ const SfxPoolItem* pAutoUpdate; +/*N*/ if(SFX_ITEM_SET == rSet.GetItemState(SID_ATTR_AUTO_STYLE_UPDATE,FALSE, &pAutoUpdate )) +/*N*/ { +/*N*/ pFrmFmt->SetAutoUpdateFmt(((const SfxBoolItem*)pAutoUpdate)->GetValue()); +/*N*/ } +/*N*/ pFmt = pFrmFmt; +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PAGE : +/*N*/ { +/*N*/ ASSERT(pDesc, "Wo ist der PageDescriptor"); +/*N*/ +/*N*/ if( rDoc.FindPageDescByName( pDesc->GetName(), &nPgDscPos )) +/*N*/ { +/*N*/ pNewDsc = new SwPageDesc( *pDesc ); +/*N*/ pFmt = &pNewDsc->GetMaster(); +/*N*/ } +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PSEUDO: +/*N*/ { +/*N*/ ASSERT(pNumRule, "Wo ist die NumRule"); +/*N*/ const SfxPoolItem* pItem; +/*N*/ switch( rSet.GetItemState( SID_ATTR_NUMBERING_RULE, FALSE, &pItem )) +/*N*/ { +/*N*/ case SFX_ITEM_SET: +/*N*/ { +/*N*/ SvxNumRule* pSetRule = ((SvxNumBulletItem*)pItem)->GetNumRule(); +/*N*/ pSetRule->UnLinkGraphics(); +/*N*/ //SwNumRule aSetRule(rDoc.GetUniqueNumRuleName()); +/*N*/ SwNumRule aSetRule(pNumRule->GetName()); +/*N*/ aSetRule.SetSvxRule(*pSetRule, &rDoc); +/*N*/ rDoc.ChgNumRuleFmts( aSetRule ); +/*N*/ } +/*N*/ break; +/*N*/ case SFX_ITEM_DONTCARE: +/*N*/ // NumRule auf default Werte +/*N*/ // was sind die default Werte? +/*N*/ { +/*?*/ SwNumRule aRule( pNumRule->GetName() ); +/*?*/ rDoc.ChgNumRuleFmts( aRule ); +/*?*/ } +/*N*/ break; +/*N*/ } +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ #ifdef DBG_UTIL +/*N*/ default: +/*N*/ ASSERT(!this, "unbekannte Style-Familie"); +/*N*/ #endif +/*N*/ } +/*N*/ +/*N*/ if( pFmt && rSet.Count()) +/*N*/ { +/*N*/ SfxItemIter aIter( rSet ); +/*N*/ const SfxPoolItem* pItem = aIter.GetCurItem(); +/*N*/ while( TRUE ) +/*N*/ { +/*N*/ if( IsInvalidItem( pItem ) ) // Clearen +/*?*/ pFmt->ResetAttr( rSet.GetWhichByPos(aIter.GetCurPos())); +/*N*/ +/*N*/ if( aIter.IsAtEnd() ) +/*N*/ break; +/*N*/ pItem = aIter.NextItem(); +/*N*/ } +/*N*/ SfxItemSet aSet(rSet); +/*N*/ aSet.ClearInvalidItems(); +/*N*/ +/*N*/ aCoreSet.ClearItem(); +/*N*/ +/*N*/ if( pNewDsc ) +/*N*/ { +/*N*/ ::binfilter::ItemSetToPageDesc( aSet, *pNewDsc ); +/*N*/ rDoc.ChgPageDesc( nPgDscPos, *pNewDsc ); +/*N*/ pDesc = &rDoc.GetPageDesc( nPgDscPos ); +/*N*/ delete pNewDsc; +/*N*/ } +/*N*/ else +/*N*/ pFmt->SetAttr( aSet ); // alles gesetzten Putten +/*N*/ } +/*N*/ else +/*N*/ { +/*N*/ aCoreSet.ClearItem(); +/*N*/ if( pNewDsc ) // den muessen wir noch vernichten!! +/*?*/ delete pNewDsc; +/*N*/ } +/*N*/ } + + + +/*-------------------------------------------------------------------- + Beschreibung: Das Format ermitteln + --------------------------------------------------------------------*/ + +/*N*/ BOOL SwDocStyleSheet::FillStyleSheet( FillStyleType eFType ) +/*N*/ { +/*N*/ BOOL bRet = FALSE; +/*N*/ USHORT nPoolId = USHRT_MAX; +/*N*/ SwFmt* pFmt = 0; +/*N*/ +/*N*/ BOOL bCreate = FillPhysical == eFType; +/*N*/ BOOL bDeleteInfo = FALSE; +/*N*/ BOOL bFillOnlyInfo = FillAllInfo == eFType; +/*N*/ SvPtrarr aDelArr; +/*N*/ +/*N*/ switch(nFamily) +/*N*/ { +/*N*/ case SFX_STYLE_FAMILY_CHAR: +/*N*/ pCharFmt = lcl_FindCharFmt(rDoc, aName, this, bCreate ); +/*N*/ bPhysical = 0 != pCharFmt; +/*N*/ if( bFillOnlyInfo && !bPhysical ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 bDeleteInfo = TRUE; +/*N*/ } +/*N*/ +/*N*/ pFmt = pCharFmt; +/*N*/ if( !bCreate && !pFmt ) +/*N*/ { +/*N*/ if( aName == *SwStyleNameMapper::GetTextUINameArray()[ RES_POOLCOLL_STANDARD - +/*N*/ RES_POOLCOLL_TEXT_BEGIN ] ) +/*N*/ nPoolId = 0; +/*N*/ else +/*N*/ nPoolId = SwStyleNameMapper::GetPoolIdFromUIName( aName, GET_POOLID_CHRFMT ); +/*N*/ } +/*N*/ +/*N*/ bRet = 0 != pCharFmt || USHRT_MAX != nPoolId; +/*N*/ +/*N*/ if( bDeleteInfo ) +/*?*/ pCharFmt = 0; +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PARA: +/*N*/ { +/*N*/ pColl = lcl_FindParaFmt(rDoc, aName, this, bCreate); +/*N*/ bPhysical = 0 != pColl; +/*N*/ if( bFillOnlyInfo && !bPhysical ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 bDeleteInfo = TRUE; +/*N*/ } +/*N*/ +/*N*/ pFmt = pColl; +/*N*/ if( pColl ) +/*N*/ PresetFollow( pColl->GetNextTxtFmtColl().GetName() ); +/*N*/ else if( !bCreate ) +/*N*/ nPoolId = SwStyleNameMapper::GetPoolIdFromUIName( aName, GET_POOLID_TXTCOLL ); +/*N*/ +/*N*/ bRet = 0 != pColl || USHRT_MAX != nPoolId; +/*N*/ +/*N*/ if( bDeleteInfo ) +/*N*/ pColl = 0; +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_FRAME: +/*N*/ pFrmFmt = lcl_FindFrmFmt(rDoc, aName, this, bCreate); +/*N*/ bPhysical = 0 != pFrmFmt; +/*N*/ if( bFillOnlyInfo && bPhysical ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 bDeleteInfo = TRUE; +/*N*/ } +/*N*/ pFmt = pFrmFmt; +/*N*/ if( !bCreate && !pFmt ) +/*N*/ nPoolId = SwStyleNameMapper::GetPoolIdFromUIName( aName, GET_POOLID_FRMFMT ); +/*N*/ +/*N*/ bRet = 0 != pFrmFmt || USHRT_MAX != nPoolId; +/*N*/ +/*N*/ if( bDeleteInfo ) +/*N*/ pFrmFmt = 0; +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PAGE: +/*N*/ pDesc = lcl_FindPageDesc(rDoc, aName, this, bCreate); +/*N*/ bPhysical = 0 != pDesc; +/*N*/ if( bFillOnlyInfo && !pDesc ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 bDeleteInfo = TRUE; +/*N*/ } +/*N*/ +/*N*/ if( pDesc ) +/*N*/ { +/*N*/ nPoolId = pDesc->GetPoolFmtId(); +/*N*/ nHelpId = pDesc->GetPoolHelpId(); +/*N*/ if( pDesc->GetPoolHlpFileId() != UCHAR_MAX ) +/*?*/ aHelpFile = *rDoc.GetDocPattern( pDesc->GetPoolHlpFileId() ); +/*N*/ else +/*N*/ aHelpFile.Erase(); +/*N*/ } +/*N*/ else if( !bCreate ) +/*N*/ nPoolId = SwStyleNameMapper::GetPoolIdFromUIName( aName, GET_POOLID_PAGEDESC ); +/*N*/ SetMask( USER_FMT & nPoolId ? SFXSTYLEBIT_USERDEF : 0 ); +/*N*/ +/*N*/ bRet = 0 != pDesc || USHRT_MAX != nPoolId; +/*N*/ if( bDeleteInfo ) +/*N*/ pDesc = 0; +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PSEUDO: +/*N*/ pNumRule = lcl_FindNumRule(rDoc, aName, this, bCreate); +/*N*/ bPhysical = 0 != pNumRule; +/*N*/ if( bFillOnlyInfo && !pNumRule ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 bDeleteInfo = TRUE; +/*N*/ } +/*N*/ +/*N*/ if( pNumRule ) +/*N*/ { +/*N*/ nPoolId = pNumRule->GetPoolFmtId(); +/*N*/ nHelpId = pNumRule->GetPoolHelpId(); +/*N*/ if( pNumRule->GetPoolHlpFileId() != UCHAR_MAX ) +/*N*/ aHelpFile = *rDoc.GetDocPattern( pNumRule->GetPoolHlpFileId() ); +/*N*/ else +/*N*/ aHelpFile.Erase(); +/*N*/ } +/*N*/ else if( !bCreate ) +/*N*/ nPoolId = SwStyleNameMapper::GetPoolIdFromUIName( aName, GET_POOLID_NUMRULE ); +/*N*/ SetMask( USER_FMT & nPoolId ? SFXSTYLEBIT_USERDEF : 0 ); +/*N*/ +/*N*/ bRet = 0 != pNumRule || USHRT_MAX != nPoolId; +/*N*/ +/*N*/ if( bDeleteInfo ) +/*N*/ pNumRule = 0; +/*N*/ break; +/*N*/ } +/*N*/ +/*N*/ if( SFX_STYLE_FAMILY_CHAR == nFamily || +/*N*/ SFX_STYLE_FAMILY_PARA == nFamily || +/*N*/ SFX_STYLE_FAMILY_FRAME == nFamily ) +/*N*/ { +/*N*/ if( pFmt ) +/*N*/ nPoolId = pFmt->GetPoolFmtId(); +/*N*/ +/*N*/ USHORT nMask = 0; +/*N*/ if( pFmt == rDoc.GetDfltCharFmt() ) +/*N*/ nMask |= SFXSTYLEBIT_READONLY; +/*N*/ else if( USER_FMT & nPoolId ) +/*N*/ nMask |= SFXSTYLEBIT_USERDEF; +/*N*/ +/*N*/ switch ( COLL_GET_RANGE_BITS & nPoolId ) +/*N*/ { +/*N*/ case COLL_TEXT_BITS: nMask |= SWSTYLEBIT_TEXT; break; +/*N*/ case COLL_DOC_BITS : nMask |= SWSTYLEBIT_CHAPTER; break; +/*N*/ case COLL_LISTS_BITS: nMask |= SWSTYLEBIT_LIST; break; +/*N*/ case COLL_REGISTER_BITS: nMask |= SWSTYLEBIT_IDX; break; +/*N*/ case COLL_EXTRA_BITS: nMask |= SWSTYLEBIT_EXTRA; break; +/*N*/ case COLL_HTML_BITS: nMask |= SWSTYLEBIT_HTML; break; +/*N*/ } +/*N*/ +/*N*/ if( pFmt ) +/*N*/ { +/*N*/ ASSERT( bPhysical, "Format nicht gefunden" ); +/*N*/ +/*N*/ nHelpId = pFmt->GetPoolHelpId(); +/*N*/ if( pFmt->GetPoolHlpFileId() != UCHAR_MAX ) +/*?*/ aHelpFile = *rDoc.GetDocPattern( pFmt->GetPoolHlpFileId() ); +/*N*/ else +/*N*/ aHelpFile.Erase(); +/*N*/ +/*N*/ if( RES_CONDTXTFMTCOLL == pFmt->Which() ) +/*N*/ nMask |= SWSTYLEBIT_CONDCOLL; +/*N*/ } +/*N*/ +/*N*/ SetMask( nMask ); +/*N*/ } +/*N*/ if( bDeleteInfo && bFillOnlyInfo ) +/*?*/ { DBG_BF_ASSERT(0, "STRIP"); }//STRIP001 ::lcl_DeleteInfoStyles( nFamily, aDelArr, rDoc ); +/*N*/ return bRet; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Neues Format in der Core anlegen + --------------------------------------------------------------------*/ + + +/*N*/ void SwDocStyleSheet::Create() +/*N*/ { +/*N*/ switch(nFamily) +/*N*/ { +/*N*/ case SFX_STYLE_FAMILY_CHAR : +/*N*/ pCharFmt = lcl_FindCharFmt( rDoc, aName ); +/*N*/ if( !pCharFmt ) +/*N*/ pCharFmt = rDoc.MakeCharFmt(aName, +/*N*/ rDoc.GetDfltCharFmt()); +/*N*/ pCharFmt->SetAuto( FALSE ); +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PARA : +/*N*/ pColl = lcl_FindParaFmt( rDoc, aName ); +/*N*/ if( !pColl ) +/*N*/ { +/*N*/ SwTxtFmtColl *pPar = (*rDoc.GetTxtFmtColls())[0]; +/*N*/ if( nMask & SWSTYLEBIT_CONDCOLL ) +/*?*/ {DBG_BF_ASSERT(0, "STRIP");} //STRIP001 pColl = rDoc.MakeCondTxtFmtColl( aName, pPar ); +/*N*/ else +/*N*/ pColl = rDoc.MakeTxtFmtColl( aName, pPar ); +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_FRAME: +/*N*/ pFrmFmt = lcl_FindFrmFmt( rDoc, aName ); +/*N*/ if( !pFrmFmt ) +/*N*/ pFrmFmt = rDoc.MakeFrmFmt(aName, rDoc.GetDfltFrmFmt()); +/*N*/ pFrmFmt->SetAuto( FALSE ); +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PAGE : +/*N*/ pDesc = lcl_FindPageDesc( rDoc, aName ); +/*N*/ if( !pDesc ) +/*N*/ { +/*N*/ USHORT nId = rDoc.MakePageDesc(aName); +/*N*/ pDesc = &rDoc.GetPageDesc(nId); +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PSEUDO: +/*?*/ pNumRule = lcl_FindNumRule( rDoc, aName ); +/*?*/ if( !pNumRule ) +/*?*/ { +/*?*/ //JP 05.02.99: temp Namen erzeugen, damit kein ASSERT kommt +/*?*/ String sTmpNm( aName ); +/*?*/ if( !aName.Len() ) +/*?*/ sTmpNm = rDoc.GetUniqueNumRuleName(); +/*?*/ +/*?*/ SwNumRule* pRule = rDoc.GetNumRuleTbl()[ +/*?*/ rDoc.MakeNumRule( sTmpNm ) ]; +/*?*/ pRule->SetAutoRule( FALSE ); +/*?*/ if( !aName.Len() ) +/*?*/ pRule->SetName( aName ); +/*?*/ pNumRule = pRule; +/*?*/ } +/*N*/ break; +/*N*/ } +/*N*/ bPhysical = TRUE; +/*N*/ aCoreSet.ClearItem(); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Konkrete Formate rausholen + --------------------------------------------------------------------*/ + + + +/*N*/ SwCharFmt* SwDocStyleSheet::GetCharFmt() +/*N*/ { +/*N*/ if(!bPhysical) +/*N*/ FillStyleSheet( FillPhysical ); +/*N*/ return pCharFmt; +/*N*/ } + + +/*N*/ SwTxtFmtColl* SwDocStyleSheet::GetCollection() +/*N*/ { +/*N*/ if(!bPhysical) +/*N*/ FillStyleSheet( FillPhysical ); +/*N*/ return pColl; +/*N*/ } + + +/*N*/ const SwPageDesc* SwDocStyleSheet::GetPageDesc() +/*N*/ { +/*N*/ if(!bPhysical) +/*N*/ FillStyleSheet( FillPhysical ); +/*N*/ return pDesc; +/*N*/ } + +/*N*/ const SwNumRule * SwDocStyleSheet::GetNumRule() +/*N*/ { +/*N*/ if(!bPhysical) +/*N*/ FillStyleSheet( FillPhysical ); +/*N*/ return pNumRule; +/*N*/ } + +/*N*/ void SwDocStyleSheet::SetNumRule(const SwNumRule& rRule) +/*N*/ { +/*N*/ DBG_ASSERT(pNumRule, "Wo ist die NumRule"); +/*N*/ rDoc.ChgNumRuleFmts( rRule ); +/*N*/ } + +// Namen UND Familie aus String re-generieren +// First() und Next() (s.u.) fuegen einen Kennbuchstaben an Pos.1 ein + +/*N*/ void SwDocStyleSheet::PresetNameAndFamily(const String& rName) +/*N*/ { +/*N*/ switch( rName.GetChar(0) ) +/*N*/ { +/*N*/ case cPARA: nFamily = SFX_STYLE_FAMILY_PARA; break; +/*N*/ case cFRAME: nFamily = SFX_STYLE_FAMILY_FRAME; break; +/*N*/ case cPAGE: nFamily = SFX_STYLE_FAMILY_PAGE; break; +/*N*/ case cNUMRULE: nFamily = SFX_STYLE_FAMILY_PSEUDO; break; +/*N*/ default: nFamily = SFX_STYLE_FAMILY_CHAR; break; +/*N*/ } +/*N*/ aName = rName; +/*N*/ aName.Erase( 0, 1 ); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Ist das Format physikalisch schon vorhanden + --------------------------------------------------------------------*/ + + +/*N*/ void SwDocStyleSheet::SetPhysical(BOOL bPhys) +/*N*/ { +/*N*/ bPhysical = bPhys; +/*N*/ +/*N*/ if(!bPhys) +/*N*/ { +/*N*/ pCharFmt = 0; +/*N*/ pColl = 0; +/*N*/ pFrmFmt = 0; +/*N*/ pDesc = 0; +/*N*/ } +/*N*/ } + +/*N*/ SwFrmFmt* SwDocStyleSheet::GetFrmFmt() +/*N*/ { +/*N*/ if(!bPhysical) +/*N*/ FillStyleSheet( FillPhysical ); +/*N*/ return pFrmFmt; +/*N*/ } + + + + + + + + +/* */ + +/*-------------------------------------------------------------------- + Beschreibung: Methoden fuer den DocStyleSheetPool + --------------------------------------------------------------------*/ + +/*N*/ SwDocStyleSheetPool::SwDocStyleSheetPool( SwDoc& rDocument, BOOL bOrg ) +/*N*/ : SfxStyleSheetBasePool( rDocument.GetAttrPool() ), +/*N*/ aStyleSheet( rDocument, aEmptyStr, *this, SFX_STYLE_FAMILY_CHAR, 0 ), +/*N*/ rDoc( rDocument ) +/*N*/ { +/*N*/ bOrganizer = bOrg; +/*N*/ } + +/*N*/ SwDocStyleSheetPool::~SwDocStyleSheetPool() +/*N*/ { +/*N*/ } + +/*N*/ SfxStyleSheetBase& SwDocStyleSheetPool::Make( +/*N*/ const String& rName, +/*N*/ SfxStyleFamily eFam, +/*N*/ USHORT nMask, +/*N*/ USHORT nPos ) +/*N*/ { +/*N*/ aStyleSheet.PresetName(rName); +/*N*/ aStyleSheet.PresetParent(aEmptyStr); +/*N*/ aStyleSheet.PresetFollow(aEmptyStr); +/*N*/ aStyleSheet.SetMask(nMask) ; +/*N*/ aStyleSheet.SetFamily(eFam); +/*N*/ aStyleSheet.SetPhysical(TRUE); +/*N*/ aStyleSheet.Create(); +/*N*/ +/*N*/ return aStyleSheet; +/*N*/ } + + + + + + +/*N*/ SfxStyleSheetIterator* SwDocStyleSheetPool::CreateIterator( +/*N*/ SfxStyleFamily eFam, USHORT nMask ) +/*N*/ { +/*N*/ return new SwStyleSheetIterator( this, eFam, nMask ); +/*N*/ } + + + + +/*N*/ BOOL SwDocStyleSheetPool::SetParent( SfxStyleFamily eFam, +/*N*/ const String &rStyle, const String &rParent ) +/*N*/ {DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001 +/*N*/ } + +/*N*/ SfxStyleSheetBase* SwDocStyleSheetPool::Find( const String& rName, +/*N*/ SfxStyleFamily eFam, USHORT n ) +/*N*/ { +/*N*/ USHORT nSMask = n; +/*N*/ if( SFX_STYLE_FAMILY_PARA == eFam && rDoc.IsHTMLMode() ) +/*N*/ { +/*?*/ // dann sind nur HTML-Vorlagen von Interesse +/*?*/ if( USHRT_MAX == nSMask ) +/*?*/ nSMask = SWSTYLEBIT_HTML | SFXSTYLEBIT_USERDEF | SFXSTYLEBIT_USED; +/*?*/ else +/*?*/ nSMask &= SFXSTYLEBIT_USED | SFXSTYLEBIT_USERDEF | +/*?*/ SWSTYLEBIT_CONDCOLL | SWSTYLEBIT_HTML; +/*?*/ if( !nSMask ) +/*?*/ nSMask = SWSTYLEBIT_HTML; +/*N*/ } + +/*N*/ const BOOL bSearchUsed = ( n != SFXSTYLEBIT_ALL && +/*N*/ n & SFXSTYLEBIT_USED ) ? TRUE : FALSE; +/*N*/ const SwModify* pMod = 0; +/*N*/ +/*N*/ aStyleSheet.SetPhysical( FALSE ); +/*N*/ aStyleSheet.PresetName( rName ); +/*N*/ aStyleSheet.SetFamily( eFam ); +/*N*/ BOOL bFnd = aStyleSheet.FillStyleSheet( SwDocStyleSheet::FillOnlyName ); +/*N*/ +/*N*/ if( aStyleSheet.IsPhysical() ) +/*N*/ { +/*N*/ switch( eFam ) +/*N*/ { +/*N*/ case SFX_STYLE_FAMILY_CHAR: +/*N*/ pMod = aStyleSheet.GetCharFmt(); +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PARA: +/*N*/ pMod = aStyleSheet.GetCollection(); +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_FRAME: +/*N*/ pMod = aStyleSheet.GetFrmFmt(); +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PAGE: +/*N*/ pMod = aStyleSheet.GetPageDesc(); +/*N*/ break; +/*N*/ +/*N*/ case SFX_STYLE_FAMILY_PSEUDO: +/*N*/ { +/*N*/ const SwNumRule* pRule = aStyleSheet.GetNumRule(); +/*N*/ if( pRule && +/*N*/ !(bSearchUsed && (bOrganizer || rDoc.IsUsed(*pRule)) ) && +/*N*/ (( nSMask & ~SFXSTYLEBIT_USED) == SFXSTYLEBIT_USERDEF +/*N*/ ? !(pRule->GetPoolFmtId() & USER_FMT) +/*N*/ // benutzte gesucht und keine gefunden +/*N*/ : bSearchUsed )) +/*N*/ bFnd = FALSE; +/*N*/ } +/*N*/ break; +/*N*/ +/*N*/ default: +/*N*/ ASSERT(!this, "unbekannte Style-Familie"); +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ // dann noch die Maske auswerten: +/*N*/ if( pMod && !(bSearchUsed && (bOrganizer || rDoc.IsUsed(*pMod)) ) ) +/*N*/ { +/*N*/ const USHORT nId = SFX_STYLE_FAMILY_PAGE == eFam +/*N*/ ? ((SwPageDesc*)pMod)->GetPoolFmtId() +/*N*/ : ((SwFmt*)pMod)->GetPoolFmtId(); +/*N*/ +/*N*/ if( ( nSMask & ~SFXSTYLEBIT_USED) == SFXSTYLEBIT_USERDEF +/*N*/ ? !(nId & USER_FMT) +/*N*/ // benutzte gesucht und keine gefunden +/*N*/ : bSearchUsed ) +/*N*/ bFnd = FALSE; +/*N*/ } +/*N*/ return bFnd ? &aStyleSheet : 0; +/*N*/ } + +/* */ + +/*N*/ SwStyleSheetIterator::SwStyleSheetIterator( SwDocStyleSheetPool* pBase, +/*N*/ SfxStyleFamily eFam, USHORT n ) +/*N*/ : SfxStyleSheetIterator( pBase, eFam, n ), +/*N*/ aIterSheet( pBase->GetDoc(), aEmptyStr, *pBase, SFX_STYLE_FAMILY_CHAR, 0 ), +/*N*/ aStyleSheet( pBase->GetDoc(), aEmptyStr, *pBase, SFX_STYLE_FAMILY_CHAR, 0 ) +/*N*/ { +/*N*/ bFirstCalled = FALSE; +/*N*/ nLastPos = 0; +/*N*/ StartListening( *pBase ); +/*N*/ } + +/*N*/ SwStyleSheetIterator::~SwStyleSheetIterator() +/*N*/ { +/*N*/ EndListening( aIterSheet.GetPool() ); +/*N*/ } + + + +/*N*/ SfxStyleSheetBase* SwStyleSheetIterator::First() +/*N*/ { +/*N*/ // Alte Liste loeschen +/*N*/ bFirstCalled = TRUE; +/*N*/ nLastPos = 0; +/*N*/ aLst.Erase(); +/*N*/ +/*N*/ // aktuellen loeschen +/*N*/ aIterSheet.Reset(); +/*N*/ +/*N*/ SwDoc& rDoc = ((SwDocStyleSheetPool*)pBasePool)->GetDoc(); +/*N*/ const USHORT nSrchMask = nMask; +/*N*/ const BOOL bSearchUsed = SearchUsed(); +/*N*/ +/*N*/ const BOOL bOrganizer = ((SwDocStyleSheetPool*)pBasePool)->IsOrganizerMode(); +/*N*/ +/*N*/ if( nSearchFamily == SFX_STYLE_FAMILY_CHAR +/*N*/ || nSearchFamily == SFX_STYLE_FAMILY_ALL ) +/*N*/ { +/*?*/ const USHORT nArrLen = rDoc.GetCharFmts()->Count(); +/*?*/ for( USHORT i = 0; i < nArrLen; i++ ) +/*?*/ { +/*?*/ SwCharFmt* pFmt = (*rDoc.GetCharFmts())[ i ]; +/*?*/ if( pFmt->IsDefault() && pFmt != rDoc.GetDfltCharFmt() ) +/*?*/ continue; +/*?*/ +/*?*/ const BOOL bUsed = bSearchUsed && (bOrganizer || rDoc.IsUsed(*pFmt)); +/*?*/ if( !bUsed ) +/*?*/ { +/*?*/ // Standard ist keine Benutzervorlage #46181# +/*?*/ const USHORT nId = rDoc.GetDfltCharFmt() == pFmt ? +/*?*/ RES_POOLCHR_INET_NORMAL : +/*?*/ pFmt->GetPoolFmtId(); +/*?*/ if( (nSrchMask & ~SFXSTYLEBIT_USED) == SFXSTYLEBIT_USERDEF +/*?*/ ? !(nId & USER_FMT) +/*?*/ // benutzte gesucht und keine gefunden +/*?*/ : bSearchUsed ) +/*?*/ continue; +/*?*/ +/*?*/ if( rDoc.IsHTMLMode() && !(nId & USER_FMT) && +/*?*/ !( RES_POOLCHR_HTML_BEGIN <= nId && +/*?*/ nId < RES_POOLCHR_HTML_END ) && +/*?*/ RES_POOLCHR_INET_NORMAL != nId && +/*?*/ RES_POOLCHR_INET_VISIT != nId && +/*?*/ RES_POOLCHR_FOOTNOTE != nId && +/*?*/ RES_POOLCHR_ENDNOTE != nId ) +/*?*/ continue; +/*?*/ } +/*?*/ +/*?*/ aLst.Append( cCHAR, pFmt == rDoc.GetDfltCharFmt() +/*?*/ ? (const String&) *SwStyleNameMapper::GetTextUINameArray()[ RES_POOLCOLL_STANDARD - +/*?*/ RES_POOLCOLL_TEXT_BEGIN ] +/*?*/ : pFmt->GetName() ); +/*?*/ } +/*?*/ +/*?*/ // PoolFormate +/*?*/ // +/*?*/ if( nSrchMask == SFXSTYLEBIT_ALL ) +/*?*/ { +/*?*/ if( !rDoc.IsHTMLMode() ) +/*?*/ AppendStyleList(SwStyleNameMapper::GetChrFmtUINameArray(), +/*?*/ bSearchUsed, GET_POOLID_CHRFMT, cCHAR); +/*?*/ else +/*?*/ { +/*?*/ aLst.Append( cCHAR, *SwStyleNameMapper::GetChrFmtUINameArray()[ +/*?*/ RES_POOLCHR_INET_NORMAL - RES_POOLCHR_BEGIN ] ); +/*?*/ aLst.Append( cCHAR, *SwStyleNameMapper::GetChrFmtUINameArray()[ +/*?*/ RES_POOLCHR_INET_VISIT - RES_POOLCHR_BEGIN ] ); +/*?*/ aLst.Append( cCHAR, *SwStyleNameMapper::GetChrFmtUINameArray()[ +/*?*/ RES_POOLCHR_ENDNOTE - RES_POOLCHR_BEGIN ] ); +/*?*/ aLst.Append( cCHAR, *SwStyleNameMapper::GetChrFmtUINameArray()[ +/*?*/ RES_POOLCHR_FOOTNOTE - RES_POOLCHR_BEGIN ] ); +/*?*/ } +/*?*/ AppendStyleList(SwStyleNameMapper::GetHTMLChrFmtUINameArray(), +/*?*/ bSearchUsed, GET_POOLID_CHRFMT, cCHAR); +/*N*/ } +/*N*/ } + +/*N*/ if( nSearchFamily == SFX_STYLE_FAMILY_PARA || +/*N*/ nSearchFamily == SFX_STYLE_FAMILY_ALL ) +/*N*/ { +/*N*/ USHORT nSMask = nSrchMask; +/*N*/ if( rDoc.IsHTMLMode() ) +/*N*/ { +/*?*/ // dann sind nur HTML-Vorlagen von Interesse +/*?*/ if( USHRT_MAX == nSMask ) +/*?*/ nSMask = SWSTYLEBIT_HTML | SFXSTYLEBIT_USERDEF | +/*?*/ SFXSTYLEBIT_USED; +/*?*/ else +/*?*/ nSMask &= SFXSTYLEBIT_USED | SFXSTYLEBIT_USERDEF | +/*?*/ SWSTYLEBIT_CONDCOLL | SWSTYLEBIT_HTML; +/*?*/ if( !nSMask ) +/*?*/ nSMask = SWSTYLEBIT_HTML; +/*N*/ } +/*N*/ +/*N*/ const USHORT nArrLen = rDoc.GetTxtFmtColls()->Count(); +/*N*/ for( USHORT i = 0; i < nArrLen; i++ ) +/*N*/ { +/*N*/ SwTxtFmtColl* pColl = (*rDoc.GetTxtFmtColls())[ i ]; +/*N*/ +/*N*/ if(pColl->IsDefault()) +/*N*/ continue; +/*N*/ +/*N*/ const BOOL bUsed = bOrganizer || rDoc.IsUsed(*pColl); +/*N*/ if( !(bSearchUsed && bUsed )) +/*N*/ { +/*N*/ const USHORT nId = pColl->GetPoolFmtId(); +/*N*/ switch ( (nSMask & ~SFXSTYLEBIT_USED) ) +/*N*/ { +/*N*/ case SFXSTYLEBIT_USERDEF: +/*N*/ if(!IsPoolUserFmt(nId)) continue; +/*N*/ break; +/*N*/ case SWSTYLEBIT_TEXT: +/*?*/ if((nId & COLL_GET_RANGE_BITS) != COLL_TEXT_BITS) continue; +/*?*/ break; +/*N*/ case SWSTYLEBIT_CHAPTER: +/*?*/ if((nId & COLL_GET_RANGE_BITS) != COLL_DOC_BITS) continue; +/*?*/ break; +/*N*/ case SWSTYLEBIT_LIST: +/*?*/ if((nId & COLL_GET_RANGE_BITS) != COLL_LISTS_BITS) continue; +/*?*/ break; +/*N*/ case SWSTYLEBIT_IDX: +/*N*/ if((nId & COLL_GET_RANGE_BITS) != COLL_REGISTER_BITS) continue; +/*N*/ break; +/*N*/ case SWSTYLEBIT_EXTRA: +/*N*/ if((nId & COLL_GET_RANGE_BITS) != COLL_EXTRA_BITS) continue; +/*N*/ break; +/*N*/ +/*N*/ case SWSTYLEBIT_HTML | SFXSTYLEBIT_USERDEF: +/*?*/ if(IsPoolUserFmt(nId)) +/*?*/ break; +/*N*/ // ansonten weiter +/*N*/ case SWSTYLEBIT_HTML: +/*?*/ if( (nId & COLL_GET_RANGE_BITS) != COLL_HTML_BITS) +/*?*/ { +/*?*/ // einige wollen wir aber auch in dieser Section sehen +/*?*/ BOOL bWeiter = TRUE; +/*?*/ switch( nId ) +/*?*/ { +/*?*/ case RES_POOLCOLL_SENDADRESS: // --> ADDRESS +/*?*/ case RES_POOLCOLL_TABLE_HDLN: // --> TH +/*?*/ case RES_POOLCOLL_TABLE: // --> TD +/*?*/ case RES_POOLCOLL_TEXT: // --> P +/*?*/ case RES_POOLCOLL_HEADLINE_BASE:// --> H +/*?*/ case RES_POOLCOLL_HEADLINE1: // --> H1 +/*?*/ case RES_POOLCOLL_HEADLINE2: // --> H2 +/*?*/ case RES_POOLCOLL_HEADLINE3: // --> H3 +/*?*/ case RES_POOLCOLL_HEADLINE4: // --> H4 +/*?*/ case RES_POOLCOLL_HEADLINE5: // --> H5 +/*?*/ case RES_POOLCOLL_HEADLINE6: // --> H6 +/*?*/ case RES_POOLCOLL_STANDARD: // --> P +/*?*/ case RES_POOLCOLL_FOOTNOTE: +/*?*/ case RES_POOLCOLL_ENDNOTE: +/*?*/ bWeiter = FALSE; +/*?*/ break; +/*?*/ } +/*?*/ if( bWeiter ) +/*?*/ continue; +/*?*/ } +/*?*/ break; +/*?*/ case SWSTYLEBIT_CONDCOLL: +/*?*/ if( RES_CONDTXTFMTCOLL != pColl->Which() ) continue; +/*?*/ break; +/*N*/ default: +/*N*/ // benutzte gesucht und keine gefunden +/*N*/ if( bSearchUsed ) +/*N*/ continue; +/*N*/ } +/*N*/ } +/*N*/ aLst.Append( cPARA, pColl->GetName() ); +/*N*/ } +/*N*/ +/*N*/ const BOOL bAll = nSMask == SFXSTYLEBIT_ALL; +/*N*/ if ( bAll || (nSMask & ~SFXSTYLEBIT_USED) == SWSTYLEBIT_TEXT ) +/*N*/ AppendStyleList(SwStyleNameMapper::GetTextUINameArray(), +/*N*/ bSearchUsed, GET_POOLID_TXTCOLL, cPARA ); +/*N*/ if ( bAll || (nSMask & ~SFXSTYLEBIT_USED) == SWSTYLEBIT_CHAPTER ) +/*N*/ AppendStyleList(SwStyleNameMapper::GetDocUINameArray(), +/*N*/ bSearchUsed, GET_POOLID_TXTCOLL, cPARA ) ; +/*N*/ if ( bAll || (nSMask & ~SFXSTYLEBIT_USED) == SWSTYLEBIT_LIST ) +/*N*/ AppendStyleList(SwStyleNameMapper::GetListsUINameArray(), +/*N*/ bSearchUsed, GET_POOLID_TXTCOLL, cPARA ) ; +/*N*/ if ( bAll || (nSMask & ~SFXSTYLEBIT_USED) == SWSTYLEBIT_IDX ) +/*N*/ AppendStyleList(SwStyleNameMapper::GetRegisterUINameArray(), +/*N*/ bSearchUsed, GET_POOLID_TXTCOLL, cPARA ) ; +/*N*/ if ( bAll || (nSMask & ~SFXSTYLEBIT_USED) == SWSTYLEBIT_EXTRA ) +/*N*/ AppendStyleList(SwStyleNameMapper::GetExtraUINameArray(), +/*N*/ bSearchUsed, GET_POOLID_TXTCOLL, cPARA ) ; +/*N*/ if ( bAll || (nSMask & ~SFXSTYLEBIT_USED) == SWSTYLEBIT_CONDCOLL ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 if( !bSearchUsed || +/*N*/ } +/*N*/ if ( bAll || +/*N*/ (nSMask & ~SFXSTYLEBIT_USED) == SWSTYLEBIT_HTML || +/*N*/ (nSMask & ~SFXSTYLEBIT_USED) == +/*N*/ (SWSTYLEBIT_HTML | SFXSTYLEBIT_USERDEF) ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 AppendStyleList(SwStyleNameMapper::GetHTMLUINameArray(), +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ if( nSearchFamily == SFX_STYLE_FAMILY_FRAME || +/*N*/ nSearchFamily == SFX_STYLE_FAMILY_ALL ) +/*?*/ { +/*?*/ const USHORT nArrLen = rDoc.GetFrmFmts()->Count(); +/*?*/ for( USHORT i = 0; i < nArrLen; i++ ) +/*?*/ { +/*?*/ SwFrmFmt* pFmt = (*rDoc.GetFrmFmts())[ i ]; +/*?*/ if(pFmt->IsDefault() || pFmt->IsAuto()) +/*?*/ continue; +/*?*/ +/*?*/ const USHORT nId = pFmt->GetPoolFmtId(); +/*?*/ BOOL bUsed = bSearchUsed && ( bOrganizer || rDoc.IsUsed(*pFmt)); +/*?*/ if( !bUsed ) +/*?*/ { +/*?*/ if( (nSrchMask & ~SFXSTYLEBIT_USED) == SFXSTYLEBIT_USERDEF +/*?*/ ? !(nId & USER_FMT) +/*?*/ // benutzte gesucht und keine gefunden +/*?*/ : bSearchUsed ) +/*?*/ continue; +/*?*/ } +/*?*/ +/*?*/ aLst.Append( cFRAME, pFmt->GetName() ); +/*?*/ } +/*?*/ +/*?*/ // PoolFormate +/*?*/ // +/*?*/ if ( nSrchMask == SFXSTYLEBIT_ALL ) +/*?*/ AppendStyleList(SwStyleNameMapper::GetFrmFmtUINameArray(), +/*?*/ bSearchUsed, GET_POOLID_FRMFMT, cFRAME); +/*N*/ } +/*N*/ +/*N*/ if( nSearchFamily == SFX_STYLE_FAMILY_PAGE || +/*N*/ nSearchFamily == SFX_STYLE_FAMILY_ALL ) +/*N*/ { +/*N*/ const USHORT nCount = rDoc.GetPageDescCnt(); +/*N*/ for(USHORT i = 0; i < nCount; ++i) +/*N*/ { +/*N*/ const SwPageDesc& rDesc = rDoc.GetPageDesc(i); +/*N*/ const USHORT nId = rDesc.GetPoolFmtId(); +/*N*/ BOOL bUsed = bSearchUsed && ( bOrganizer || rDoc.IsUsed(rDesc)); +/*N*/ if( !bUsed ) +/*N*/ { +/*N*/ if( (nSrchMask & ~SFXSTYLEBIT_USED) == SFXSTYLEBIT_USERDEF +/*N*/ ? !(nId & USER_FMT) +/*N*/ // benutzte gesucht und keine gefunden +/*N*/ : bSearchUsed ) +/*?*/ continue; +/*N*/ } +/*N*/ +/*N*/ aLst.Append( cPAGE, rDesc.GetName() ); +/*N*/ } +/*N*/ if ( nSrchMask == SFXSTYLEBIT_ALL ) +/*N*/ AppendStyleList(SwStyleNameMapper::GetPageDescUINameArray(), +/*N*/ bSearchUsed, GET_POOLID_PAGEDESC, cPAGE); +/*N*/ } +/*N*/ +/*N*/ if( nSearchFamily == SFX_STYLE_FAMILY_PSEUDO || +/*N*/ nSearchFamily == SFX_STYLE_FAMILY_ALL ) +/*N*/ { +/*?*/ const SwNumRuleTbl& rNumTbl = rDoc.GetNumRuleTbl(); +/*?*/ for(USHORT i = 0; i < rNumTbl.Count(); ++i) +/*?*/ { +/*?*/ const SwNumRule& rRule = *rNumTbl[ i ]; +/*?*/ if( !rRule.IsAutoRule() ) +/*?*/ { +/*?*/ BOOL bUsed = bSearchUsed && ( bOrganizer || rDoc.IsUsed(rRule) ); +/*?*/ if( !bUsed ) +/*?*/ { +/*?*/ if( (nSrchMask & ~SFXSTYLEBIT_USED) == SFXSTYLEBIT_USERDEF +/*?*/ ? !(rRule.GetPoolFmtId() & USER_FMT) +/*?*/ // benutzte gesucht und keine gefunden +/*?*/ : bSearchUsed ) +/*?*/ continue; +/*?*/ } +/*?*/ +/*?*/ aLst.Append( cNUMRULE, rRule.GetName() ); +/*?*/ } +/*?*/ } +/*?*/ if ( nSrchMask == SFXSTYLEBIT_ALL ) +/*?*/ AppendStyleList(SwStyleNameMapper::GetNumRuleUINameArray(), +/*?*/ bSearchUsed, GET_POOLID_NUMRULE, cNUMRULE); +/*N*/ } +/*N*/ +/*N*/ if(aLst.Count() > 0) +/*N*/ { +/*N*/ nLastPos = USHRT_MAX; +/*N*/ return Next(); +/*N*/ } +/*N*/ return 0; +/*N*/ } + +/*N*/ SfxStyleSheetBase* SwStyleSheetIterator::Next() +/*N*/ { +/*N*/ nLastPos++; +/*N*/ if(aLst.Count() > 0 && nLastPos < aLst.Count()) +/*N*/ { +/*N*/ aIterSheet.PresetNameAndFamily(*aLst[nLastPos]); +/*N*/ aIterSheet.SetPhysical( FALSE ); +/*N*/ aIterSheet.SetMask( nMask ); +/*N*/ if(aIterSheet.pSet) +/*N*/ { +/*?*/ aIterSheet.pSet->ClearItem(0); +/*?*/ aIterSheet.pSet= 0; +/*N*/ } +/*N*/ return &aIterSheet; +/*N*/ } +/*N*/ return 0; +/*N*/ } + + +/*N*/ void SwStyleSheetIterator::AppendStyleList(const SvStringsDtor& rList, +/*N*/ BOOL bTestUsed, +/*N*/ USHORT nSection, char cType ) +/*N*/ { +/*N*/ if( bTestUsed ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwDoc& rDoc = ((SwDocStyleSheetPool*)pBasePool)->GetDoc(); +/*N*/ } +/*N*/ else +/*N*/ for ( USHORT i=0; i < rList.Count(); ++i ) +/*N*/ aLst.Append( cType, *rList[i] ); +/*N*/ } + +/*N*/ void SwStyleSheetIterator::Notify( SfxBroadcaster&, const SfxHint& rHint ) +/*N*/ { +/*N*/ // suchen und aus der Anzeige-Liste entfernen !! +/*N*/ if( rHint.ISA( SfxStyleSheetHint ) && +/*N*/ SFX_STYLESHEET_ERASED == ((SfxStyleSheetHint&) rHint).GetHint() ) +/*N*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SfxStyleSheetBase* pStyle = ((SfxStyleSheetHint&)rHint).GetStyleSheet(); +/*N*/ } +/*N*/ } + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_error.src b/binfilter/bf_sw/source/ui/app/sw_error.src new file mode 100644 index 000000000000..f4d636dec7b4 --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_error.src @@ -0,0 +1,1428 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT +#define __RSC + + +#include "globals.hrc" +#include "app.hrc" +#include "swerror.h" +#include "comcore.hrc" // MS: Warum gibst auf der Core-Seite + // jetzt Resourcen + +/*-------------------------------------------------------------------- + Beschreibung: Strings + --------------------------------------------------------------------*/ + + +/*-------------------------------------------------------------------- + Beschreibung: Boxes + --------------------------------------------------------------------*/ + + +#define ERR_CODE( class, err ) (class | (err - ERROR_SW_BASE)) +#define WARN_CODE( class, err ) (class | ( err - WARN_SW_BASE)) + +Resource RID_SW_ERRHDL +{ + // Import-Errors + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_FILE_FORMAT_ERROR ) + { + Text [ de ] = "Formatfehler in der Datei entdeckt" ; + Text [ en-US ] = "File format error found" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Encontrado erro de formato no ficheiro"; + Text[ ru ] = "Ошибка формата файла"; + Text[ el ] = "Βρέθηκε σφάλμα διαμόρφωσης στο αρχείο"; + Text[ nl ] = "Indelingsfout ontdekt in het bestand"; + Text[ fr ] = "Erreur de format de fichier"; + Text[ es ] = "Se ha descubierto un error de formato en el archivo"; + Text[ fi ] = "Tiedostomuotovirhe ilmeni."; + Text[ ca ] = "S'ha trobat un error en el format del fitxer"; + Text[ it ] = "Errore nel formato del file"; + Text[ sk ] = "Chybný formát súboru"; + Text[ da ] = "Opdaget formatfejl i filen"; + Text[ sv ] = "Formatfel upptäckt i filen"; + Text[ pl ] = "Znaleziono błąd w formacie pliku"; + Text[ pt-BR ] = "Foi encontrado um erro de formato no arquivo"; + Text[ th ] = "พบรูปแบบแฟ้มผิดพลาด"; + Text[ ja ] = "ファイルに書式エラーが見つかりました。"; + Text[ ko ] = "파일 형식 오류가 발견되었습니다."; + Text[ zh-CN ] = "发现了文件格式错误"; + Text[ zh-TW ] = "發現了檔案格式錯誤"; + Text[ tr ] = "Dosya format hatası bulundu"; + Text[ hi-IN ] = "फाइल रचना गलती घटित हुआ"; + Text[ ar ] = "تم اكتشاف خطأ تنسيق في الملف"; + Text[ he ] = "Formatfehler in der Datei entdeckt"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_READ_ERROR ) + { + Text [ de ] = "Fehler beim Lesen der Datei " ; + Text [ en-US ] = "Error reading file " ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro na leitura do ficheiro "; + Text[ ru ] = "Ошибка чтения файла "; + Text[ el ] = "Σφάλμα κατά την ανάγνωση του αρχείου "; + Text[ nl ] = "Fout bij lezen van het bestand"; + Text[ fr ] = "Erreur de lecture du fichier "; + Text[ es ] = "Error al leer el archivo "; + Text[ fi ] = "Virhe luettaessa tiedostoa "; + Text[ ca ] = "S'ha produït un error en llegir el fitxer "; + Text[ it ] = "Errore durante la lettura del file "; + Text[ sk ] = "Chyba pri čítaní súboru"; + Text[ da ] = "Fejl under læsning af filen "; + Text[ sv ] = "Fel vid läsning av fil "; + Text[ pl ] = "Błąd odczytu pliku"; + Text[ pt-BR ] = "Ocorreu um erro ao ler o arquivo"; + Text[ th ] = "อ่านแฟ้มผิดพลาด "; + Text[ ja ] = "ファイルの読み取りエラー "; + Text[ ko ] = "파일 읽기 오류 "; + Text[ zh-CN ] = "在读文件时发生错误 "; + Text[ zh-TW ] = "讀檔案時發生錯誤 "; + Text[ tr ] = "Dosya okuma hatası "; + Text[ hi-IN ] = "पढ़ने के समय गलती "; + Text[ ar ] = "حدث خطأ أثناء قراءة الملف "; + Text[ he ] = "Fehler beim Lesen der Datei"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_INPUT_FILE ) + { + Text [ de ] = "Fehler in der Eingabedatei" ; + Text [ en-US ] = "Input file error" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro no ficheiro de entrada"; + Text[ ru ] = "Ошибка ввода файла"; + Text[ el ] = "Σφάλμα στο αρχείο εισαγωγής"; + Text[ nl ] = "Fout in invoerbestand"; + Text[ fr ] = "Erreur dans le fichier de saisie"; + Text[ es ] = "Error en el archivo de entrada"; + Text[ fi ] = "Syöttötiedostovirhe"; + Text[ ca ] = "Error d'entrada del fitxer"; + Text[ it ] = "Errore nel file di input"; + Text[ sk ] = "Chyba vo vstupnom súbore"; + Text[ da ] = "Fejl i inputfilen"; + Text[ sv ] = "Fel på inmatningsfilen"; + Text[ pl ] = "Błąd w pliku wejściowym"; + Text[ pt-BR ] = "Ocorreu um erro no arquivo de entrada"; + Text[ th ] = "แฟ้มที่ใส่ผิดพลาด"; + Text[ ja ] = "入力ファイルの中にエラー"; + Text[ ko ] = "입력파일에서의 오류"; + Text[ zh-CN ] = "输入的文件含有错误"; + Text[ zh-TW ] = "輸入的檔案含有錯誤"; + Text[ tr ] = "Girdi dosyasında hata"; + Text[ hi-IN ] = "इनपुट् फाइल गलती"; + Text[ ar ] = "حدث خطأ في ملف الإدخال"; + Text[ he ] = "Fehler in der Eingabedatei"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_NOWRITER_FILE ) + { + Text [ de ] = "Die Datei ist keine %PRODUCTNAME Writer-Datei" ; + Text [ en-US ] = "This is not a %PRODUCTNAME Writer file" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Este não é um ficheiro do %PRODUCTNAME Writer."; + Text[ ru ] = "Этот файл не является файлом %PRODUCTNAME Writer"; + Text[ el ] = "Το αρχείο αυτό δεν είναι αρχείο του %PRODUCTNAME Writer"; + Text[ nl ] = "Dit bestand is geen %PRODUCTNAME Writer-bestand"; + Text[ fr ] = "Ceci n'est pas un fichier %PRODUCTNAME Writer"; + Text[ es ] = "El archivo no es uno de %PRODUCTNAME Writer"; + Text[ fi ] = "Tämä ei ole %PRODUCTNAME Writer -tiedosto."; + Text[ ca ] = "No és un fitxer d'%PRODUCTNAME Writer"; + Text[ it ] = "Questo non è un file di %PRODUCTNAME Writer"; + Text[ sk ] = "Toto nieje súbor %PRODUCTNAME Writer"; + Text[ da ] = "Filen er ikke en %PRODUCTNAME Writer-fil"; + Text[ sv ] = "Detta är inte en %PRODUCTNAME Writer-fil"; + Text[ pl ] = "To nie jest plik %PRODUCTNAME Writer."; + Text[ pt-BR ] = "Este não é um arquivo do %PRODUCTNAME Writer"; + Text[ th ] = "นี้ไม่ใช่แฟ้ม Writer %PRODUCTNAME "; + Text[ ja ] = "これは %PRODUCTNAME Writer のファイルではありません。"; + Text[ ko ] = "이 파일은 %PRODUCTNAME Writer 파일이 아닙니다."; + Text[ zh-CN ] = "这不是一个 %PRODUCTNAME Writer 文件"; + Text[ zh-TW ] = "這不是一個 %PRODUCTNAME Writer 檔案"; + Text[ tr ] = "Bu bir %PRODUCTNAME Writer dosyası değil"; + Text[ hi-IN ] = "यह %PRODUCTNAME लेखक फाइल नहीं है"; + Text[ ar ] = "هذا الملف ليس ملف %PRODUCTNAME Writer"; + Text[ he ] = "Die Datei ist keine %PRODUCTNAME Writer-Datei"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_UNEXPECTED_EOF ) + { + Text [ de ] = "Unerwartetes Dateiende" ; + Text [ en-US ] = "Unexpected end of file" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Fim de ficheiro imprevisto"; + Text[ ru ] = "Неожиданный конец файла"; + Text[ el ] = "Απροσδόκητο τέλος αρχείου"; + Text[ nl ] = "Onverwacht bestandseinde"; + Text[ fr ] = "Fin de fichier imprévue"; + Text[ es ] = "Fin inesperado de archivo"; + Text[ fi ] = "Odottamaton tiedoston loppu"; + Text[ ca ] = "Final inesperat del fitxer"; + Text[ it ] = "Fine inattesa del file"; + Text[ sk ] = "Neočakávaný koniec súboru"; + Text[ da ] = "Uventet filafslutning"; + Text[ sv ] = "Oväntat filslut"; + Text[ pl ] = "Nieoczekiwany koniec pliku"; + Text[ pt-BR ] = "Fim de arquivo inesperado"; + Text[ th ] = "ส่วนท้ายของแฟ้มที่ไม่ได้คาดไว้"; + Text[ ja ] = "不適当なファイル末"; + Text[ ko ] = "기대하지 않은 파일의 끝"; + Text[ zh-CN ] = "意外的文件结尾"; + Text[ zh-TW ] = "意外的檔案結尾"; + Text[ tr ] = "Beklenmeyen dosya sonu"; + Text[ hi-IN ] = "प्रतीक्षा न किया हुआ फाइल का अंत"; + Text[ ar ] = "نهاية غير متوقعة للملف"; + Text[ he ] = "Unerwartetes Dateiende"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_PASSWD ) + { + Text [ de ] = "Dateien, die mit Kennwort geschützt sind, können nicht geöffnet werden." ; + Text [ en-US ] = "Password-protected files cannot be opened." ; + Text [ x-comment ] = " "; + Text[ pt ] = "As senhas não têm suporte"; + Text[ ru ] = "Не поддерживаются файлы, защищенные паролями"; + Text[ el ] = "Δεν υποστηρίζεται η λειτουργία κωδικού πρόσβασης"; + Text[ nl ] = "Wachtwoorden worden niet ondersteund"; + Text[ fr ] = "Impossible d'ouvrir les fichiers protégés par des mots de passe !"; + Text[ es ] = "Los archivos protegidos por contraseñas no se pueden abrir."; + Text[ fi ] = "Salasanoilla suojattuja tiedostoja ei tueta."; + Text[ ca ] = "No estan permesos els fitxers protegits amb contrasenyes"; + Text[ it ] = "Impossibile aprire i file protetti da password."; + Text[ sk ] = "Zamknuté súbory nie sú podporované"; + Text[ da ] = "Adgangskoder understøttes ikke"; + Text[ sv ] = "Det går inte att öppna filer som är skyddade med lösenord"; + Text[ pl ] = "Pliki zabezpieczone hasłami nie są obsługiwane"; + Text[ pt-BR ] = "Arquivos protegidos com senhas não são suportados"; + Text[ th ] = "ไม่สนับสนุนรหัสผ่านป้องกันแฟ้ม"; + Text[ ja ] = "パスワード保護されているファイルは開けません。"; + Text[ ko ] = "암호로 보안된 파일은 열 수 없습니다."; + Text[ zh-CN ] = "无法打开用密码保护的文件。"; + Text[ zh-TW ] = "無法開啟受到密碼保護的檔案。"; + Text[ tr ] = "Parola ile korunan dosyalar açılamaz."; + Text[ hi-IN ] = "कूटशब्द रक्षित फाइलें समर्थित नहीं"; + Text[ ar ] = "كلمات السر غير معتمدة"; + Text[ he ] = "Dateien, die mit Kennwort geschützt sind, können nicht geöffnet werden."; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_NO_WW6_FILE_ERR ) + { + Text [ de ] = "Die Datei ist keine WinWord6-Datei" ; + Text [ en-US ] = "This is not a WinWord6 file" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Este não é um ficheiro do WinWord6"; + Text[ ru ] = "Этот файл не является файлом WinWor"; + Text[ el ] = "Το αρχείο αυτό δεν είναι αρχείο του WinWord6"; + Text[ nl ] = "Dit bestand is geen WinWord6-bestand"; + Text[ fr ] = "Ceci n'est pas un fichier WinWord6"; + Text[ es ] = "El archivo no es uno de WinWord6"; + Text[ fi ] = "Tämä ei ole WinWord6-tiedosto"; + Text[ ca ] = "No és un fitxer de WinWord6"; + Text[ it ] = "Questo non è un file di WinWord6"; + Text[ sk ] = "Toto nie je súbor WinWord6"; + Text[ da ] = "Filen er ingen WinWord6-fil"; + Text[ sv ] = "Detta är inte en WinWord6-fil"; + Text[ pl ] = "To nie jest plik WinWord6"; + Text[ pt-BR ] = "Este não é um arquivo do WinWord6"; + Text[ th ] = "นี้ไม่ใช่แฟ้ม WinWord6 "; + Text[ ja ] = "これは WinWord6 のファイルではありません。"; + Text[ ko ] = "WinWord6 파일이 아닙니다."; + Text[ zh-CN ] = "这不是一个 WinWord6 文件"; + Text[ zh-TW ] = "這不是一個 WinWord6 檔案"; + Text[ tr ] = "Bu dosya WinWord6 dosyası değil"; + Text[ hi-IN ] = "यह WinWord6 फाइल नहीं है"; + Text[ ar ] = "هذا الملف ليس ملف WinWord6"; + Text[ he ] = "Die Datei ist keine WinWord6-Datei"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_FASTSAVE_ERR ) + { + /* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */ + /* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */ + /* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */ + /* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */ + Text [ de ] = "Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord" ; + Text [ en-US ] = "This file was saved with WinWord in 'Fast Save' mode. Please unmark the WinWord option 'Allow Fast Saves' and save the file again." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Este ficheiro foi guardado com a opção do WinWord \"Guardar rápido\". Desactive a opção do WinWord \"Permitir Guardar rápido\" e guarde novamente o ficheiro em WinWord"; + Text[ ru ] = "Этот файл сохранен из WinWord в режиме 'Быстрое сохранение'. Пожалуйста, отключите параметр 'Разрешить быстрое сохранение' и заново сохраните этот файл из WinWord."; + Text[ el ] = "Το αρχείο αυτό αποθηκεύτηκε με την επιλογή 'Γρήγορη αποθήκευση' του WinWord. Παρακαλώ απενεργοποιήσετε την επιλογή αυτή του WinWord και αποθηκεύσ? "; + Text[ nl ] = "Dit bestand is met de WinWord-optie \"Snel opslaan\" opgeslagen. Schakel a.u.b. in WinWord de optie \"Snel opslaan toestaan\" uit en sla het bestand opnieuw op met WinWord."; + Text[ fr ] = "Ce fichier a été enregistré à l'aide de l'option 'Enregistrement rapide' de WinWord. Veuillez désactiver cette option et utiliser WinWord pour enregistrer à nouveau le fichier."; + Text[ es ] = "Este archivo ha sido guardado con la opción de WinWord 'guardar rápidamente' . Por favor desactive en WinWord la opción 'permitir guardar rápidamente' y guarde el archivo de nuevo en WinWord."; + Text[ fi ] = "Tiedosto tallennettiin WinWordin pikatallennustilassa. Poista asetuksen Salli pikatallennus valinta ja tallenna tiedosto uudelleen."; + Text[ ca ] = "Aquest fitxer ha estat desat amb la opció de WinWord de 'desa ràpidament'. Desactiveu en el WinWord la opció 'permet desar ràpidament' i torneu a desar el document amb el WinWord."; + Text[ it ] = "Questo file è stato salvato con l'opzione di Winword 'salvataggio veloce'. Disabilitate l'opzione di WinWord 'Salvataggio veloce' e utilizzate WinWord per salvare di nuovo il file."; + Text[ sk ] = "Tento súbor bol uložený programom WinWord v režime 'Rýchle ukladanie'. Vypnite prosím voľbu 'Povoliť rýchle ukladanie' a uložte súbor znovu."; + Text[ da ] = "Denne fil er blevet gemt med WinWord-indstillingen 'Gem hurtigt'. Deaktiver venligst indstillingen 'Gem hutigt' og gem filen igen med WinWord."; + Text[ sv ] = "Denna fil är sparad med WinWord-alternativet 'snabbspara'. Stäng av WinWord-alternativet 'Tillåt snabbspara' och spara filen med WinWord igen"; + Text[ pl ] = "Ten plik został zapisany za pomocą programu WinWord z włączoną opcją 'Szybkie zapisywanie'. Wyłącz w programie WinWord opcję 'Szybkie zapisywanie' i ponownie zapisz plik."; + Text[ pt-BR ] = "Este arquivo foi armazenado com a opção 'Salvar Rápido' do WinWord. Desative a opção 'Permitir Salvar Rápido' do WinWord e utilize o WinWord para salvar novamente o arquivo"; + Text[ th ] = "บันทึกแฟ้มนี้ด้วย WinWord ในโหมด 'บันทึกเร็ว' กรุณาไม่ตรวจสอบตัวเลือก 'ให้มีการบันทึกเร็ว' และบันทึกแฟ้มอีกครั้ง"; + Text[ ja ] = "このファイルは WinWord オプションの「高速保存」で保存されています。WinWord のオプション「高速保存する」をオフにして WinWord でファイルを保存しなおしてください。"; + Text[ ko ] = "이 파일은 WinWord 의 '빠른 저장' 모드로 저장되어 있습니다. 옵션 '빠른 저장 허용' 를 해제하고, 파일을 다시 저장하십시오 ."; + Text[ zh-CN ] = "这个文件存盘采用的是 WinWord 选项 '快速保存'方式。请关闭这个选项,然后再重新存盘这个文件。"; + Text[ zh-TW ] = "儲存檔案採用的是 WinWord 選項<快速儲存>方式。請關閉這個選項﹐然後再重新儲存這個文件。"; + Text[ tr ] = "Bu dosya WinWord seçeneği 'Hızlı kaydet' ile kaydedilmiş. WinWord'de 'Hızlı kaydetmeye olanak sağla' seçeneğini geçersiz kılıp dosyayı yeniden WinWord ile kaydedin"; + Text[ hi-IN ] = "इस फाइल को WinWord में 'शीघ्र संचित करो' प्रकार में संचित किया है । कृपया 'शीघ्र संचित करना स्वीकृत' विकल्प को हटाओ और फाइल को फिर से संचित करो । "; + Text[ ar ] = "تم حفظ هذا الملف عن طريق خيار 'الحفظ السريع' في WinWord. الرجاء إيقاف خاصية 'السماح بالحفظ السريع' في WinWord، ثم قم بحفظ الملف من جديد بواسطة WinWord."; + Text[ he ] = "Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_W4W_WRITE_TMP_ERROR ) + { + Text [ de ] = "Fehler beim Schreiben der Temporärdatei" ; + Text [ en-US ] = "Error writing temporary file" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro ao gravar o ficheiro temporário"; + Text[ ru ] = "Ошибка записи временного файла"; + Text[ el ] = "Σφάλμα κατά την εγγραφή προσωρινού αρχείου"; + Text[ nl ] = "Fout bij schrijven van tijdelijk bestand"; + Text[ fr ] = "Erreur d'écriture du fichier temporaire"; + Text[ es ] = "Error al escribir el archivo temporal"; + Text[ fi ] = "Virhe kirjoitettaessa väliaikaistiedostoa"; + Text[ ca ] = "S'ha produït un error en escriure el fitxer temporal"; + Text[ it ] = "Errore durante la scrittura del file temporaneo"; + Text[ sk ] = "Chyba pri zápise do dočasného súboru"; + Text[ da ] = "Fejl under skrivning af midlertidig fil"; + Text[ sv ] = "Fel vid skrivning av temporär fil"; + Text[ pl ] = "Błąd zapisu pliku tymczasowego"; + Text[ pt-BR ] = "Ocorreu um erro ao gravar o arquivo temporário"; + Text[ th ] = "เขียนแฟ้มถาวรผิดพลาด"; + Text[ ja ] = "一時ファイル書き込みの際のエラー"; + Text[ ko ] = "임시파일의 쓰기에서 오류"; + Text[ zh-CN ] = "在写入暂时文件时发生错误"; + Text[ zh-TW ] = "在寫入暫時檔案時發生錯誤"; + Text[ tr ] = "Geçici dosya yazma hatası"; + Text[ hi-IN ] = "अस्थायी फाइल में लिखने के समय गलती"; + Text[ ar ] = "حدث خطأ أثناء كتابة الملف المؤقت"; + Text[ he ] = "Fehler beim Schreiben der Temporärdatei"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_EXCLOT_WRONG_RANGE ) + { + Text [ de ] = "Einfügebereich in Ini-Datei zu groß" ; + Text [ en-US ] = "Inserted section in ini file too large" ; + Text [ x-comment ] = " "; + Text[ pt ] = "A área de inserção do ficheiro Ini é demasiado extensa"; + Text[ ru ] = "Вставленная в ini файл секция слишком велика"; + Text[ el ] = "Η ενότητα εισαγωγής στο αρχείο ini είναι πολύ μεγάλη"; + Text[ nl ] = "Invoegbereik in INI-bestand is te groot"; + Text[ fr ] = "Zone d'insertion dans le fichier Ini trop grande"; + Text[ es ] = "La sección insertada en el archivo Ini es demasiado grande"; + Text[ fi ] = "Ini-tiedostoon lisätty osa on liian suuri."; + Text[ ca ] = "L'àrea d'inserció del fitxer ini és massa gran"; + Text[ it ] = "Area di inserimento del file ini troppo grande"; + Text[ sk ] = "Vkladaná oblasť v ini súbore je príliš veľká"; + Text[ da ] = "Importområdet i ini-filen er for stort"; + Text[ sv ] = "Importområdet i ini-filen är för stort"; + Text[ pl ] = "Wstawiono zbyt dużą sekcję do pliku ini"; + Text[ pt-BR ] = "A seção inserida no arquivo ini é muito grande"; + Text[ th ] = "แทรกส่วนในแฟ้ม ini ใหญ่เกินไป"; + Text[ ja ] = "Ini ファイルの挿入範囲が大きすぎます。"; + Text[ ko ] = "ini 파일에 삽입된 구역이 너무 큽니다."; + Text[ zh-CN ] = "Ini 文件插入区域太大"; + Text[ zh-TW ] = "Ini 檔案插入區域太大"; + Text[ tr ] = "Ini dosyası ekleme bölümü çok büyük"; + Text[ hi-IN ] = "ini फाइल में जोड़ा हुआ विभाग बहुत बड़ा है"; + Text[ ar ] = "نطاق الإدخال في الملف Ini كبير جداً"; + Text[ he ] = "Einfügebereich in Ini-Datei zu groß"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_ROWCOL ) + { + Text [ de ] = "Formatfehler an Position $(ARG1)(Zeile,Spalte) in der Datei entdeckt" ; + Text [ en-US ] = "File format error found at $(ARG1)(row,col)" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Descoberto erro de formato na posição $(ARG1)(linha, coluna) do ficheiro"; + Text[ ru ] = "Ошибка формата файла в месте $(ARG1)(строка,столбец)"; + Text[ el ] = "Βρέθηκε σφάλμα μορφοποίησης στη θέση $(ARG1)(γραμμή,στήλη) του αρχείο"; + Text[ nl ] = "Indelingsfout ontdekt op positie $(ARG1)(cel,kolom) in het bestand"; + Text[ fr ] = "Erreur de format dans le fichier, position $(ARG1)(ligne, colonne)."; + Text[ es ] = "Se ha descubierto un error de formato en el archivo en la posición $(ARG1)(fila,columna)"; + Text[ fi ] = "Tiedostomuotovirhe ilmeni kohteessa $(ARG1)(rivi,sarake)."; + Text[ ca ] = "S'ha trobat un error en el format de l'arxiu a $(ARG1)(fila, col.)"; + Text[ it ] = "È stato trovato un errore di formato nel file alla posizione $(ARG1)(riga, colonna)"; + Text[ sk ] = "Chybný formát súboru na $(ARG1)(riadok,stĺpec)"; + Text[ da ] = "Der blev opdaget en formatfejl i filen på position $(ARG1)(række,spalte)"; + Text[ sv ] = "Formatfel vid position $(ARG1)(rad,kolumn) upptäckt i filen"; + Text[ pl ] = "Znaleziono błąd w formacie pliku na pozycji $(ARG1) (wiersz, kolumna)"; + Text[ pt-BR ] = "Foi encontrado um erro de formato de arquivo em $(ARG1)(lin,col)"; + Text[ th ] = "พบรูปแบบแฟ้มผิดพลาดที่ $(ARG1)(แถว,คอลัมน์)"; + Text[ ja ] = "ファイルの $(ARG1)(行、列)に書式エラーが見つかりました。"; + Text[ ko ] = "파일 형식 오류가 $(ARG1)(행,열)에서 발견되었습니다."; + Text[ zh-CN ] = "文件格式错误 $(ARG1)(行,列)"; + Text[ zh-TW ] = "檔案格式錯誤 $(ARG1)(行,列)"; + Text[ tr ] = "Dosya format hatası $(ARG1)(satır, sütun) bulundu"; + Text[ hi-IN ] = "$(ARG1)(पंक्ति,स्तंभ) में फाइल रचना गलती घटित हुआ "; + Text[ ar ] = "تم اكتشاف خطأ في الموضع $(ARG1)(سطر،عمود) في الملف"; + Text[ he ] = "Formatfehler an Position $(ARG1)(Zeile,Spalte) in der Datei entdeckt"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_NEW_VERSION ) + { + Text [ de ] = "Datei wurde von einer neueren Version geschrieben" ; + Text [ en-US ] = "File has been written in a newer version" ; + Text [ x-comment ] = " "; + Text[ pt ] = "O ficheiro foi escrito numa versão mais moderna"; + Text[ ru ] = "Файл записан в более новой версии"; + Text[ el ] = "Το αρχείο γράφτηκε με νεότερη έκδοση"; + Text[ nl ] = "Bestand is onder een nieuwere versie opgeslagen"; + Text[ fr ] = "Ce fichier a été créé à l'aide d'une version plus récente"; + Text[ es ] = "El archivo se escribió en una versión más nueva"; + Text[ fi ] = "Tiedosto on kirjoitettu uudemmassa versiossa"; + Text[ ca ] = "El fitxer s'ha escrit en una versió més nova"; + Text[ it ] = "Il file è stato creato da una versione più recente"; + Text[ sk ] = "Súbor bol uložený novšou verziou"; + Text[ da ] = "Filen er blevet skrevet af en nyere version"; + Text[ sv ] = "Filen har skrivits i en nyare version"; + Text[ pl ] = "Plik został zapisany w nowszej wersji"; + Text[ pt-BR ] = "O arquivo foi gravado numa versão mais nova"; + Text[ th ] = "แฟ้มไม่ได้ถูกเขียนในเวอร์ชั่นที่ใหม่กว่า"; + Text[ ja ] = "ファイルは新しいバージョンで書かれています"; + Text[ ko ] = "파일은 최신 버전에 의해 쓰여졌습니다."; + Text[ zh-CN ] = "文件已经由一个新版本更新"; + Text[ zh-TW ] = "檔案已經被一個新版本更新"; + Text[ tr ] = "Dosya daha yeni bir sürüm ile yazılmış"; + Text[ hi-IN ] = "फाइल को नया आवर्तन में लिखा है"; + Text[ ar ] = "تم كتابة الملف في إصدار أحدث"; + Text[ he ] = "Datei wurde von einer neueren Version geschrieben"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW8_NO_WW8_FILE_ERR ) + { + Text [ de ] = "Die Datei ist keine WinWord97-Datei" ; + Text [ en-US ] = "This is not a WinWord97 file"; + Text[ pt ] = "Não é um ficheiro WinWord97"; + Text[ ru ] = "Данный файл не является файлом WinWor"; + Text[ el ] = "Το αρχείο αυτό δεν είναι τύπου WinWord97"; + Text[ nl ] = "Dit is geen WinWord97-bestand"; + Text[ fr ] = "Il ne s'agit pas d'un fichier WinWord97 !"; + Text[ es ] = "El archivo no es de WinWord97"; + Text[ fi ] = "Tämä ei ole WinWord97-tiedosto"; + Text[ ca ] = "El fitxer no és de WinWord97"; + Text[ it ] = "Il file non è nel formato WinWord97"; + Text[ sk ] = "Toto nie je súbor WinWord97"; + Text[ da ] = "Filen er ingen WinWord97-fil"; + Text[ sv ] = "Filen är inte en WinWord97-fil"; + Text[ pl ] = "To nie jest plik WinWord97"; + Text[ pt-BR ] = "Este não é um arquivo do WinWord97"; + Text[ th ] = "นี้ไม่ใช่แฟ้ม WinWord97 "; + Text[ ja ] = "これは WinWord97 ファイルではありません"; + Text[ ko ] = "이 파일은 WinWord97 파일이 아닙니다"; + Text[ zh-CN ] = "这个文件不是一个 WinWord97 文件"; + Text[ zh-TW ] = "這不是 WinWord97 檔案"; + Text[ tr ] = "Bu dosya WinWord97 dosyası değil"; + Text[ hi-IN ] = "यह WinWord97 फाइल नहीं है"; + Text[ ar ] = "هذا الملف ليس ملف WinWord97"; + Text[ he ] = "Die Datei ist keine WinWord97-Datei"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL ) + { + Text [ de ] = "Formatfehler in Teildokument $(ARG1) an Position $(ARG2)(Zeile,Spalte) in der Datei entdeckt" ; + Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)"; + Text[ pt ] = "Erro de formato no sub-documento $(ARG1) do ficheiro, na posição $(ARG2)(linha,coluna)"; + Text[ ru ] = "Ошибка формата файла в поддокументе $(ARG1) в позиции $(ARG2)(строка, столбец)."; + Text[ el ] = "Εντοπίστηκε ένα σφάλμα μορφοποίησης του αρχείου στο τμήμα κειμένου $(ARG1) στη θέση $(ARG2)(γραμμή, στήλη)"; + Text[ nl ] = "Indelingsfout in subdocument $(ARG1) op positie $(ARG2)(rij,kolom)"; + Text[ fr ] = "Erreur de format dans le sous-document $(ARG1), position $(ARG2)(ligne,colonne), du fichier."; + Text[ es ] = "En el documento parcial $(ARG1) del archivo existe un error de formato en la posición $(ARG2)(fila,columna)"; + Text[ fi ] = "Tiedoston aliasiakirjan $(ARG1) kohdassa $(ARG2)(rivi,sarake) havaittiin muotoiluvirhe."; + Text[ ca ] = "S'ha descobert un error de format en el fitxer en el subdocument $(ARG1) fins al $(ARG2)(fila, col.)"; + Text[ it ] = "Errore di formato nel sottodocumento $(ARG1) del file nel punto $(ARG2)(riga,colonna)"; + Text[ sk ] = "Chybný formát súboru v sub-dokumente $(ARG1) na pozícii $(ARG2)(riadok, stĺpec)"; + Text[ da ] = "Der er konstateret formatfejl i underdokumentet $(ARG1) på position $(ARG2)(linje,kolonne) i filen"; + Text[ sv ] = "Det har upptäckts ett formatfel i filen: deldokument $(ARG1), position $(ARG2)(rad,kolumn)"; + Text[ pl ] = "Wykryto błąd formatowania w pliku dokumentu podrzędnego $(ARG1) na pozycji $(ARG2) (wiersz, kolumna)"; + Text[ pt-BR ] = "Foi descoberto um erro de formato no arquivo do sub-documento $(ARG1) em $(ARG2)(lin,col)"; + Text[ th ] = "ค้นพบรูปแบบผิดพลาดในแฟ้มในเอกสารย่อย $(ARG1) ที่ $(ARG2)(แถว,คอลัมน์)"; + Text[ ja ] = "ファイルの $(ARG2)(行、列)にある部分ドキュメント $(ARG1) に書式エラーが見つかりました。"; + Text[ ko ] = "파일의 $(ARG2)(행, 열)위치에 있는 부분 문서 $(ARG1)의 서식 오류를 발견했습니다."; + Text[ zh-CN ] = "发现文件的子文档$(ARG1)内含错误,位置在 $(ARG2)(行,列)"; + Text[ zh-TW ] = "發現檔案的子文件$(ARG1)內含錯誤,位置在 $(ARG2)(行,欄)"; + Text[ tr ] = "Alt metin $(ARG1) içerisinde $(ARG2)(satır,sütun) da dosya format hatası"; + Text[ hi-IN ] = "फाइल में अधीन-लेखपत्र $(ARG1) में $(ARG2)(पंक्ति,स्तंभ) में रचना में गलती है"; + Text[ ar ] = "File format error in sub-document $(ARG1) at $(ARG2)(row,col)"; + Text[ he ] = "Formatfehler in Teildokument $(ARG1) an Position $(ARG2)(Zeile,Spalte) in der Datei entdeckt"; + }; + // Export-Errors + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_WRITE_ERROR ) + { + Text [ de ] = "Fehler beim Schreiben der Datei " ; + Text [ en-US ] = "Error writing file " ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro ao gravar o ficheiro "; + Text[ ru ] = "Ошибка записи файла "; + Text[ el ] = "Σφάλμα κατά την εγγραφή αρχείου "; + Text[ nl ] = "Fout bij schrijven van bestand"; + Text[ fr ] = "Erreur d'écriture du fichier "; + Text[ es ] = "Error al escribir el archivo "; + Text[ fi ] = "Virhe kirjoitettaessa tiedostoa "; + Text[ ca ] = "S'ha produït un error en escriure el fitxer "; + Text[ it ] = "Errore durante la scrittura del file "; + Text[ sk ] = "Chyba pri zápise súboru "; + Text[ da ] = "Fejl under skrivning af filen "; + Text[ sv ] = "Fel vid skrivning av fil "; + Text[ pl ] = "Błąd zapisu pliku"; + Text[ pt-BR ] = "Ocorreu um erro ao gravar o arquivo"; + Text[ th ] = "เขียนแฟ้มผิดพลาด "; + Text[ ja ] = "ファイル書き込みの際のエラー "; + Text[ ko ] = "파일 쓰기에서 오류 "; + Text[ zh-CN ] = "写入文件时发生错误 "; + Text[ zh-TW ] = "寫入檔案時發生錯誤 "; + Text[ tr ] = "Dosya yazma hatası "; + Text[ hi-IN ] = "फाइल में लिखने के समय गलती "; + Text[ ar ] = "حدث خطأ أثناء كتابة الملف "; + Text[ he ] = "Fehler beim Schreiben der Datei"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_OLD_GLOSSARY ) + { + Text [ de ] = "Das Autotextdokument hat falsche Version" ; + Text [ en-US ] = "Wrong AutoText document version" ; + Text [ x-comment ] = " "; + Text[ pt ] = "O documento do AutoTexto tem a versão errada"; + Text[ ru ] = "Неправильная версия документа автотекста"; + Text[ el ] = "Λάθος έκδοση του εγγράφου αυτόματου κειμένου"; + Text[ nl ] = "Het AutoTekst-document heeft de verkeerde versie"; + Text[ fr ] = "La version de l' AutoTexte utilisée est incorrecte"; + Text[ es ] = "Versión del documento de texto automático errónea"; + Text[ fi ] = "Väärä Automaattinen teksti -asiakirjaversio"; + Text[ ca ] = "Versió incorrecta del document d'Autotext"; + Text[ it ] = "Il documento di testo automatico presenta una versione errata"; + Text[ sk ] = "Zlá verzia AutoText dokumentu"; + Text[ da ] = "Forkert AutoTekst dokumentversion"; + Text[ sv ] = "AutoText-dokumentet har fel version"; + Text[ pl ] = "Błędna wersja dokumentu Autotekstu"; + Text[ pt-BR ] = "Versão incorreta do documento de AutoTexto"; + Text[ th ] = "เวอร์ชั่นเอกสารข้อความอัตโนมัติไม่ถูกต้อง"; + Text[ ja ] = "入力支援ドキュメントのバージョンが違います"; + Text[ ko ] = "잘못된 자동 텍스트 문서 버전"; + Text[ zh-CN ] = "这个自动图文集的文档版本无效"; + Text[ zh-TW ] = "這個自動圖文集文件版本無效"; + Text[ tr ] = "Otomatik metin belgesi sürümü yanlış"; + Text[ hi-IN ] = "गलत स्वचालित टेक्स्ट् लेखपत्र आवर्तन"; + Text[ ar ] = "إصدار خاطئ لمستند النص التلقائي"; + Text[ he ] = "Das Autotextdokument hat falsche Version"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_CANNOT_WRITE ) + { + Text [ de ] = "Das Dokument kann nicht angelegt werden" ; + Text [ en-US ] = "The document cannot be created" ; + Text [ x-comment ] = " "; + Text[ pt ] = "É impossível criar o documento"; + Text[ ru ] = "Невозможно создать документ"; + Text[ el ] = "Δεν ήταν δυνατή η δημιουργία του εγγράφου"; + Text[ nl ] = "Het document kan niet worden gemaakt"; + Text[ fr ] = "Impossible de créer le document"; + Text[ es ] = "No se puede crear el documento"; + Text[ fi ] = "Asiakirjaa ei voida luoda"; + Text[ ca ] = "No es pot crear el document"; + Text[ it ] = "Non è possibile creare il documento"; + Text[ sk ] = "Dokument nemôže byť vytvorený"; + Text[ da ] = "Dokumentet kan ikke oprettes"; + Text[ sv ] = "Det går inte att skapa dokumentet"; + Text[ pl ] = "Dokumentu nie można utworzyć"; + Text[ pt-BR ] = "O documento não pode ser criado"; + Text[ th ] = "ไม่สามารถสร้างเอกสารได้"; + Text[ ja ] = "このドキュメントは作成できません。"; + Text[ ko ] = "문서를 만들수 없습니다."; + Text[ zh-CN ] = "无法生成这个文档。"; + Text[ zh-TW ] = "無法建立這個文件"; + Text[ tr ] = "Belge oluşturulamıyor"; + Text[ hi-IN ] = "लेखपत्र को उत्पन्न नहीं कर सकते है"; + Text[ ar ] = "لا يمكن إنشاء المستند"; + Text[ he ] = "Das Dokument kann nicht angelegt werden"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_W4W_READ_TMP_ERROR ) + { + Text [ de ] = "Fehler beim Lesen der Temporärdatei" ; + Text [ en-US ] = "Error reading temporary file" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro na leitura do ficheiro temporário"; + Text[ ru ] = "Ошибка чтения временного файла"; + Text[ el ] = "Σφάλμα κατά το διάβασμα προσωρινού αρχείου"; + Text[ nl ] = "Fout bij lezen tijdelijke bestanden"; + Text[ fr ] = "Erreur de lecture du fichier temporaire"; + Text[ es ] = "Error al leer el archivo temporal"; + Text[ fi ] = "Virhe luettaessa väliaikaistiedostoa"; + Text[ ca ] = "S'ha produït un error en llegir el fitxer temporal"; + Text[ it ] = "Errore durante la lettura del file temporaneo"; + Text[ sk ] = "Chyba pri čítaní dočasného súboru"; + Text[ da ] = "Fejl under læsning af midlertidig fil"; + Text[ sv ] = "Fel vid läsning av temporär fil"; + Text[ pl ] = "Błąd odczytu pliku tymczasowego"; + Text[ pt-BR ] = "Ocorreu um erro ao ler o arquivo temporário"; + Text[ th ] = "อ่านแฟ้มชั่วคราวผิดพลาด"; + Text[ ja ] = "一時ファイル読み取りの際のエラー"; + Text[ ko ] = "임시파일 읽기에서 오류"; + Text[ zh-CN ] = "在读取暂时文件时发生错误"; + Text[ zh-TW ] = "讀取暫時檔案時發生錯誤"; + Text[ tr ] = "Geçici dosya okuma hatası"; + Text[ hi-IN ] = "अस्थायी फाइल को पढ़ने के समय गलती"; + Text[ ar ] = "حدث خطأ أثناء قراءة الملف المؤقت"; + Text[ he ] = "Fehler beim Lesen der Temporärdatei"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_LARGE_DOC_ERROR ) + { + Text [ de ] = "Das Dokument überschreitet die mögliche 3.1/4.0-Textdokument-Größe" ; + Text [ en-US ] = "The document exceeds the allowed 3.1/4.0 text document size" ; + Text [ x-comment ] = " "; + Text[ pt ] = "O documento ultrapassa o tamanho possível para um documento 3.1/4.0"; + Text[ ru ] = "Документ превышает возможный объем 3.1/4.0, установленный для текстового документа"; + Text[ el ] = "Το έγγραφο υπερβαίνει το επιτρεπόμενο όριο μεγέθους εγγράφου κειμένου για την έκδοση 3.1/4.0"; + Text[ nl ] = "Het document overschrijdt de mogelijke 3.1/4.0-tekstdocumentgrootte"; + Text[ fr ] = "Le document dépasse la taille maximum autorisée pour un document texte 3.1/4.0"; + Text[ es ] = "El documento sobrepasa el tamaño posible 3.1/4.0 de documento"; + Text[ fi ] = "Asiakirja ylittää sallitun 3.1/4.0-tekstiasiakirjan koon"; + Text[ ca ] = "El document excedeix la mida permesa per a un document de text 3.1/4.0"; + Text[ it ] = "Il documento supera le dimensioni del testo possibili in 3.1/4.0"; + Text[ sk ] = "Dokument prekračuje povolenú veľkosť textového dokumentu 3.1/4.0"; + Text[ da ] = "Dokumentet overskrider den mulige 3.1/4.0-tekstdokumentstørrelse"; + Text[ sv ] = "Dokumentet överskrider den möjliga 3.1/4.0-textdokumentstorleken"; + Text[ pl ] = "Dokument przekracza dopuszczalny rozmiar dokumentu tekstowego 3.1/4.0"; + Text[ pt-BR ] = "O tamanho do arquivo ultrapassa o tamanho permitido para um documento 3.1 ou 4.0"; + Text[ th ] = "เอกสารเกินขนาดข้อความเอกสารที่กำหนด 3.1/4.0 "; + Text[ ja ] = "このドキュメントは許容範囲 3.1/4.0 文書ドキュメントサイズを超えています。"; + Text[ ko ] = "문서가 허용된 3.1/4.0 텍스트 문서 크기를 초과 했습니다."; + Text[ zh-CN ] = "这个文档可能超过 3.1/4.0 版本文档的大小。"; + Text[ zh-TW ] = "這個文件可能超過 3.1/4.0 版本文件的大小。"; + Text[ tr ] = "Belge izin verilen 3.1/4.0 metin belgesi büyüklüğünü aşıyor"; + Text[ hi-IN ] = "लेखपत्र का परिमाण स्वीकृत 3.1/4.0 टेक्स्ट् लेखपत्र परिमाण से अधिक है"; + Text[ ar ] = "يتجاوز المستند حجم مستند النص 3.1/4.0"; + Text[ he ] = "Das Dokument überschreitet die mögliche 3.1/4.0-Textdokument-Größe"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_WRITE_ERROR_FILE ) + { + Text [ de ] = "Fehler beim Schreiben des Teildokuments $(ARG1)" ; + Text [ en-US ] = "Error in writing sub-document $(ARG1)"; + Text[ pt ] = "Erro ao escrever o sub-documento $(ARG1)"; + Text[ ru ] = "Ошибка записи поддокумента $(ARG1)"; + Text[ el ] = "Σφάλμα κατά την εγγραφή του τμήματος του εγγράφου $(ARG1)"; + Text[ nl ] = "Fout bij schrijven van subdocument $(ARG1)"; + Text[ fr ] = "Erreur d'écriture dans le sous-document $(ARG1)"; + Text[ es ] = "Error al escribir en el documento parcial $(ARG1)"; + Text[ fi ] = "Aliasiakirjaan $(ARG1) kirjoitettaessa on ilmennyt virhe."; + Text[ ca ] = "S'ha produït un error en escriure el subdocument $(ARG1)"; + Text[ it ] = "Errore di scrittura nel sottodocumento $(ARG1)"; + Text[ sk ] = "Chyba pri zápise sub-dokumentu $(ARG1)"; + Text[ da ] = "Fejl under skrivning af underdokumentet $(ARG1)"; + Text[ sv ] = "Fel när deldokumentet $(ARG1) skulle skrivas"; + Text[ pl ] = "Błąd zapisu dokumentu podrzędnego $(ARG1)"; + Text[ pt-BR ] = "Ocorreu um erro ao gravar o sub-documento $(ARG1)"; + Text[ th ] = "ข้อผิดพลาดในการเขียนเอกสารย่อย $(ARG1)"; + Text[ ja ] = "部分ドキュメント $(ARG1) に書き込む時のエラー"; + Text[ ko ] = "부분문서 $(ARG1) 쓰기에서 오류"; + Text[ zh-CN ] = "在写入子文档$(ARG1)时发生错误"; + Text[ zh-TW ] = "在寫入子文件$(ARG1)時發生錯誤"; + Text[ tr ] = "Alt metin $(ARG1) dosyası içerisine yazılırken hata oluştu"; + Text[ hi-IN ] = "अधीन-लेखपत्र $(ARG1) में लिखने के समय गलती"; + Text[ ar ] = "Error in writing sub-document $(ARG1)"; + Text[ he ] = "Fehler beim Schreiben des Teildokuments $(ARG1)"; + }; + // Import-/Export-Errors + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_INTERNAL_ERROR ) + { + Text [ de ] = "Interner Fehler im %PRODUCTNAME Writer Dateiformat" ; + Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro interno no formato de ficheiro do %PRODUCTNAME Writer."; + Text[ ru ] = "Внутренняя ошибка формата файла %PRODUCTNAME Writer"; + Text[ el ] = "Εσωτερικό σφάλμα στη μορφή αρχείου του %PRODUCTNAME Writer"; + Text[ nl ] = "Interne fout in %PRODUCTNAME Writer-bestandsindeling"; + Text[ fr ] = "Erreur interne dans le format de fichier %PRODUCTNAME Writer"; + Text[ es ] = "Error interno en el formato de archivo de %PRODUCTNAME Writer"; + Text[ fi ] = "Sisäinen virhe %PRODUCTNAME Writer -tiedostomuodossa"; + Text[ ca ] = "S'ha produït un error intern en el format del %PRODUCTNAME Writer"; + Text[ it ] = "Errore interno nel formato di file di %PRODUCTNAME Writer"; + Text[ sk ] = "Interná chyba vo formáte súboru %PRODUCTNAME Writer"; + Text[ da ] = "Intern fejl i %PRODUCTNAME Writer-filformatet"; + Text[ sv ] = "Internt fel i %PRODUCTNAME Writer-filformatet"; + Text[ pl ] = "Wewnętrzny błąd w formacie pliku %PRODUCTNAME Writer"; + Text[ pt-BR ] = "Ocorreu um erro interno no formato do arquivo do %PRODUCTNAME Writer"; + Text[ th ] = "ข้อผิดพลาดภายในในรูปแบบแฟ้ม Writer %PRODUCTNAME "; + Text[ ja ] = "%PRODUCTNAME Writer ファイル書式の内部エラー"; + Text[ ko ] = "%PRODUCTNAME Writer 파일 형식의 내부 오류"; + Text[ zh-CN ] = "%PRODUCTNAME Writer 文件格式含有内部错误"; + Text[ zh-TW ] = "%PRODUCTNAME Writer 檔案格式含有內部錯誤"; + Text[ tr ] = "%PRODUCTNAME Writer dosya biçiminde bir hata oluştu"; + Text[ hi-IN ] = "%PRODUCTNAME Writer फाइल रचना में भीतरी गलती"; + Text[ ar ] = "حدث خطأ داخلي في تنسيق ملف %PRODUCTNAME Writer"; + Text[ he ] = "Interner Fehler im %PRODUCTNAME Writer Dateiformat"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_INTERNAL_ERROR ) + { + Text [ de ] = "Interner Fehler im %PRODUCTNAME Writer Dateiformat" ; + Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro interno no formato de ficheiro do %PRODUCTNAME Writer"; + Text[ ru ] = "Внутренняя ошибка формата файла %PRODUCTNAME Writer"; + Text[ el ] = "Εσωτερικό σφάλμα στη μορφή αρχείου του %PRODUCTNAME Writer"; + Text[ nl ] = "Interne fout in %PRODUCTNAME Writer-bestandsindeling"; + Text[ fr ] = "Erreur interne dans le format de fichier %PRODUCTNAME Writer"; + Text[ es ] = "Error interno en el formato de archivo de %PRODUCTNAME Writer"; + Text[ fi ] = "Sisäinen virhe %PRODUCTNAME Writer -tiedostomuodossa"; + Text[ ca ] = "S'ha produït un error intern en el format del fitxer %PRODUCTNAME Writer"; + Text[ it ] = "Errore interno nel formato di file di %PRODUCTNAME Writer"; + Text[ sk ] = "Interná chyba vo formáte súboru %PRODUCTNAME Writer"; + Text[ da ] = "Intern fejl i %PRODUCTNAME Writer-filformatet"; + Text[ sv ] = "Internt fel i %PRODUCTNAME Writer-filformatet"; + Text[ pl ] = "Wewnętrzny błąd w formacie pliku %PRODUCTNAME Writer"; + Text[ pt-BR ] = "Ocorreu um erro interno no formato do arquivo do %PRODUCTNAME Writer"; + Text[ th ] = "ข้อผิดพลาดภายในในรูปแบบแฟ้ม Writer %PRODUCTNAME "; + Text[ ja ] = "%PRODUCTNAME Writer ファイル書式の内部エラー"; + Text[ ko ] = "%PRODUCTNAME Writer 파일 형식의 내부 오류"; + Text[ zh-CN ] = "%PRODUCTNAME Writer 文件格式含有内部错误"; + Text[ zh-TW ] = "%PRODUCTNAME Writer 檔案格式含有內部錯誤"; + Text[ tr ] = "%PRODUCTNAME Writer dosya biçiminde bir hata oluştu"; + Text[ hi-IN ] = "%PRODUCTNAME लेखक फाइल रचना में भीतरी गलती"; + Text[ ar ] = "حدث خطأ داخلي في تنسيق ملف %PRODUCTNAME Writer"; + Text[ he ] = "Interner Fehler im %PRODUCTNAME Writer Dateiformat"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_W4W_MEM ) + { + Text [ de ] = "Nicht genügend Speicher vorhanden" ; + Text [ en-US ] = "Insufficient memory" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Memória insuficiente"; + Text[ ru ] = "Недостаточно памяти"; + Text[ el ] = "Η μνήμη δεν επαρκεί."; + Text[ nl ] = "Onvoldoende geheugen beschikbaar"; + Text[ fr ] = "Mémoire insuffisante !"; + Text[ es ] = "Memoria insuficiente"; + Text[ fi ] = "Muisti ei riitä"; + Text[ ca ] = "No hi ha prou memòria"; + Text[ it ] = "Memoria disponibile insufficiente"; + Text[ sk ] = "Nedostatok pamäti"; + Text[ da ] = "Ikke nok hukommelse"; + Text[ sv ] = "Inte tillräckligt med minne"; + Text[ pl ] = "Za mało pamięci"; + Text[ pt-BR ] = "Memória insuficiente"; + Text[ th ] = "หน่วยความจำไม่พอ"; + Text[ ja ] = "十分な空き容量がありません"; + Text[ ko ] = "메모리가 부족합니다."; + Text[ zh-CN ] = "内存不足"; + Text[ zh-TW ] = "記憶體不足"; + Text[ tr ] = "Yetersiz bellek"; + Text[ hi-IN ] = "अपर्याप्त मेमरी"; + Text[ ar ] = "الذاكرة غير كافية"; + Text[ he ] = "Nicht genügend Speicher vorhanden"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_W4W_MEM ) + { + Text [ de ] = "Nicht genügend Speicher vorhanden" ; + Text [ en-US ] = "Insufficient memory" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Memória insuficiente"; + Text[ ru ] = "Недостаточно памяти"; + Text[ el ] = "Η μνήμη δεν επαρκεί."; + Text[ nl ] = "Onvoldoende geheugen beschikbaar"; + Text[ fr ] = "Mémoire insuffisante !"; + Text[ es ] = "Memoria insuficiente"; + Text[ fi ] = "Muisti ei riitä"; + Text[ ca ] = "No hi ha prou memòria"; + Text[ it ] = "Memoria disponibile insufficiente"; + Text[ sk ] = "Nedostatok pamäti"; + Text[ da ] = "Ikke nok hukommelse"; + Text[ sv ] = "Inte tillräckligt med minne"; + Text[ pl ] = "Za mało pamięci"; + Text[ pt-BR ] = "Memória insuficiente"; + Text[ th ] = "หน่วยความจำไม่พอ"; + Text[ ja ] = "十分な空き容量がありません。"; + Text[ ko ] = "메모리가 부족합니다."; + Text[ zh-CN ] = "内存不足"; + Text[ zh-TW ] = "記憶體不足"; + Text[ tr ] = "Yetersiz bellek"; + Text[ hi-IN ] = "अपर्याप्त मेमरी"; + Text[ ar ] = "الذاكرة غير كافية"; + Text[ he ] = "Nicht genügend Speicher vorhanden"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_W4W_WRITE_FULL ) + { + Text [ de ] = "Nicht genügend Platz auf dem Speichermedium" ; + Text [ en-US ] = "Not enough disk space" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Espaço do disco insuficiente"; + Text[ ru ] = "Недостаточно места на диске"; + Text[ el ] = "Δεν υπάρχει αρκετός διαθέσιμος χώρος στο μέσο αποθήκευσης"; + Text[ nl ] = "Onvoldoende vrije ruimte op opslagmedium"; + Text[ fr ] = "Espace insuffisant sur le disque"; + Text[ es ] = "No hay suficiente espacio en el disco"; + Text[ fi ] = "Levytila ei riitä"; + Text[ ca ] = "No hi ha prou espai al disc"; + Text[ it ] = "Spazio su disco insufficiente"; + Text[ sk ] = "Nedostatok miesta na disku"; + Text[ da ] = "Ikke tilstrækkelig diskplads"; + Text[ sv ] = "Inte tillräckligt med diskutrymme"; + Text[ pl ] = "Brak miejsca na dysku"; + Text[ pt-BR ] = "Espaço em disco insuficiente"; + Text[ th ] = "เนื้อที่ดิสก์ไม่พอ"; + Text[ ja ] = "ディスクに十分な空き容量がありません。"; + Text[ ko ] = "디스크 공간이 부족합니다."; + Text[ zh-CN ] = "可用空间不足"; + Text[ zh-TW ] = "可用空間不足"; + Text[ tr ] = "Yeterli disk alanı yok"; + Text[ hi-IN ] = "डिस्क् में जगह अपर्याप्त है"; + Text[ ar ] = "لا يوجد مساحة كافية على محرك الأقراص"; + Text[ he ] = "Nicht genügend Platz auf dem Speichermedium"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_W4W_WRITE_FULL ) + { + Text [ de ] = "Nicht genügend Platz auf dem Speichermedium" ; + Text [ en-US ] = "Not enough disk space" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Espaço do disco insuficiente"; + Text[ ru ] = "Недостаточно места на диске"; + Text[ el ] = "Δεν υπάρχει αρκετός διαθέσιμος χώρος στο μέσο αποθήκευσης"; + Text[ nl ] = "Onvoldoende vrije ruimte op opslagmedium"; + Text[ fr ] = "Espace insuffisant sur le disque"; + Text[ es ] = "No hay suficiente espacio en el disco"; + Text[ fi ] = "Levytila ei riitä."; + Text[ ca ] = "No hi ha prou espai al disc"; + Text[ it ] = "Spazio su disco insufficiente"; + Text[ sk ] = "Nedostatok miesta na disku"; + Text[ da ] = "Ikke tilstrækkelig diskplads"; + Text[ sv ] = "Inte tillräckligt med diskutrymme"; + Text[ pl ] = "Brak miejsca na dysku"; + Text[ pt-BR ] = "Espaço em disco insuficiente"; + Text[ th ] = "เนื้อที่ดิสก์ไม่พอ"; + Text[ ja ] = "ディスクに十分な空き容量がありません。"; + Text[ ko ] = "디스크 공간이 부족합니다."; + Text[ zh-CN ] = "可用空间不足"; + Text[ zh-TW ] = "可用空間不足"; + Text[ tr ] = "Yeterli disk alanı yok"; + Text[ hi-IN ] = "डिस्क् में जगह अपर्याप्त है"; + Text[ ar ] = "لا يوجد مساحة كافية على محرك الأقراص"; + Text[ he ] = "Nicht genügend Platz auf dem Speichermedium"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_W4W_INTERNAL_ERROR ) + { + Text [ de ] = "Unbekannter Fehler im W4W-Filter" ; + Text [ en-US ] = "Unknown error in W4W filter" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro desconhecido no filtro W4W"; + Text[ ru ] = "Неизвестная ошибка в фильтре W4W"; + Text[ el ] = "Άγνωστο σφάλμα στο φίλτρο W4W"; + Text[ nl ] = "Onbekende fout in W4W-filter"; + Text[ fr ] = "Erreur inconnue du filtre W4W"; + Text[ es ] = "Error desconocido en el filtro W4W"; + Text[ fi ] = "Tuntematon virhe W4W-suodattimessa"; + Text[ ca ] = "Error desconegut al filtre W4W"; + Text[ it ] = "Errore sconosciuto nel filtro W4W"; + Text[ sk ] = "Neznáma chyba vo filtri W4W"; + Text[ da ] = "Intern fejl i W4W-filtret"; + Text[ sv ] = "Obekant fel i W4W-filter"; + Text[ pl ] = "Nieznany błąd w filtrze W4W"; + Text[ pt-BR ] = "Ocorreu um erro desconhecido no filtro W4W"; + Text[ th ] = "ไม่รู้จักข้อผิดพลาดในตัวกรอง W4W "; + Text[ ja ] = "W4Wフィルタにある不明のエラー"; + Text[ ko ] = "W4W 필터에 알 수 없는 오류"; + Text[ zh-CN ] = "W4W 转换器发生不明错误。"; + Text[ zh-TW ] = "W4W 轉換器發生不明錯誤。"; + Text[ tr ] = "W4W filtresinde bilinmeyen hata"; + Text[ hi-IN ] = "W4W फिल्टर में अज्ञात गलती"; + Text[ ar ] = "حدث خطأ غير معروف في فلتر W4W"; + Text[ he ] = "Unbekannter Fehler im W4W-Filter"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_W4W_INTERNAL_ERROR ) + { + Text [ de ] = "Unbekannter Fehler im W4W-Filter" ; + Text [ en-US ] = "Unknown error in W4W filter" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro desconhecido no filtro W4W"; + Text[ ru ] = "Неизвестная ошибка в фильтре W4W"; + Text[ el ] = "Άγνωστο σφάλμα στο φίλτρο W4W"; + Text[ nl ] = "Onbekende fout in W4W-filter"; + Text[ fr ] = "Erreur inconnue dans le filtre W4W"; + Text[ es ] = "Error desconocido en el filtro W4W"; + Text[ fi ] = "Tuntematon virhe W4W-suodattimessa"; + Text[ ca ] = "Error desconegut al filtre W4W"; + Text[ it ] = "Errore sconosciuto nel filtro W4W"; + Text[ sk ] = "Neznáma chyba vo filtri W4W"; + Text[ da ] = "Intern fejl i W4W-filtret"; + Text[ sv ] = "Obekant fel i W4W-filter"; + Text[ pl ] = "Nieznany błąd w filtrze W4W"; + Text[ pt-BR ] = "Ocorreu um erro desconhecido no filtro W4W"; + Text[ th ] = "ไม่รู้จักข้อผิดพลาดในตัวกรอง W4W "; + Text[ ja ] = "W4Wフィルタにある不明のエラー"; + Text[ ko ] = "W4W 필터에 알 수 없는 오류"; + Text[ zh-CN ] = "W4W 转换器发生不明的错误。"; + Text[ zh-TW ] = "W4W 轉換器發生不明錯誤。"; + Text[ tr ] = "W4W filtresinde bilinmeyen hata"; + Text[ hi-IN ] = "W4W फिल्टर में अज्ञात गलती"; + Text[ ar ] = "حدث خطأ غير معروف في فلتر W4W"; + Text[ he ] = "Unbekannter Fehler im W4W-Filter"; + }; + String ERR_CODE ( ERRCODE_CLASS_READ , ERR_W4W_DLL_ERROR ) + { + Text [ de ] = "Fehler beim Laden des Konverters" ; + Text [ en-US ] = "Error loading converter" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro ao carregar o conversor"; + Text[ ru ] = "Ошибка загрузки конвертора"; + Text[ el ] = "Σφάλμα κατά τη φόρτωση του μετατροπέα"; + Text[ nl ] = "Fout bij laden van converter"; + Text[ fr ] = "Erreur de chargement du convertisseur"; + Text[ es ] = "Error al cargar el convertidor"; + Text[ fi ] = "Virhe ladattaessa muunto-ohjelmaa"; + Text[ ca ] = "S'ha produït un error en carregar el conversor"; + Text[ it ] = "Errore nel caricamento del convertitore"; + Text[ sk ] = "Chyba pri načítaní konvertoru"; + Text[ da ] = "Fejl under indlæsning af konverteren"; + Text[ sv ] = "Fel vid laddning av konverteraren"; + Text[ pl ] = "Błąd ładowania konwertera"; + Text[ pt-BR ] = "Ocorreu um erro ao carregar o conversor"; + Text[ th ] = "โหลดตัวแปลงผิดพลาด"; + Text[ ja ] = "コンバータ読み込み中のエラー"; + Text[ ko ] = "변환기 로드시에 오류"; + Text[ zh-CN ] = "在转换时发生错误"; + Text[ zh-TW ] = "載入轉換器時發生錯誤"; + Text[ tr ] = "Dönüştürücü yükleme hatası"; + Text[ hi-IN ] = "कनवर्टर को लोड़ करने के समय गलती"; + Text[ ar ] = "حدث خطأ أثناء تحميل المحول"; + Text[ he ] = "Fehler beim Laden des Konverters"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_W4W_DLL_ERROR ) + { + Text [ de ] = "Fehler beim Laden des Konverters" ; + Text [ en-US ] = "Error loading converter" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Erro ao carregar o conversor"; + Text[ ru ] = "Ошибка загрузки конвертора"; + Text[ el ] = "Σφάλμα κατά τη φόρτωση του μετατροπέα"; + Text[ nl ] = "Fout bij laden van converter"; + Text[ fr ] = "Erreur de chargement du convertisseur"; + Text[ es ] = "Error al cargar el convertidor"; + Text[ fi ] = "Virhe ladattaessa muunto-ohjelmaa"; + Text[ ca ] = "S'ha produït un error en carregar el conversor"; + Text[ it ] = "Errore nel caricamento del convertitore"; + Text[ sk ] = "Chyba pri načítaní konvertoru"; + Text[ da ] = "Fejl under indlæsning af konverteren"; + Text[ sv ] = "Fel vid laddning av konverteraren"; + Text[ pl ] = "Błąd ładowania konwertera"; + Text[ pt-BR ] = "Ocorreu um erro ao carregar o conversor"; + Text[ th ] = "โหลดตัวแปลงผิดพลาด"; + Text[ ja ] = "コンバータ読み込み中のエラー"; + Text[ ko ] = "변환기 로드시에 오류"; + Text[ zh-CN ] = "转换时发生错误"; + Text[ zh-TW ] = "載入轉換器時發生錯誤"; + Text[ tr ] = "Dönüştürücü yükleme hatası"; + Text[ hi-IN ] = "कनवर्टर को लोड़ करने के समय गलती"; + Text[ ar ] = "حدث خطأ أثناء تحميل المحول"; + Text[ he ] = "Fehler beim Laden des Konverters"; + }; + String ERR_CODE ( ERRCODE_CLASS_LOCKING , ERR_TXTBLOCK_NEWFILE_ERROR ) + { + Text [ de ] = "$(ARG1) hat sich geändert" ; + Text [ en-US ] = "$(ARG1) has changed" ; + Text [ x-comment ] = " "; + Text[ pt ] = "$(ARG1) foi modificado"; + Text[ ru ] = "$(ARG1) изменился"; + Text[ el ] = "$(ARG1) έχει αλλάξει"; + Text[ nl ] = "$(ARG1) is gewijzigd"; + Text[ fr ] = "$(ARG1) a été modifié"; + Text[ es ] = "$(ARG1) se ha modificado"; + Text[ fi ] = "Kohde $(ARG1) on muuttunut."; + Text[ ca ] = "$(ARG1) ha canviat"; + Text[ it ] = "$(ARG1) è cambiato"; + Text[ sk ] = "$(ARG1) bol zmenený"; + Text[ da ] = "$(ARG1) er ændret"; + Text[ sv ] = "$(ARG1) har ändrats"; + Text[ pl ] = "$(ARG1) uległ zmianie"; + Text[ pt-BR ] = "$(ARG1) foi modificado"; + Text[ th ] = "เปลี่ยน $(ARG1) "; + Text[ ja ] = "$(ARG1)は変更されました"; + Text[ ko ] = "$(ARG1)이(가) 변경되었습니다."; + Text[ zh-CN ] = "$(ARG1) 已经更改。"; + Text[ zh-TW ] = "$(ARG1) 已經變更。"; + Text[ tr ] = "$(ARG1) değişti"; + Text[ hi-IN ] = "$(ARG1) को परिवर्तन किया है"; + Text[ ar ] = "تغير $(ARG1)"; + Text[ he ] = "$(ARG1) hat sich geändert"; + }; + String ERR_CODE ( ERRCODE_CLASS_PATH , ERR_AUTOPATH_ERROR ) + { + Text [ de ] = "$(ARG1) existiert nicht" ; + Text [ en-US ] = "$(ARG1) does not exist" ; + Text [ x-comment ] = " "; + Text[ pt ] = "$(ARG1) não existe"; + Text[ ru ] = "$(ARG1) не существует"; + Text[ el ] = "$(ARG1) δεν υπάρχει"; + Text[ nl ] = "$(ARG1) bestaat niet"; + Text[ fr ] = "$(ARG1) n'existe pas."; + Text[ es ] = "$(ARG1) no existe"; + Text[ fi ] = "Kohdetta $(ARG1) ei ole olemassa."; + Text[ ca ] = "$(ARG1) no existeix"; + Text[ it ] = "$(ARG1) non esiste"; + Text[ sk ] = "$(ARG1) neexistuje"; + Text[ da ] = "$(ARG1) eksisterer ikke"; + Text[ sv ] = "$(ARG1) existerar inte"; + Text[ pl ] = "$(ARG1) nie istnieje"; + Text[ pt-BR ] = "$(ARG1) não existe"; + Text[ th ] = "ไม่มี $(ARG1) อยู่"; + Text[ ja ] = "$(ARG1) はありません。"; + Text[ ko ] = "$(ARG1)이(가) 없습니다"; + Text[ zh-CN ] = "$(ARG1) 不存在"; + Text[ zh-TW ] = "$(ARG1) 不存在"; + Text[ tr ] = "$(ARG1) mevcut değil"; + Text[ hi-IN ] = "$(ARG1) अस्तित्व में नहीं है"; + Text[ ar ] = "$(ARG1) غير موجود"; + Text[ he ] = "$(ARG1) existiert nicht"; + }; + String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLSPLIT_ERROR ) + { + /* ### ACHTUNG: Neuer Text in Resource? Zellen knnen nicht mehr geteilt werden : Zellen knnen nicht mehr geteilt werden */ + Text [ de ] = "Zellen können nicht mehr geteilt werden" ; + Text [ en-US ] = "Cells cannot be further split" ; + Text [ x-comment ] = " "; + Text[ pt ] = "É impossível dividir mais as células"; + Text[ ru ] = "Невозможно далее разбивать ячейки"; + Text[ el ] = "Η επιπλέον διαίρεση των κελιών είναι αδύνατη"; + Text[ nl ] = "Cellen kunnen niet meer worden gesplitst"; + Text[ fr ] = "Impossible de scinder davantage les cellules"; + Text[ es ] = "Las celdas no se pueden dividir más"; + Text[ fi ] = "Soluja ei voi jakaa enempää."; + Text[ ca ] = "Les cel.les no es poden dividir més"; + Text[ it ] = "Non è più possibile dividere le celle"; + Text[ sk ] = "Bunky už ďalej nie je možné deliť"; + Text[ da ] = "Cellerne kan ikke deles mere"; + Text[ sv ] = "Cellerna kan inte delas mer"; + Text[ pl ] = "Nie można bardziej podzielić komórek"; + Text[ pt-BR ] = "As células não podem mais serem divididas"; + Text[ th ] = "ไม่สามารถแยกเซลล์เพิ่มเติมได้"; + Text[ ja ] = "これ以上セルを分割できません"; + Text[ ko ] = "셀은 더 이상 분할될 수 없습니다."; + Text[ zh-CN ] = "无法分隔单元格"; + Text[ zh-TW ] = "無法分開儲存格"; + Text[ tr ] = "Hücreler daha fazla bölünemiyor"; + Text[ hi-IN ] = "कोष्ठों को और आलगाना असंभव है"; + Text[ ar ] = "لا يمكن تقسيم الخلايا أكثر من ذلك"; + Text[ he ] = "Zellen können nicht mehr geteilt werden"; + }; + String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLINSCOL_ERROR ) + { + /* ### ACHTUNG: Neuer Text in Resource? weitere Spalten knnen nicht eingefgt werden : weitere Spalten knnen nicht eingefgt werden */ + Text [ de ] = "weitere Spalten können nicht eingefügt werden" ; + Text [ en-US ] = "Additional columns cannot be inserted" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Impossível inserir colunas adicionais"; + Text[ ru ] = "Невозможно вставить дополнительные столбцы"; + Text[ el ] = "δεν μπορούν να εισαχθούν περισσότερες στήλες"; + Text[ nl ] = "Meer kolommen kunnen niet worden ingevoegd"; + Text[ fr ] = "Impossible d'insérer des colonnes supplémentaires"; + Text[ es ] = "No se pueden insertar columnas adicionales"; + Text[ fi ] = "Sarakkeita ei voi lisätä enempää."; + Text[ ca ] = "No es poden inserir columnes addicionals"; + Text[ it ] = "Impossibile inserire altre colonne."; + Text[ sk ] = "Nie je možné pridať ďalšie stĺpce"; + Text[ da ] = "Det er ikke muligt at indsætte flere kolonner"; + Text[ sv ] = "Det går inte att infoga fler kolumner"; + Text[ pl ] = "Nie można wstawić dodatkowych kolumn"; + Text[ pt-BR ] = "Não é possível inserir colunas adicionais"; + Text[ th ] = "ไม่สามารถแทรกคอลัมน์เพิ่มเติมได้"; + Text[ ja ] = "追加の列を挿入できません"; + Text[ ko ] = "추가적인 열은 삽입할수 없습니다."; + Text[ zh-CN ] = "无法插入其它的列"; + Text[ zh-TW ] = "無法插入其它欄"; + Text[ tr ] = "Daha fazla sütun eklenemiyor"; + Text[ hi-IN ] = "अधिकतर स्तंभों को नहीं जोड़ सकते है"; + Text[ ar ] = "لا يمكن إدراج المزيد من الأعمدة"; + Text[ he ] = "weitere Spalten können nicht eingefügt werden"; + }; + String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLDDECHG_ERROR ) + { + Text [ de ] = "Bei einer verknüpften Tabelle darf die Struktur nicht verändert werden" ; + Text [ en-US ] = "The structure of a linked table cannot be modified" ; + Text [ x-comment ] = " "; + Text[ pt ] = "É impossível modificar a estrutura de uma tabela ligada"; + Text[ ru ] = "Невозможно изменить структуру связанной таблицы"; + Text[ el ] = "Δεν είναι δυνατή η αλλαγή δομής ενός συνδεδεμένου πίνακα"; + Text[ nl ] = "Bij een gekoppelde tabel mag de structuur niet worden gewijzigd."; + Text[ fr ] = "La structure d'un tableau ne peut pas être modifiée s'il a fait l'objet d'un lien"; + Text[ es ] = "No se puede modificar la estructura de una tabla vinculada"; + Text[ fi ] = "Linkitetyn taulukon rakennetta ei voi muokata."; + Text[ ca ] = "No es pot modificar l'estructura d'una taula enllaçada"; + Text[ it ] = "In una tabella collegata non sono ammesse modifiche alla struttura."; + Text[ sk ] = "Štruktúru prepojených tabuliek nemožno zmeniť"; + Text[ da ] = "En kædet tabels struktur må ikke ændres"; + Text[ sv ] = "Strukturen på en länkad tabell får inte ändras"; + Text[ pl ] = "Nie można zmienić struktury połączonej bazy danych"; + Text[ pt-BR ] = "Não é possível modificar a estrutura de uma tabela vinculada"; + Text[ th ] = "ไม่สามารถดัดแปลงแก้ไขโครงสร้างของตารางที่เชื่อมโยงได้"; + Text[ ja ] = "リンクされた表の構造は変更できません"; + Text[ ko ] = "링크된 표에서는 구조를 변경해서는 안됩니다"; + Text[ zh-CN ] = "不能更改一个链接的表格结构"; + Text[ zh-TW ] = "不能變更一個連結的表格結構"; + Text[ tr ] = "Bağlantılı bir tablonun yapısı değiştirilmez"; + Text[ hi-IN ] = "लिंक किया हुआ सारणी का बनावट को नहीं सुधार सकते है"; + Text[ ar ] = "لا يمكن تعديل بنية جدول مرتبط"; + Text[ he ] = "Bei einer verknüpften Tabelle darf die Struktur nicht verändert werden"; + }; + // -------------------- Warnings ----------------------------------- + String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_NO_DRAWINGS ) + { + Text [ de ] = "Es konnten keine Zeichnungen geladen werden" ; + Text [ en-US ] = "No drawings could be read" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Foi impossível carregar desenhos"; + Text[ ru ] = "Невозможно прочесть рисунки"; + Text[ el ] = "Δεν ήταν δυνατή η φόρτωση σχεδίων"; + Text[ nl ] = "Er kunnen geen tekeningen worden geladen"; + Text[ fr ] = "Impossible de charger des dessins"; + Text[ es ] = "No se pudo cargar ningún dibujo"; + Text[ fi ] = "Piiroksia ei voitu lukea"; + Text[ ca ] = "No es poden llegir els dibuixos "; + Text[ it ] = "Non è stato possibile caricare alcun disegno"; + Text[ sk ] = "Nie je možné načítať kresby"; + Text[ da ] = "Det var ikke muligt at indlæse nogen tegninger"; + Text[ sv ] = "Det gick inte att ladda några teckningar"; + Text[ pl ] = "Nie udało się wczytać żadnego rysunku"; + Text[ pt-BR ] = "Não foi possível ler os desenhos"; + Text[ th ] = "ไม่สามารถอ่านการวาดรูปได้"; + Text[ ja ] = "図形描画は読み込みできませんでした"; + Text[ ko ] = "그리기를 로드하지 못했습니다."; + Text[ zh-CN ] = "无法装入图像"; + Text[ zh-TW ] = "無法載入影像"; + Text[ tr ] = "Çizim yüklenemedi"; + Text[ hi-IN ] = "कोई रेखाचित्र को नहीं पढ़ सकते है"; + Text[ ar ] = "تعذر تحميل أية رسومات"; + Text[ he ] = "Es konnten keine Zeichnungen geladen werden"; + }; + String WARN_CODE ( ERRCODE_CLASS_READ , WARN_WW6_FASTSAVE_ERR ) + { + /* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */ + /* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */ + /* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */ + /* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */ + Text [ de ] = "Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord" ; + Text [ en-US ] = "This file was saved with WinWord in 'Fast Save' mode. Please unmark the WinWord option 'Allow Fast Saves' and save the file again." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Este ficheiro foi guardado com a opção do WinWord \"Guardar rápido\". Desactive a opção do WinWord \"Permitir Guardar rápido\" e guarde novamente o ficheiro em WinWord"; + Text[ ru ] = "Этот файл сохранен из WinWord в режиме 'Быстрое сохранение'. Пожалуйста, отключите параметр 'Разрешить быстрое сохранение' и заново сохраните этот файл из WinWord."; + Text[ el ] = "Το αρχείο αυτό αποθηκεύτηκε με την επιλογή 'Γρήγορη αποθήκευση' του WinWord. Παρακαλώ απενεργοποιήσετε την επιλογή αυτή του WinWord και αποθηκεύσ? "; + Text[ nl ] = "Dit bestand is met de WinWord optie \"Snel opslaan\" opgeslagen. Schakel a.u.b. in WinWord de optie \"Snel opslaan toestaan\" uit en sla het bestand opnieuw op met WinWord."; + Text[ fr ] = "Ce fichier a été enregistré à l'aide de l'option 'Enregistrement rapide' de WinWord. Veuillez désactiver cette option et utiliser WinWord pour enregistrer à nouveau le fichier."; + Text[ es ] = "Este archivo ha sido guardado con la opción de WinWord 'guardar rápidamente' . Por favor desactive en WinWord la opción 'permitir guardar rápidamente' y guarde nuevamente el archivo con WinWord"; + Text[ fi ] = "Tiedosto tallennettiin WinWordin pikatallennustilassa. Poista asetuksen Salli pikatallennus valinta ja tallenna tiedosto uudelleen."; + Text[ ca ] = "Aquest fitxer ha estat desat amb la opció de WinWord de 'desa ràpidament'. Desactiveu en el WinWord la opció 'permet desar ràpidament' i torneu a desar el document amb el WinWord."; + Text[ it ] = "Questo file è stato salvato con l'opzione di Winword 'salvataggio veloce'. Disabilitate l'opzione di WinWord 'Salvataggio veloce' ed utilizzate WinWord per salvare di nuovo il file."; + Text[ sk ] = "Tento súbor bol uložený programom WinWord v režime 'Rýchle ukladanie'. Vypnite prosím voľbu 'Povoliť rýchle ukladanie' a uložte súbor znovu."; + Text[ da ] = "Denne fil er blevet gemt med WinWord-indstillingen 'Gem hurtigt'. Deaktiver venligst indstillingen 'Gem hutigt' og gem filen igen med WinWord."; + Text[ sv ] = "Denna fil är sparad med WinWord-alternativet 'snabbspara'. Stäng av WinWord-alternativet 'Tillåt snabbspara' och spara filen med WinWord igen"; + Text[ pl ] = "Ten plik został zapisany za pomocą programu WinWord z włączoną opcją 'Szybkie zapisywanie'. Wyłącz w programie WinWord opcję 'Szybkie zapisywanie' i ponownie zapisz plik."; + Text[ pt-BR ] = "Este arquivo foi armazenado com a opção 'Salvar Rápido' do WinWord. Desative a opção 'Permitir Salvar Rápido' do WinWord e utilize o WinWord para gravar novamente o arquivo"; + Text[ th ] = "บันทึกแฟ้มนี้ด้วย WinWord ในโหมด 'บันทึกเร็ว' กรุณาไม่ตรวจสอบตัวเลือก 'ให้มีการบันทึกเร็ว' และบันทึกแฟ้มอีกครั้ง"; + Text[ ja ] = "このファイルは、WinWord オプション「高速保存」で保存されています。WinWord オプション「高速保存」をオフにしてから、ファイルを WinWord で保存しなおしてください。"; + Text[ ko ] = "이 파일은 WinWord의 '빠른 저장' 모드로 저장되어 있습니다. 옵션 '빠른 저장 허용' 을 해제하시고 파일을 다시 저장하십시오."; + Text[ zh-CN ] = "这个文件存盘采用的是 WinWord 选项 '快速保存'方式。请设定不使用这个选项,然后再重新存盘这个文件。"; + Text[ zh-TW ] = "儲存檔案採用的是 WinWord 選項<快速儲存>方式。請關閉這個選項,然後再重新儲存這個檔案。"; + Text[ tr ] = "Bu dosya WinWord seçeneği 'Hızlı kaydet' ile kaydedilmiş. WinWord'de 'Hızlı kaydetmeye olanak sağla' seçeneğini geçersiz kılıp dosyayı yeniden WinWord ile kaydedin"; + Text[ hi-IN ] = "इस फाइल को WinWord में 'शीघ्र संचित करो' प्रकार में संचित किया है । कृपया 'शीघ्र संचित करना स्वीकृत' विकल्प को हटाओ और फाइल को फिर से संचित करो ।"; + Text[ ar ] = "تم حفظ هذا الملف عن طريق خيار 'الحفظ السريع' في WinWord. الرجاء إيقاف خاصية 'السماح بالحفظ السريع' في WinWord، ثم قم بحفظ الملف من جديد بواسطة WinWord."; + Text[ he ] = "Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord"; + }; + String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_FEATURES_LOST ) + { + Text [ de ] = "Es konnten nicht alle Attribute gelesen werden" ; + Text [ en-US ] = "Not all attributes could be read" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Foi impossível ler todos os atributos"; + Text[ ru ] = "Невозможно прочесть все атрибуты"; + Text[ el ] = "Δεν ήταν δυνατή η ανάγνωση όλων των χαρακτηριστικών"; + Text[ nl ] = "Niet alle attributen kunnen worden ingelezen"; + Text[ fr ] = "Impossible de lire tous les attributs"; + Text[ es ] = "No se pudieron leer todos los atributos"; + Text[ fi ] = "Kaikkia määritteitä ei voitu lukea"; + Text[ ca ] = "No es poden llegir tots els atributs"; + Text[ it ] = "Non è stato possibile leggere tutti gli attributi"; + Text[ sk ] = "Nie je možné načítať všetky atribúty"; + Text[ da ] = "Det var ikke muligt at læse alle attributter"; + Text[ sv ] = "Det gick inte att läsa alla attribut"; + Text[ pl ] = "Nie wszystkie atrybuty mogły zostać odczytane"; + Text[ pt-BR ] = "Não foi possível ler todos os atributos"; + Text[ th ] = "ไม่สามารถอ่านคุณลักษณะทั้งหมดได้"; + Text[ ja ] = "すべての属性を読み取ることはできませんでした"; + Text[ ko ] = "속성을 모두 읽지는 못했습니다."; + Text[ zh-CN ] = "无法读取所有的属性"; + Text[ zh-TW ] = "無法讀取所有的屬性"; + Text[ tr ] = "Tüm öznitelikler okunamadı"; + Text[ hi-IN ] = "सब ऐट्रिब्यूटों को नहीं पढ़ सकते है"; + Text[ ar ] = "تعذر قراءة كل السمات"; + Text[ he ] = "Es konnten nicht alle Attribute gelesen werden"; + }; + String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_FEATURES_LOST ) + { + Text [ de ] = "Es konnten nicht alle Attribute geschrieben werden" ; + Text [ en-US ] = "Not all attributes could be recorded" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Foi impossível gravar todos os atributos"; + Text[ ru ] = "Невозможно записать все атрибуты"; + Text[ el ] = "Δεν ήταν δυνατή η καταγραφή όλων των χαρακτηριστικών"; + Text[ nl ] = "Niet alle attributen kunnen worden geschreven"; + Text[ fr ] = "Impossible d'écrire tous les attributs"; + Text[ es ] = "No se pudieron grabar todos los atributos"; + Text[ fi ] = "Kaikkia määritteitä ei voitu nauhoittaa"; + Text[ ca ] = "No es poden registrar tots els atributs"; + Text[ it ] = "Non è stato possibile scrivere tutti gli attributi"; + Text[ sk ] = "Nie je možné zaznamenať všetky atribúty"; + Text[ da ] = "Det var ikke muligt at skrive alle attributter"; + Text[ sv ] = "Det gick inte att skriva alla attribut"; + Text[ pl ] = "Nie wszystkie atrybuty mogły zostać zapisane"; + Text[ pt-BR ] = "Não foi possível gravar todos os atributos"; + Text[ th ] = "ไม่สามารถบันทึกคุณลักษณะทั้งหมดได้"; + Text[ ja ] = "すべての属性を記録することはできませんでした"; + Text[ ko ] = "속성을 모두 쓰지는 못했습니다."; + Text[ zh-CN ] = "不能写入所有的属性"; + Text[ zh-TW ] = "不能寫入所有的屬性"; + Text[ tr ] = "Tüm öznitelikler yazılamadı"; + Text[ hi-IN ] = "सब ऐट्रिब्यूटों को नहीं रेकोर्ड कर सकते है"; + Text[ ar ] = "تعذر كتابة كل السمات"; + Text[ he ] = "Es konnten nicht alle Attribute geschrieben werden"; + }; + String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_OLE ) + { + /* ### ACHTUNG: Neuer Text in Resource? Einige OLE-Objekte konnten nur als Grafiken bernommen werden : Einige OLE-Objekte konnten nur als Grafiken bernommen werden */ + Text [ de ] = "Einige OLE-Objekte konnten nur als Grafiken übernommen werden" ; + Text [ en-US ] = "Some OLE objects could only be loaded as graphics" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Alguns dos objectos OLE puderam ser apenas carregados como imagens"; + Text[ ru ] = "Загрузка некоторых OLE объектов возможна только в виде рисунков"; + Text[ el ] = "Μερικά αντικείμενα OLE μπόρεσαν να φορτωθούν μόνο ως γραφικά"; + Text[ nl ] = "Enkele OLE-objecten kunnen alleen als grafische objecten worden overgenomen"; + Text[ fr ] = "Certains objets OLE ont pu être chargés uniquement sous forme d'images"; + Text[ es ] = "Algunos objetos OLE se pudieron incluir sólo como imágenes"; + Text[ fi ] = "Jotkin OLE-objektit voitiin ladata vain grafiikkana"; + Text[ ca ] = "Alguns objectes OLE només s'han pogut incloure com a imatges"; + Text[ it ] = "Alcuni oggetti OLE sono stati prelevati solo come immagini"; + Text[ sk ] = "Niektoré OLE objekty bolo možné načítať len ako obrázky"; + Text[ da ] = "Nogle OLE-objekter kunne kun overtages som grafik"; + Text[ sv ] = "Några OLE-objekt kunde bara övertas som grafik"; + Text[ pl ] = "Niektóre obiekty OLE zostały załadowane tylko jako grafiki"; + Text[ pt-BR ] = "Alguns objetos OLE só puderam ser carregados como figuras"; + Text[ th ] = "บางวัตถุ OLE สามารถโหลดเป็นกราฟิคได้อย่างเดียว"; + Text[ ja ] = "OLE オブジェクトのいくつかは図としてしか読み込めません。"; + Text[ ko ] = "일부 OLE 개체들은 그림으로서만 적용될 수 있습니다."; + Text[ zh-CN ] = "一些 OLE 对象只能以图像方式装入"; + Text[ zh-TW ] = "一些 OLE 物件只能以圖形方式裝載"; + Text[ tr ] = "Bazı OLE nesneleri yalnızca grafik olarak yüklenebildi"; + Text[ hi-IN ] = "कुछ OLE वस्तुओं को केवल सुचित्र जैसे लोड़ कर सकते है"; + Text[ ar ] = "لم يكن من الممكن تطبيق بعض كائنات OLE إلا كرسومات"; + Text[ he ] = "Einige OLE-Objekte konnten nur als Grafiken übernommen werden"; + }; + String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_OLE ) + { + /* ### ACHTUNG: Neuer Text in Resource? Einige OLE-Objekte konnten nur als Grafiken bernommen werden : Einige OLE-Objekte konnten nur als Grafiken bernommen werden */ + Text [ de ] = "Einige OLE-Objekte konnten nur als Grafiken übernommen werden" ; + Text [ en-US ] = "Some OLE objects could only be saved as graphics" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Alguns dos objectos OLE foram carregados apenas como imagens"; + Text[ ru ] = "Загрузка некоторых OLE объектов возможна только в виде рисунков"; + Text[ el ] = "Μερικά αντικείμενα OLE μπόρεσαν να φορτωθούν μόνο ως γραφικά"; + Text[ nl ] = "Enkele OLE-objecten kunnen alleen als grafische objecten worden overgenomen"; + Text[ fr ] = "Certains objets OLE ont pu être chargés uniquement sous forme d'images"; + Text[ es ] = "Algunos objetos OLE se pudieron incluir sólo como imágenes"; + Text[ fi ] = "Jotkin OLE-objektit voitiin tallentaa vain grafiikkana"; + Text[ ca ] = "Alguns objectes OLE només s'han pogut incloure com a imatges"; + Text[ it ] = "Alcuni oggetti OLE sono stati prelevati solo come immagini"; + Text[ sk ] = "Niektoré OLE objekty možno uložiť len ako obrázky"; + Text[ da ] = "Nogle OLE-objekter kunne kun overtages som grafik"; + Text[ sv ] = "Några OLE-objekt kunde bara övertas som grafik"; + Text[ pl ] = "Niektóre obiekty OLE zostały zapisane tylko jako grafiki"; + Text[ pt-BR ] = "Alguns objetos OLE só puderam ser salvos como figuras"; + Text[ th ] = "บางวัตถุ OLE สามารถบันทึกเป็นกราฟิคได้อย่างเดียว"; + Text[ ja ] = "OLE オブジェクトのいくつかは、図としてしか保存できませんでした"; + Text[ ko ] = "일부 OLE 개체들은 그림으로서만 적용될 수 있습니다."; + Text[ zh-CN ] = "一些 OLE 对象无法被存盘为图形"; + Text[ zh-TW ] = "一些 OLE 物件無法儲存為圖形"; + Text[ tr ] = "Bazı OLE nesneleri yalnızca grafik olarak yüklenebildi"; + Text[ hi-IN ] = "कुछ OLE वस्तुओं को केवल सुचित्र जैसे संचित कर सकते है"; + Text[ ar ] = "لم يكن من الممكن تطبيق بعض كائنات OLE إلا كرسومات"; + Text[ he ] = "Einige OLE-Objekte konnten nur als Grafiken übernommen werden"; + }; + String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_POOR_LOAD ) + { + /* ### ACHTUNG: Neuer Text in Resource? Dokument konnte nicht vollstndig geladen werden : Dokument konnte nicht vollstndig geladen werden */ + Text [ de ] = "Dokument konnte nicht vollständig geladen werden" ; + Text [ en-US ] = "Document could not be completely loaded" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Foi impossível carregar o documento completamente"; + Text[ ru ] = "Невозможно полностью загрузить документ"; + Text[ el ] = "Δεν ήταν δυνατή η φόρτωση ολόκληρου του εγγράφου"; + Text[ nl ] = "Document kan niet volledig worden geladen"; + Text[ fr ] = "Le document n'a pas pu être chargé dans son intégralité"; + Text[ es ] = "No se pudo cargar completamente el documento"; + Text[ fi ] = "Asiakirjaa ei voitu ladata kokonaan"; + Text[ ca ] = "El document no es pot carregar completament"; + Text[ it ] = "Non è stato possibile caricare il file completamente"; + Text[ sk ] = "Nie je možné načítať celý dokument"; + Text[ da ] = "Det var ikke muligt at indlæse dokumentet helt"; + Text[ sv ] = "Det gick inte att ladda dokumentet fullständigt"; + Text[ pl ] = "Nie można załadować dokumentu w całości"; + Text[ pt-BR ] = "Não foi possível carregar totalmente o documento"; + Text[ th ] = "ไม่สามารถโหลดเอกสารได้อย่างสมบูรณ์"; + Text[ ja ] = "ドキュメントを完全に読み込みできませんでした"; + Text[ ko ] = "문서를 완전히 로드하지는 못했습니다."; + Text[ zh-CN ] = "无法完全装入文档"; + Text[ zh-TW ] = "無法完全載入文件"; + Text[ tr ] = "Belge tümüyle yüklenemedi"; + Text[ hi-IN ] = "लेखपत्र को संपूर्ण लोड़ नहीं कर सकते है"; + Text[ ar ] = "تعذر تحميل المستند بشكل تام"; + Text[ he ] = "Dokument konnte nicht vollständig geladen werden"; + }; + String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_POOR_LOAD ) + { + /* ### ACHTUNG: Neuer Text in Resource? Dokument konnte nicht vollstndig gespeichert werden : Dokument konnte nicht vollstndig gespeichert werden */ + Text [ de ] = "Dokument konnte nicht vollständig gespeichert werden" ; + Text [ en-US ] = "Document could not be completely saved" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Foi impossível guardar o documento completamente"; + Text[ ru ] = "Невозможно полностью сохранить документ"; + Text[ el ] = "Δεν ήταν δυνατή η αποθήκευση ολόκληρου του εγγράφου"; + Text[ nl ] = "Document kan niet volledig worden opgeslagen"; + Text[ fr ] = "Le document n'a pas pu être enregistré dans son intégralité"; + Text[ es ] = "No se pudo guardar completamente el documento"; + Text[ fi ] = "Asiakirjaa ei voitu tallentaa kokonaan"; + Text[ ca ] = "El document no es pot desar completament"; + Text[ it ] = "Non è stato possibile salvare il file completamente"; + Text[ sk ] = "Nie je možné uložiť celý dokument"; + Text[ da ] = "Det var ikke muligt at gemme dokumentet helt"; + Text[ sv ] = "Det gick inte att spara dokumentet fullständigt"; + Text[ pl ] = "Nie można zapisać dokumentu w całości"; + Text[ pt-BR ] = "Não foi possível salvar totalmente o documento"; + Text[ th ] = "ไม่สามารถบันทึกเอกสารได้อย่างสมบูรณ์"; + Text[ ja ] = "ドキュメントを完全に保存できませんでした"; + Text[ ko ] = "문서를 완전히 저장하지는 못했습니다."; + Text[ zh-CN ] = "无法完整地存盘文档"; + Text[ zh-TW ] = "無法完整儲存文件"; + Text[ tr ] = "Belge tümüyle kaydedilemedi"; + Text[ hi-IN ] = "लेखपत्र को संपूर्ण संचित नहीं कर सकते है"; + Text[ ar ] = "تعذر حفظ المستند بشكل تام"; + Text[ he ] = "Dokument konnte nicht vollständig gespeichert werden"; + }; + String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_HTML_NO_MACROS) + { + Text [ de ] = "Das HTML-Dokument enthält %PRODUCTNAME Basic Makros.\nSie wurden mit den aktuellen Exporteinstellungen nicht gespeichert." ; + Text [ en-US ] = "This HTML document contains %PRODUCTNAME Basic macros.\nThey were not saved with the current export settings."; + Text [ x-comment ] = " "; + Text[ pt ] = "O documento HTML contém macros %PRODUCTNAME Basic.\nEstas não foram guardadas com as definições de exportação activas."; + Text[ ru ] = "Эта веб-страница содержит макросы %PRODUCTNAME Basic.\nОни не были сохранены из-за настроек указанных для экспорта документов."; + Text[ el ] = "Το έγγραφο HTML περιέχει μακροεντολές του %PRODUCTNAME Basic.\nΑυτές δεν αποθηκεύτηκαν με τις τρέχουσες ρυθμίσεις εισαγωγής."; + Text[ nl ] = "Dit HTML-document bevat %PRODUCTNAME Basic-macro's.\nDeze kunnen niet worden opgeslagen met de huidige exportinstellingen."; + Text[ fr ] = "Le document HTML contient des macros %PRODUCTNAME Basic.\nCelles-ci n'ont pas été enregistrées avec les paramètres d'export actifs."; + Text[ es ] = "El documento HTML contiene macros %PRODUCTNAME Basic.\nNo se guardaron con la configuración actual de exportación."; + Text[ fi ] = "Tämä HTML-asiakirja sisältää %PRODUCTNAME Basic -makroja.\nMakroja ei tallennettu nykyisiin vientiasetuksiin."; + Text[ ca ] = "El document HTML conté macros %PRODUCTNAME Basic.\nNo s'han desat amb la configuració actual d'exportació."; + Text[ it ] = "Il documento HTML contiene macro %PRODUCTNAME Basic che\nnon sono state salvate con le impostazioni attuali di esportazione."; + Text[ sk ] = "Tento HTML dokument obsahuje makrá %PRODUCTNAME Basic.\nPodľa aktuálneho nastavenia neboli uložené."; + Text[ da ] = "HTML-dokumentet indeholder %PRODUCTNAME Basic-makroer.\nDe er ikke gemt med de aktuelle eksportindstillinger."; + Text[ sv ] = "HTML-dokumentet innehåller %PRODUCTNAME Basic-makron.\nDe sparades inte med de aktuella exportinställningarna."; + Text[ pl ] = "Ten dokument HTML zawiera makra %PRODUCTNAME Basic.\nPrzy bieżących ustawieniach eksportu makra te nie zostały zapisane."; + Text[ pt-BR ] = "Este documento HTML contém macros %PRODUCTNAME Basic.\nElas não foram salvas com as definições atuais de exportação"; + Text[ th ] = "เอกสาร HTML นี้มีมาโคร Basic %PRODUCTNAME \nเหล่านี้ไม่สามารถถูกบันทึกด้วยการกำหนดการส่งออกปัจจุบัน"; + Text[ ja ] = "この HTML 形式ドキュメントに %PRODUCTNAME Basic マクロが含まれています。\nそれらは現在のエクスポート設定で保存されていません。"; + Text[ ko ] = "이 HTML 문서는 %PRODUCTNAME Basic 매크로를 포함하고 있습니다.\n이것은 현재의 내보내기 설정으로 저장되지는 않았습니다."; + Text[ zh-CN ] = "这个HTML文档含有%PRODUCTNAME Basic宏。\n无法属于当前的输出设定来存盘这些宏。"; + Text[ zh-TW ] = "HTML 文件含有 %PRODUCTNAME Basic 巨集。\n無法採用目前的匯出設定來儲存文件。"; + Text[ tr ] = "Bu HTML dokümanı %PRODUCTNAME temel makrolar içerir. \nMevcut ihraç ayarları ile saklanmadı."; + Text[ hi-IN ] = "इस HTML लेखपत्र में %PRODUCTNAME Basic मॉक्रोस है ।\nउनको वर्तमान निर्यात निर्धारण द्वारा संचित नहीं किया है ।"; + Text[ ar ] = "يحتوي المستند HTML على وحدات ماكرو %PRODUCTNAME Basic.\nلم يتم حفظها بإعدادات التصدير الحالية."; + Text[ he ] = "Das HTML-Dokument enthält %PRODUCTNAME Basic Makros.\nSie wurden mit den aktuellen Exporteinstellungen nicht gespeichert."; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_WRITE_ERROR_FILE ) + { + Text [ de ] = "Fehler beim Schreiben des Teildokuments $(ARG1)" ; + Text [ en-US ] = "Error in writing sub-document $(ARG1)"; + Text[ pt ] = "Erro ao escrever o sub-documento $(ARG1)"; + Text[ ru ] = "Ошибка записи поддокумента $(ARG1)"; + Text[ el ] = "Σφάλμα κατά την καταγραφφή του τμήματος του κειμένου $(ARG1)"; + Text[ nl ] = "Fout bij schrijven van subdocument $(ARG1)"; + Text[ fr ] = "Erreur d'écriture dans le sous-document $(ARG1)"; + Text[ es ] = "Error de escritura en documento parcial $(ARG1)"; + Text[ fi ] = "Aliasiakirjaan $(ARG1) kirjoitettaessa on ilmennyt virhe."; + Text[ ca ] = "S'ha produït un error en escriure el subdocument $(ARG1)"; + Text[ it ] = "Errore di scrittura nel sottodocumento $(ARG1)"; + Text[ sk ] = "Chyba pri zápise sub-dokumentu $(ARG1)"; + Text[ da ] = "Fejl under skrivning af underdokumentet $(ARG1)"; + Text[ sv ] = "Fel när deldokumentet $(ARG1) skulle skrivas"; + Text[ pl ] = "Błąd zapisu dokumentu podrzędnego $(ARG1)"; + Text[ pt-BR ] = "Ocorreu um erro ao gravar o sub-documento $(ARG1)"; + Text[ th ] = "ข้อผิดพลาดในการเขียนเอกสารย่อย $(ARG1)"; + Text[ ja ] = "部分ドキュメント $(ARG1) に書き込む時のエラー"; + Text[ ko ] = "부분문서 $(ARG1) 쓰기에서 오류"; + Text[ zh-CN ] = "在写入子文档$(ARG1)时发生错误"; + Text[ zh-TW ] = "在寫入子文件$(ARG1)時發生錯誤"; + Text[ tr ] = "Alt metin $(ARG1) dosyası içerisine yazılırken hata oluştu"; + Text[ hi-IN ] = "अधीन-लेखपत्र $(ARG1) में लिखने के समय गलती"; + Text[ ar ] = "Error in writing sub-document $(ARG1)"; + Text[ he ] = "Fehler beim Schreiben des Teildokuments $(ARG1)"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_FORMAT_FILE_ROWCOL ) + { + Text [ de ] = "Formatfehler in Teildokument $(ARG1) an Position $(ARG2)(Zeile,Spalte) in der Datei entdeckt" ; + Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)"; + Text[ pt ] = "Erro de formato no sub-documento $(ARG1) do ficheiro, na posição(ARG2)(linha,coluna)"; + Text[ ru ] = "Ошибка формата файла в поддокументе $(ARG1) в позиции $(ARG2)(строка,позиция)."; + Text[ el ] = "Εντοπίστηκε σφάλμα μορφοποίησης στο αρχείο στο τμήμα κειμένου $(ARG1) στη θέση $(ARG2)(γραμμή,στήλη)"; + Text[ nl ] = "Indelingsfout in subdocument $(ARG1) op positie $(ARG2)(rij,kolom)"; + Text[ fr ] = "Erreur de format dans le sous-document $(ARG1), position $(ARG2)(ligne,colonne), du fichier."; + Text[ es ] = "En el documento parcial $(ARG1) del archivo existe un error de formato en la posición $(ARG2)(fila,columna)"; + Text[ fi ] = "Tiedoston aliasiakirjan $(ARG1) kohdassa $(ARG2)(rivi,sarake) havaittiin muotoiluvirhe."; + Text[ ca ] = "S'ha descobert un error de format en el arxiu en el subdocument $(ARG1) fins al $(ARG2)(fila,col.)"; + Text[ it ] = "Errore di formato nel sottodocumento $(ARG1) del file nel punto $(ARG2)(riga,colonna)"; + Text[ sk ] = "Chybný formát súboru v sub-dokumente $(ARG1) na pozícii $(ARG2)(riadok,stĺpec)"; + Text[ da ] = "Der er konstateret formatfejl i underdokumentet $(ARG1) på position $(ARG2)(linje,kolonne) i filen"; + Text[ sv ] = "Det har upptäckts ett formatfel i filen: deldokument $(ARG1), position $(ARG2)(rad,kolumn)"; + Text[ pl ] = "Wykryto błąd formatowania w pliku dokumentu podrzędnego $(ARG1) na pozycji $(ARG2) (wiersz, kolumna)"; + Text[ pt-BR ] = "Foi descoberto um erro no formato do arquivo do sub-documento $(ARG1) em $(ARG2)(lin,col)"; + Text[ th ] = "ค้นพบรูปแบบผิดพลาดในแฟ้มในเอกสารย่อย $(ARG1) ที่ $(ARG2)(แถว,คอลัมน์)"; + Text[ ja ] = "ファイルの $(ARG2)(行、列) にある部分ドキュメント $(ARG1) に書式エラーが見つかりました。"; + Text[ ko ] = "파일의 $(ARG2)(행,열) 위치에 있는 부분 문서 $(ARG1)의 서식 오류를 발견했습니다."; + Text[ zh-CN ] = "发现文件的子文档$(ARG1)内含错误,位置在 $(ARG2)(行,列)"; + Text[ zh-TW ] = "發現檔案的子文件$(ARG1)內含錯誤,位置在 $(ARG2)(行,欄)"; + Text[ tr ] = "Dosya format hatası $(ARG1)(satır, sütun) bulundu"; + Text[ hi-IN ] = "फाइल में अधीन-लेखपत्र $(ARG1) में $(ARG2)(पंक्ति,स्तंभ) में रचना में गलती है"; + Text[ ar ] = "File format error in sub-document $(ARG1) at $(ARG2)(row,col)"; + Text[ he ] = "Formatfehler in Teildokument $(ARG1) an Position $(ARG2)(Zeile,Spalte) in der Datei entdeckt"; + }; + String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_UNCONVERTABLE_CHARS ) + { + Text [ de ] = "Die folgenden Zeichen konnten nicht im gewählten Zeichensatz dargestellt werden:\n$(ARG1)" ; + Text [ en-US ] = "The following characters could not be displayed in the selected character set:\n$(ARG1)"; + Text[ pt ] = "Foi impossível representar os seguintes caracteres no conjunto seleccionado: $(ARG1)"; + Text[ ru ] = "Невозможно показать следующие символы в выбранном наборе: $(ARG1)"; + Text[ el ] = "These characters could not be exported using the chosen character encoding: $(ARG1)"; + Text[ nl ] = "De volgende tekens kunnen niet in de gekozen tekenset worden weergegeven: $(ARG1)"; + Text[ fr ] = "Impossible d'afficher les caractères suivants dans le jeu de caractères sélectionné : $(ARG1)"; + Text[ es ] = "Los siguientes caracteres no se pudieron representar en el juego de caracteres seleccionado:\n$(ARG1)"; + Text[ fi ] = "Seuraavia merkkejä ei voida näyttää valitussa merkistössä: $(ARG1)"; + Text[ ca ] = "Aquests caràcters no es poden exportar amb la codificació de caràcters escollida: $(ARG1)"; + Text[ it ] = "Impossibile rappresentare i caratteri seguenti con il set di caratteri selezionato:\n$(ARG1)"; + Text[ sk ] = "V zvolenej znakovej sade nemožno zobraziť nasledujúce znaky:\n$(ARG1)"; + Text[ da ] = "Følgende tegn kunne ikke vises i det valgte tegnsæt: ($Arg1)"; + Text[ sv ] = "Följande tecken gick inte att visa i den valda teckenuppsättningen:\n$(ARG1)"; + Text[ pl ] = "Następujących znaków nie udało się wyświetlić przy użyciu wybranego zestawu znaków: $(ARG1)"; + Text[ pt-BR ] = "Não foi possível exibir os seguintes caracteres do conjunto de caracteres selecionado: $(ARG1)"; + Text[ th ] = "ไม่สามารถแสดงผลตัวอักขระนี้ในชุดตัวอักขระที่เลือกได้: $(ARG1)"; + Text[ ja ] = "以下の文字は選択された文字セットでは表示できませんでした:\n$(ARG1)"; + Text[ ko ] = "아래의 문자는 선택한 문자 집합에서 표시할 수 없습니다:\n$(ARG1)"; + Text[ zh-CN ] = "以下的字符无法采用这个选择的字符集显示:\n$(ARG1)"; + Text[ zh-TW ] = "無法採用這個選取的字元集來顯示以下的字元:\n$(ARG1)"; + Text[ tr ] = "Bu karakterler, seçilen karakter kodu $(ARG1) ile gösterilemez."; + Text[ hi-IN ] = "चुने हुए अक्षर समूह में निम्नलिखित अक्षरों को नहीं दिखा सकते है: $(ARG1)"; + Text[ ar ] = "These characters could not be exported using the chosen character encoding: $(ARG1)"; + Text[ he ] = "Die folgenden Zeichen konnten nicht im gewählten Zeichsatz dargestellt werden: $(ARG1)"; + }; +}; + diff --git a/binfilter/bf_sw/source/ui/app/sw_mainwn.cxx b/binfilter/bf_sw/source/ui/app/sw_mainwn.cxx new file mode 100644 index 000000000000..7bfd55302351 --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_mainwn.cxx @@ -0,0 +1,151 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + + +#include <bf_sfx2/progress.hxx> + +#include <docsh.hxx> +#include <swmodule.hxx> +#include "swtypes.hxx" +namespace binfilter { + +class SwDocShell; + +struct SwProgress +{ + long nStartValue, + nStartCount; + SwDocShell *pDocShell; + SfxProgress *pProgress; +}; + +static SvPtrarr *pProgressContainer = 0; + +/*N*/ SwProgress *lcl_SwFindProgress( SwDocShell *pDocShell ) +/*N*/ { +/*N*/ for ( USHORT i = 0; i < pProgressContainer->Count(); ++i ) +/*N*/ { +/*N*/ SwProgress *pTmp = (SwProgress*)(*pProgressContainer)[i]; +/*N*/ if ( pTmp->pDocShell == pDocShell ) +/*N*/ return pTmp; +/*N*/ } +/*N*/ return 0; +/*N*/ } + + +/*N*/ void StartProgress( USHORT nMessResId, long nStartValue, long nEndValue, +/*N*/ SwDocShell *pDocShell ) +/*N*/ { +/*N*/ if( !SW_MOD()->IsEmbeddedLoadSave() ) +/*N*/ { +/*N*/ SwProgress *pProgress = 0; +/*N*/ +/*N*/ if ( !pProgressContainer ) +/*N*/ pProgressContainer = new SvPtrarr( 2, 2 ); +/*N*/ else +/*N*/ { +/*?*/ if ( 0 != (pProgress = lcl_SwFindProgress( pDocShell )) ) +/*?*/ ++pProgress->nStartCount; +/*N*/ } +/*N*/ if ( !pProgress ) +/*N*/ { +/*N*/ pProgress = new SwProgress; +/*N*/ pProgress->pProgress = new SfxProgress( pDocShell, +/*N*/ SW_RESSTR(nMessResId), +/*N*/ nEndValue - nStartValue, +/*N*/ FALSE, +/*N*/ TRUE ); +/*N*/ pProgress->nStartCount = 1; +/*N*/ pProgress->pDocShell = pDocShell; +/*N*/ pProgressContainer->Insert( (void*)pProgress, 0 ); +/*N*/ } +/*N*/ pProgress->nStartValue = nStartValue; +/*N*/ } +/*N*/ } + + +/*N*/ void SetProgressState( long nPosition, SwDocShell *pDocShell ) +/*N*/ { +/*N*/ if( pProgressContainer && !SW_MOD()->IsEmbeddedLoadSave() ) +/*N*/ { +/*N*/ SwProgress *pProgress = lcl_SwFindProgress( pDocShell ); +/*N*/ if ( pProgress ) +/*N*/ pProgress->pProgress->SetState(nPosition - pProgress->nStartValue); +/*N*/ } +/*N*/ } + + +/*N*/ void EndProgress( SwDocShell *pDocShell ) +/*N*/ { +/*N*/ if( pProgressContainer && !SW_MOD()->IsEmbeddedLoadSave() ) +/*N*/ { +/*N*/ SwProgress *pProgress = 0; +/*N*/ USHORT i; +/*N*/ for ( i = 0; i < pProgressContainer->Count(); ++i ) +/*N*/ { +/*N*/ SwProgress *pTmp = (SwProgress*)(*pProgressContainer)[i]; +/*N*/ if ( pTmp->pDocShell == pDocShell ) +/*N*/ { +/*N*/ pProgress = pTmp; +/*N*/ break; +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ if ( pProgress && 0 == --pProgress->nStartCount ) +/*N*/ { +/*N*/ pProgress->pProgress->Stop(); +/*N*/ pProgressContainer->Remove( i ); +/*N*/ delete pProgress->pProgress; +/*N*/ delete pProgress; +/*N*/ if ( !pProgressContainer->Count() ) +/*N*/ delete pProgressContainer, pProgressContainer = 0; +/*N*/ } +/*N*/ } +/*N*/ } + + + + +/*N*/ void RescheduleProgress( SwDocShell *pDocShell ) +/*N*/ { +/*N*/ if( pProgressContainer && !SW_MOD()->IsEmbeddedLoadSave() ) +/*N*/ { +/*N*/ SwProgress *pProgress = lcl_SwFindProgress( pDocShell ); +/*N*/ if ( pProgress ) +/*N*/ pProgress->pProgress->Reschedule(); +/*N*/ } +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_swcomlib.cxx b/binfilter/bf_sw/source/ui/app/sw_swcomlib.cxx new file mode 100644 index 000000000000..c786aaee8efe --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_swcomlib.cxx @@ -0,0 +1,261 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + + +#define _SWLIB_CXX + +#include <bf_sfx2/fcontnr.hxx> +#include <bf_sfx2/docfile.hxx> +#include <bf_svtools/sfxecode.hxx> +#include <comphelper/classids.hxx> + +#include <wdocsh.hxx> +#include <globdoc.hxx> +#include <shellio.hxx> + +#include <app.hrc> +#include <web.hrc> +#include <globdoc.hrc> +namespace binfilter { + +#define C2S(cChar) String::CreateFromAscii(cChar) + +extern char __FAR_DATA sHTML[]; + +SwDLL::SwDLL() +{ +} + +SwDLL::~SwDLL() +{ +} + +//------------------------------------------------------------------------- +void SwDLL::Init() +{ +} +//------------------------------------------------------------------------- +void SwDLL::Exit() +{ +} + +//------------------------------------------------------------------------- + +ULONG SwDLL::DetectFilter( SfxMedium& rMedium, const SfxFilter** ppFilter, + SfxFilterFlags nMust, SfxFilterFlags nDont ) +{ + ULONG nRet = ERRCODE_NONE; + const SfxFilter* pSavFilter = *ppFilter; + + do { + // dann ueberpruefe mal ob der richtige ausgewaehlt wurde + if( *ppFilter ) + { + const String& rUData = (*ppFilter)->GetUserData(); + + BOOL bTxtFilter = rUData.EqualsAscii( FILTER_TEXT, 0, 4 ); + + if (SwIoSystem::IsFileFilter( rMedium, rUData ) && !bTxtFilter) + break; + + //JP 08.06.98: Bugfix 50498 + if (bTxtFilter) + { + //JP 09.11.98: der SWDOS - Filter hat dieselbe Extension und + // wird vom SFX vorgeschlagen. Das es auch eine Textdatei ist, + // muss die hier ausgefilter werden! + if (SwIoSystem::IsFileFilter( rMedium, C2S("SW6"), ppFilter)) + break; + } + } + + if( SFX_FILTER_TEMPLATE & nMust ) + { + // nur einen Vorlagen Filter + BOOL bStorage = rMedium.IsStorage(); + if( bStorage && *ppFilter ) + break; + else if( bStorage && + ( SwIoSystem::IsFileFilter( rMedium, C2S(FILTER_XMLV), ppFilter ) || + SwIoSystem::IsFileFilter( rMedium, C2S(FILTER_SW5V), ppFilter ) || + SwIoSystem::IsFileFilter( rMedium, C2S(FILTER_SW4V), ppFilter ) || + SwIoSystem::IsFileFilter( rMedium, C2S(FILTER_SW3V), ppFilter ) || + SwIoSystem::IsFileFilter( rMedium, C2S(FILTER_XMLVW), ppFilter ) || + SwIoSystem::IsFileFilter( rMedium, C2S(FILTER_SWW5V), ppFilter ) || + SwIoSystem::IsFileFilter( rMedium, C2S(FILTER_SWW4V), ppFilter ) )) + break; + else if( !bStorage && + SwIoSystem::IsFileFilter( rMedium, C2S(FILTER_SWGV), ppFilter ) ) + break; + + nRet = ERRCODE_ABORT; + break; + } + + + String aPrefFlt; + if( *ppFilter ) + { + aPrefFlt = (*ppFilter)->GetUserData(); + if( SwIoSystem::IsFileFilter( rMedium, aPrefFlt ) ) + { + nRet = ERRCODE_NONE; + break; + } + + // beim Browsen soll keine Filterbox kommen, wenn das Dokument nicht + // in den ersten paar Bytes HTML-Tags hat (MA/ST/...). Solche Dok. + // erzeugen z.B. SearchEngines +//JP 20.07.00: from now on we are not a browser +// else if( aPrefFlt == C2S(sHTML) ) +// { +// nRet = ERRCODE_NONE; +// break; +// } + } + + const SfxFilter* pTmp = SwIoSystem::GetFileFilter( rMedium.GetPhysicalName(), + aPrefFlt, &rMedium ); + if( !pTmp ) + nRet = ERRCODE_ABORT; + + + else if( *ppFilter && (*ppFilter)->GetUserData().EqualsAscii( "W4W", 0, 3 ) + && pTmp->GetUserData().EqualsAscii( FILTER_TEXT, 0, 4 ) ) + { + // Bug 95262 - if the user (or short detect) select a + // Word 4 Word filter, but the autodect of mastersoft + // can't detect it, we normally return the ascii filter + // But the user may have a change to use the W4W filter, + // so the SFX must show now a dialog with the 2 filters + nRet = ERRCODE_SFX_CONSULTUSER; + *ppFilter = pTmp; + } + // sollte der voreingestellte Filter ASCII sein und wir haben + // ASCII erkannt, dann ist das ein gultiger Filter, ansonsten ist das + // ein Fehler und wir wollen die Filterbox sehen + else if( pTmp->GetUserData().EqualsAscii( FILTER_TEXT )) + { + // Bug 28974: "Text" erkannt, aber "Text Dos" "Text ..." eingestellt + // -> keine FilterBox, sondern den eingestellten Filter benutzen + if( *ppFilter && (*ppFilter)->GetUserData().EqualsAscii( FILTER_TEXT, 0, 4 )) + ; + else +// if( !*ppFilter || COMPARE_EQUAL != pTmp->GetUserData().Compare( +// (*ppFilter)->GetUserData(), 4 )) + { +// nRet = ERRCODE_ABORT; + *ppFilter = pTmp; + } + } + else + { + //Bug 41417: JP 09.07.97: HTML auf die WebDocShell defaulten + if( pTmp->GetUserData() != C2S(sHTML) || + SwWebDocShell::Factory().GetFilterContainer() == + pTmp->GetFilterContainer() || + 0 == ( (*ppFilter) = SwIoSystem::GetFilterOfFormat( C2S(sHTML), + SwWebDocShell::Factory().GetFilterContainer() ) )) + + *ppFilter = pTmp; + } + + } while( FALSE ); + + if( ERRCODE_NONE == nRet && ( + nMust != ( (*ppFilter)->GetFilterFlags() & nMust ) || + 0 != ( (*ppFilter)->GetFilterFlags() & nDont )) ) + { + nRet = ERRCODE_ABORT; + *ppFilter = pSavFilter; + } + return nRet; +} + +//------------------------------------------------------------------------- + +ULONG SwDLL::GlobDetectFilter( SfxMedium& rMedium, const SfxFilter **ppFilter, + ULONG nMust, ULONG nDont ) +{ + ULONG nRet = ERRCODE_ABORT; + const SfxFilter* pSavFilter = *ppFilter; + do { + // dann ueberpruefe mal ob der richtige ausgewaehlt wurde + if( rMedium.IsStorage() ) + { + SvStorageRef aStg = rMedium.GetStorage(); + + if( *ppFilter && + aStg.Is() && SVSTREAM_OK == aStg->GetError() && + SwIoSystem::IsValidStgFilter( *aStg, **ppFilter )) + { + nRet = ERRCODE_NONE; + break; + } + + if( SFX_FILTER_TEMPLATE & nMust ) + break; + + const SfxFilter* pFltr; + const SfxFactoryFilterContainer& rFltContainer = + *SwGlobalDocShell::Factory().GetFilterContainer(); + USHORT nFltrCount = rFltContainer.GetFilterCount(); + for( USHORT nCnt = 0; nCnt < nFltrCount; ++nCnt ) + if( (sal_Unicode)'C' == ( pFltr = rFltContainer.GetFilter( nCnt ))->GetUserData().GetChar(0) && + aStg.Is() && SwIoSystem::IsValidStgFilter( *aStg, *pFltr )) + { + *ppFilter = pFltr; + nRet = ERRCODE_NONE; + break; + } + } + + } while( FALSE ); + + if( ERRCODE_NONE == nRet && ( + nMust != ( (*ppFilter)->GetFilterFlags() & nMust ) || + 0 != ( (*ppFilter)->GetFilterFlags() & nDont )) ) + { + nRet = ERRCODE_ABORT; + *ppFilter = pSavFilter; + } + + return nRet; +} + +/*-----------------18.03.98 08.09------------------- + +--------------------------------------------------*/ +SwModuleDummy::~SwModuleDummy() +{ +} + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_swdll.cxx b/binfilter/bf_sw/source/ui/app/sw_swdll.cxx new file mode 100644 index 000000000000..62b86c66e3f7 --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_swdll.cxx @@ -0,0 +1,110 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#include <bf_svx/svdobj.hxx> +#include <rtl/logfile.hxx> + +#include "globdoc.hrc" + +#include <wdocsh.hxx> +#include <globdoc.hxx> +#include <swmodule.hxx> +#include <swtypes.hxx> +#include <init.hxx> +#include <dobjfac.hxx> +#include <cfgid.h> +namespace binfilter { + +/************************************************************************* +|* +|* Init +|* +\************************************************************************/ + +/*N*/ void SwDLL::Init() +/*N*/ { +/*N*/ RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDLL" ); +/*N*/ +/*N*/ // called directly after loading the DLL +/*N*/ // do whatever you want, you may use Sw-DLL too +/*N*/ +/*N*/ // the SdModule must be created +/*N*/ SwModuleDummy** ppShlPtr = (SwModuleDummy**) GetAppData(BF_SHL_WRITER); +/*N*/ +/*N*/ SvFactory* pDocFact = (SvFactory*)(*ppShlPtr)->pSwDocShellFactory; +/*N*/ SvFactory* pWDocFact = (SvFactory*)(*ppShlPtr)->pSwWebDocShellFactory; +/*N*/ SvFactory* pGlobDocFact = (SvFactory*)(*ppShlPtr)->pSwGlobalDocShellFactory; +/*N*/ delete (*ppShlPtr); +/*N*/ SwModule* pModule = new SwModule( pWDocFact, pDocFact, pGlobDocFact ); +/*N*/ (*ppShlPtr) = pModule; +/*N*/ (*ppShlPtr)->pSwDocShellFactory = pDocFact ; +/*N*/ (*ppShlPtr)->pSwWebDocShellFactory = pWDocFact ; +/*N*/ (*ppShlPtr)->pSwGlobalDocShellFactory = pGlobDocFact; +/*N*/ +/*N*/ SdrObjFactory::InsertMakeObjectHdl( LINK( &aSwObjectFactory, SwObjectFactory, MakeObject ) ); +/*N*/ +/*N*/ RTL_LOGFILE_CONTEXT_TRACE( aLog, "Init Core/UI/Filter" ); +/*N*/ +/*N*/ //Initialisierung der Statics +/*N*/ ::binfilter::_InitCore(); +/*N*/ ::binfilter::_InitFilter(); +///*N*/ ::binfilter::_InitUI(); +/*N*/ +/*N*/ pModule->InitAttrPool(); +/*N*/ //jetzt darf das SwModule seinen Pool anlegen +/*N*/ } + +/************************************************************************* +|* +|* Exit +|* +\************************************************************************/ + +/*N*/ void SwDLL::Exit() +/*N*/ { +/*N*/ // called directly befor unloading the DLL +/*N*/ // do whatever you want, Sw-DLL is accessible +/*N*/ +/*N*/ // der Pool muss vor den statics geloescht werden +/*N*/ SW_MOD()->RemoveAttrPool(); +/*N*/ +///*N*/ ::binfilter::_FinitUI(); +/*N*/ ::binfilter::_FinitFilter(); +/*N*/ ::binfilter::_FinitCore(); +/*N*/ // Objekt-Factory austragen +/*N*/ SdrObjFactory::RemoveMakeObjectHdl(LINK(&aSwObjectFactory, SwObjectFactory, MakeObject )); +/*N*/ // the SwModule must be destroyed +/*N*/ SwModuleDummy** ppShlPtr = (SwModuleDummy**) GetAppData(BF_SHL_WRITER); +/*N*/ delete (*ppShlPtr); +/*N*/ (*ppShlPtr) = NULL; +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_swlib.cxx b/binfilter/bf_sw/source/ui/app/sw_swlib.cxx new file mode 100644 index 000000000000..14131146afb0 --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_swlib.cxx @@ -0,0 +1,155 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#define _SWLIB_CXX + +#include <bf_sfx2/fcontnr.hxx> +#include <bf_sfx2/docfile.hxx> + +#include <swdll0.hxx> // wird vom makefile generiert +#include <swmodule.hxx> +#include <wdocsh.hxx> +#include <globdoc.hxx> +#include <shellio.hxx> +#include <comphelper/classids.hxx> + +#include <bf_svtools/moduleoptions.hxx> + +#include <app.hrc> +#include <web.hrc> +#include <globdoc.hrc> + +#include <iodetect.hxx> + +namespace binfilter { + +#define C2S(cChar) String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM(cChar)) +//os: the Icon Id is unused since start of VCL +#define ICON_ID_INVALID 0 + +inline BOOL IsDocShellRegistered() +{ + return SvtModuleOptions().IsWriter(); +} + +USHORT AutoDetec( const String& FileName, USHORT & rVersion ); + +IO_DETECT_IMPL1 +IO_DETECT_IMPL2 +IO_DETECT_IMPL3 +IO_DETECT_IMPL4 + +//------------------------------------------------------------------------- +extern "C" { static void SAL_CALL thisModule() {} } + +SFX_IMPL_MODULE_LIB(Sw, C2S(DLL_NAME)) + +TYPEINIT1( SwModuleDummy, SfxModule ); + + +//------------------------------------------------------------------------- +SFX_IMPL_OBJECTFACTORY_MOD(SwDocShell, \ + SFXOBJECTSHELL_STD_NORMAL|SFXOBJECTSHELL_HASMENU, \ + swriter, \ + SvGlobalName(BF_SO3_SW_CLASSID), \ + Sw, \ + DLL_NAME) +{ + SfxObjectFactory& rFactory = (SfxObjectFactory&)Factory(); + rFactory.SetDocumentServiceName(C2S("com.sun.star.text.TextDocument")); + rFactory.GetFilterContainer()->SetDetectFilter( &SwDLL::DetectFilter ); +} + +//------------------------------------------------------------------------- +SFX_IMPL_OBJECTFACTORY_MOD(SwWebDocShell, \ + SFXOBJECTSHELL_STD_NORMAL|SFXOBJECTSHELL_HASMENU, swriter/web, \ + SvGlobalName(BF_SO3_SWWEB_CLASSID), \ + Sw, \ + DLL_NAME) +{ + SfxObjectFactory& rFactory = (SfxObjectFactory&)Factory(); + rFactory.SetDocumentServiceName(C2S("com.sun.star.text.WebDocument")); + rFactory.GetFilterContainer()->SetDetectFilter( &SwDLL::DetectFilter ); +} + +//------------------------------------------------------------------------- +SFX_IMPL_OBJECTFACTORY_MOD(SwGlobalDocShell, \ + SFXOBJECTSHELL_STD_NORMAL|SFXOBJECTSHELL_HASMENU, swriter/GlobalDocument, \ + SvGlobalName(BF_SO3_SWGLOB_CLASSID), \ + Sw, \ + DLL_NAME) +{ + SfxObjectFactory& rFactory = (SfxObjectFactory&)Factory(); + rFactory.SetDocumentServiceName(C2S("com.sun.star.text.GlobalDocument")); + rFactory.GetFilterContainer()->SetDetectFilter( &SwDLL::GlobDetectFilter ); +} + +//------------------------------------------------------------------------- + +void SwDLL::LibInit() +{ + // in most cases you must initialize your document-factory here + SvtModuleOptions aOpt; + SfxObjectFactory* pWriterFactory = NULL; + SfxObjectFactory* pGlobalFactory = NULL; + if ( aOpt.IsWriter() ) + { + SwDocShell::RegisterFactory( SDT_SW_DOCFACTPRIO ); + SwGlobalDocShell::RegisterFactory(SDT_SW_DOCFACTPRIO + 2); + pWriterFactory = &SwDocShell::Factory(); + pGlobalFactory = &SwGlobalDocShell::Factory(); + } + + // WebWriter alway needed because it is used for the help viewer + SwWebDocShell::RegisterFactory( SDT_SW_DOCFACTPRIO + 1 ); + + // create a dummy-module for Object-Factory-Pointer + SW_MOD() = (SwModule*)new SwModuleDummy( 0, TRUE, &SwWebDocShell::Factory(), pWriterFactory, pGlobalFactory ); + SwModule* pMod = SW_MOD(); +} + +//------------------------------------------------------------------------- +void SwDLL::LibExit() +{ + // Innerhalb von FreeLibSw wird Exit() gerufen + FreeLibSw(); + + // destroy the dummy-module with Object-Factory-Pointer + DELETEZ( *(SwModuleDummy**) GetAppData(BF_SHL_WRITER) ); +} + +//------------------------------------------------------------------------- + +SfxModule* SwModuleDummy::Load() +{ + return (LoadLibSw() ? SW_MOD() : NULL); +} +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_swmodul1.cxx b/binfilter/bf_sw/source/ui/app/sw_swmodul1.cxx new file mode 100644 index 000000000000..5c549bf0ea98 --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_swmodul1.cxx @@ -0,0 +1,221 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <hintids.hxx> +#include <uiparam.hxx> + +#include <bf_sfx2/request.hxx> +#include <bf_svtools/useroptions.hxx> + +#include <cppuhelper/weak.hxx> +#include <com/sun/star/util/URL.hpp> +#include <com/sun/star/frame/XDispatchProvider.hpp> +#include <com/sun/star/frame/FrameSearchFlag.hpp> +#include <com/sun/star/frame/XStatusListener.hpp> +#include <com/sun/star/view/XSelectionSupplier.hpp> +#include <com/sun/star/frame/XFrame.hpp> +#include <cppuhelper/implbase1.hxx> // helper for implementations +#include <bf_svx/dataaccessdescriptor.hxx> + +#include <bf_offmgr/app.hxx> +#include <bf_svx/wghtitem.hxx> +#include <bf_svx/postitem.hxx> +#include <bf_svx/udlnitem.hxx> +#include <bf_svx/crsditem.hxx> +#include <bf_svx/cmapitem.hxx> +#include <bf_svx/colritem.hxx> +#include <bf_svx/brshitem.hxx> +#include <vcl/msgbox.hxx> + +#include <swmodule.hxx> +#include <swtypes.hxx> +#include <usrpref.hxx> +#include <modcfg.hxx> + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +#include <docsh.hxx> +#include <dbmgr.hxx> +#include <uinums.hxx> +#include <prtopt.hxx> // fuer PrintOptions +#include <doc.hxx> +#include <cmdid.h> +#include <app.hrc> +#include "helpid.h" +namespace binfilter { + +using namespace ::rtl; +using namespace ::binfilter ::svx; +using namespace ::com::sun::star; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::frame; +using namespace ::com::sun::star::view; +using namespace ::com::sun::star::lang; +#define C2U(char) ::rtl::OUString::createFromAscii(char) + +/*------------------------------------------------------------------------ + Beschreibung: Neuer Master fuer die Einstellungen wird gesetzt; + dieser wirkt sich auf die aktuelle Sicht und alle + folgenden aus. +------------------------------------------------------------------------*/ + +/*M*/ void SwModule::ApplyUsrPref(const SwViewOption &rUsrPref, SwView* pActView, +/*M*/ sal_uInt16 nDest ) +/*M*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 +/*M*/ } +/*-----------------05.02.97 08.03------------------- + +--------------------------------------------------*/ + +/*N*/ SwPrintOptions* SwModule::GetPrtOptions(sal_Bool bWeb) +/*N*/ { +/*N*/ if(bWeb && !pWebPrtOpt) +/*N*/ { +/*N*/ pWebPrtOpt = new SwPrintOptions(TRUE); +/*N*/ } +/*N*/ else if(!bWeb && !pPrtOpt) +/*N*/ { +/*N*/ pPrtOpt = new SwPrintOptions(FALSE); +/*N*/ } +/*N*/ +/*N*/ return bWeb ? pWebPrtOpt : pPrtOpt; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: Redlining + --------------------------------------------------------------------*/ + +/*N*/ sal_uInt16 SwModule::GetRedlineAuthor() +/*N*/ { +DBG_BF_ASSERT(0, "STRIP"); return 0;//STRIP001 if (!bAuthorInitialised) +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + +/*N*/ const String& SwModule::GetRedlineAuthor(sal_uInt16 nPos) +/*N*/ { +/*N*/ return *pAuthorNames->GetObject(nPos); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + +/*N*/ sal_uInt16 SwModule::InsertRedlineAuthor(const String& rAuthor) //SW50.SDW +/*N*/ { +/*N*/ sal_uInt16 nPos = 0; +/*N*/ +/*N*/ while (nPos < pAuthorNames->Count() && *pAuthorNames->GetObject(nPos) != rAuthor) +/*N*/ nPos++; +/*N*/ +/*N*/ if (nPos == pAuthorNames->Count()) +/*N*/ pAuthorNames->Insert(new String(rAuthor), nPos); +/*N*/ +/*N*/ return nPos; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + +/*N*/ sal_uInt16 SwModule::GetRedlineMarkPos() +/*N*/ { +/*N*/ return pModuleConfig->GetMarkAlignMode(); +/*N*/ } + + +/*-----------------03.03.98 16:47------------------- + +--------------------------------------------------*/ +/*N*/ const SwViewOption* SwModule::GetViewOption(sal_Bool bWeb) +/*N*/ { +/*N*/ return GetUsrPref( bWeb ); +/*N*/ } + +// returne den definierten DocStat - WordDelimiter +/*N*/ const String& SwModule::GetDocStatWordDelim() const +/*N*/ { +/*N*/ return pModuleConfig->GetWordDelimiter(); +/*N*/ } +/* --------------------------------------------------------------------------- + + ---------------------------------------------------------------------------*/ +// Durchreichen der Metric von der ModuleConfig (fuer HTML-Export) +/*N*/ sal_uInt16 SwModule::GetMetric( sal_Bool bWeb ) const +/*N*/ { +/*N*/ SwMasterUsrPref* pPref; +/*N*/ if(bWeb) +/*N*/ { +/*?*/ if(!pWebUsrPref) +/*?*/ GetUsrPref(sal_True); +/*?*/ pPref = pWebUsrPref; +/*N*/ } +/*N*/ else +/*N*/ { +/*N*/ if(!pUsrPref) +/*?*/ GetUsrPref(sal_False); +/*N*/ pPref = pUsrPref; +/*N*/ } +/*N*/ return pPref->GetMetric(); +/*N*/ } +/* --------------------------------------------------------------------------- + + ---------------------------------------------------------------------------*/ +// Update-Stati durchreichen +/*N*/ sal_uInt16 SwModule::GetLinkUpdMode( sal_Bool ) const +/*N*/ { +/*N*/ if(!pUsrPref) +/*N*/ GetUsrPref(sal_False); +/*N*/ return (sal_uInt16)pUsrPref->GetUpdateLinkMode(); +/*N*/ } +/* --------------------------------------------------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ sal_uInt16 SwModule::GetFldUpdateFlags( sal_Bool ) const +/*N*/ { +/*N*/ if(!pUsrPref) +/*N*/ GetUsrPref(sal_False); +/*N*/ return (sal_uInt16)pUsrPref->GetFldUpdateFlags(); +/*N*/ } +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_swmodule.cxx b/binfilter/bf_sw/source/ui/app/sw_swmodule.cxx new file mode 100644 index 000000000000..9dcea9a6d33e --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_swmodule.cxx @@ -0,0 +1,222 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#include <hintids.hxx> +#include <uiparam.hxx> +#include <swerror.h> + +#include <vcl/wrkwin.hxx> +#include <vcl/graph.hxx> +#include <bf_svx/svdobj.hxx> +#include <bf_offmgr/app.hxx> +#include <bf_svtools/ehdl.hxx> +#ifndef _SVSTDARR_STRINGSDTOR +#define _SVSTDARR_STRINGSDTOR +#include <bf_svtools/svstdarr.hxx> +#endif +#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <com/sun/star/scanner/XScannerManager.hpp> +#include <com/sun/star/container/XSet.hpp> +#include <cppuhelper/factory.hxx> +#include <comphelper/processfactory.hxx> +#include <docsh.hxx> +#include <swmodule.hxx> +#include <swtypes.hxx> +#include <swevent.hxx> +#include <cmdid.h> +#include <dobjfac.hxx> +#include <init.hxx> +#include <wdocsh.hxx> +#include <globdoc.hxx> +#include <usrpref.hxx> +#include <uinums.hxx> +#include <prtopt.hxx> +#include <modcfg.hxx> +#include <fontcfg.hxx> +#include <bf_sfx2/evntconf.hxx> +#include <bf_sfx2/appuno.hxx> +#include <swatrset.hxx> +#include <dlelstnr.hxx> +#include <barcfg.hxx> +// OD 14.02.2003 #107424# +#include <bf_svtools/colorcfg.hxx> + +#include "glshell.hxx" + +#include <bf_svtools/moduleoptions.hxx> + +#include <app.hrc> +#include <legacysmgr/legacy_binfilters_smgr.hxx> //STRIP002 +namespace binfilter { +ResMgr *pSwResMgr = 0; +sal_Bool bNoInterrupt = sal_False; + +#ifndef PROFILE +// Code zum Initialisieren von Statics im eigenen Code-Segment +#ifdef _MSC_VER +#pragma code_seg( "SWSTATICS" ) +#endif +#endif + +#ifndef PROFILE +#ifdef _MSC_VER +#pragma code_seg() +#endif +#endif + +using namespace ::com::sun::star; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::scanner; +using namespace ::com::sun::star::lang; +using namespace ::rtl; + +#define C2S(cChar) String::CreateFromAscii(cChar) + +/*N*/ TYPEINIT1( SwModuleDummy, SfxModule ); +/*N*/ TYPEINIT1( SwModule, SwModuleDummy ); + + +//************************************************************************ + +/*N*/ SwModule::SwModule( SvFactory* pFact, +/*N*/ SvFactory* pWebFact, +/*N*/ SvFactory* pGlobalFact ) +/*N*/ : SwModuleDummy( SFX_APP()->CreateResManager( "bf_sw" ), sal_False, pFact, //STRIP005 +/*N*/ pWebFact, pGlobalFact ), +/*N*/ pModuleConfig(0), +/*N*/ pView(0), +/*N*/ pChapterNumRules(0), +/*N*/ pStdFontConfig(0), +/*N*/ pPrtOpt(0), +/*N*/ pWebPrtOpt(0), +/*N*/ pWebUsrPref(0), +/*N*/ pUsrPref(0), +/*N*/ pDBConfig(0), +/*N*/ pColorConfig(0), +/*N*/ pCTLOptions(0), +/*N*/ pAttrPool(0), +/*N*/ bAuthorInitialised(sal_False), +/*N*/ bEmbeddedLoadSave( sal_False ) +/*N*/ { +/*N*/ SetName( String::CreateFromAscii("StarWriter") ); +/*N*/ pSwResMgr = GetResMgr(); +/*N*/ pErrorHdl = new SfxErrorHandler( RID_SW_ERRHDL, +/*N*/ ERRCODE_AREA_SW, +/*N*/ ERRCODE_AREA_SW_END, +/*N*/ pSwResMgr ); +/*N*/ +/*N*/ SfxEventConfiguration::RegisterEvent(SW_EVENT_MAIL_MERGE, SW_RES(STR_PRINT_MERGE_MACRO), String::CreateFromAscii("OnMailMerge")); +/*N*/ SfxEventConfiguration::RegisterEvent(SW_EVENT_MAIL_MERGE_END, SW_RES(STR_PRINT_MERGE_MACRO), String::CreateFromAscii("OnMailMergeFinished")); +/*N*/ SfxEventConfiguration::RegisterEvent(SW_EVENT_PAGE_COUNT, SW_RES(STR_PAGE_COUNT_MACRO), String::CreateFromAscii("OnPageCountChange")); +/*N*/ pModuleConfig = new SwModuleOptions; +/*N*/ +/*N*/ pStdFontConfig = new SwStdFontConfig; +/*N*/ +/*N*/ pAuthorNames = new SvStringsDtor(5, 1); // Alle Redlining-Autoren +/*N*/ +/*N*/ StartListening( *OFF_APP() ); +/*N*/ +/*N*/ Reference< XMultiServiceFactory > xMgr( ::legacy_binfilters::getLegacyProcessServiceFactory() ); +/*N*/ if( xMgr.is() ) +/*N*/ { +/*N*/ m_xScannerManager = Reference< XScannerManager >( +/*N*/ xMgr->createInstance( OUString::createFromAscii( "com.sun.star.scanner.ScannerManager" ) ), +/*N*/ UNO_QUERY ); +/*N*/ +/*N*/ // if( m_xScannerManager.is() ) +/*N*/ // { +/*N*/ // m_xScannerListener = Reference< lang::XEventListener >( +/*N*/ // OWeakObject* ( new ScannerEventListener( this ) ), UNO_QUERY ); +/*N*/ // } +/*N*/ } +/*N*/ +/*N*/ // OD 14.02.2003 #107424# - init color configuration +/*N*/ // member <pColorConfig> is created and the color configuration is applied +/*N*/ // at the view options. +/*N*/ GetColorConfig(); +/*N*/ } + +//************************************************************************ + +/*N*/ SwModule::~SwModule() +/*N*/ { +/*N*/ SetPool(0); +/*N*/ delete pAttrPool; +/*N*/ delete pErrorHdl; +/*N*/ EndListening( *OFF_APP() ); +/*N*/ } + +/************************************************************************* +|* +|* Modul laden (nur Attrappe fuer das Linken der DLL) +|* +\************************************************************************/ + +/*N*/ SfxModule* SwModuleDummy::Load() +/*N*/ { +/*N*/ return (NULL); +/*N*/ } + +/*N*/ SwModuleDummy::~SwModuleDummy() +/*N*/ { +/*N*/ } + +/************************************************************************* +|* +|* Modul laden +|* +\************************************************************************/ + +/*N*/ SfxModule* SwModule::Load() +/*N*/ { +/*N*/ return (this); +/*N*/ } + +/* -----------------20.04.99 10:46------------------- + * + * --------------------------------------------------*/ +/*N*/ void SwModule::InitAttrPool() +/*N*/ { +/*N*/ DBG_ASSERT(!pAttrPool, "Pool ist schon da!"); +/*N*/ pAttrPool = new SwAttrPool(0); +/*N*/ SetPool(pAttrPool); +/*N*/ } +/* -----------------20.04.99 10:46------------------- + * + * --------------------------------------------------*/ +/*N*/ void SwModule::RemoveAttrPool() +/*N*/ { +/*N*/ SetPool(0); +/*N*/ DELETEZ(pAttrPool); +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/app/sw_version.cxx b/binfilter/bf_sw/source/ui/app/sw_version.cxx new file mode 100644 index 000000000000..126f7352957d --- /dev/null +++ b/binfilter/bf_sw/source/ui/app/sw_version.cxx @@ -0,0 +1,55 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#define _VERSION_CXX + +#include <tools/string.hxx> +#include <tools/resid.hxx> +#include <bf_sfx2/sfx.hrc> + +#include "swtypes.hxx" +namespace binfilter { + + +/*N*/ String GetSWGVersion() +/*N*/ { +/*N*/ String aStr( '(' ); +/*N*/ aStr += SW_RESSTR( RID_BUILDVERSION ); +/*N*/ aStr += ']'; +/*N*/ +/*N*/ return aStr; +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/config/config.hrc b/binfilter/bf_sw/source/ui/config/config.hrc new file mode 100644 index 000000000000..e7a72fcd5c61 --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/config.hrc @@ -0,0 +1,64 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _CONFIG_HRC +#define _CONFIG_HRC + +#include "rcid.hrc" + +// Dialoge fuer die Konfiguration + +// Strings fuer die Konfiguration +#define STR_CFG_SIGNATUR (RC_CONFIG_BEGIN + 0) +#define DLG_CONFIG_VIEW (RC_CONFIG_BEGIN + 1) +#define DLG_CONFIG_MISC (RC_CONFIG_BEGIN + 2) +#define DLG_CONFIG_SAVE (RC_CONFIG_BEGIN + 3) +#define DLG_CONFIG_PATH (RC_CONFIG_BEGIN + 4) +#define DLG_CONFIG_MENU (RC_CONFIG_BEGIN + 5) +#define DLG_CONFIG_KEY (RC_CONFIG_BEGIN + 6) +#define DLG_CONFIG_TOOLBOX (RC_CONFIG_BEGIN + 7) +#define DLG_CONFIG_COLOR (RC_CONFIG_BEGIN + 8) +#define DLG_TBSEL (RC_CONFIG_BEGIN + 9) +#define DLG_CFGSEL (RC_CONFIG_BEGIN + 10) +#define DLG_CONFIG (RC_CONFIG_BEGIN + 11) +#define DLG_MAC_ASSIGN (RC_CONFIG_BEGIN + 12) + +#define MSG_DOUBLE_MENU_ID (RC_CONFIG_BEGIN + 13) +#define MSG_DOUBLE_ID (RC_CONFIG_BEGIN + 14) +#define DLG_SYMBOL_SELECT (RC_CONFIG_BEGIN + 15) +#define DLG_CONFIG_GRID (RC_CONFIG_BEGIN + 16) +#define DLG_CONFIG_ADDR (RC_CONFIG_BEGIN + 17) + +#define STR_ERROR_PATH (RC_CONFIG_BEGIN + 25) +#define STR_ARR_METRIC (RC_CONFIG_BEGIN + 26) +#define CONFIG_ACT_END STR_ARR_METRIC + +#if CONFIG_ACT_END > RC_CONFIG_END +#error Resource-Id Ueberlauf in #file, #line +#endif + + +#endif diff --git a/binfilter/bf_sw/source/ui/config/makefile.mk b/binfilter/bf_sw/source/ui/config/makefile.mk new file mode 100644 index 000000000000..77003b9a0f44 --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/makefile.mk @@ -0,0 +1,64 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_config + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_optload.src + +SLOFILES = \ + $(SLO)$/sw_caption.obj \ + $(SLO)$/sw_dbconfig.obj \ + $(SLO)$/sw_fontcfg.obj \ + $(SLO)$/sw_modcfg.obj \ + $(SLO)$/sw_prtopt.obj \ + $(SLO)$/sw_usrpref.obj \ + $(SLO)$/sw_viewopt.obj \ + $(SLO)$/sw_swlinguconfig.obj + +# --- Targets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/config/optload.hrc b/binfilter/bf_sw/source/ui/config/optload.hrc new file mode 100644 index 000000000000..d3223e88a903 --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/optload.hrc @@ -0,0 +1,79 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#define FL_UPDATE 1 +#define RB_ALWAYS 2 +#define RB_REQUEST 3 +#define RB_NEVER 4 +#define CB_PRINTER_METRICS 5 +#define CB_MERGE_PARA_DIST 6 +#define FL_COMPAT 7 +#define CB_AUTO_UPDATE_FIELDS 8 +#define CB_AUTO_UPDATE_CHARTS 9 +#define FT_UPDATE_LINKS 10 + +#define CB_MERGE_PARA_DIST_PAGESTART 14 +#define FL_SETTINGS_2 14 +#define FL_SETTINGS 15 +#define CB_TAB_ALIGNMENT 16 + +#define FT_TAB 17 +#define MF_TAB 18 +#define LB_METRIC 19 +#define FT_LINK 20 +#define FT_FIELD 21 +#define FT_METRIC 22 +#define CB_CAPTION 23 +#define PB_OPTIONS 24 +#define TXT_OPTIONS 25 +#define FL_CAPTION 26 + +#define CLB_OBJECTS 1 +#define STR_TABLE 2 +#define STR_FRAME 3 +#define STR_GRAPHIC 4 +#define STR_OLE 5 + +#define TXT_CATEGORY 5 +#define BOX_CATEGORY 6 +#define TXT_FORMAT 7 +#define BOX_FORMAT 8 +#define TXT_TEXT 9 +#define EDT_TEXT 10 +#define TXT_POS 11 +#define BOX_POS 12 +#define TXT_SAMPLE 13 +#define STR_BEGINNING 15 +#define STR_END 16 +#define STR_ABOVE 17 +#define STR_CP_BELOW 18 +#define FT_LEVEL 19 +#define LB_LEVEL 20 +#define FT_SEPARATOR 21 +#define ED_SEPARATOR 22 + + diff --git a/binfilter/bf_sw/source/ui/config/sw_caption.cxx b/binfilter/bf_sw/source/ui/config/sw_caption.cxx new file mode 100644 index 000000000000..afe93a62993a --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/sw_caption.cxx @@ -0,0 +1,103 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + + +#include "numrule.hxx" +#include "caption.hxx" +namespace binfilter { + +#define VERSION_01 1 +#define CAPTION_VERSION VERSION_01 + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + +/*N*/ InsCaptionOpt::InsCaptionOpt(const SwCapObjType eType, const SvGlobalName* pOleId) : +/*N*/ bUseCaption(FALSE), +/*N*/ eObjType(eType), +/*N*/ nNumType(SVX_NUM_ARABIC), +/*N*/ nPos(1), +/*N*/ nLevel(0), +/*N*/ cSeparator('.'), +/*N*/ bIgnoreSeqOpts(FALSE), +/*N*/ bCopyAttributes(FALSE) +/*N*/ { +/*N*/ if (pOleId) +/*N*/ aOleId = *pOleId; +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + +/*N*/ InsCaptionOpt::~InsCaptionOpt() +/*N*/ { +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + + +/************************************************************************* +|* +|* InsCaptionOpt::operator>>() +|* +|* Beschreibung Stream-Leseoperator +|* +*************************************************************************/ + + +/************************************************************************* +|* +|* InsCaptionOpt::operator<<() +|* +|* Beschreibung Stream-Schreiboperator +|* +*************************************************************************/ + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/config/sw_dbconfig.cxx b/binfilter/bf_sw/source/ui/config/sw_dbconfig.cxx new file mode 100644 index 000000000000..8f22284cb063 --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/sw_dbconfig.cxx @@ -0,0 +1,137 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <dbconfig.hxx> + +#include <tools/debug.hxx> +#include <com/sun/star/uno/Sequence.hxx> +#include <swdbdata.hxx> +namespace binfilter { +using namespace utl; +using namespace rtl; +using namespace ::com::sun::star::uno; + +/*N*/ #define C2U(cChar) OUString::createFromAscii(cChar) +/*-------------------------------------------------------------------- + Beschreibung: Ctor + --------------------------------------------------------------------*/ + +/*N*/ const Sequence<OUString>& SwDBConfig::GetPropertyNames() +/*N*/ { +/*N*/ static Sequence<OUString> aNames; +/*N*/ if(!aNames.getLength()) +/*N*/ { +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "AddressBook/DataSourceName", // 0 +/*N*/ "AddressBook/Command", // 1 +/*N*/ "AddressBook/CommandType", // 2 +/*N*/ "Bibliography/CurrentDataSource/DataSourceName", // 4 +/*N*/ "Bibliography/CurrentDataSource/Command", // 5 +/*N*/ "Bibliography/CurrentDataSource/CommandType" // 6 +/*N*/ }; +/*N*/ const int nCount = sizeof(aPropNames)/sizeof(const char*); +/*N*/ aNames.realloc(nCount); +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ for(int i = 0; i < nCount; i++) +/*N*/ pNames[i] = OUString::createFromAscii(aPropNames[i]); +/*N*/ } +/*N*/ return aNames; +/*N*/ } +/* -----------------------------06.09.00 16:44-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwDBConfig::SwDBConfig() : +/*N*/ ConfigItem(C2U("Office.DataAccess"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE), +/*N*/ pAdrImpl(0), +/*N*/ pBibImpl(0) +/*N*/ { +/*N*/ }; +/* -----------------------------06.09.00 16:50-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwDBConfig::~SwDBConfig() +/*N*/ { +/*N*/ delete pAdrImpl; +/*N*/ delete pBibImpl; +/*N*/ } +/* -----------------------------20.02.01 12:32-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ void SwDBConfig::Load() +/*N*/ { +/*N*/ const Sequence<OUString>& rNames = GetPropertyNames(); +/*N*/ if(!pAdrImpl) +/*N*/ { +/*N*/ +/*N*/ pAdrImpl = new SwDBData; +/*N*/ pAdrImpl->nCommandType = 0; +/*N*/ pBibImpl = new SwDBData; +/*N*/ pBibImpl->nCommandType = 0; +/*N*/ } +/*N*/ Sequence<Any> aValues = GetProperties(rNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == rNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == rNames.getLength()) +/*N*/ { +/*N*/ for(int nProp = 0; nProp < rNames.getLength(); nProp++) +/*N*/ { +/*N*/ switch(nProp) +/*N*/ { +/*N*/ case 0: pValues[nProp] >>= pAdrImpl->sDataSource; break; +/*N*/ case 1: pValues[nProp] >>= pAdrImpl->sCommand; break; +/*N*/ case 2: pValues[nProp] >>= pAdrImpl->nCommandType; break; +/*N*/ case 3: pValues[nProp] >>= pBibImpl->sDataSource; break; +/*N*/ case 4: pValues[nProp] >>= pBibImpl->sCommand; break; +/*N*/ case 5: pValues[nProp] >>= pBibImpl->nCommandType; break; +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/* -----------------------------20.02.01 12:36-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ const SwDBData& SwDBConfig::GetAddressSource() +/*N*/ { +/*N*/ if(!pAdrImpl) +/*N*/ Load(); +/*N*/ return *pAdrImpl; +/*N*/ } + + void SwDBConfig::Commit() {} + void SwDBConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/config/sw_fontcfg.cxx b/binfilter/bf_sw/source/ui/config/sw_fontcfg.cxx new file mode 100644 index 000000000000..4db40f8b1ced --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/sw_fontcfg.cxx @@ -0,0 +1,242 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <fontcfg.hxx> +#include <vcl/outdev.hxx> +#include <bf_svtools/lingucfg.hxx> + + + +// #107253# +#include <swlinguconfig.hxx> +namespace binfilter { + +using namespace utl; +using namespace rtl; +using namespace ::com::sun::star::uno; + +/*N*/ #define C2S(cChar) String::CreateFromAscii(cChar) +/*N*/ #define C2U(cChar) OUString::createFromAscii(cChar) +/* -----------------07.10.2002 12:15----------------- + * + * --------------------------------------------------*/ +/*M*/ inline LanguageType lcl_LanguageOfType(sal_Int16 nType, sal_Int16 eWestern, sal_Int16 eCJK, sal_Int16 eCTL) +/*M*/ { +/*M*/ return LanguageType( +/*M*/ nType < FONT_STANDARD_CJK ? eWestern : +/*N*/ nType >= FONT_STANDARD_CTL ? eCTL : eCJK); +/*M*/ } +/* -----------------------------08.09.00 15:52-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ Sequence<OUString> SwStdFontConfig::GetPropertyNames() +/*N*/ { +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "DefaultFont/Standard", // 0 +/*N*/ "DefaultFont/Heading", // 1 +/*N*/ "DefaultFont/List", // 2 +/*N*/ "DefaultFont/Caption", // 3 +/*N*/ "DefaultFont/Index", // 4 +/*N*/ "DefaultFontCJK/Standard", // 5 +/*N*/ "DefaultFontCJK/Heading", // 6 +/*N*/ "DefaultFontCJK/List", // 7 +/*N*/ "DefaultFontCJK/Caption", // 8 +/*N*/ "DefaultFontCJK/Index", // 9 +/*N*/ "DefaultFontCTL/Standard", // 10 +/*N*/ "DefaultFontCTL/Heading", // 11 +/*N*/ "DefaultFontCTL/List", // 12 +/*N*/ "DefaultFontCTL/Caption", // 13 +/*N*/ "DefaultFontCTL/Index", // 14 +/*N*/ }; +/*N*/ const int nCount = 15; +/*N*/ Sequence<OUString> aNames(nCount); +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ for(int i = 0; i < nCount; i++) +/*N*/ { +/*N*/ pNames[i] = OUString::createFromAscii(aPropNames[i]); +/*N*/ } +/*N*/ return aNames; +/*N*/ } +/*-----------------03.09.96 15.00------------------- + +--------------------------------------------------*/ + +/*N*/ SwStdFontConfig::SwStdFontConfig() : +/*N*/ ::utl::ConfigItem(C2U("Office.Writer")) +/*N*/ { +/*N*/ SvtLinguOptions aLinguOpt; +/*N*/ +/*N*/ // #107253# Replaced SvtLinguConfig with SwLinguConfig wrapper with UsageCount +/*N*/ SwLinguConfig().GetOptions( aLinguOpt ); +/*N*/ +/*N*/ sal_Int16 eWestern = aLinguOpt.nDefaultLanguage, +/*N*/ eCJK = aLinguOpt.nDefaultLanguage_CJK, +/*N*/ eCTL = aLinguOpt.nDefaultLanguage_CTL; +/*N*/ for(sal_Int16 i = 0; i < DEF_FONT_COUNT; i++) +/*N*/ sDefaultFonts[i] = GetDefaultFor(i, +/*N*/ lcl_LanguageOfType(i, eWestern, eCJK, eCTL)); +/*N*/ +/*N*/ Sequence<OUString> aNames = GetPropertyNames(); +/*N*/ Sequence<Any> aValues = GetProperties(aNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == aNames.getLength()) +/*N*/ { +/*N*/ for(int nProp = 0; nProp < aNames.getLength(); nProp++) +/*N*/ { +/*N*/ if(pValues[nProp].hasValue()) +/*N*/ { +/*N*/ OUString sVal; +/*N*/ pValues[nProp] >>= sVal; +/*N*/ sDefaultFonts[nProp] = sVal; +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/* -----------------------------08.09.00 15:58-------------------------------- + + ---------------------------------------------------------------------------*/ +/* -----------------------------08.09.00 15:56-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwStdFontConfig::~SwStdFontConfig() +/*N*/ {} +/*-----------------18.01.97 10.05------------------- + +--------------------------------------------------*/ +/*M*/ BOOL SwStdFontConfig::IsFontDefault(USHORT nFontType) const +/*M*/ { +/*M*/ BOOL bSame; +/*M*/ SvtLinguOptions aLinguOpt; +/*N*/ +/*N*/ // #107253# Replaced SvtLinguConfig with SwLinguConfig wrapper with UsageCount +/*N*/ SwLinguConfig().GetOptions( aLinguOpt ); +/*N*/ +/*M*/ sal_Int16 eWestern = aLinguOpt.nDefaultLanguage, +/*M*/ eCJK = aLinguOpt.nDefaultLanguage_CJK, +/*M*/ eCTL = aLinguOpt.nDefaultLanguage_CTL; +/*M*/ String sDefFont(GetDefaultFor(FONT_STANDARD, eWestern)); +/*M*/ String sDefFontCJK(GetDefaultFor(FONT_STANDARD_CJK, eCJK)); +/*M*/ String sDefFontCTL(GetDefaultFor(FONT_STANDARD_CTL, eCTL)); +/*M*/ LanguageType eLang = lcl_LanguageOfType(nFontType, eWestern, eCJK, eCTL); +/*M*/ switch( nFontType ) +/*M*/ { +/*M*/ case FONT_STANDARD: +/*M*/ bSame = sDefaultFonts[nFontType] == sDefFont; +/*M*/ break; +/*M*/ case FONT_STANDARD_CJK: +/*M*/ bSame = sDefaultFonts[nFontType] == sDefFontCJK; +/*M*/ break; +/*M*/ case FONT_STANDARD_CTL: +/*M*/ bSame = sDefaultFonts[nFontType] == sDefFontCTL; +/*M*/ break; +/*M*/ case FONT_OUTLINE : +/*M*/ case FONT_OUTLINE_CJK : +/*M*/ case FONT_OUTLINE_CTL : +/*M*/ bSame = sDefaultFonts[nFontType] == +/*M*/ GetDefaultFor(nFontType, eLang); +/*M*/ break; +/*M*/ case FONT_LIST : +/*M*/ case FONT_CAPTION : +/*M*/ case FONT_INDEX : +/*M*/ bSame = sDefaultFonts[nFontType] == sDefFont && +/*M*/ sDefaultFonts[FONT_STANDARD] == sDefFont; +/*M*/ break; +/*M*/ case FONT_LIST_CJK : +/*M*/ case FONT_CAPTION_CJK : +/*M*/ case FONT_INDEX_CJK : +/*M*/ { +/*M*/ BOOL b1 = sDefaultFonts[FONT_STANDARD_CJK] == sDefFontCJK; +/*M*/ bSame = b1 && sDefaultFonts[nFontType] == sDefFontCJK; +/*M*/ } +/*M*/ break; +/*M*/ case FONT_LIST_CTL : +/*M*/ case FONT_CAPTION_CTL : +/*M*/ case FONT_INDEX_CTL : +/*M*/ { +/*M*/ BOOL b1 = sDefaultFonts[FONT_STANDARD_CJK] == sDefFontCTL; +/*M*/ bSame = b1 && sDefaultFonts[nFontType] == sDefFontCTL; +/*M*/ } +/*M*/ break; +/*M*/ } +/*M*/ return bSame; +/*M*/ } + +/* -----------------11.01.99 13:16------------------- + * Standards auslesen + * --------------------------------------------------*/ +/*N*/ String SwStdFontConfig::GetDefaultFor(USHORT nFontType, LanguageType eLang) +/*N*/ { +/*N*/ String sRet; +/*N*/ USHORT nFontId; +/*N*/ switch( nFontType ) +/*N*/ { +/*N*/ case FONT_OUTLINE : +/*N*/ nFontId = DEFAULTFONT_LATIN_HEADING; +/*N*/ break; +/*N*/ case FONT_OUTLINE_CJK : +/*N*/ nFontId = DEFAULTFONT_CJK_HEADING; +/*N*/ break; +/*N*/ case FONT_OUTLINE_CTL : +/*N*/ nFontId = DEFAULTFONT_CTL_HEADING; +/*N*/ break; +/*N*/ case FONT_STANDARD_CJK: +/*N*/ case FONT_LIST_CJK : +/*N*/ case FONT_CAPTION_CJK : +/*N*/ case FONT_INDEX_CJK : +/*N*/ nFontId = DEFAULTFONT_CJK_TEXT; +/*N*/ break; +/*N*/ case FONT_STANDARD_CTL: +/*N*/ case FONT_LIST_CTL : +/*N*/ case FONT_CAPTION_CTL : +/*N*/ case FONT_INDEX_CTL : +/*N*/ nFontId = DEFAULTFONT_CTL_TEXT; +/*N*/ break; +/*N*/ // case FONT_STANDARD: +/*N*/ // case FONT_LIST : +/*N*/ // case FONT_CAPTION : +/*N*/ // case FONT_INDEX : +/*N*/ default: +/*N*/ nFontId = DEFAULTFONT_LATIN_TEXT; +/*N*/ } +/*M*/ Font aFont = OutputDevice::GetDefaultFont(nFontId, eLang, DEFAULTFONT_FLAGS_ONLYONE); +/*M*/ return aFont.GetName(); +/*N*/ } + + void SwStdFontConfig::Commit() {} + void SwStdFontConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/config/sw_modcfg.cxx b/binfilter/bf_sw/source/ui/config/sw_modcfg.cxx new file mode 100644 index 000000000000..a2e7553e390c --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/sw_modcfg.cxx @@ -0,0 +1,797 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <comphelper/classids.hxx> +#include <bf_svx/svxids.hrc> +#include <bf_svx/svxenum.hxx> +#include <bf_so3/factory.hxx> + +#include <swtypes.hxx> +#include <itabenum.hxx> +#include <modcfg.hxx> + +namespace binfilter { + +using namespace utl; +using namespace rtl; +using namespace ::com::sun::star::uno; + +#define C2U(cChar) OUString::createFromAscii(cChar) +#define GLOB_NAME_CALC 0 +#define GLOB_NAME_IMPRESS 1 +#define GLOB_NAME_DRAW 2 +#define GLOB_NAME_MATH 3 +#define GLOB_NAME_CHART 4 + +/*N*/ SV_IMPL_PTRARR_SORT(InsCapOptArr, InsCaptionOptPtr) +/* -----------------03.11.98 13:46------------------- + * + * --------------------------------------------------*/ +/*N*/ InsCaptionOpt* InsCaptionOptArr::Find(const SwCapObjType eType, const SvGlobalName *pOleId) const +/*N*/ { +/*N*/ for (USHORT i = 0; i < Count(); i++ ) +/*N*/ { +/*?*/ InsCaptionOpt* pObj = GetObject(i); +/*?*/ if (pObj->GetObjType() == eType && +/*?*/ (eType != OLE_CAP || +/*?*/ (pOleId && +/*?*/ (pObj->GetOleId() == *pOleId || +/*?*/ SvFactory::GetAutoConvertTo(pObj->GetOleId()) == *pOleId)))) +/*?*/ return pObj; +/*N*/ } +/*N*/ +/*N*/ return 0; +/*N*/ } + +/* -----------------03.11.98 15:05------------------- + * + * --------------------------------------------------*/ + + +/* -----------------03.11.98 15:05------------------- + * + * --------------------------------------------------*/ + +/*-----------------13.01.97 12.44------------------- + +--------------------------------------------------*/ +/*N*/ SwModuleOptions::SwModuleOptions() : +/*N*/ aInsertConfig(FALSE), +/*N*/ aWebInsertConfig(TRUE), +/*N*/ aTableConfig(FALSE), +/*N*/ aWebTableConfig(TRUE), +/*N*/ bHideFieldTips(FALSE) +/*N*/ { +/*N*/ } +/* -----------------------------19.01.01 12:26-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ String SwModuleOptions::ConvertWordDelimiter(const String& rDelim, BOOL bFromUI) +/*N*/ { +/*N*/ String sReturn; +/*N*/ if(bFromUI) +/*N*/ { +/*N*/ String sChar; +/*N*/ +/*N*/ xub_StrLen i = 0; +/*N*/ sal_Unicode c; +/*N*/ +/*N*/ while (i < rDelim.Len()) +/*N*/ { +/*N*/ c = rDelim.GetChar(i++); +/*N*/ +/*N*/ if (c == '\\') +/*N*/ { +/*N*/ c = rDelim.GetChar(i++); +/*N*/ +/*N*/ switch (c) +/*N*/ { +/*N*/ case 'n': sReturn += '\n'; break; +/*N*/ case 't': sReturn += '\t'; break; +/*?*/ case '\\': sReturn += '\\'; break; +/*N*/ +/*N*/ case 'x': +/*N*/ { +/*N*/ sal_Unicode nVal, nChar; +/*N*/ BOOL bValidData = TRUE; +/*N*/ xub_StrLen n; +/*N*/ for( n = 0, nChar = 0; n < 2 && i < rDelim.Len(); ++n, ++i ) +/*N*/ { +/*N*/ if( ((nVal = rDelim.GetChar( i )) >= '0') && ( nVal <= '9') ) +/*?*/ nVal -= '0'; +/*N*/ else if( (nVal >= 'A') && (nVal <= 'F') ) +/*?*/ nVal -= 'A' - 10; +/*N*/ else if( (nVal >= 'a') && (nVal <= 'f') ) +/*N*/ nVal -= 'a' - 10; +/*N*/ else +/*N*/ { +/*?*/ DBG_ERROR( "ungueltiger Hex-Wert" ); +/*?*/ bValidData = FALSE; +/*?*/ break; +/*N*/ } +/*N*/ +/*N*/ (nChar <<= 4 ) += nVal; +/*N*/ } +/*N*/ if( bValidData ) +/*N*/ sReturn += nChar; +/*N*/ break; +/*N*/ } +/*N*/ +/*?*/ default: // Unbekannt, daher nur Backslash einfuegen +/*?*/ sReturn += '\\'; +/*?*/ i--; +/*?*/ break; +/*N*/ } +/*N*/ } +/*N*/ else +/*N*/ sReturn += c; +/*N*/ } +/*N*/ } +/*N*/ else +/*N*/ { +/*?*/ for (xub_StrLen i = 0; i < rDelim.Len(); i++) +/*?*/ { +/*?*/ sal_Unicode c = rDelim.GetChar(i); +/*?*/ +/*?*/ switch (c) +/*?*/ { +/*?*/ case '\n': sReturn.AppendAscii(RTL_CONSTASCII_STRINGPARAM("\\n")); break; +/*?*/ case '\t': sReturn.AppendAscii(RTL_CONSTASCII_STRINGPARAM("\\t")); break; +/*?*/ case '\\': sReturn.AppendAscii(RTL_CONSTASCII_STRINGPARAM("\\\\")); break; +/*?*/ +/*?*/ default: +/*?*/ if( c <= 0x1f || c >= 0x7f ) +/*?*/ { +/*?*/ sReturn.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "\\x" )) +/*?*/ += String::CreateFromInt32( c, 16 ); +/*?*/ } +/*?*/ else +/*?*/ sReturn += c; +/*?*/ } +/*?*/ } +/*N*/ } +/*N*/ return sReturn; +/*N*/ } +/* -----------------------------10.10.00 16:22-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ const Sequence<OUString>& SwRevisionConfig::GetPropertyNames() +/*N*/ { +/*N*/ static Sequence<OUString> aNames; +/*N*/ if(!aNames.getLength()) +/*N*/ { +/*N*/ const int nCount = 8; +/*N*/ aNames.realloc(nCount); +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "TextDisplay/Insert/Attribute", // 0 +/*N*/ "TextDisplay/Insert/Color", // 1 +/*N*/ "TextDisplay/Delete/Attribute", // 2 +/*N*/ "TextDisplay/Delete/Color", // 3 +/*N*/ "TextDisplay/ChangedAttribute/Attribute", // 4 +/*N*/ "TextDisplay/ChangedAttribute/Color", // 5 +/*N*/ "LinesChanged/Mark", // 6 +/*N*/ "LinesChanged/Color" // 7 +/*N*/ }; +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ for(int i = 0; i < nCount; i++) +/*N*/ pNames[i] = OUString::createFromAscii(aPropNames[i]); +/*N*/ } +/*N*/ return aNames; +/*N*/ } +/*-- 10.10.00 16:22:22--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwRevisionConfig::SwRevisionConfig() : +/*N*/ ConfigItem(C2U("Office.Writer/Revision"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE) +/*N*/ { +/*N*/ aInsertAttr.nItemId = SID_ATTR_CHAR_UNDERLINE; +/*N*/ aInsertAttr.nAttr = UNDERLINE_SINGLE; +/*N*/ aInsertAttr.nColor = COL_TRANSPARENT; +/*N*/ aDeletedAttr.nItemId = SID_ATTR_CHAR_STRIKEOUT; +/*N*/ aDeletedAttr.nAttr = STRIKEOUT_SINGLE; +/*N*/ aDeletedAttr.nColor = COL_TRANSPARENT; +/*N*/ aFormatAttr.nItemId = SID_ATTR_CHAR_WEIGHT; +/*N*/ aFormatAttr.nAttr = WEIGHT_BOLD; +/*N*/ aFormatAttr.nColor = COL_BLACK; +/*N*/ +/*N*/ Load(); +/*N*/ } +/*-- 10.10.00 16:22:23--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwRevisionConfig::~SwRevisionConfig() +/*N*/ { +/*N*/ } +/*-- 10.10.00 16:22:56--------------------------------------------------- + + + -----------------------------------------------------------------------*/ + + void SwRevisionConfig::Commit() {} + void SwRevisionConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +//----------------------------------------------------------------------------- +/*-- 10.10.00 16:22:56--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ void lcl_ConvertCfgToAttr(sal_Int32 nVal, AuthorCharAttr& rAttr, sal_Bool bDelete = sal_False) +/*N*/ { +/*N*/ rAttr.nItemId = rAttr.nAttr = 0; +/*N*/ switch(nVal) +/*N*/ { +/*N*/ case 1: rAttr.nItemId = SID_ATTR_CHAR_WEIGHT; rAttr.nAttr = WEIGHT_BOLD ; break; +/*?*/ case 2: rAttr.nItemId = SID_ATTR_CHAR_POSTURE; rAttr.nAttr = ITALIC_NORMAL ; break; +/*N*/ case 3: if(bDelete) +/*N*/ { +/*N*/ rAttr.nItemId = SID_ATTR_CHAR_STRIKEOUT; +/*N*/ rAttr.nAttr = STRIKEOUT_SINGLE; +/*N*/ } +/*N*/ else +/*N*/ { +/*N*/ rAttr.nItemId = SID_ATTR_CHAR_UNDERLINE; +/*N*/ rAttr.nAttr = UNDERLINE_SINGLE; +/*N*/ } +/*N*/ break; +/*?*/ case 4: rAttr.nItemId = SID_ATTR_CHAR_UNDERLINE;rAttr.nAttr = UNDERLINE_DOUBLE ; break; +/*?*/ case 5: rAttr.nItemId = SID_ATTR_CHAR_CASEMAP; rAttr.nAttr = SVX_CASEMAP_VERSALIEN ; break; +/*?*/ case 6: rAttr.nItemId = SID_ATTR_CHAR_CASEMAP; rAttr.nAttr = SVX_CASEMAP_GEMEINE ; break; +/*?*/ case 7: rAttr.nItemId = SID_ATTR_CHAR_CASEMAP; rAttr.nAttr = SVX_CASEMAP_KAPITAELCHEN ; break; +/*?*/ case 8: rAttr.nItemId = SID_ATTR_CHAR_CASEMAP; rAttr.nAttr = SVX_CASEMAP_TITEL ; break; +/*?*/ case 9: rAttr.nItemId = SID_ATTR_BRUSH; break; +/*N*/ } +/*N*/ } +/*N*/ void SwRevisionConfig::Load() +/*N*/ { +/*N*/ const Sequence<OUString>& aNames = GetPropertyNames(); +/*N*/ Sequence<Any> aValues = GetProperties(aNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == aNames.getLength()) +/*N*/ { +/*N*/ for(int nProp = 0; nProp < aNames.getLength(); nProp++) +/*N*/ { +/*N*/ if(pValues[nProp].hasValue()) +/*N*/ { +/*N*/ sal_Int32 nVal; +/*N*/ pValues[nProp] >>= nVal; +/*N*/ switch(nProp) +/*N*/ { +/*N*/ case 0 : lcl_ConvertCfgToAttr(nVal, aInsertAttr); break; +/*N*/ case 1 : aInsertAttr.nColor = nVal; break; +/*N*/ case 2 : lcl_ConvertCfgToAttr(nVal, aDeletedAttr, sal_True); break; +/*N*/ case 3 : aDeletedAttr.nColor = nVal; break; +/*N*/ case 4 : lcl_ConvertCfgToAttr(nVal, aFormatAttr); break; +/*N*/ case 5 : aFormatAttr.nColor = nVal; break; +/*N*/ case 6 : nMarkAlign = nVal; break; +/*N*/ case 7 : aMarkColor.SetColor(nVal); break; +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/* -----------------------------10.10.00 16:22-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ const Sequence<OUString>& SwInsertConfig::GetPropertyNames() +/*N*/ { +/*N*/ static Sequence<OUString> aNames; +/*N*/ static Sequence<OUString> aWebNames; +/*N*/ if(!aNames.getLength()) +/*N*/ { +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "Table/Header", // 0 +/*N*/ "Table/RepeatHeader", // 1 +/*N*/ "Table/Border", // 2 +/*N*/ "Table/Split", // 3 from here not in writer/web +/*N*/ "Caption/Automatic", // 4 +/*N*/ "Caption/WriterObject/Table/Enable", // 5 +/*N*/ "Caption/WriterObject/Table/Settings/Category", // 6 +/*N*/ "Caption/WriterObject/Table/Settings/Numbering", // 7 +/*N*/ "Caption/WriterObject/Table/Settings/CaptionText", // 8 +/*N*/ "Caption/WriterObject/Table/Settings/Delimiter", // 9 +/*N*/ "Caption/WriterObject/Table/Settings/Level", //10 +/*N*/ "Caption/WriterObject/Table/Settings/Position", //11 +/*N*/ "Caption/WriterObject/Frame/Enable", //12 +/*N*/ "Caption/WriterObject/Frame/Settings/Category", //13 +/*N*/ "Caption/WriterObject/Frame/Settings/Numbering", //14 +/*N*/ "Caption/WriterObject/Frame/Settings/CaptionText", //15 +/*N*/ "Caption/WriterObject/Frame/Settings/Delimiter", //16 +/*N*/ "Caption/WriterObject/Frame/Settings/Level", //17 +/*N*/ "Caption/WriterObject/Frame/Settings/Position", //18 +/*N*/ "Caption/WriterObject/Graphic/Enable", //19 +/*N*/ "Caption/WriterObject/Graphic/Settings/Category", //20 +/*N*/ "Caption/WriterObject/Graphic/Settings/Numbering", //21 +/*N*/ "Caption/WriterObject/Graphic/Settings/CaptionText",//22 +/*N*/ "Caption/WriterObject/Graphic/Settings/Delimiter", //23 +/*N*/ "Caption/WriterObject/Graphic/Settings/Level", //24 +/*N*/ "Caption/OfficeObject/Calc/Enable", //25 +/*N*/ "Caption/OfficeObject/Calc/Settings/Category", //26 +/*N*/ "Caption/OfficeObject/Calc/Settings/Numbering", //27 +/*N*/ "Caption/OfficeObject/Calc/Settings/CaptionText", //28 +/*N*/ "Caption/OfficeObject/Calc/Settings/Delimiter", //29 +/*N*/ "Caption/OfficeObject/Calc/Settings/Level", //30 +/*N*/ "Caption/OfficeObject/Calc/Settings/Position", //31 +/*N*/ "Caption/OfficeObject/Impress/Enable", //32 +/*N*/ "Caption/OfficeObject/Impress/Settings/Category", //33 +/*N*/ "Caption/OfficeObject/Impress/Settings/Numbering", //34 +/*N*/ "Caption/OfficeObject/Impress/Settings/CaptionText",//35 +/*N*/ "Caption/OfficeObject/Impress/Settings/Delimiter", //36 +/*N*/ "Caption/OfficeObject/Impress/Settings/Level", //37 +/*N*/ "Caption/OfficeObject/Impress/Settings/Position", //38 +/*N*/ "Caption/OfficeObject/Chart/Enable", //39 +/*N*/ "Caption/OfficeObject/Chart/Settings/Category", //40 +/*N*/ "Caption/OfficeObject/Chart/Settings/Numbering", //41 +/*N*/ "Caption/OfficeObject/Chart/Settings/CaptionText", //42 +/*N*/ "Caption/OfficeObject/Chart/Settings/Delimiter", //43 +/*N*/ "Caption/OfficeObject/Chart/Settings/Level", //44 +/*N*/ "Caption/OfficeObject/Chart/Settings/Position", //45 +/*N*/ "Caption/OfficeObject/Formula/Enable", //46 +/*N*/ "Caption/OfficeObject/Formula/Settings/Category", //47 +/*N*/ "Caption/OfficeObject/Formula/Settings/Numbering", //48 +/*N*/ "Caption/OfficeObject/Formula/Settings/CaptionText",//49 +/*N*/ "Caption/OfficeObject/Formula/Settings/Delimiter", //50 +/*N*/ "Caption/OfficeObject/Formula/Settings/Level", //51 +/*N*/ "Caption/OfficeObject/Formula/Settings/Position", //52 +/*N*/ "Caption/OfficeObject/Draw/Enable", //53 +/*N*/ "Caption/OfficeObject/Draw/Settings/Category", //54 +/*N*/ "Caption/OfficeObject/Draw/Settings/Numbering", //55 +/*N*/ "Caption/OfficeObject/Draw/Settings/CaptionText", //56 +/*N*/ "Caption/OfficeObject/Draw/Settings/Delimiter", //57 +/*N*/ "Caption/OfficeObject/Draw/Settings/Level", //58 +/*N*/ "Caption/OfficeObject/Draw/Settings/Position", //59 +/*N*/ "Caption/OfficeObject/OLEMisc/Enable", //60 +/*N*/ "Caption/OfficeObject/OLEMisc/Settings/Category", //61 +/*N*/ "Caption/OfficeObject/OLEMisc/Settings/Numbering", //62 +/*N*/ "Caption/OfficeObject/OLEMisc/Settings/CaptionText",//63 +/*N*/ "Caption/OfficeObject/OLEMisc/Settings/Delimiter", //64 +/*N*/ "Caption/OfficeObject/OLEMisc/Settings/Level", //65 +/*N*/ "Caption/OfficeObject/OLEMisc/Settings/Position" //66 +/*N*/ }; +/*N*/ const int nCount = 67; +/*N*/ const int nWebCount = 3; +/*N*/ aNames.realloc(nCount); +/*N*/ aWebNames.realloc(nWebCount); +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ OUString* pWebNames = aWebNames.getArray(); +/*N*/ int i; +/*N*/ for(i = 0; i < nCount; i++) +/*N*/ pNames[i] = C2U(aPropNames[i]); +/*N*/ for(i = 0; i < nWebCount; i++) +/*N*/ pWebNames[i] = C2U(aPropNames[i]); +/*N*/ } +/*N*/ return bIsWeb ? aWebNames : aNames; +/*N*/ } +/*-- 10.10.00 16:22:22--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwInsertConfig::SwInsertConfig(sal_Bool bWeb) : +/*N*/ ConfigItem(bWeb ? C2U("Office.WriterWeb/Insert") : C2U("Office.Writer/Insert"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE), +/*N*/ bIsWeb(bWeb), +/*N*/ pCapOptions(0), +/*N*/ pOLEMiscOpt(0) +/*N*/ { +/*N*/ aGlobalNames[GLOB_NAME_CALC ] = SvGlobalName(BF_SO3_SC_CLASSID); +/*N*/ aGlobalNames[GLOB_NAME_IMPRESS] = SvGlobalName(BF_SO3_SIMPRESS_CLASSID); +/*N*/ aGlobalNames[GLOB_NAME_DRAW ] = SvGlobalName(BF_SO3_SDRAW_CLASSID); +/*N*/ aGlobalNames[GLOB_NAME_MATH ] = SvGlobalName(BF_SO3_SM_CLASSID); +/*N*/ aGlobalNames[GLOB_NAME_CHART ] = SvGlobalName(BF_SO3_SCH_CLASSID); +/*N*/ if(!bIsWeb) +/*N*/ pCapOptions = new InsCaptionOptArr; +/*N*/ +/*N*/ Load(); +/*N*/ } + + void SwInsertConfig::Commit() {} + void SwInsertConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +/*-- 10.10.00 16:22:23--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwInsertConfig::~SwInsertConfig() +/*N*/ { +/*N*/ delete pCapOptions; +/*N*/ delete pOLEMiscOpt; +/*N*/ } +/*-- 10.10.00 16:22:56--------------------------------------------------- + + -----------------------------------------------------------------------*/ +//----------------------------------------------------------------------------- +/*-- 10.10.00 16:22:56--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ void lcl_ReadOpt(InsCaptionOpt& rOpt, const Any* pValues, sal_Int32 nProp, sal_Int32 nOffset) +/*N*/ { +/*N*/ switch(nOffset) +/*N*/ { +/*N*/ case 0: +/*N*/ rOpt.UseCaption() = *(sal_Bool*)pValues[nProp].getValue(); +/*N*/ break;//Enable +/*N*/ case 1: +/*N*/ { +/*N*/ OUString sTemp; pValues[nProp] >>= sTemp; +/*N*/ rOpt.SetCategory(sTemp); +/*N*/ } +/*N*/ break;//Category +/*N*/ case 2: +/*N*/ { +/*N*/ sal_Int32 nTemp; pValues[nProp] >>= nTemp; +/*N*/ rOpt.SetNumType(nTemp); +/*N*/ } +/*N*/ break;//Numbering", +/*N*/ case 3: +/*N*/ { +/*N*/ OUString sTemp; pValues[nProp] >>= sTemp; +/*N*/ rOpt.SetCaption(sTemp); +/*N*/ } +/*N*/ break;//CaptionText", +/*N*/ case 4: +/*N*/ { +/*N*/ OUString sTemp; pValues[nProp] >>= sTemp; +/*N*/ if(sTemp.getLength()) +/*N*/ rOpt.SetSeparator(sTemp[0]); +/*N*/ } +/*N*/ break;//Delimiter", +/*N*/ case 5: +/*N*/ { +/*N*/ sal_Int32 nTemp; pValues[nProp] >>= nTemp; +/*N*/ rOpt.SetLevel(nTemp); +/*N*/ } +/*N*/ break;//Level", +/*N*/ case 6: +/*N*/ { +/*N*/ sal_Int32 nTemp; pValues[nProp] >>= nTemp; +/*N*/ rOpt.SetPos(nTemp); +/*N*/ } +/*N*/ break;//Position", +/*N*/ } +/*N*/ } +//----------------------------------------------------------------------------- +/*N*/ void SwInsertConfig::Load() +/*N*/ { +/*N*/ const Sequence<OUString>& aNames = GetPropertyNames(); +/*N*/ Sequence<Any> aValues = GetProperties(aNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == aNames.getLength()) +/*N*/ { +/*N*/ InsCaptionOpt* pWriterTableOpt = 0; +/*N*/ InsCaptionOpt* pWriterFrameOpt = 0; +/*N*/ InsCaptionOpt* pWriterGraphicOpt = 0; +/*N*/ InsCaptionOpt* pOLECalcOpt = 0; +/*N*/ InsCaptionOpt* pOLEImpressOpt = 0; +/*N*/ InsCaptionOpt* pOLEChartOpt = 0; +/*N*/ InsCaptionOpt* pOLEFormulaOpt = 0; +/*N*/ InsCaptionOpt* pOLEDrawOpt = 0; +/*N*/ if(pCapOptions) +/*N*/ { +/*N*/ pWriterTableOpt = pCapOptions->Find(TABLE_CAP, 0); +/*N*/ pWriterFrameOpt = pCapOptions->Find(FRAME_CAP, 0); +/*N*/ pWriterGraphicOpt = pCapOptions->Find(GRAPHIC_CAP, 0); +/*N*/ pOLECalcOpt = pCapOptions->Find(OLE_CAP, &aGlobalNames[GLOB_NAME_CALC]); +/*N*/ pOLEImpressOpt = pCapOptions->Find(OLE_CAP, &aGlobalNames[GLOB_NAME_IMPRESS]); +/*N*/ pOLEDrawOpt = pCapOptions->Find(OLE_CAP, &aGlobalNames[GLOB_NAME_DRAW ]); +/*N*/ pOLEFormulaOpt = pCapOptions->Find(OLE_CAP, &aGlobalNames[GLOB_NAME_MATH ]); +/*N*/ pOLEChartOpt = pCapOptions->Find(OLE_CAP, &aGlobalNames[GLOB_NAME_CHART ]); +/*N*/ } +/*N*/ else if(!bIsWeb) +/*?*/ return; +/*N*/ +/*N*/ nInsTblFlags = 0; +/*N*/ for(int nProp = 0; nProp < aNames.getLength(); nProp++) +/*N*/ { +/*N*/ if(pValues[nProp].hasValue()) +/*N*/ { +/*N*/ sal_Bool bBool = nProp < 5 ? *(sal_Bool*)pValues[nProp].getValue() : sal_False; +/*N*/ switch(nProp) +/*N*/ { +/*N*/ case 0: +/*N*/ { +/*N*/ if(bBool) +/*N*/ nInsTblFlags|= HEADLINE; +/*N*/ } +/*N*/ break;//"Table/Header", +/*N*/ case 1: +/*N*/ { +/*N*/ if(bBool) +/*N*/ nInsTblFlags|= REPEAT; +/*N*/ } +/*N*/ break;//"Table/RepeatHeader", +/*N*/ case 2: +/*N*/ { +/*N*/ if(bBool) +/*N*/ nInsTblFlags|= DEFAULT_BORDER; +/*N*/ } +/*N*/ break;//"Table/Border", +/*N*/ case 3: +/*N*/ { +/*N*/ if(bBool) +/*N*/ nInsTblFlags|= SPLIT_LAYOUT; +/*N*/ } +/*N*/ break;//"Table/Split", +/*N*/ case 4: +/*N*/ bInsWithCaption = bBool; +/*N*/ break; +/*N*/ case 5: case 6: case 7: case 8: case 9: case 10: case 11: +/*N*/ if(!pWriterTableOpt) +/*N*/ { +/*N*/ pWriterTableOpt = new InsCaptionOpt(TABLE_CAP); +/*N*/ pCapOptions->Insert(pWriterTableOpt); +/*N*/ } +/*N*/ lcl_ReadOpt(*pWriterTableOpt, pValues, nProp, nProp - 5); +/*N*/ break; +/*N*/ case 12: case 13: case 14: case 15: case 16: case 17: case 18: +/*N*/ if(!pWriterFrameOpt) +/*N*/ { +/*N*/ pWriterFrameOpt = new InsCaptionOpt(FRAME_CAP); +/*N*/ pCapOptions->Insert(pWriterFrameOpt); +/*N*/ } +/*N*/ lcl_ReadOpt(*pWriterFrameOpt, pValues, nProp, nProp - 12); +/*N*/ case 19: case 20: case 21:case 22: case 23: case 24: +/*N*/ if(!pWriterGraphicOpt) +/*N*/ { +/*N*/ pWriterGraphicOpt = new InsCaptionOpt(GRAPHIC_CAP); +/*N*/ pCapOptions->Insert(pWriterGraphicOpt); +/*N*/ } +/*N*/ lcl_ReadOpt(*pWriterGraphicOpt, pValues, nProp, nProp - 19); +/*N*/ break; +/*N*/ case 25: case 26: case 27: case 28: case 29: case 30: case 31: +/*N*/ if(!pOLECalcOpt) +/*N*/ { +/*N*/ pOLECalcOpt = new InsCaptionOpt(OLE_CAP, &aGlobalNames[GLOB_NAME_CALC]); +/*N*/ pCapOptions->Insert(pOLECalcOpt); +/*N*/ } +/*N*/ lcl_ReadOpt(*pOLECalcOpt, pValues, nProp, nProp - 25); +/*N*/ break; +/*N*/ case 32: case 33: case 34: case 35: case 36: case 37: case 38: +/*N*/ if(!pOLEImpressOpt) +/*N*/ { +/*N*/ pOLEImpressOpt = new InsCaptionOpt(OLE_CAP, &aGlobalNames[GLOB_NAME_IMPRESS]); +/*N*/ pCapOptions->Insert(pOLEImpressOpt); +/*N*/ } +/*N*/ lcl_ReadOpt(*pOLEImpressOpt, pValues, nProp, nProp - 32); +/*N*/ break; +/*N*/ case 39: case 40: case 41: case 42: case 43: case 44: case 45: +/*N*/ if(!pOLEChartOpt) +/*N*/ { +/*N*/ pOLEChartOpt = new InsCaptionOpt(OLE_CAP, &aGlobalNames[GLOB_NAME_CHART]); +/*N*/ pCapOptions->Insert(pOLEChartOpt); +/*N*/ } +/*N*/ lcl_ReadOpt(*pOLEChartOpt, pValues, nProp, nProp - 39); +/*N*/ break; +/*N*/ case 46: case 47: case 48: case 49: case 50: case 51: case 52: +/*N*/ if(!pOLEFormulaOpt) +/*N*/ { +/*N*/ pOLEFormulaOpt = new InsCaptionOpt(OLE_CAP, &aGlobalNames[GLOB_NAME_MATH]); +/*N*/ pCapOptions->Insert(pOLEFormulaOpt); +/*N*/ } +/*N*/ lcl_ReadOpt(*pOLEFormulaOpt, pValues, nProp, nProp - 46); +/*N*/ break; +/*N*/ case 53: case 54: case 55: case 56: case 57: case 58: case 59: +/*N*/ if(!pOLEDrawOpt) +/*N*/ { +/*N*/ pOLEDrawOpt = new InsCaptionOpt(OLE_CAP, &aGlobalNames[GLOB_NAME_DRAW]); +/*N*/ pCapOptions->Insert(pOLEDrawOpt); +/*N*/ } +/*N*/ lcl_ReadOpt(*pOLEDrawOpt, pValues, nProp, nProp - 53); +/*N*/ break; +/*N*/ case 60: case 61: case 62: case 63: case 64: case 65: case 66: +/*N*/ if(!pOLEMiscOpt) +/*N*/ { +/*N*/ pOLEMiscOpt = new InsCaptionOpt(OLE_CAP); +/*N*/ } +/*N*/ lcl_ReadOpt(*pOLEMiscOpt, pValues, nProp, nProp - 60); +/*N*/ break; +/*N*/ +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/* -----------------------------10.10.00 16:22-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ const Sequence<OUString>& SwTableConfig::GetPropertyNames() +/*N*/ { +/*N*/ const int nCount = 8; +/*N*/ static Sequence<OUString> aNames(nCount); +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "Shift/Row", // 0 +/*N*/ "Shift/Column", // 1 +/*N*/ "Insert/Row", // 2 +/*N*/ "Insert/Column", // 3 +/*N*/ "Change/Effect", // 4 +/*N*/ "Input/NumberRecognition", // 5 +/*N*/ "Input/NumberFormatRecognition",// 6 +/*N*/ "Input/Alignment" // 7 +/*N*/ }; +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ for(int i = 0; i < nCount; i++) +/*N*/ pNames[i] = OUString::createFromAscii(aPropNames[i]); +/*N*/ return aNames; +/*N*/ } +/*-- 10.10.00 16:22:22--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwTableConfig::SwTableConfig(sal_Bool bWeb) : +/*N*/ ConfigItem(bWeb ? C2U("Office.WriterWeb/Table") : C2U("Office.Writer/Table"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE) +/*N*/ { +/*N*/ Load(); +/*N*/ } +/*-- 10.10.00 16:22:23--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwTableConfig::~SwTableConfig() +/*N*/ { +/*N*/ } +/*-- 10.10.00 16:22:56--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*-- 10.10.00 16:22:56--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ void SwTableConfig::Load() +/*N*/ { +/*N*/ const Sequence<OUString>& aNames = GetPropertyNames(); +/*N*/ Sequence<Any> aValues = GetProperties(aNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == aNames.getLength()) +/*N*/ { +/*N*/ for(int nProp = 0; nProp < aNames.getLength(); nProp++) +/*N*/ { +/*N*/ if(pValues[nProp].hasValue()) +/*N*/ { +/*N*/ sal_Int32 nTemp; +/*N*/ switch(nProp) +/*N*/ { +/*N*/ case 0 : pValues[nProp] >>= nTemp; nTblHMove = (USHORT)MM100_TO_TWIP(nTemp); break; //"Shift/Row", +/*N*/ case 1 : pValues[nProp] >>= nTemp; nTblVMove = (USHORT)MM100_TO_TWIP(nTemp); break; //"Shift/Column", +/*N*/ case 2 : pValues[nProp] >>= nTemp; nTblHInsert = (USHORT)MM100_TO_TWIP(nTemp); break; //"Insert/Row", +/*N*/ case 3 : pValues[nProp] >>= nTemp; nTblVInsert = (USHORT)MM100_TO_TWIP(nTemp); break; //"Insert/Column", +/*N*/ case 4 : pValues[nProp] >>= nTemp; eTblChgMode = (TblChgMode)nTemp; break; //"Change/Effect", +/*N*/ case 5 : bInsTblFormatNum = *(sal_Bool*)pValues[nProp].getValue(); break; //"Input/NumberRecognition", +/*N*/ case 6 : bInsTblChangeNumFormat = *(sal_Bool*)pValues[nProp].getValue(); break; //"Input/NumberFormatRecognition", +/*N*/ case 7 : bInsTblAlignNum = *(sal_Bool*)pValues[nProp].getValue(); break; //"Input/Alignment" +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } + + void SwTableConfig::Commit() {} + void SwTableConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +/*-- 18.01.01 17:02:47--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwMiscConfig::SwMiscConfig() : +/*N*/ ConfigItem(C2U("Office.Writer"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE), +/*N*/ bDefaultFontsInCurrDocOnly(sal_False), +/*N*/ bShowIndexPreview(sal_False), +/*N*/ bGrfToGalleryAsLnk(sal_True), +/*N*/ bNumAlignSize(sal_True), +/*N*/ bSinglePrintJob(sal_False), +/*N*/ bIsNameFromColumn(sal_True), +/*N*/ nMailingFormats(0) +/*N*/ { +/*N*/ Load(); +/*N*/ } +/*-- 18.01.01 17:02:47--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwMiscConfig::~SwMiscConfig() +/*N*/ { +/*N*/ } + + void SwMiscConfig::Commit() {} + void SwMiscConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +/*-- 18.01.01 17:02:47--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ const Sequence<OUString>& SwMiscConfig::GetPropertyNames() +/*N*/ { +/*N*/ static Sequence<OUString> aNames; +/*N*/ if(!aNames.getLength()) +/*N*/ { +/*N*/ const int nCount = 11; +/*N*/ aNames.realloc(nCount); +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "Statistics/WordNumber/Delimiter", // 0 +/*N*/ "DefaultFont/Document", // 1 +/*N*/ "Index/ShowPreview", // 2 +/*N*/ "Misc/GraphicToGalleryAsLink", // 3 +/*N*/ "Numbering/Graphic/KeepRatio", // 4 +/*N*/ "FormLetter/PrintOutput/SinglePrintJobs", // 5 +/*N*/ "FormLetter/MailingOutput/Format", // 6 +/*N*/ "FormLetter/FileOutput/FileName/FromDatabaseField", // 7 +/*N*/ "FormLetter/FileOutput/Path", // 8 +/*N*/ "FormLetter/FileOutput/FileName/FromManualSetting", // 9 +/*N*/ "FormLetter/FileOutput/FileName/Generation"//10 +/*N*/ }; +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ for(int i = 0; i < nCount; i++) +/*N*/ pNames[i] = C2U(aPropNames[i]); +/*N*/ } +/*N*/ return aNames; +/*N*/ } +/*-- 18.01.01 17:02:47--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*-- 18.01.01 17:02:48--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ void SwMiscConfig::Load() +/*N*/ { +/*N*/ const Sequence<OUString>& aNames = GetPropertyNames(); +/*N*/ Sequence<Any> aValues = GetProperties(aNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == aNames.getLength()) +/*N*/ { +/*N*/ OUString sTmp; +/*N*/ for(int nProp = 0; nProp < aNames.getLength(); nProp++) +/*N*/ { +/*N*/ if(pValues[nProp].hasValue()) +/*N*/ { +/*N*/ switch(nProp) +/*N*/ { +/*N*/ case 0 : pValues[nProp] >>= sTmp; +/*N*/ sWordDelimiter = SwModuleOptions::ConvertWordDelimiter(sTmp, sal_True); +/*N*/ break; +/*N*/ case 1 : bDefaultFontsInCurrDocOnly = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 2 : bShowIndexPreview = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 3 : bGrfToGalleryAsLnk = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 4 : bNumAlignSize = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 5 : bSinglePrintJob = *(sal_Bool*)pValues[nProp].getValue(); break; +/*?*/ case 6 : pValues[nProp] >>= nMailingFormats; ; break; +/*?*/ case 7 : pValues[nProp] >>= sTmp; sNameFromColumn = sTmp; break; +/*N*/ case 8 : pValues[nProp] >>= sTmp; sMailingPath = sTmp; break; +/*?*/ case 9 : pValues[nProp] >>= sTmp; sMailName = sTmp; break; +/*?*/ case 10: bIsNameFromColumn = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/config/sw_optload.src b/binfilter/bf_sw/source/ui/config/sw_optload.src new file mode 100644 index 000000000000..2f936bf0bd9d --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/sw_optload.src @@ -0,0 +1,359 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + + + +#include "globals.hrc" +#include "optload.hrc" +#include "helpid.h" +#include "config.hrc" + +/**************************************************************************/ +/* */ +/**************************************************************************/ + +/**************************************************************************/ +/* */ +/**************************************************************************/ + + +StringArray STR_ARR_METRIC +{ + ItemList [ de ] = + { + < "Millimeter" ; FUNIT_MM ; > ; + < "Zentimeter" ; FUNIT_CM ; > ; + < "Meter" ; FUNIT_M ; > ; + < "Kilometer" ; FUNIT_KM ; > ; + < "Zoll" ; FUNIT_INCH ; > ; + < "Fuß" ; FUNIT_FOOT ; > ; + < "Meilen" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Point" ; FUNIT_POINT ; > ; + }; + ItemList [ en-US ] = + { + < "Millimeter" ; FUNIT_MM ; > ; + < "Centimeter" ; FUNIT_CM ; > ; + < "Meter" ; FUNIT_M ; > ; + < "Kilometer" ; FUNIT_KM ; > ; + < "Inch" ; FUNIT_INCH ; > ; + < "Foot" ; FUNIT_FOOT ; > ; + < "Miles" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Point" ; FUNIT_POINT ; > ; + }; + ItemList [ x-comment ] = + { + < " " ; FUNIT_MM ; > ; + < " " ; FUNIT_CM ; > ; + < " " ; FUNIT_M ; > ; + < " " ; FUNIT_KM ; > ; + < " " ; FUNIT_INCH ; > ; + < " " ; FUNIT_FOOT ; > ; + < " " ; FUNIT_MILE ; > ; + < " " ; FUNIT_PICA ; > ; + < " " ; FUNIT_POINT ; > ; + }; + ItemList [ pt ] = + { + < "Milímetro" ; FUNIT_MM ; > ; + < "Centímetro" ; FUNIT_CM ; > ; + < "Metro" ; FUNIT_M ; > ; + < "Quilómetro" ; FUNIT_KM ; > ; + < "Polegada" ; FUNIT_INCH ; > ; + < "Pé" ; FUNIT_FOOT ; > ; + < "Milhas" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Ponto" ; FUNIT_POINT ; > ; + }; + ItemList [ ru ] = + { + < "Миллиметры" ; FUNIT_MM ; > ; + < "Сантиметры" ; FUNIT_CM ; > ; + < "Метры" ; FUNIT_M ; > ; + < "Километры" ; FUNIT_KM ; > ; + < "Дюймы" ; FUNIT_INCH ; > ; + < "Футы" ; FUNIT_FOOT ; > ; + < "Мили" ; FUNIT_MILE ; > ; + < "Пайка" ; FUNIT_PICA ; > ; + < "Точки" ; FUNIT_POINT ; > ; + }; + ItemList [ el ] = + { + < "Χιλιοστά" ; FUNIT_MM ; > ; + < "Εκατοστά" ; FUNIT_CM ; > ; + < "Μέτρα" ; FUNIT_M ; > ; + < "Χιλιόμετρα" ; FUNIT_KM ; > ; + < "Ίντσες" ; FUNIT_INCH ; > ; + < "Πόδι" ; FUNIT_FOOT ; > ; + < "Μίλια" ; FUNIT_MILE ; > ; + < "Pica (Πίκα)" ; FUNIT_PICA ; > ; + < "Σημείο" ; FUNIT_POINT ; > ; + }; + ItemList [ nl ] = + { + < "Millimeter" ; FUNIT_MM ; > ; + < "Centimeter" ; FUNIT_CM ; > ; + < "Meter" ; FUNIT_M ; > ; + < "Kilometer" ; FUNIT_KM ; > ; + < "Duim" ; FUNIT_INCH ; > ; + < "Voet" ; FUNIT_FOOT ; > ; + < "Mijlen" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Punt" ; FUNIT_POINT ; > ; + }; + ItemList [ fr ] = + { + < "Millimètre" ; FUNIT_MM ; > ; + < "Centimètre" ; FUNIT_CM ; > ; + < "Mètre" ; FUNIT_M ; > ; + < "Kilomètre" ; FUNIT_KM ; > ; + < "Pouce" ; FUNIT_INCH ; > ; + < "Pied" ; FUNIT_FOOT ; > ; + < "Miles" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Point" ; FUNIT_POINT ; > ; + }; + ItemList [ es ] = + { + < "Milímetro" ; FUNIT_MM ; > ; + < "Centímetro" ; FUNIT_CM ; > ; + < "Metro" ; FUNIT_M ; > ; + < "Kilómetro" ; FUNIT_KM ; > ; + < "Pulgadas" ; FUNIT_INCH ; > ; + < "Pie" ; FUNIT_FOOT ; > ; + < "Millas" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Punto" ; FUNIT_POINT ; > ; + }; + ItemList [ fi ] = + { + < "Millimetri" ; FUNIT_MM ; > ; + < "Senttimetri" ; FUNIT_CM ; > ; + < "Metri" ; FUNIT_M ; > ; + < "Kilometri" ; FUNIT_KM ; > ; + < "Tuuma" ; FUNIT_INCH ; > ; + < "Jalka" ; FUNIT_FOOT ; > ; + < "Mailit" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Piste" ; FUNIT_POINT ; > ; + }; + ItemList [ ca ] = + { + < "Milímetres" ; FUNIT_MM ; > ; + < "Centímetres" ; FUNIT_CM ; > ; + < "Metres" ; FUNIT_M ; > ; + < "Kilòmetres" ; FUNIT_KM ; > ; + < "Polzades" ; FUNIT_INCH ; > ; + < "Peus" ; FUNIT_FOOT ; > ; + < "Milles" ; FUNIT_MILE ; > ; + < "Piques" ; FUNIT_PICA ; > ; + < "Punt" ; FUNIT_POINT ; > ; + }; + ItemList [ it ] = + { + < "Millimetro" ; FUNIT_MM ; > ; + < "Centimetro" ; FUNIT_CM ; > ; + < "Metro" ; FUNIT_M ; > ; + < "Chilometro" ; FUNIT_KM ; > ; + < "Pollice" ; FUNIT_INCH ; > ; + < "piede" ; FUNIT_FOOT ; > ; + < "miglia" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Punto" ; FUNIT_POINT ; > ; + }; + ItemList [ sk ] = + { + < "Milimeter" ; FUNIT_MM ; > ; + < "Centimeter" ; FUNIT_CM ; > ; + < "Meter" ; FUNIT_M ; > ; + < "Kilometer" ; FUNIT_KM ; > ; + < "Palec" ; FUNIT_INCH ; > ; + < "Stopa" ; FUNIT_FOOT ; > ; + < "Míle" ; FUNIT_MILE ; > ; + < "Pika" ; FUNIT_PICA ; > ; + < "Bod" ; FUNIT_POINT ; > ; + }; + ItemList [ da ] = + { + < "Millimeter" ; FUNIT_MM ; > ; + < "Centimeter" ; FUNIT_CM ; > ; + < "Meter" ; FUNIT_M ; > ; + < "Kilometer" ; FUNIT_KM ; > ; + < "Tommer" ; FUNIT_INCH ; > ; + < "Fod" ; FUNIT_FOOT ; > ; + < "Mil" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Punkt" ; FUNIT_POINT ; > ; + }; + ItemList [ sv ] = + { + < "millimeter" ; FUNIT_MM ; > ; + < "centimeter" ; FUNIT_CM ; > ; + < "meter" ; FUNIT_M ; > ; + < "kilometer" ; FUNIT_KM ; > ; + < "tum" ; FUNIT_INCH ; > ; + < "fot" ; FUNIT_FOOT ; > ; + < "miles" ; FUNIT_MILE ; > ; + < "pica" ; FUNIT_PICA ; > ; + < "punkt" ; FUNIT_POINT ; > ; + }; + ItemList [ pl ] = + { + < "Milimetr" ; FUNIT_MM ; > ; + < "Centymetr" ; FUNIT_CM ; > ; + < "Metr" ; FUNIT_M ; > ; + < "Kilometr" ; FUNIT_KM ; > ; + < "Cal" ; FUNIT_INCH ; > ; + < "Stopa" ; FUNIT_FOOT ; > ; + < "Mile" ; FUNIT_MILE ; > ; + < "Cycero" ; FUNIT_PICA ; > ; + < "Punkt" ; FUNIT_POINT ; > ; + }; + ItemList [ pt-BR ] = + { + < "Milímetro" ; FUNIT_MM ; > ; + < "Centímetro" ; FUNIT_CM ; > ; + < "Metro" ; FUNIT_M ; > ; + < "Quilômetro" ; FUNIT_KM ; > ; + < "Polegada" ; FUNIT_INCH ; > ; + < "Pé" ; FUNIT_FOOT ; > ; + < "Milha" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Ponto" ; FUNIT_POINT ; > ; + }; + ItemList [ th ] = + { + < "มิลลิเมตร" ; FUNIT_MM ; > ; + < "เซ็นติเมตร" ; FUNIT_CM ; > ; + < "เมตร" ; FUNIT_M ; > ; + < "กิโลเมตร" ; FUNIT_KM ; > ; + < "นิ้ว" ; FUNIT_INCH ; > ; + < "ฟุต" ; FUNIT_FOOT ; > ; + < "ไมล์" ; FUNIT_MILE ; > ; + < "พิคา" ; FUNIT_PICA ; > ; + < "พ้อยท์" ; FUNIT_POINT ; > ; + }; + ItemList [ ja ] = + { + < "ミリメートル" ; FUNIT_MM ; > ; + < "センチメートル" ; FUNIT_CM ; > ; + < "メートル" ; FUNIT_M ; > ; + < "キロメートル" ; FUNIT_KM ; > ; + < "インチ" ; FUNIT_INCH ; > ; + < "フィート" ; FUNIT_FOOT ; > ; + < "マイル" ; FUNIT_MILE ; > ; + < "パイカ" ; FUNIT_PICA ; > ; + < "ポイント" ; FUNIT_POINT ; > ; + }; + ItemList [ ko ] = + { + < "mm" ; FUNIT_MM ; > ; + < "cm" ; FUNIT_CM ; > ; + < "m" ; FUNIT_M ; > ; + < "km" ; FUNIT_KM ; > ; + < "inch" ; FUNIT_INCH ; > ; + < "feet" ; FUNIT_FOOT ; > ; + < "mile" ; FUNIT_MILE ; > ; + < "파이카" ; FUNIT_PICA ; > ; + < "점" ; FUNIT_POINT ; > ; + }; + ItemList [ zh-CN ] = + { + < "毫米" ; FUNIT_MM ; > ; + < "厘米" ; FUNIT_CM ; > ; + < "米" ; FUNIT_M ; > ; + < "公里" ; FUNIT_KM ; > ; + < "英寸" ; FUNIT_INCH ; > ; + < "英尺" ; FUNIT_FOOT ; > ; + < "英里" ; FUNIT_MILE ; > ; + < "皮可" ; FUNIT_PICA ; > ; + < "点" ; FUNIT_POINT ; > ; + }; + ItemList [ zh-TW ] = + { + < "毫米" ; FUNIT_MM ; > ; + < "公分" ; FUNIT_CM ; > ; + < "米" ; FUNIT_M ; > ; + < "公里" ; FUNIT_KM ; > ; + < "英吋" ; FUNIT_INCH ; > ; + < "英尺" ; FUNIT_FOOT ; > ; + < "英里" ; FUNIT_MILE ; > ; + < "皮可" ; FUNIT_PICA ; > ; + < "點" ; FUNIT_POINT ; > ; + }; + ItemList [ tr ] = + { + < "Milimetre" ; FUNIT_MM ; > ; + < "Santimetre" ; FUNIT_CM ; > ; + < "Metre" ; FUNIT_M ; > ; + < "Kilometre" ; FUNIT_KM ; > ; + < "İnç" ; FUNIT_INCH ; > ; + < "Ayak" ; FUNIT_FOOT ; > ; + < "Mil" ; FUNIT_MILE ; > ; + < "Pika" ; FUNIT_PICA ; > ; + < "Nokta" ; FUNIT_POINT ; > ; + }; + ItemList [ hi-IN ] = + { + < "मिल्लिमीटर" ; FUNIT_MM ; > ; + < "सेंटिमीटर" ; FUNIT_CM ; > ; + < "मीटर" ; FUNIT_M ; > ; + < "किलोमीटर" ; FUNIT_KM ; > ; + < "इन्च" ; FUNIT_INCH ; > ; + < "फूट्" ; FUNIT_FOOT ; > ; + < "मइल्स" ; FUNIT_MILE ; > ; + < "पिका" ; FUNIT_PICA ; > ; + < "बिन्दु" ; FUNIT_POINT ; > ; + }; + ItemList [ ar ] = + { + < "ميليمتر" ; FUNIT_MM ; > ; + < "سنتيمتر" ; FUNIT_CM ; > ; + < "متر" ; FUNIT_M ; > ; + < "كيلومتر" ; FUNIT_KM ; > ; + < "بوصة" ; FUNIT_INCH ; > ; + < "قدم" ; FUNIT_FOOT ; > ; + < "أميال" ; FUNIT_MILE ; > ; + < "بيكا" ; FUNIT_PICA ; > ; + < "نقطة" ; FUNIT_POINT ; > ; + }; + ItemList [ he ] = + { + < "Millimeter" ; FUNIT_MM ; > ; + < "Zentimeter" ; FUNIT_CM ; > ; + < "Meter" ; FUNIT_M ; > ; + < "Kilometer" ; FUNIT_KM ; > ; + < "Zoll" ; FUNIT_INCH ; > ; + < "Fuß" ; FUNIT_FOOT ; > ; + < "Meilen" ; FUNIT_MILE ; > ; + < "Pica" ; FUNIT_PICA ; > ; + < "Point" ; FUNIT_POINT ; > ; + }; + }; diff --git a/binfilter/bf_sw/source/ui/config/sw_prtopt.cxx b/binfilter/bf_sw/source/ui/config/sw_prtopt.cxx new file mode 100644 index 000000000000..19d0ed637763 --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/sw_prtopt.cxx @@ -0,0 +1,141 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <prtopt.hxx> + +#include <tools/debug.hxx> +#include <com/sun/star/uno/Sequence.hxx> +namespace binfilter { + +using namespace utl; +using namespace rtl; +using namespace ::com::sun::star::uno; + +/*N*/ #define C2U(cChar) OUString::createFromAscii(cChar) +/*-------------------------------------------------------------------- + Beschreibung: Ctor + --------------------------------------------------------------------*/ + +/*N*/ Sequence<OUString> SwPrintOptions::GetPropertyNames() +/*N*/ { +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "Content/Graphic", // 0 +/*N*/ "Content/Table", // 1 +/*N*/ "Content/Control", // 2 +/*N*/ "Content/Background", // 3 +/*N*/ "Content/PrintBlack", // 4 +/*N*/ "Content/Note", // 5 +/*N*/ "Page/Reversed", // 6 +/*N*/ "Page/Brochure", // 7 +/*N*/ "Output/SinglePrintJob", // 8 +/*N*/ "Output/Fax", // 9 +/*N*/ "Papertray/FromPrinterSetup", // 10 +/*N*/ "Content/Drawing", // 11 not in SW/Web +/*N*/ "Page/LeftPage", // 12 not in SW/Web +/*N*/ "Page/RightPage" // 13 not in SW/Web +/*N*/ }; +/*N*/ const int nCount = bIsWeb ? 11 : 14; +/*N*/ Sequence<OUString> aNames(nCount); +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ for(int i = 0; i < nCount; i++) +/*N*/ { +/*N*/ pNames[i] = OUString::createFromAscii(aPropNames[i]); +/*N*/ } +/*N*/ return aNames; +/*N*/ } +/* -----------------------------06.09.00 16:44-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwPrintOptions::SwPrintOptions(sal_Bool bWeb) : +/*N*/ ConfigItem(bWeb ? C2U("Office.WriterWeb/Print") : C2U("Office.Writer/Print"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE), +/*N*/ bIsWeb(bWeb) +/*N*/ { +/*N*/ bPrintPageBackground = !bWeb; +/*N*/ bPrintBlackFont = bWeb; +/*N*/ Sequence<OUString> aNames = GetPropertyNames(); +/*N*/ Sequence<Any> aValues = GetProperties(aNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == aNames.getLength()) +/*N*/ { +/*N*/ for(int nProp = 0; nProp < aNames.getLength(); nProp++) +/*N*/ { +/*N*/ if(pValues[nProp].hasValue()) +/*N*/ { +/*N*/ switch(nProp) +/*N*/ { +/*N*/ case 0: bPrintGraphic = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 1: bPrintTable = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 2: bPrintControl = *(sal_Bool*)pValues[nProp].getValue() ; break; +/*N*/ case 3: bPrintPageBackground= *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 4: bPrintBlackFont = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 5: +/*N*/ { +/*N*/ sal_Int32 nTmp; +/*N*/ pValues[nProp] >>= nTmp; +/*N*/ nPrintPostIts = (sal_Int16)nTmp; +/*N*/ } +/*N*/ break; +/*N*/ case 6: bPrintReverse = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 7: bPrintProspect = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 8: bPrintSingleJobs = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 9: pValues[nProp] >>= sFaxName; break; +/*N*/ case 10: bPaperFromSetup = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 11: bPrintDraw = *(sal_Bool*)pValues[nProp].getValue() ; break; +/*N*/ case 12: bPrintLeftPage = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ case 13: bPrintRightPage = *(sal_Bool*)pValues[nProp].getValue(); break; +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/* -----------------------------06.09.00 16:50-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwPrintOptions::~SwPrintOptions() +/*N*/ { +/*N*/ } +/* -----------------------------06.09.00 16:43-------------------------------- + + ---------------------------------------------------------------------------*/ + + void SwPrintOptions::Commit() {} + void SwPrintOptions::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/config/sw_swlinguconfig.cxx b/binfilter/bf_sw/source/ui/config/sw_swlinguconfig.cxx new file mode 100644 index 000000000000..7b4806c480c1 --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/sw_swlinguconfig.cxx @@ -0,0 +1,74 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +// #107253# +#include <swlinguconfig.hxx> + +#include <bf_svtools/lingucfg.hxx> +namespace binfilter { + +// init static member +static SvtLinguConfig* mpImplLinguConfig = 0L; +static sal_uInt32 mnImplUseCount = 0L; + +/*N*/ void ImplCreateOnDemand() +/*N*/ { +/*N*/ if(!mpImplLinguConfig && mnImplUseCount) +/*N*/ { +/*N*/ mpImplLinguConfig = new SvtLinguConfig(); +/*N*/ } +/*N*/ } + +/*N*/ SwLinguConfig::SwLinguConfig() +/*N*/ { +/*N*/ mnImplUseCount++; +/*N*/ } + +/*N*/ SwLinguConfig::~SwLinguConfig() +/*N*/ { +/*N*/ mnImplUseCount--; +/*N*/ +/*N*/ if(!mnImplUseCount && mpImplLinguConfig) +/*N*/ { +/*N*/ delete mpImplLinguConfig; +/*N*/ mpImplLinguConfig = 0L; +/*N*/ } +/*N*/ } + + +/*N*/ sal_Bool SwLinguConfig::GetOptions(SvtLinguOptions &rOptions) const +/*N*/ { +/*N*/ ImplCreateOnDemand(); +/*N*/ return mpImplLinguConfig->GetOptions(rOptions); +/*N*/ } + + +// eof +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/config/sw_usrpref.cxx b/binfilter/bf_sw/source/ui/config/sw_usrpref.cxx new file mode 100644 index 000000000000..31675e63a30e --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/sw_usrpref.cxx @@ -0,0 +1,526 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + + + +#include "usrpref.hxx" + +#include <horiornt.hxx> + +#include "crstate.hxx" +#include <bf_offmgr/app.hxx> + +#include <unotools/localedatawrapper.hxx> +namespace binfilter { + +using namespace utl; +using namespace rtl; +using namespace ::com::sun::star; +using namespace ::com::sun::star::uno; + +/*N*/ #define C2U(cChar) OUString::createFromAscii(cChar) +/*N*/ #define C2S(cChar) String::CreateFromAscii(cChar) + + +/*N*/ SwMasterUsrPref::SwMasterUsrPref(BOOL bWeb) : +/*N*/ aContentConfig(bWeb, *this), +/*N*/ aLayoutConfig(bWeb, *this), +/*N*/ aGridConfig(bWeb, *this), +/*N*/ aCursorConfig(*this), +/*N*/ pWebColorConfig(bWeb ? new SwWebColorConfig(*this) : 0), +/*N*/ nFldUpdateFlags(0), +/*N*/ nLinkUpdateMode(0), +/*N*/ bIsHScrollMetricSet(sal_False), +/*N*/ bIsVScrollMetricSet(sal_False), +/*N*/ nDefTab( MM50 * 4 ) +/*N*/ { +/*N*/ MeasurementSystem eSystem = GetAppLocaleData().getMeasurementSystemEnum(); +/*N*/ eUserMetric = MEASURE_METRIC == eSystem ? FUNIT_CM : FUNIT_INCH; +/*N*/ eHScrollMetric = eUserMetric; +/*N*/ eVScrollMetric = eUserMetric; +/*N*/ +/*N*/ aContentConfig.Load(); +/*N*/ aLayoutConfig.Load(); +/*N*/ aGridConfig.Load(); +/*N*/ aCursorConfig.Load(); +/*N*/ if(pWebColorConfig) +/*N*/ pWebColorConfig->Load(); +/*N*/ } +/* -----------------------------13.02.01 09:48-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwMasterUsrPref::~SwMasterUsrPref() +/*N*/ { +/*N*/ delete pWebColorConfig; +/*N*/ } +/*-- 28.09.00 09:55:32--------------------------------------------------- + + -----------------------------------------------------------------------*/ + void SwContentViewConfig::Commit() {} + void SwContentViewConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +/*N*/ Sequence<OUString> SwContentViewConfig::GetPropertyNames() +/*N*/ { +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "Display/GraphicObject", // 0 +/*N*/ "Display/Table", // 1 +/*N*/ "Display/DrawingControl", // 2 +/*N*/ "Display/FieldCode", // 3 +/*N*/ "Display/Note", // 4 +/*N*/ "Display/PreventTips", // 5 +/*N*/ "NonprintingCharacter/MetaCharacters", // 6 +/*N*/ "NonprintingCharacter/ParagraphEnd", // 7 +/*N*/ "NonprintingCharacter/OptionalHyphen", // 8 +/*N*/ "NonprintingCharacter/Space", // 9 +/*N*/ "NonprintingCharacter/Break", // 10 +/*N*/ "NonprintingCharacter/ProtectedSpace", // 11 +/*N*/ "NonprintingCharacter/Tab", // 12 //not in Writer/Web +/*N*/ "NonprintingCharacter/HiddenText", // 13 +/*N*/ "NonprintingCharacter/HiddenParagraph", // 14 +/*N*/ "Update/Link", // 15 +/*N*/ "Update/Field", // 16 +/*N*/ "Update/Chart" // 17 +/*N*/ +/*N*/ +/*N*/ }; +/*N*/ const int nCount = bWeb ? 12 : 18; +/*N*/ Sequence<OUString> aNames(nCount); +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ for(int i = 0; i < nCount; i++) +/*N*/ { +/*N*/ pNames[i] = OUString::createFromAscii(aPropNames[i]); +/*N*/ } +/*N*/ return aNames; +/*N*/ } +/*-- 28.09.00 09:55:33--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwContentViewConfig::SwContentViewConfig(BOOL bIsWeb, SwMasterUsrPref& rPar) : +/*N*/ ConfigItem(bIsWeb ? C2U("Office.WriterWeb/Content") : C2U("Office.Writer/Content"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE), +/*N*/ rParent(rPar), +/*N*/ bWeb(bIsWeb) +/*N*/ { +/*N*/ } +/*-- 28.09.00 09:55:33--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwContentViewConfig::~SwContentViewConfig() +/*N*/ { +/*N*/ } +/*-- 28.09.00 09:55:33--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*-- 28.09.00 09:55:34--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ void SwContentViewConfig::Load() +/*N*/ { +/*N*/ Sequence<OUString> aNames = GetPropertyNames(); +/*N*/ Sequence<Any> aValues = GetProperties(aNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == aNames.getLength()) +/*N*/ { +/*N*/ for(int nProp = 0; nProp < aNames.getLength(); nProp++) +/*N*/ { +/*N*/ if(pValues[nProp].hasValue()) +/*N*/ { +/*N*/ sal_Bool bSet = nProp != 15 ? *(sal_Bool*)pValues[nProp].getValue() : sal_False; +/*N*/ switch(nProp) +/*N*/ { +/*N*/ case 0: rParent.SetGraphic(bSet); break;// "Display/GraphicObject", +/*N*/ case 1: rParent.SetTable(bSet); break;// "Display/Table", +/*N*/ case 2: rParent.SetDraw(bSet); break;// "Display/DrawingControl", +/*N*/ case 3: rParent.SetFldName(bSet); break;// "Display/FieldCode", +/*N*/ case 4: rParent.SetPostIts(bSet); break;// "Display/Note", +/*N*/ case 5: rParent.SetPreventTips(bSet); break;// "Display/PreventTips", +/*N*/ case 6: rParent.SetViewMetaChars(bSet); break; //"NonprintingCharacter/MetaCharacters" +/*N*/ case 7: rParent.SetParagraph(bSet); break;// "NonprintingCharacter/ParagraphEnd", +/*N*/ case 8: rParent.SetSoftHyph(bSet); break;// "NonprintingCharacter/OptionalHyphen", +/*N*/ case 9: rParent.SetBlank(bSet); break;// "NonprintingCharacter/Space", +/*N*/ case 10: rParent.SetLineBreak(bSet);break;// "NonprintingCharacter/Break", +/*N*/ case 11: rParent.SetHardBlank(bSet); break;// "NonprintingCharacter/ProtectedSpace", +/*N*/ case 12: rParent.SetTab(bSet); break;// "NonprintingCharacter/Tab", +/*N*/ case 13: rParent.SetHidden(bSet); break;// "NonprintingCharacter/HiddenText", +/*N*/ case 14: rParent.SetShowHiddenPara(bSet); break;// "NonprintingCharacter/HiddenParagraph", +/*N*/ case 15: +/*N*/ { +/*N*/ sal_Int32 nSet; pValues[nProp] >>= nSet; +/*N*/ rParent.SetUpdateLinkMode(nSet, TRUE); +/*N*/ } +/*N*/ break;// "Update/Link", +/*N*/ case 16: rParent.SetUpdateFields(bSet, TRUE); break;// "Update/Field", +/*N*/ case 17: rParent.SetUpdateCharts(bSet, TRUE); break;// "Update/Chart" +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/*-- 28.09.00 09:55:34--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ Sequence<OUString> SwLayoutViewConfig::GetPropertyNames() +/*N*/ { +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "Line/Guide", // 0 +/*N*/ "Line/SimpleControlPoint", // 1 +/*N*/ "Line/LargeControlPoint", // 2 +/*N*/ "Window/HorizontalScroll", // 3 +/*N*/ "Window/VerticalScroll", // 4 +/*M*/ "Window/ShowRulers", // 5 +/*M*/ "Window/HorizontalRuler", // 6 +/*M*/ "Window/VerticalRuler", // 7 +/*M*/ "Window/HorizontalRulerUnit", // 8 +/*M*/ "Window/VerticalRulerUnit", // 9 +/*M*/ "Window/SmoothScroll", //10 +/*M*/ "Zoom/Value", //11 +/*M*/ "Zoom/Type", //12 +/*M*/ "Other/MeasureUnit", //13 +/*M*/ "Other/TabStop", //14 +/*M*/ "Window/IsVerticalRulerRight" //15 +/*M*/ }; +/*M*/ const int nCount = bWeb ? 14 : 16; +/*N*/ Sequence<OUString> aNames(nCount); +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ for(int i = 0; i < nCount; i++) +/*N*/ { +/*N*/ pNames[i] = OUString::createFromAscii(aPropNames[i]); +/*N*/ } +/*N*/ return aNames; +/*N*/ } + + void SwLayoutViewConfig::Commit() {} + void SwLayoutViewConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +/*-- 28.09.00 09:55:34--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwLayoutViewConfig::SwLayoutViewConfig(BOOL bIsWeb, SwMasterUsrPref& rPar) : +/*N*/ ConfigItem(bIsWeb ? C2U("Office.WriterWeb/Layout") : C2U("Office.Writer/Layout"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE), +/*N*/ rParent(rPar), +/*N*/ bWeb(bIsWeb) +/*N*/ { +/*N*/ } +/*-- 28.09.00 09:55:35--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwLayoutViewConfig::~SwLayoutViewConfig() +/*N*/ { +/*N*/ } +/*-- 28.09.00 09:55:36--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*-- 28.09.00 09:55:36--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*M*/ void SwLayoutViewConfig::Load() +/*M*/ { +/*M*/ Sequence<OUString> aNames = GetPropertyNames(); +/*M*/ Sequence<Any> aValues = GetProperties(aNames); +/*M*/ const Any* pValues = aValues.getConstArray(); +/*M*/ DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); +/*M*/ if(aValues.getLength() == aNames.getLength()) +/*M*/ { +/*M*/ for(int nProp = 0; nProp < aNames.getLength(); nProp++) +/*M*/ { +/*M*/ if(pValues[nProp].hasValue()) +/*M*/ { +/*M*/ sal_Bool bSet = nProp < 8 || nProp == 10 ? *(sal_Bool*)pValues[nProp].getValue() : sal_False; +/*M*/ switch(nProp) +/*M*/ { +/*M*/ case 0: rParent.SetCrossHair(bSet); break;// "Line/Guide", +/*M*/ case 1: rParent.SetSolidMarkHdl(bSet); break;// "Line/SimpleControlPoint", +/*M*/ case 2: rParent.SetBigMarkHdl(bSet); break;// "Line/LargeControlPoint", +/*M*/ case 3: rParent.SetViewHScrollBar(bSet); break;// "Window/HorizontalScroll", +/*M*/ case 4: rParent.SetViewVScrollBar(bSet); break;// "Window/VerticalScroll", +/*M*/ case 5: rParent.SetViewAnyRuler(bSet);break; // "Window/ShowRulers" +/*M*/ case 6: rParent.SetViewHRuler(bSet); break;// "Window/HorizontalRuler", +/*M*/ case 7: rParent.SetViewVRuler(bSet); break;// "Window/VerticalRuler", +/*M*/ case 8: +/*M*/ { +/*M*/ rParent.bIsHScrollMetricSet = sal_True; +/*M*/ sal_Int32 nUnit; pValues[nProp] >>= nUnit; +/*M*/ rParent.eHScrollMetric = ((FieldUnit)nUnit); // "Window/HorizontalRulerUnit" +/*M*/ } +/*M*/ break; +/*M*/ case 9: +/*M*/ { +/*M*/ rParent.bIsVScrollMetricSet = sal_True; +/*M*/ sal_Int32 nUnit; pValues[nProp] >>= nUnit; +/*M*/ rParent.eVScrollMetric = ((FieldUnit)nUnit); // "Window/VerticalRulerUnit" +/*M*/ } +/*M*/ break; +/*M*/ case 10: rParent.SetSmoothScroll(bSet); break;// "Window/SmoothScroll", +/*M*/ case 11: +/*M*/ { +/*M*/ sal_Int32 nVal; pValues[nProp] >>= nVal; +/*N*/ rParent.SetZoom((USHORT)nVal); +/*M*/ } +/*M*/ break;// "Zoom/Value", +/*M*/ case 12: +/*M*/ { +/*M*/ sal_Int32 nVal; pValues[nProp] >>= nVal; +/*M*/ rParent.SetZoomType((BYTE)nVal); +/*M*/ } +/*M*/ break;// "Zoom/Type", +/*M*/ case 13: +/*M*/ { +/*M*/ sal_Int32 nUnit; pValues[nProp] >>= nUnit; +/*M*/ rParent.SetMetric((FieldUnit)nUnit, TRUE); +/*M*/ } +/*M*/ break;// "Other/MeasureUnit", +/*M*/ case 14: +/*M*/ { +/*M*/ sal_Int32 nTab; pValues[nProp] >>= nTab; +/*M*/ rParent.SetDefTab(MM100_TO_TWIP(nTab), TRUE); +/*M*/ } +/*M*/ break;// "Other/TabStop", +/*M*/ case 15: rParent.SetVRulerRight(bSet); break;// "Window/IsVerticalRulerRight", +/*M*/ } +/*M*/ } +/*M*/ } +/*M*/ } +/*M*/ } +/* -----------------------------19.01.01 13:07-------------------------------- + + ---------------------------------------------------------------------------*/ + + void SwGridConfig::Commit() {} + void SwGridConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +/*N*/ Sequence<OUString> SwGridConfig::GetPropertyNames() +/*N*/ { +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "Option/SnapToGrid", // 0 +/*N*/ "Option/VisibleGrid", // 1 +/*N*/ "Option/Synchronize", // 2 +/*N*/ "Resolution/XAxis", // 3 +/*N*/ "Resolution/YAxis", // 4 +/*N*/ "Subdivision/XAxis", // 5 +/*N*/ "Subdivision/YAxis" // 6 +/*N*/ }; +/*N*/ const int nCount = 7; +/*N*/ Sequence<OUString> aNames(nCount); +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ for(int i = 0; i < nCount; i++) +/*N*/ { +/*N*/ pNames[i] = OUString::createFromAscii(aPropNames[i]); +/*N*/ } +/*N*/ return aNames; +/*N*/ } +/* -----------------------------19.01.01 13:07-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwGridConfig::SwGridConfig(BOOL bIsWeb, SwMasterUsrPref& rPar) : +/*N*/ ConfigItem(bIsWeb ? C2U("Office.WriterWeb/Grid") : C2U("Office.Writer/Grid"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE), +/*N*/ rParent(rPar), +/*N*/ bWeb(bIsWeb) +/*N*/ { +/*N*/ } +/* -----------------------------19.01.01 13:07-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwGridConfig::~SwGridConfig() +/*N*/ { +/*N*/ } +/* -----------------------------19.01.01 13:07-------------------------------- + + ---------------------------------------------------------------------------*/ +/* -----------------------------19.01.01 13:07-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ void SwGridConfig::Load() +/*N*/ { +/*N*/ Sequence<OUString> aNames = GetPropertyNames(); +/*N*/ Sequence<Any> aValues = GetProperties(aNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == aNames.getLength()) +/*N*/ { +/*N*/ Size aSnap(rParent.GetSnapSize()); +/*N*/ for(int nProp = 0; nProp < aNames.getLength(); nProp++) +/*N*/ { +/*N*/ if(pValues[nProp].hasValue()) +/*N*/ { +/*N*/ sal_Bool bSet = nProp < 3 ? *(sal_Bool*)pValues[nProp].getValue() : sal_False; +/*N*/ sal_Int32 nSet; +/*N*/ if(nProp >= 3) +/*N*/ pValues[nProp] >>= nSet; +/*N*/ switch(nProp) +/*N*/ { +/*N*/ case 0: rParent.SetSnap(bSet); break;// "Option/SnapToGrid", +/*N*/ case 1: rParent.SetGridVisible(bSet); break;//"Option/VisibleGrid", +/*N*/ case 2: rParent.SetSynchronize(bSet); break;// "Option/Synchronize", +/*N*/ case 3: aSnap.Width() = MM100_TO_TWIP(nSet); break;// "Resolution/XAxis", +/*N*/ case 4: aSnap.Height() = MM100_TO_TWIP(nSet); break;// "Resolution/YAxis", +/*N*/ case 5: rParent.SetDivisionX((short)nSet); break;// "Subdivision/XAxis", +/*N*/ case 6: rParent.SetDivisionY((short)nSet); break;// "Subdivision/YAxis" +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ rParent.SetSnapSize(aSnap); +/*N*/ } +/*N*/ } + +/* -----------------------------19.01.01 13:07-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ Sequence<OUString> SwCursorConfig::GetPropertyNames() +/*N*/ { +/*N*/ static const char* aPropNames[] = +/*N*/ { +/*N*/ "DirectCursor/UseDirectCursor", // 0 +/*N*/ "DirectCursor/Insert", // 1 +/*N*/ "Option/ProtectedArea" // 2 +/*N*/ }; +/*N*/ const int nCount = 3; +/*N*/ Sequence<OUString> aNames(nCount); +/*N*/ OUString* pNames = aNames.getArray(); +/*N*/ for(int i = 0; i < nCount; i++) +/*N*/ pNames[i] = C2U(aPropNames[i]); +/*N*/ return aNames; +/*N*/ } + + void SwCursorConfig::Commit() {} + void SwCursorConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +/* -----------------------------19.01.01 13:07-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwCursorConfig::SwCursorConfig(SwMasterUsrPref& rPar) : +/*N*/ ConfigItem(C2U("Office.Writer/Cursor"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE), +/*N*/ rParent(rPar) +/*N*/ { +/*N*/ } +/* -----------------------------19.01.01 13:07-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwCursorConfig::~SwCursorConfig() +/*N*/ { +/*N*/ } +/* -----------------------------19.01.01 13:07-------------------------------- + + ---------------------------------------------------------------------------*/ +/* -----------------------------19.01.01 13:07-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ void SwCursorConfig::Load() +/*N*/ { +/*N*/ Sequence<OUString> aNames = GetPropertyNames(); +/*N*/ Sequence<Any> aValues = GetProperties(aNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == aNames.getLength()) +/*N*/ { +/*N*/ +/*N*/ for(int nProp = 0; nProp < aNames.getLength(); nProp++) +/*N*/ { +/*N*/ if(pValues[nProp].hasValue()) +/*N*/ { +/*N*/ sal_Bool bSet; +/*N*/ sal_Int32 nSet; +/*N*/ if(nProp != 1 ) +/*N*/ bSet = *(sal_Bool*)pValues[nProp].getValue(); +/*N*/ else +/*N*/ pValues[nProp] >>= nSet; +/*N*/ switch(nProp) +/*N*/ { +/*N*/ case 0: rParent.SetShadowCursor(bSet); break;// "DirectCursor/UseDirectCursor", +/*N*/ case 1: rParent.SetShdwCrsrFillMode((BYTE)nSet); break;// "DirectCursor/Insert", +/*N*/ case 2: rParent.SetCursorInProtectedArea(bSet); break;// "Option/ProtectedArea" +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ } +/*N*/ } +/*-- 28.09.00 09:55:33--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwWebColorConfig::SwWebColorConfig(SwMasterUsrPref& rPar) : +/*N*/ ConfigItem(C2U("Office.WriterWeb/Background"), +/*N*/ CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE), +/*N*/ rParent(rPar), +/*N*/ aPropNames(1) +/*N*/ { +/*N*/ aPropNames.getArray()[0] = C2U("Color"); +/*N*/ } + + void SwWebColorConfig::Commit() {} + void SwWebColorConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ) {} + +/*-- 28.09.00 09:55:33--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ SwWebColorConfig::~SwWebColorConfig() +/*N*/ { +/*N*/ } +/*-- 28.09.00 09:55:33--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*-- 28.09.00 09:55:34--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/*N*/ void SwWebColorConfig::Load() +/*N*/ { +/*N*/ Sequence<Any> aValues = GetProperties(aPropNames); +/*N*/ const Any* pValues = aValues.getConstArray(); +/*N*/ DBG_ASSERT(aValues.getLength() == aPropNames.getLength(), "GetProperties failed"); +/*N*/ if(aValues.getLength() == aPropNames.getLength()) +/*N*/ { +/*N*/ for(int nProp = 0; nProp < aPropNames.getLength(); nProp++) +/*N*/ { +/*N*/ if(pValues[nProp].hasValue()) +/*N*/ { +/*?*/ switch(nProp) +/*?*/ { +/*?*/ case 0: +/*?*/ sal_Int32 nSet; pValues[nProp] >>= nSet; rParent.SetRetoucheColor(nSet); +/*?*/ break;// "Color", +/*?*/ } +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ } + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/config/sw_viewopt.cxx b/binfilter/bf_sw/source/ui/config/sw_viewopt.cxx new file mode 100644 index 000000000000..0287c487d54a --- /dev/null +++ b/binfilter/bf_sw/source/ui/config/sw_viewopt.cxx @@ -0,0 +1,381 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <bf_offmgr/app.hxx> +#include <bf_svx/svxids.hrc> +#include <unotools/localedatawrapper.hxx> +#include <vcl/window.hxx> +#include <swmodule.hxx> +#include <viewopt.hxx> +#include <wdocsh.hxx> + +#include <horiornt.hxx> + +#include <crstate.hxx> +#include <bf_svtools/colorcfg.hxx> +#include "authratr.hxx" +namespace binfilter { + + +/*N*/ #ifdef DBG_UTIL +/*N*/ BOOL SwViewOption::bTest9 = FALSE; //DrawingLayerNotLoading +/*N*/ #endif +/*N*/ Color SwViewOption::aDocBoundColor(COL_LIGHTGRAY); +/*N*/ Color SwViewOption::aObjectBoundColor(COL_LIGHTGRAY); +/*N*/ Color SwViewOption::aDocColor(COL_LIGHTGRAY); +/*N*/ Color SwViewOption::aAppBackgroundColor(COL_LIGHTGRAY); +/*N*/ Color SwViewOption::aTableBoundColor(COL_LIGHTGRAY); +/*N*/ Color SwViewOption::aIndexShadingsColor(COL_LIGHTGRAY); +/*N*/ Color SwViewOption::aLinksColor(COL_BLUE); +/*N*/ Color SwViewOption::aVisitedLinksColor(COL_RED); +/*N*/ Color SwViewOption::aDirectCursorColor(COL_BLUE); +/*N*/ Color SwViewOption::aTextGridColor(COL_LIGHTGRAY); +/*N*/ Color SwViewOption::aSpellColor(COL_LIGHTRED); +/*N*/ Color SwViewOption::aFontColor(COL_BLACK); +/*N*/ Color SwViewOption::aFieldShadingsColor(COL_LIGHTGRAY); +/*N*/ Color SwViewOption::aSectionBoundColor(COL_LIGHTGRAY); +/*M*/ Color SwViewOption::aPageBreakColor(COL_BLUE); +/*N*/ Color SwViewOption::aScriptIndicatorColor(COL_GREEN); +/*N*/ +/*N*/ sal_Int32 SwViewOption::nAppearanceFlags = VIEWOPT_DOC_BOUNDARIES|VIEWOPT_OBJECT_BOUNDARIES; +/*N*/ USHORT SwViewOption::nPixelTwips = 0; //ein Pixel auf dem Bildschirm +/*N*/ + +#define LINEBREAK_SIZE 12, 8 +#define TAB_SIZE 12, 6 + +#define MIN_BLANKWIDTH 40 +#define MIN_BLANKHEIGHT 40 +#define MIN_TABWIDTH 120 +#define MIN_TABHEIGHT 200 + +static const char __FAR_DATA aPostItStr[] = " "; + +/************************************************************************* + * SwViewOption::IsEqualFlags() + *************************************************************************/ + + +/************************************************************************* + * class SwPxlToTwips + *************************************************************************/ + + +/************************************************************************* + * SwPxlToTwips::CTOR + *************************************************************************/ + + +/************************************************************************* + * SwPxlToTwips::DTOR + *************************************************************************/ + + +/************************************************************************* + * SwPxlToTwips::DrawLine + *************************************************************************/ + + +/************************************************************************* + * SwViewOption::DrawRect() + *************************************************************************/ + + +/************************************************************************* + * SwViewOption::DrawRectPrinter() + *************************************************************************/ + + +/************************************************************************* + * SwViewOption::PaintTab() + *************************************************************************/ +/************************************************************************* + * SwViewOption::GetLineBreakWidth() + *************************************************************************/ + + +/************************************************************************* + * SwViewOption::PaintLineBreak() + *************************************************************************/ +/************************************************************************* + * SwViewOption::GetPostItsWidth() + *************************************************************************/ + + +/************************************************************************* + * SwViewOption::PaintPostIts() + *************************************************************************/ + + + +/************************************************************************* +|* +|* ViewOption::ViewOption() +|* +|* Letzte Aenderung MA 04. Aug. 93 +|* +|*************************************************************************/ + +/*M*/ SwViewOption::SwViewOption() : +/*M*/ nZoom( 100 ), +/*M*/ nPagePrevRow( 1 ), +/*M*/ nPagePrevCol( 2 ), +/*M*/ eZoom( 0 ), +/*M*/ nTblDest(TBL_DEST_CELL), +/*M*/ bReadonly(FALSE), +/*M*/ bSelectionInReadonly(FALSE), +/*M*/ aRetoucheColor( COL_TRANSPARENT ), +/*M*/ nShdwCrsrFillMode( FILL_TAB ), +/*M*/ bStarOneSetting(FALSE), +/*M*/ bIsPagePreview(FALSE) +/*M*/ { +/*M*/ // Initialisierung ist jetzt etwas einfacher +/*M*/ // alle Bits auf 0 +/*M*/ nCoreOptions = VIEWOPT_1_IDLE | VIEWOPT_1_HARDBLANK | VIEWOPT_1_SOFTHYPH | +/*M*/ VIEWOPT_1_REF | +/*M*/ VIEWOPT_1_GRAPHIC | +/*M*/ VIEWOPT_1_TABLE | VIEWOPT_1_DRAW | VIEWOPT_1_CONTROL | +/*M*/ VIEWOPT_1_PAGEBACK | +/*M*/ VIEWOPT_1_SOLIDMARKHDL | VIEWOPT_1_POSTITS; +/*M*/ nCore2Options = VIEWOPT_CORE2_BLACKFONT | VIEWOPT_CORE2_HIDDENPARA; +/*M*/ nUIOptions = VIEWOPT_2_MODIFIED | VIEWOPT_2_EXECHYPERLINKS | VIEWOPT_2_GRFKEEPZOOM |VIEWOPT_2_ANY_RULER; +/*M*/ +/*M*/ if(MEASURE_METRIC != GetAppLocaleData().getMeasurementSystemEnum()) +/*M*/ aSnapSize.Width() = aSnapSize.Height() = 720; // 1/2" +/*M*/ else +/*M*/ aSnapSize.Width() = aSnapSize.Height() = 567; // 1 cm +/*M*/ nDivisionX = nDivisionY = 1; +/*M*/ +/*M*/ bSelectionInReadonly = true; +/*M*/ +/*M*/ #ifdef DBG_UTIL +/*M*/ // korrespondieren zu den Angaben in ui/config/cfgvw.src +/*M*/ bTest1 = bTest2 = bTest3 = bTest4 = +/*M*/ bTest5 = bTest6 = bTest7 = bTest8 = bTest10 = FALSE; +/*M*/ #endif +/*M*/ } + + +/*N*/ SwViewOption::SwViewOption(const SwViewOption& rVOpt) +/*N*/ { +/*N*/ bReadonly = FALSE; +/*M*/ bSelectionInReadonly = FALSE; +/*N*/ nZoom = rVOpt.nZoom ; +/*N*/ aSnapSize = rVOpt.aSnapSize ; +/*N*/ nDivisionX = rVOpt.nDivisionX ; +/*N*/ nDivisionY = rVOpt.nDivisionY ; +/*N*/ nPagePrevRow = rVOpt.nPagePrevRow; +/*N*/ nPagePrevCol = rVOpt.nPagePrevCol; +/*N*/ bIsPagePreview = rVOpt.bIsPagePreview; +/*N*/ eZoom = rVOpt.eZoom ; +/*N*/ nTblDest = rVOpt.nTblDest ; +/*N*/ nUIOptions = rVOpt.nUIOptions ; +/*N*/ nCoreOptions = rVOpt.nCoreOptions ; +/*N*/ nCore2Options = rVOpt.nCore2Options ; +/*N*/ aRetoucheColor = rVOpt.GetRetoucheColor(); +/*N*/ sSymbolFont = rVOpt.sSymbolFont; +/*N*/ nShdwCrsrFillMode = rVOpt.nShdwCrsrFillMode; +/*N*/ bStarOneSetting = rVOpt.bStarOneSetting; +/*N*/ +/*N*/ #ifdef DBG_UTIL +/*N*/ bTest1 = rVOpt.bTest1 ; +/*N*/ bTest2 = rVOpt.bTest2 ; +/*N*/ bTest3 = rVOpt.bTest3 ; +/*N*/ bTest4 = rVOpt.bTest4 ; +/*N*/ bTest5 = rVOpt.bTest5 ; +/*N*/ bTest6 = rVOpt.bTest6 ; +/*N*/ bTest7 = rVOpt.bTest7 ; +/*N*/ bTest8 = rVOpt.bTest8 ; +/*N*/ bTest10 = rVOpt.bTest10 ; +/*N*/ #endif +/*N*/ } + + +/*N*/ SwViewOption& SwViewOption::operator=( const SwViewOption &rVOpt ) +/*N*/ { +/*N*/ nZoom = rVOpt.nZoom ; +/*N*/ aSnapSize = rVOpt.aSnapSize ; +/*N*/ nDivisionX = rVOpt.nDivisionX ; +/*N*/ nDivisionY = rVOpt.nDivisionY ; +/*N*/ nPagePrevRow = rVOpt.nPagePrevRow; +/*N*/ nPagePrevCol = rVOpt.nPagePrevCol; +/*N*/ bIsPagePreview = rVOpt.bIsPagePreview; +/*N*/ eZoom = rVOpt.eZoom ; +/*N*/ nTblDest = rVOpt.nTblDest ; +/*N*/ nUIOptions = rVOpt.nUIOptions ; +/*N*/ nCoreOptions = rVOpt.nCoreOptions; +/*N*/ nCore2Options = rVOpt.nCore2Options; +/*N*/ aRetoucheColor = rVOpt.GetRetoucheColor(); +/*N*/ sSymbolFont = rVOpt.sSymbolFont; +/*N*/ nShdwCrsrFillMode = rVOpt.nShdwCrsrFillMode; +/*N*/ bStarOneSetting = rVOpt.bStarOneSetting; +/*N*/ +/*N*/ #ifdef DBG_UTIL +/*N*/ bTest1 = rVOpt.bTest1 ; +/*N*/ bTest2 = rVOpt.bTest2 ; +/*N*/ bTest3 = rVOpt.bTest3 ; +/*N*/ bTest4 = rVOpt.bTest4 ; +/*N*/ bTest5 = rVOpt.bTest5 ; +/*N*/ bTest6 = rVOpt.bTest6 ; +/*N*/ bTest7 = rVOpt.bTest7 ; +/*N*/ bTest8 = rVOpt.bTest8 ; +/*N*/ bTest10 = rVOpt.bTest10 ; +/*N*/ #endif +/*N*/ return *this; +/*N*/ } + + +/*N*/ SwViewOption::~SwViewOption() +/*N*/ { +/*N*/ } + +/************************************************************************* +|* +|* ViewOption::Init() +|* +|* Letzte Aenderung MA 04. Aug. 93 +|* +|*************************************************************************/ + +/*N*/ void SwViewOption::Init( Window *pWin ) +/*N*/ { +/*N*/ if( !nPixelTwips && pWin ) +/*N*/ { +/*N*/ nPixelTwips = (USHORT)pWin->PixelToLogic( Size(1,1) ).Height(); +/*N*/ } +/*N*/ } + +/*************************************************************************/ +/* +/*************************************************************************/ + +/*N*/ AuthorCharAttr::AuthorCharAttr() : +/*N*/ nItemId (SID_ATTR_CHAR_UNDERLINE), +/*N*/ nAttr (UNDERLINE_SINGLE), +/*N*/ nColor (COL_TRANSPARENT) +/*N*/ { +/*N*/ } + +/*-----------------07.01.97 13.50------------------- + +--------------------------------------------------*/ + +/*N*/ USHORT GetHtmlMode(const SwDocShell* pShell) +/*N*/ { +/*N*/ USHORT nRet = 0; +/*N*/ if(!pShell || PTR_CAST(SwWebDocShell, pShell)) +/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 +/*N*/ } +/*N*/ return nRet; +/*N*/ } + +/* -----------------------------23.04.2002 17:41------------------------------ + + ---------------------------------------------------------------------------*/ +/*N*/ void SwViewOption::ApplyColorConfigValues(const ColorConfig& rConfig ) +/*N*/ { +/*N*/ aDocColor.SetColor(rConfig.GetColorValue(DOCCOLOR).nColor); +/*N*/ +/*N*/ ColorConfigValue aValue = rConfig.GetColorValue(DOCBOUNDARIES); +/*N*/ aDocBoundColor.SetColor(aValue.nColor); +/*N*/ nAppearanceFlags = 0; +/*N*/ if(aValue.bIsVisible) +/*N*/ nAppearanceFlags |= VIEWOPT_DOC_BOUNDARIES; +/*N*/ +/*N*/ aAppBackgroundColor.SetColor(rConfig.GetColorValue(APPBACKGROUND).nColor); +/*N*/ +/*N*/ aValue = rConfig.GetColorValue(OBJECTBOUNDARIES); +/*N*/ aObjectBoundColor.SetColor(aValue.nColor); +/*N*/ if(aValue.bIsVisible) +/*N*/ nAppearanceFlags |= VIEWOPT_OBJECT_BOUNDARIES; +/*N*/ +/*N*/ aValue = rConfig.GetColorValue(TABLEBOUNDARIES); +/*N*/ aTableBoundColor.SetColor(aValue.nColor); +/*N*/ if(aValue.bIsVisible) +/*N*/ nAppearanceFlags |= VIEWOPT_TABLE_BOUNDARIES; +/*N*/ +/*N*/ aValue = rConfig.GetColorValue(WRITERIDXSHADINGS); +/*N*/ aIndexShadingsColor.SetColor(aValue.nColor); +/*N*/ if(aValue.bIsVisible) +/*N*/ nAppearanceFlags |= VIEWOPT_INDEX_SHADINGS; +/*N*/ +/*N*/ aValue = rConfig.GetColorValue(LINKS); +/*N*/ aLinksColor.SetColor(aValue.nColor); +/*N*/ if(aValue.bIsVisible) +/*N*/ nAppearanceFlags |= VIEWOPT_LINKS; +/*N*/ +/*N*/ aValue = rConfig.GetColorValue(LINKSVISITED); +/*N*/ aVisitedLinksColor.SetColor(aValue.nColor); +/*N*/ if(aValue.bIsVisible) +/*N*/ nAppearanceFlags |= VIEWOPT_VISITED_LINKS; +/*N*/ +/*N*/ aDirectCursorColor.SetColor(rConfig.GetColorValue(WRITERDIRECTCURSOR).nColor); +/*N*/ +/*N*/ aTextGridColor.SetColor(rConfig.GetColorValue(WRITERTEXTGRID).nColor); +/*N*/ +/*N*/ aSpellColor.SetColor(rConfig.GetColorValue(SPELL).nColor); +/*N*/ +/*N*/ aFontColor.SetColor(rConfig.GetColorValue(FONTCOLOR).nColor); +/*N*/ +/*N*/ aValue = rConfig.GetColorValue(WRITERFIELDSHADINGS); +/*N*/ aFieldShadingsColor.SetColor(aValue.nColor); +/*N*/ if(aValue.bIsVisible) +/*N*/ nAppearanceFlags |= VIEWOPT_FIELD_SHADINGS; +/*N*/ +/*N*/ aValue = rConfig.GetColorValue(WRITERSECTIONBOUNDARIES); +/*N*/ aSectionBoundColor.SetColor(aValue.nColor); +/*N*/ if(aValue.bIsVisible) +/*N*/ nAppearanceFlags |= VIEWOPT_SECTION_BOUNDARIES; +/*N*/ +/*N*/ aValue = rConfig.GetColorValue(WRITERPAGEBREAKS); +/*N*/ aPageBreakColor.SetColor(aValue.nColor); +/*N*/ +/*N*/ aScriptIndicatorColor.SetColor(rConfig.GetColorValue(WRITERSCRIPTINDICATOR).nColor); +/*N*/ } +/* -----------------------------23.04.2002 17:48------------------------------ + + ---------------------------------------------------------------------------*/ +/*N*/ void SwViewOption::SetAppearanceFlag(sal_Int32 nFlag, BOOL bSet, BOOL bSaveInConfig ) +/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 +/*N*/ } +/* -----------------------------24.04.2002 10:42------------------------------ + + ---------------------------------------------------------------------------*/ +/*N*/ BOOL SwViewOption::IsAppearanceFlag(sal_Int32 nFlag) +/*N*/ { +/*N*/ return 0 != (nAppearanceFlags & nFlag); +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/dbui/makefile.mk b/binfilter/bf_sw/source/ui/dbui/makefile.mk new file mode 100644 index 000000000000..709b5f363826 --- /dev/null +++ b/binfilter/bf_sw/source/ui/dbui/makefile.mk @@ -0,0 +1,57 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_dbui + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + + +SLOFILES = \ + $(SLO)$/sw_dbmgr.obj + +EXCEPTIONSFILES= \ + $(SLO)$/sw_dbmgr.obj + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/dbui/sw_dbmgr.cxx b/binfilter/bf_sw/source/ui/dbui/sw_dbmgr.cxx new file mode 100644 index 000000000000..e626e7e3355d --- /dev/null +++ b/binfilter/bf_sw/source/ui/dbui/sw_dbmgr.cxx @@ -0,0 +1,661 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#include <cstdarg> + +#include <stdio.h> + +#include <com/sun/star/text/NotePrintMode.hpp> + +#include <com/sun/star/sdb/CommandType.hpp> +#include <com/sun/star/frame/XComponentLoader.hpp> +#include <com/sun/star/util/XNumberFormatter.hpp> +#include <com/sun/star/sdb/XCompletedConnection.hpp> +#include <com/sun/star/sdb/XCompletedExecution.hpp> +#include <com/sun/star/container/XChild.hpp> +#ifndef _COM_SUN_STAR_TEXT_MAILMERGEEVENT_ +#include <com/sun/star/text/MailMergeEvent.hpp> +#endif +#include <dbconfig.hxx> +#include <vcl/lstbox.hxx> +#include <unotools/tempfile.hxx> +#include <bf_svtools/urihelper.hxx> +#ifndef _SVSTDARR_HXX +#define _SVSTDARR_STRINGSDTOR +#include <bf_svtools/svstdarr.hxx> +#endif +#include <bf_svtools/zforlist.hxx> +#include <bf_svtools/zformat.hxx> +#include <bf_svtools/stritem.hxx> +#include <bf_svtools/eitem.hxx> +#include <bf_sfx2/printer.hxx> +#include <bf_sfx2/docfile.hxx> +#include <bf_sfx2/progress.hxx> +#include <bf_sfx2/docfilt.hxx> +#include <bf_offmgr/app.hxx> +#include <cmdid.h> +#include <swtypes.hxx> +#include <swmodule.hxx> +#include <docsh.hxx> + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +#include <fldbas.hxx> +#include <flddat.hxx> +#include <swmodule.hxx> +#include <modcfg.hxx> +#include <swprtopt.hxx> +#include <shellio.hxx> +#include <dbmgr.hxx> +#include <doc.hxx> +#include <swwait.hxx> +#include <swunohelper.hxx> + +#include <globals.hrc> +#include <statstr.hrc> + +#include <bf_sfx2/request.hxx> +#include <hintids.hxx> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/container/XNameAccess.hpp> +#include <com/sun/star/sdbc/XDataSource.hpp> +#include <com/sun/star/sdbc/XRowSet.hpp> +#include <com/sun/star/sdbcx/XTablesSupplier.hpp> +#include <com/sun/star/sdbcx/XColumnsSupplier.hpp> +#include <com/sun/star/sdb/XQueriesSupplier.hpp> +#include <com/sun/star/sdb/XColumn.hpp> +#include <com/sun/star/sdbc/DataType.hpp> +#include <com/sun/star/sdbc/XStatement.hpp> +#include <com/sun/star/sdbc/ResultSetType.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/beans/PropertyValue.hpp> +#include <comphelper/processfactory.hxx> +#include <com/sun/star/util/XNumberFormatTypes.hpp> +#include <bf_svx/langitem.hxx> +#include <bf_svx/unomid.hxx> +#include <bf_svtools/numuno.hxx> + +#include <unomailmerge.hxx> + +#include <bf_sfx2/event.hxx> +#include <vcl/msgbox.hxx> +#include <bf_svx/dataaccessdescriptor.hxx> +#include <cppuhelper/implbase1.hxx> +#include <osl/mutex.hxx> +#include <legacysmgr/legacy_binfilters_smgr.hxx> +#include "bf_so3/staticbaseurl.hxx" + +namespace binfilter { +using namespace svx; +using namespace ::com::sun::star; +using namespace ::com::sun::star::text; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::container; +using namespace ::com::sun::star::frame; +using namespace ::com::sun::star::lang; +using namespace ::com::sun::star::sdb; +using namespace ::com::sun::star::sdbc; +using namespace ::com::sun::star::sdbcx; +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::util; +using namespace ::com::sun::star::task; + +#define C2S(cChar) String::CreateFromAscii(cChar) +#define C2U(cChar) ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(cChar)) + +#define DB_SEP_SPACE 0 +#define DB_SEP_TAB 1 +#define DB_SEP_RETURN 2 +#define DB_SEP_NEWLINE 3 + +/*N*/ SV_IMPL_PTRARR(SwDSParamArr, SwDSParamPtr); +const sal_Char cCursor[] = "Cursor"; +const sal_Char cCommand[] = "Command"; +const sal_Char cCommandType[] = "CommandType"; +const sal_Char cDataSourceName[] = "DataSourceName"; +const sal_Char cSelection[] = "Selection"; +const sal_Char cActiveConnection[] = "ActiveConnection"; + +/* -----------------09.12.2002 12:35----------------- + * + * --------------------------------------------------*/ + +/*N*/ class SwConnectionDisposedListener_Impl : public cppu::WeakImplHelper1 +/*N*/ < ::com::sun::star::lang::XEventListener > +/*N*/ { +/*N*/ SwNewDBMgr& rDBMgr; +/*N*/ +/*N*/ virtual void SAL_CALL disposing( const EventObject& Source ) throw (RuntimeException); +/*N*/ public: +/*N*/ SwConnectionDisposedListener_Impl(SwNewDBMgr& rMgr); +/*N*/ ~SwConnectionDisposedListener_Impl(); +/*N*/ +/*N*/ }; +// ----------------------------------------------------------------------------- +/*N*/ struct SwNewDBMgr_Impl +/*N*/ { +/*N*/ SwDSParam* pMergeData; +/*N*/ SwMailMergeDlg* pMergeDialog; +/*N*/ Reference<XEventListener> xDisposeListener; +/*N*/ +/*N*/ SwNewDBMgr_Impl(SwNewDBMgr& rDBMgr) +/*N*/ :pMergeData(0) +/*N*/ ,pMergeDialog(0) +/*N*/ ,xDisposeListener(new SwConnectionDisposedListener_Impl(rDBMgr)) +/*N*/ {} +/*N*/ }; + +/*-------------------------------------------------------------------- + Beschreibung: CTOR + --------------------------------------------------------------------*/ + +/*N*/ SwNewDBMgr::SwNewDBMgr() : +/*N*/ pImpl(new SwNewDBMgr_Impl(*this)), +/*N*/ pMergeEvtSrc(NULL), +/*N*/ bInMerge(FALSE), +/*N*/ bMergeLock(FALSE), +/*N*/ bMergeSilent(FALSE), +/*N*/ nMergeType(DBMGR_INSERT), +/*N*/ bInitDBFields(FALSE) +/*N*/ { +/*N*/ } +/* -----------------------------18.07.00 08:56-------------------------------- + + ---------------------------------------------------------------------------*/ +/*M*/ SwNewDBMgr::~SwNewDBMgr() +/*M*/ { +/*M*/ for(USHORT nPos = 0; nPos < aDataSourceParams.Count(); nPos++) +/*M*/ { +/*M*/ SwDSParam* pParam = aDataSourceParams[nPos]; +/*M*/ if(pParam->xConnection.is()) +/*M*/ { +/*M*/ try +/*M*/ { +/*M*/ Reference<XComponent> xComp(pParam->xConnection, UNO_QUERY); +/*M*/ if(xComp.is()) +/*M*/ xComp->dispose(); +/*M*/ } +/*M*/ catch(const RuntimeException& ) +/*M*/ { +/*M*/ //may be disposed already since multiple entries may have used the same connection +/*M*/ } +/*M*/ } +/*M*/ } +/*M*/ delete pImpl; +/*M*/ } +/* -----------------------------03.07.00 17:12-------------------------------- + + ---------------------------------------------------------------------------*/ +/*?*/ Reference< sdbc::XConnection> SwNewDBMgr::GetConnection(const String& rDataSource, +/*?*/ Reference<XDataSource>& rxSource) +/*?*/ { +/*?*/ Reference< sdbc::XConnection> xConnection; +/*?*/ Reference<XNameAccess> xDBContext; +/*?*/ Reference< XMultiServiceFactory > xMgr( ::legacy_binfilters::getLegacyProcessServiceFactory() ); +/*?*/ if( xMgr.is() ) +/*?*/ { +/*?*/ Reference<XInterface> xInstance = xMgr->createInstance( C2U( "com.sun.star.sdb.DatabaseContext" )); +/*?*/ xDBContext = Reference<XNameAccess>(xInstance, UNO_QUERY) ; +/*?*/ } +/*?*/ DBG_ASSERT(xDBContext.is(), "com.sun.star.sdb.DataBaseContext: service not available"); +/*?*/ if(xDBContext.is()) +/*?*/ { +/*?*/ try +/*?*/ { +/*?*/ if(xDBContext->hasByName(rDataSource)) +/*?*/ { +/*?*/ Reference<XCompletedConnection> xComplConnection; +/*?*/ xDBContext->getByName(rDataSource) >>= xComplConnection; +/*?*/ rxSource = Reference<XDataSource>(xComplConnection, UNO_QUERY); +/*?*/ +/*?*/ Reference< XInteractionHandler > xHandler( +/*?*/ xMgr->createInstance( C2U( "com.sun.star.sdb.InteractionHandler" )), UNO_QUERY); +/*?*/ xConnection = xComplConnection->connectWithCompletion( xHandler ); +/*?*/ } +/*?*/ } +/*?*/ catch(Exception&) {} +/*?*/ } +/*?*/ return xConnection; +/*?*/ } +/* -----------------------------06.07.00 14:28-------------------------------- + checks if a desired data source table or query is open + ---------------------------------------------------------------------------*/ +/*N*/ BOOL SwNewDBMgr::IsDataSourceOpen(const String& rDataSource, +/*N*/ const String& rTableOrQuery, sal_Bool bMergeOnly) +/*N*/ { +/*N*/ if(pImpl->pMergeData) +/*N*/ { +/*N*/ return !bMergeLock && +/*N*/ rDataSource == (String)pImpl->pMergeData->sDataSource && +/*N*/ rTableOrQuery == (String)pImpl->pMergeData->sCommand && +/*N*/ pImpl->pMergeData->xResultSet.is(); +/*N*/ } +/*N*/ else if(!bMergeOnly) +/*N*/ { +/*N*/ SwDBData aData; +/*N*/ aData.sDataSource = rDataSource; +/*N*/ aData.sCommand = rTableOrQuery; +/*N*/ aData.nCommandType = -1; +/*N*/ SwDSParam* pFound = FindDSData(aData, FALSE); +/*N*/ return (pFound && pFound->xResultSet.is()); +/*N*/ } +/*N*/ return sal_False; +/*N*/ } +/* -----------------------------10.07.01 14:28-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ BOOL SwNewDBMgr::ToNextRecord( +/*N*/ const String& rDataSource, const String& rCommand, sal_Int32 nCommandType) +/*N*/ { +/*N*/ SwDSParam* pFound = 0; +/*N*/ BOOL bRet = TRUE; +/*N*/ if(pImpl->pMergeData && +/*N*/ rDataSource == (String)pImpl->pMergeData->sDataSource && +/*N*/ rCommand == (String)pImpl->pMergeData->sCommand) +/*N*/ pFound = pImpl->pMergeData; +/*N*/ else +/*N*/ { +/*N*/ SwDBData aData; +/*N*/ aData.sDataSource = rDataSource; +/*N*/ aData.sCommand = rCommand; +/*N*/ aData.nCommandType = -1; +/*N*/ pFound = FindDSData(aData, FALSE); +/*N*/ } +/*N*/ return ToNextRecord(pFound); +/*N*/ } +/* -----------------------------10.07.01 14:38-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ BOOL SwNewDBMgr::ToNextRecord(SwDSParam* pParam) +/*N*/ { +/*N*/ BOOL bRet = TRUE; +/*N*/ if(!pParam || !pParam->xResultSet.is() || pParam->bEndOfDB || +/*N*/ (pParam->aSelection.getLength() && pParam->aSelection.getLength() <= pParam->nSelectionIndex)) +/*N*/ { +/*N*/ if(pParam) +/*N*/ pParam->CheckEndOfDB(); +/*N*/ return FALSE; +/*N*/ } +/*N*/ try +/*N*/ { +/*N*/ if(pParam->aSelection.getLength()) +/*N*/ { +/*N*/ sal_Int32 nPos = 0; +/*N*/ pParam->aSelection.getConstArray()[ pParam->nSelectionIndex++ ] >>= nPos; +/*N*/ pParam->bEndOfDB = !pParam->xResultSet->absolute( nPos ); +/*N*/ pParam->CheckEndOfDB(); +/*N*/ bRet = !pParam->bEndOfDB; +/*N*/ if(pParam->nSelectionIndex >= pParam->aSelection.getLength()) +/*N*/ pParam->bEndOfDB = TRUE; +/*N*/ } +/*N*/ else +/*N*/ { +/*N*/ pParam->bEndOfDB = !pParam->xResultSet->next(); +/*N*/ pParam->CheckEndOfDB(); +/*N*/ bRet = !pParam->bEndOfDB; +/*N*/ ++pParam->nSelectionIndex; +/*N*/ } +/*N*/ } +/*N*/ catch(Exception&) +/*N*/ { +/*N*/ } +/*N*/ return bRet; +/*N*/ } + +/* -----------------------------13.07.00 10:41-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ sal_uInt32 SwNewDBMgr::GetSelectedRecordId() +/*N*/ { +/*N*/ sal_uInt32 nRet = 0; +/*N*/ DBG_ASSERT(pImpl->pMergeData && pImpl->pMergeData->xResultSet.is(), "no data source in merge"); +/*N*/ if(!pImpl->pMergeData || !pImpl->pMergeData->xResultSet.is()) +/*N*/ return FALSE; +/*N*/ try +/*N*/ { +/*N*/ nRet = pImpl->pMergeData->xResultSet->getRow(); +/*N*/ } +/*N*/ catch(Exception& ) +/*N*/ { +/*N*/ } +/*N*/ return nRet; +/*N*/ } +/* -----------------------------13.07.00 10:58-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ sal_Bool SwNewDBMgr::ToRecordId(sal_Int32 nSet) +/*N*/ {DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001 +/*N*/ } +/* -----------------------------17.07.00 14:17-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ BOOL SwNewDBMgr::OpenDataSource(const String& rDataSource, const String& rTableOrQuery, sal_Int32 nCommandType) +/*N*/ { +/*?*/ SwDBData aData; +/*?*/ aData.sDataSource = rDataSource; +/*?*/ aData.sCommand = rTableOrQuery; +/*?*/ aData.nCommandType = nCommandType; +/*?*/ +/*?*/ SwDSParam* pFound = FindDSData(aData, TRUE); +/*?*/ Reference< XDataSource> xSource; +/*?*/ if(pFound->xResultSet.is()) +/*?*/ return TRUE; +/*?*/ SwDSParam* pParam = FindDSConnection(rDataSource, FALSE); +/*?*/ Reference< XConnection> xConnection; +/*?*/ if(pParam && pParam->xConnection.is()) +/*?*/ pFound->xConnection = pParam->xConnection; +/*?*/ else +/*?*/ { +/*?*/ ::rtl::OUString sDataSource(rDataSource); +/*?*/ pFound->xConnection = RegisterConnection( sDataSource ); +/*?*/ } +/*?*/ if(pFound->xConnection.is()) +/*?*/ { +/*?*/ try +/*?*/ { +/*?*/ Reference< sdbc::XDatabaseMetaData > xMetaData = pFound->xConnection->getMetaData(); +/*?*/ try +/*?*/ { +/*?*/ pFound->bScrollable = xMetaData +/*?*/ ->supportsResultSetType((sal_Int32)ResultSetType::SCROLL_INSENSITIVE); +/*?*/ } +/*?*/ catch(Exception&) +/*?*/ { +/*?*/ //#98373# DB driver may not be ODBC 3.0 compliant +/*?*/ pFound->bScrollable = TRUE; +/*?*/ } +/*?*/ pFound->xStatement = pFound->xConnection->createStatement(); +/*?*/ ::rtl::OUString aQuoteChar = xMetaData->getIdentifierQuoteString(); +/*?*/ ::rtl::OUString sStatement(C2U("SELECT * FROM ")); +/*?*/ sStatement = C2U("SELECT * FROM "); +/*?*/ sStatement += aQuoteChar; +/*?*/ sStatement += rTableOrQuery; +/*?*/ sStatement += aQuoteChar; +/*?*/ pFound->xResultSet = pFound->xStatement->executeQuery( sStatement ); +/*?*/ +/*?*/ //after executeQuery the cursor must be positioned +/*?*/ pFound->bEndOfDB = !pFound->xResultSet->next(); +/*?*/ pFound->bAfterSelection = sal_False; +/*?*/ pFound->CheckEndOfDB(); +/*?*/ ++pFound->nSelectionIndex; +/*?*/ } +/*?*/ catch (Exception&) +/*?*/ { +/*?*/ pFound->xResultSet = 0; +/*?*/ pFound->xStatement = 0; +/*?*/ pFound->xConnection = 0; +/*?*/ } +/*?*/ } +/*?*/ return pFound->xResultSet.is(); +/*N*/ } +/* -----------------------------14.08.2001 10:26------------------------------ + + ---------------------------------------------------------------------------*/ +/*?*/ Reference< XConnection> SwNewDBMgr::RegisterConnection(::rtl::OUString& rDataSource) +/*?*/ { +/*?*/ SwDSParam* pFound = SwNewDBMgr::FindDSConnection(rDataSource, TRUE); +/*?*/ Reference< XDataSource> xSource; +/*?*/ if(!pFound->xConnection.is()) +/*?*/ { +/*?*/ pFound->xConnection = SwNewDBMgr::GetConnection(rDataSource, xSource ); +/*?*/ try +/*?*/ { +/*?*/ Reference<XComponent> xComponent(pFound->xConnection, UNO_QUERY); +/*?*/ if(xComponent.is()) +/*?*/ xComponent->addEventListener(pImpl->xDisposeListener); +/*?*/ } +/*?*/ catch(Exception&) +/*?*/ { +/*?*/ } +/*?*/ } +/*?*/ return pFound->xConnection; +/*?*/ } +/* -----------------------------17.07.00 15:55-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ sal_uInt32 SwNewDBMgr::GetSelectedRecordId( +/*N*/ const String& rDataSource, const String& rTableOrQuery, sal_Int32 nCommandType) +/*N*/ { +/*N*/ sal_uInt32 nRet = -1; +/*N*/ //check for merge data source first +/*N*/ if(pImpl->pMergeData && rDataSource == (String)pImpl->pMergeData->sDataSource && +/*N*/ rTableOrQuery == (String)pImpl->pMergeData->sCommand && +/*N*/ (nCommandType == -1 || nCommandType == pImpl->pMergeData->nCommandType) && +/*N*/ pImpl->pMergeData->xResultSet.is()) +/*N*/ nRet = GetSelectedRecordId(); +/*N*/ else +/*N*/ { +/*N*/ SwDBData aData; +/*N*/ aData.sDataSource = rDataSource; +/*N*/ aData.sCommand = rTableOrQuery; +/*N*/ aData.nCommandType = nCommandType; +/*N*/ SwDSParam* pFound = FindDSData(aData, FALSE); +/*N*/ if(pFound && pFound->xResultSet.is()) +/*N*/ { +/*N*/ try +/*N*/ { //if a selection array is set the current row at the result set may not be set yet +/*N*/ if(pFound->aSelection.getLength()) +/*N*/ { +/*N*/ sal_Int32 nSelIndex = pFound->nSelectionIndex; +/*N*/ if(nSelIndex >= pFound->aSelection.getLength()) +/*N*/ nSelIndex = pFound->aSelection.getLength() -1; +/*N*/ pFound->aSelection.getConstArray()[nSelIndex] >>= nRet; +/*N*/ +/*N*/ } +/*N*/ else +/*N*/ nRet = pFound->xResultSet->getRow(); +/*N*/ } +/*N*/ catch(Exception&){} +/*N*/ } +/*N*/ } +/*N*/ return nRet; +/*N*/ } + +/* -----------------------------17.07.00 14:18-------------------------------- + close all data sources - after fields were updated + ---------------------------------------------------------------------------*/ +/*N*/ void SwNewDBMgr::CloseAll(BOOL bIncludingMerge) +/*N*/ { +/*N*/ //the only thing done here is to reset the selection index +/*N*/ //all connections stay open +/*N*/ for(USHORT nPos = 0; nPos < aDataSourceParams.Count(); nPos++) +/*N*/ { +/*N*/ SwDSParam* pParam = aDataSourceParams[nPos]; +/*N*/ if(bIncludingMerge || pParam != pImpl->pMergeData) +/*N*/ { +/*N*/ pParam->nSelectionIndex = 0; +/*N*/ pParam->bAfterSelection = sal_False; +/*N*/ try +/*N*/ { +/*N*/ if(!bInMerge && pParam->xResultSet.is()) +/*N*/ pParam->xResultSet->first(); +/*N*/ } +/*N*/ catch(Exception& ) +/*N*/ {} +/*N*/ } +/*N*/ } +/*N*/ } +/* -----------------------------17.07.00 14:54-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ SwDSParam* SwNewDBMgr::FindDSData(const SwDBData& rData, BOOL bCreate) +/*N*/ { +/*N*/ SwDSParam* pFound = 0; +/*N*/ for(USHORT nPos = aDataSourceParams.Count(); nPos; nPos--) +/*N*/ { +/*N*/ SwDSParam* pParam = aDataSourceParams[nPos - 1]; +/*N*/ if(rData.sDataSource == pParam->sDataSource && +/*N*/ rData.sCommand == pParam->sCommand && +/*N*/ (rData.nCommandType == -1 || rData.nCommandType == pParam->nCommandType || +/*N*/ (bCreate && pParam->nCommandType == -1))) +/*N*/ { +/*N*/ //#94779# calls from the calculator may add a connection with an invalid commandtype +/*N*/ //later added "real" data base connections have to re-use the already available +/*N*/ //DSData and set the correct CommandType +/*N*/ if(bCreate && pParam->nCommandType == -1) +/*N*/ pParam->nCommandType = rData.nCommandType; +/*N*/ pFound = pParam; +/*N*/ break; +/*N*/ } +/*N*/ } +/*N*/ if(bCreate) +/*N*/ { +/*N*/ if(!pFound) +/*N*/ { +/*N*/ pFound = new SwDSParam(rData); +/*N*/ aDataSourceParams.Insert(pFound, aDataSourceParams.Count()); +/*N*/ try +/*N*/ { +/*N*/ Reference<XComponent> xComponent(pFound->xConnection, UNO_QUERY); +/*N*/ if(xComponent.is()) +/*N*/ xComponent->addEventListener(pImpl->xDisposeListener); +/*N*/ } +/*N*/ catch(Exception&) +/*N*/ { +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ return pFound; +/*N*/ } +/* -----------------------------14.08.2001 10:27------------------------------ + + ---------------------------------------------------------------------------*/ +/*N*/ SwDSParam* SwNewDBMgr::FindDSConnection(const ::rtl::OUString& rDataSource, BOOL bCreate) +/*N*/ { +/*N*/ SwDSParam* pFound = 0; +/*N*/ for(USHORT nPos = 0; nPos < aDataSourceParams.Count(); nPos++) +/*N*/ { +/*N*/ SwDSParam* pParam = aDataSourceParams[nPos]; +/*N*/ if(rDataSource == pParam->sDataSource) +/*N*/ { +/*N*/ pFound = pParam; +/*N*/ break; +/*N*/ } +/*N*/ } +/*N*/ if(bCreate && !pFound) +/*N*/ { +/*?*/ SwDBData aData; +/*?*/ aData.sDataSource = rDataSource; +/*?*/ pFound = new SwDSParam(aData); +/*?*/ aDataSourceParams.Insert(pFound, aDataSourceParams.Count()); +/*?*/ try +/*?*/ { +/*?*/ Reference<XComponent> xComponent(pFound->xConnection, UNO_QUERY); +/*?*/ if(xComponent.is()) +/*?*/ xComponent->addEventListener(pImpl->xDisposeListener); +/*?*/ } +/*?*/ catch(Exception&) +/*?*/ { +/*?*/ } +/*N*/ } +/*N*/ return pFound; +/*N*/ } + +/* -----------------------------17.07.00 14:31-------------------------------- + rDBName: <Source> + DB_DELIM + <Table>; + <Statement> + ---------------------------------------------------------------------------*/ +/*M*/ void SwNewDBMgr::AddDSData(const SwDBData& rData, long nSelStart, long nSelEnd) +/*M*/ { +/*M*/ SwDSParam* pFound = FindDSData(rData, TRUE); +/*M*/ if(nSelStart > 0) +/*M*/ { +/*M*/ if(nSelEnd < nSelStart) +/*M*/ { +/*M*/ sal_uInt32 nZw = nSelEnd; +/*M*/ nSelEnd = nSelStart; +/*M*/ nSelStart = nZw; +/*M*/ } +/*M*/ +/*M*/ pFound->aSelection.realloc(nSelEnd - nSelStart + 1); +/*M*/ Any* pSelection = pFound->aSelection.getArray(); +/*M*/ for (long i = nSelStart; i <= nSelEnd; i++, ++pSelection) +/*M*/ *pSelection <<= i; +/*M*/ } +/*M*/ else +/*M*/ pFound->aSelection.realloc(0); +/*M*/ } +/* -----------------------------17.07.00 14:31-------------------------------- + + ---------------------------------------------------------------------------*/ +/*M*/ void SwNewDBMgr::GetDSSelection(const SwDBData& rData, long& rSelStart, long& rSelEnd) +/*M*/ { +/*M*/ SwDSParam* pFound = FindDSData(rData, FALSE); +/*M*/ if(!pFound || !pFound->aSelection.getLength()) +/*M*/ rSelStart = -1L; +/*M*/ else +/*M*/ { +/*M*/ pFound->aSelection.getConstArray()[0] >>= rSelStart; +/*M*/ pFound->aSelection.getConstArray()[pFound->aSelection.getLength() - 1] >>= rSelEnd; +/*M*/ } +/*M*/ } +/* -----------------------------17.07.00 14:34-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ const SwDBData& SwNewDBMgr::GetAddressDBName() +/*N*/ { +/*N*/ return SW_MOD()->GetDBConfig()->GetAddressSource(); +/*N*/ } +/* -----------------------------30.08.2001 12:00------------------------------ + + ---------------------------------------------------------------------------*/ +SwDbtoolsClient* SwNewDBMgr::pDbtoolsClient = NULL; + +/* -----------------09.12.2002 12:38----------------- + * + * --------------------------------------------------*/ +/*N*/ SwConnectionDisposedListener_Impl::SwConnectionDisposedListener_Impl(SwNewDBMgr& rMgr) : +/*N*/ rDBMgr(rMgr) +/*N*/ {}; +/* -----------------09.12.2002 12:39----------------- + * + * --------------------------------------------------*/ +/*N*/ SwConnectionDisposedListener_Impl::~SwConnectionDisposedListener_Impl() +/*N*/ {}; +/* -----------------09.12.2002 12:39----------------- + * + * --------------------------------------------------*/ +/*N*/ void SwConnectionDisposedListener_Impl::disposing( const EventObject& rSource ) +/*N*/ throw (RuntimeException) +/*N*/ { +/*N*/ SolarMutexGuard aGuard; +/*N*/ Reference<XConnection> xSource(rSource.Source, UNO_QUERY); +/*N*/ for(USHORT nPos = rDBMgr.aDataSourceParams.Count(); nPos; nPos--) +/*N*/ { +/*N*/ SwDSParam* pParam = rDBMgr.aDataSourceParams[nPos - 1]; +/*N*/ if(pParam->xConnection.is() && +/*N*/ (xSource == pParam->xConnection)) +/*N*/ { +/*N*/ rDBMgr.aDataSourceParams.DeleteAndDestroy(nPos - 1); +/*N*/ } +/*N*/ } +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/dialog/makefile.mk b/binfilter/bf_sw/source/ui/dialog/makefile.mk new file mode 100644 index 000000000000..431da414a3d2 --- /dev/null +++ b/binfilter/bf_sw/source/ui/dialog/makefile.mk @@ -0,0 +1,54 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_dialog + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_regionsw.src + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/dialog/regionsw.hrc b/binfilter/bf_sw/source/ui/dialog/regionsw.hrc new file mode 100644 index 000000000000..05a881b88174 --- /dev/null +++ b/binfilter/bf_sw/source/ui/dialog/regionsw.hrc @@ -0,0 +1,103 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _REGIONSW_HRC +#define _REGIONSW_HRC + +#define CB_DDE 1 +#define CB_DISMISS 2 +#define CB_END_AT_TXTEND 3 +#define CB_END_NUM 4 +#define CB_FILE 5 +#define CB_FTN_AT_TXTEND 6 +#define CB_FTN_NUM 7 +#define CB_HIDE 8 +#define CB_PASSWD 9 +#define CB_PROTECT 10 +#define CB_FTN_NUM_FMT 11 +#define CB_END_NUM_FMT 12 +#define ED_CONDITION 13 +#define ED_END_PREFIX 14 +#define ED_END_SUFFIX 15 +#define ED_FILE 16 +#define ED_FTN_PREFIX 17 +#define ED_FTN_SUFFIX 18 +#define ED_RANAME 19 +#define ED_RNAME 20 +#define FT_CONDITION 21 +#define FL_EDIT_OPTIONS 22 +#define FLD_END_OFFSET 23 +#define FLD_FTN_OFFSET 24 +#define FT_DDE 25 +#define FT_END_OFFSET 26 +#define FT_END_PREFIX 27 +#define FT_END_SUFFIX 28 +#define FT_FILE 29 +#define FT_FTN_OFFSET 30 +#define FT_FTN_PREFIX 31 +#define FT_FTN_SUFFIX 32 +#define FT_RNAME 33 +#define FT_SUBREG 34 +#define LB_END_NUMVIEW 36 +#define LB_FTN_NUMVIEW 37 +#define LB_SUBREG 38 +#define PB_CANCEL 39 +#define PB_FILE 40 +#define PB_HELP 41 +#define PB_OK 42 +#define PB_OPTIONS 43 +#define PB_SAVED 44 +#define ST_INSERT 45 +#define TLB_SECTION 46 +#define FL_NAME 47 +#define FL_LINK 48 +#define FL_PROTECT 49 +#define FL_HIDE 50 +#define PB_PASSWD 51 +#define FL_END 52 +#define FL_FTN 53 +#define IL_BITMAPS 54 +#define ILH_BITMAPS 55 + +/* Globale Resourcen */ + +#define MD_INS_REGION (RC_REGIONSW_BEGIN+8) + +//ImageList elements +#define BMP_HIDE 1 +#define BMP_NO_HIDE 2 +#define BMP_PROT_HIDE 3 +#define BMP_PROT_NO_HIDE 4 + +//SwSectionIndentTabPage +#define FL_INDENT 1 +#define FT_BEFORE 2 +#define MF_BEFORE 3 +#define FT_AFTER 4 +#define MF_AFTER 5 +#define WIN_PREVIEW 6 + +#endif diff --git a/binfilter/bf_sw/source/ui/dialog/sw_regionsw.src b/binfilter/bf_sw/source/ui/dialog/sw_regionsw.src new file mode 100644 index 000000000000..ac225372574d --- /dev/null +++ b/binfilter/bf_sw/source/ui/dialog/sw_regionsw.src @@ -0,0 +1,401 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#include "regionsw.hrc" +#include "cmdid.h" +#include "globals.hrc" +#include "helpid.h" +/************************************************************************* + + Dialog "Bereich einfuegen" + +*************************************************************************/ +#define FT_SUBREG_TEXT \ + Text [ de ] = "Berei~ch" ; \ + Text [ en-US ] = "~Section" ; \ + Text [ x-comment ] = "; : - -"; \ + Text[ pt ] = "Secção";\ + Text[ ru ] = "Раздел";\ + Text[ el ] = "Ε~νότητα";\ + Text[ nl ] = "~Bereik";\ + Text[ fr ] = "~Section";\ + Text[ es ] = "~Sección";\ + Text[ fi ] = "Osa";\ + Text[ ca ] = "~Secció";\ + Text[ it ] = "~Sezione";\ + Text[ sk ] = "Obla~sť";\ + Text[ da ] = "Område";\ + Text[ sv ] = "~Område";\ + Text[ pl ] = "~Sekcja";\ + Text[ pt-BR ] = "~Seção";\ + Text[ th ] = "~ส่วน";\ + Text[ ja ] = "範囲(~S)";\ + Text[ ko ] = "구역(~S)";\ + Text[ zh-CN ] = "区域(~S)";\ + Text[ zh-TW ] = "區域(~S)";\ + Text[ tr ] = "Bölüm";\ + Text[ hi-IN ] = "~विभाग";\ + Text[ ar ] = "النطاق";\ + Text[ he ] = "מיקטע";\ + +#define CB_HIDE_TEXT \ + Text [ de ] = "Aus~blenden" ; \ + Text [ en-US ] = "H~ide" ; \ + Text[ pt ] = "~Ocultar";\ + Text[ ru ] = "Скрыть";\ + Text[ el ] = "Α~πόκρυψη";\ + Text[ nl ] = "~Verbergen";\ + Text[ fr ] = "~Masquer";\ + Text[ es ] = "Ocultar";\ + Text[ fi ] = "Piilotettu";\ + Text[ ca ] = "O~cult";\ + Text[ it ] = "Nascondi";\ + Text[ sk ] = "S~kryť";\ + Text[ da ] = "Skjul";\ + Text[ sv ] = "~Dölj";\ + Text[ pl ] = "Ukr~yj";\ + Text[ pt-BR ] = "~Ocultar";\ + Text[ th ] = "ซ่~อน";\ + Text[ ja ] = "非表示(~I)";\ + Text[ ko ] = "숨기기(~I)";\ + Text[ zh-CN ] = "隐入(~I)";\ + Text[ zh-TW ] = "隱入(~I)";\ + Text[ tr ] = "Gizle";\ + Text[ hi-IN ] = "छि~पाओ";\ + Text[ ar ] = "مخفي";\ + Text[ he ] = "Aus~blenden";\ + +#define FL_HIDE_TEXT \ + Text [ de ] = "Ausblenden" ; \ + Text [ en-US ] = "Hide" ; \ + Text[ pt ] = "Ocultar";\ + Text[ ru ] = "Скрыть";\ + Text[ el ] = "Απόκρυψη";\ + Text[ nl ] = "Verbergen";\ + Text[ fr ] = "Masquer";\ + Text[ es ] = "Ocultar";\ + Text[ fi ] = "Piilotettu";\ + Text[ ca ] = "Ocult";\ + Text[ it ] = "Nascondi";\ + Text[ sk ] = "Skryť";\ + Text[ da ] = "Skjul";\ + Text[ sv ] = "Dölj";\ + Text[ pl ] = "Ukryj";\ + Text[ pt-BR ] = "Oculto";\ + Text[ th ] = "ซ่อน";\ + Text[ ja ] = "表示しない";\ + Text[ ko ] = "숨기기";\ + Text[ zh-CN ] = "隐藏";\ + Text[ zh-TW ] = "隱入";\ + Text[ tr ] = "Gizle";\ + Text[ hi-IN ] = "छिपाओ";\ + Text[ ar ] = "مخفي";\ + Text[ he ] = "Ausblenden";\ + +#define CB_CONDITION_TEXT \ + Text [ de ] = "Mi~t Bedingung" ; \ + Text [ en-US ] = "~With Condition" ; \ + Text[ pt ] = "~Com condição";\ + Text[ ru ] = "При условии";\ + Text[ el ] = "Με συνθήκ~η";\ + Text[ nl ] = "~Met conditie";\ + Text[ fr ] = "Sous ~condition";\ + Text[ es ] = "Con condición";\ + Text[ fi ] = "Ehdolla";\ + Text[ ca ] = "Amb ~condició";\ + Text[ it ] = "Con condi~zione";\ + Text[ sk ] = "S ~podmienkou";\ + Text[ da ] = "Med betingelse";\ + Text[ sv ] = "Med v~illkor";\ + Text[ pl ] = "~Uwzględniając warunek";\ + Text[ pt-BR ] = "~Com condição";\ + Text[ th ] = "~ด้วยเงื่อนไข";\ + Text[ ja ] = "条件付き(~W)";\ + Text[ ko ] = "다음의 조건을 포함(~W)";\ + Text[ zh-CN ] = "附加条件(~W)";\ + Text[ zh-TW ] = "附加條件(~W)";\ + Text[ tr ] = "~Koşullu";\ + Text[ hi-IN ] = "~शर्त के सहित";\ + Text[ ar ] = "بشرط";\ + Text[ he ] = "Mi~t Bedingung";\ + +#define FL_FILE_TEXT \ + Text [ de ] = "Verknüpfung" ; \ + Text [ en-US ] = "Link" ; \ + Text[ pt ] = "Ligação";\ + Text[ ru ] = "Связь";\ + Text[ el ] = "Σύνδεση";\ + Text[ nl ] = "Koppeling";\ + Text[ fr ] = "Lien";\ + Text[ es ] = "Vínculo";\ + Text[ fi ] = "Linkki";\ + Text[ ca ] = "Enllaç";\ + Text[ it ] = "Collegamento";\ + Text[ sk ] = "Odkaz";\ + Text[ da ] = "Kæde";\ + Text[ sv ] = "Länk";\ + Text[ pl ] = "Łącze";\ + Text[ pt-BR ] = "Vínculo";\ + Text[ th ] = "เชื่อมโยง";\ + Text[ ja ] = "リンク(L)";\ + Text[ ko ] = "링크";\ + Text[ zh-CN ] = "链接";\ + Text[ zh-TW ] = "捷徑";\ + Text[ tr ] = "Bağlantı";\ + Text[ hi-IN ] = "लिंक";\ + Text[ ar ] = "ارتباط";\ + Text[ he ] = "Verknüpfung";\ + +#define CB_FILE_TEXT\ + Text [ de ] = "~Verknüpfen" ; \ + Text [ en-US ] = "~Link"; \ + Text[ pt ] = "~Ligação";\ + Text[ ru ] = "~Связать";\ + Text[ el ] = "~Σύνδεση";\ + Text[ nl ] = "~Koppelen";\ + Text[ fr ] = "~Lier";\ + Text[ es ] = "~Vínculo";\ + Text[ fi ] = "Linkitä";\ + Text[ ca ] = "En~llaç";\ + Text[ it ] = "~Collegamento";\ + Text[ sk ] = "O~dkaz";\ + Text[ da ] = "~Kæd";\ + Text[ sv ] = "~Länka";\ + Text[ pl ] = "Połąc~z";\ + Text[ pt-BR ] = "~Vínculo";\ + Text[ th ] = "เ~ชื่อมโยง";\ + Text[ ja ] = "リンク(~L)";\ + Text[ ko ] = "연결(~L)";\ + Text[ zh-CN ] = "链接(~L)";\ + Text[ zh-TW ] = "捷徑(~L)";\ + Text[ tr ] = "~Bağlantı";\ + Text[ hi-IN ] = "~की संख्या";\ + Text[ ar ] = "ارتباط";\ + Text[ he ] = "~Verknüpfen";\ + +#define CB_DDE_TEXT \ + Text [ de ] = "~DDE" ; \ + Text [ en-US ] = "DD~E" ; \ + Text[ pt ] = "~DDE";\ + Text[ ru ] = "~DDE";\ + Text[ el ] = "~DDE";\ + Text[ nl ] = "~DDE";\ + Text[ fr ] = "DDE";\ + Text[ es ] = "~DDE";\ + Text[ fi ] = "DDE";\ + Text[ ca ] = "DD~E";\ + Text[ it ] = "~DDE";\ + Text[ sk ] = "DD~E";\ + Text[ da ] = "DDE";\ + Text[ sv ] = "DD~E";\ + Text[ pl ] = "~DDE";\ + Text[ pt-BR ] = "~DDE";\ + Text[ th ] = "DD~E";\ + Text[ ja ] = "DD~E";\ + Text[ ko ] = "DD~E";\ + Text[ zh-CN ] = "DD~E";\ + Text[ zh-TW ] = "DD~E";\ + Text[ tr ] = "DD~E";\ + Text[ hi-IN ] = "DD~E";\ + Text[ ar ] = "DDE~";\ + Text[ he ] = "~DDE";\ + +#define FT_DDE_TEXT \ + Text [ de ] = "DDE~-Befehl" ; \ + Text [ en-US ] = "DDE ~command" ; \ + Text[ pt ] = "~Comando DDE";\ + Text[ ru ] = "Команда DDE~";\ + Text[ el ] = "~Εντολή DDE";\ + Text[ nl ] = "~DDE-opdracht";\ + Text[ fr ] = "Commande ~DDE";\ + Text[ es ] = "~Orden DDE";\ + Text[ fi ] = "DDE-komento";\ + Text[ ca ] = "~Ordre DDE";\ + Text[ it ] = "Comando DDE";\ + Text[ sk ] = "DDE ~príkaz";\ + Text[ da ] = "DDE-kommando";\ + Text[ sv ] = "DDE-~kommando";\ + Text[ pl ] = "P~olecenie DDE";\ + Text[ pt-BR ] = "~Comando DDE";\ + Text[ th ] = "~คำสั่ง DDE ";\ + Text[ ja ] = "DDE指示(~C)";\ + Text[ ko ] = "DDE 명령(~C)";\ + Text[ zh-CN ] = "DDE 指令(~C)";\ + Text[ zh-TW ] = "DDE - 指令(~C)";\ + Text[ tr ] = "DDE komutu";\ + Text[ hi-IN ] = "DDE ~आज्ञा";\ + Text[ ar ] = "أمر DDE";\ + Text[ he ] = "DDE~-Befehl";\ + +#define FT_FILE_TEXT \ + Text [ de ] = "Dateina~me" ; \ + Text [ en-US ] = "~File name" ; \ + Text[ pt ] = "~Nome do ficheiro";\ + Text[ ru ] = "Имя файла";\ + Text[ el ] = "Όνο~μα αρχείου";\ + Text[ nl ] = "~Bestandsnaam";\ + Text[ fr ] = "Nom de ~fichier";\ + Text[ es ] = "~Nombre de archivo";\ + Text[ fi ] = "Tiedoston nimi";\ + Text[ ca ] = "Nom del ~fitxer";\ + Text[ it ] = "Nome file";\ + Text[ sk ] = "~Meno súboru";\ + Text[ da ] = "Filnavn";\ + Text[ sv ] = "~Filnamn";\ + Text[ pl ] = "~Nazwa pliku";\ + Text[ pt-BR ] = "~Nome do arquivo";\ + Text[ th ] = "ชื่อแ~ฟ้ม";\ + Text[ ja ] = "ファイル名(~F)";\ + Text[ ko ] = "파일 이름(~F)";\ + Text[ zh-CN ] = "文件名(~F)";\ + Text[ zh-TW ] = "檔案名稱(~F)";\ + Text[ tr ] = "Dosya adı";\ + Text[ hi-IN ] = "~फाइल नाम";\ + Text[ ar ] = "اسم الملف";\ + Text[ he ] = "שם קובץ";\ + +#define GB_HIDE_TEXT \ + Text [ de ] = "Verstecken" ; \ + Text [ en-US ] = "Hide"; \ + Text[ pt ] = "Ocultar";\ + Text[ ru ] = "Скрыть";\ + Text[ el ] = "Απόκρυψη";\ + Text[ nl ] = "Verbergen";\ + Text[ fr ] = "Masquer";\ + Text[ es ] = "Ocultar";\ + Text[ fi ] = "Piilota";\ + Text[ ca ] = "Oculta";\ + Text[ it ] = "Nascondi";\ + Text[ sk ] = "Skryť";\ + Text[ da ] = "Skjult";\ + Text[ sv ] = "Dölj";\ + Text[ pl ] = "Ukryj";\ + Text[ pt-BR ] = "Ocultar";\ + Text[ th ] = "ซ่อน";\ + Text[ ja ] = "隠す";\ + Text[ ko ] = "숨기기";\ + Text[ zh-CN ] = "隐入";\ + Text[ zh-TW ] = "隱入";\ + Text[ tr ] = "Gizle";\ + Text[ hi-IN ] = "छिपाओ";\ + Text[ ar ] = "إخفاء";\ + Text[ he ] = "Verstecken";\ + +#define GB_OPTIONS_TEXT \ + Text [ de ] = "Optionen" ; \ + Text [ en-US ] = "Options" ; \ + Text[ pt ] = "Opções";\ + Text[ ru ] = "Параметры";\ + Text[ el ] = "Επιλογές";\ + Text[ nl ] = "Opties";\ + Text[ fr ] = "Options";\ + Text[ es ] = "Opciones";\ + Text[ fi ] = "Asetukset";\ + Text[ ca ] = "Opcions";\ + Text[ it ] = "Opzioni";\ + Text[ sk ] = "Nastavenia";\ + Text[ da ] = "Indstillinger";\ + Text[ sv ] = "Alternativ";\ + Text[ pl ] = "Opcje";\ + Text[ pt-BR ] = "Opções";\ + Text[ th ] = "ตัวเลือก";\ + Text[ ja ] = "オプション";\ + Text[ ko ] = "옵션";\ + Text[ zh-CN ] = "选项";\ + Text[ zh-TW ] = "選項";\ + Text[ tr ] = "Seçenekler";\ + Text[ hi-IN ] = "विकल्प ";\ + Text[ ar ] = "الخيارات";\ + Text[ he ] = "אפשרויות";\ + +#define FL_PROTECT_TEXT \ + Text [ de ] = "Schreibschutz" ;\ + Text [ en-US ] = "Write protection"; \ + Text[ pt ] = "Protecção contra escrita";\ + Text[ ru ] = "Защита от изменений";\ + Text[ el ] = "Προστασία εγγραφής";\ + Text[ nl ] = "Schrijfbeveiliging";\ + Text[ fr ] = "Protection contre les modifications";\ + Text[ es ] = "Protección contra modificaciones";\ + Text[ fi ] = "Kirjoitussuojaus";\ + Text[ ca ] = "Protecció contra escriptura";\ + Text[ it ] = "Protetto";\ + Text[ sk ] = "Ochrana proti zápisu";\ + Text[ da ] = "Skrivebeskyttet";\ + Text[ sv ] = "Skrivskydd";\ + Text[ pl ] = "Zabezpieczenie przed zapisem";\ + Text[ pt-BR ] = "Proteção contra gravação";\ + Text[ th ] = "ป้องกันการเขียน";\ + Text[ ja ] = "書き込み保護";\ + Text[ ko ] = "쓰기 보호";\ + Text[ zh-CN ] = "防改写";\ + Text[ zh-TW ] = "唯讀";\ + Text[ tr ] = "Zarf metin yönü";\ + Text[ hi-IN ] = "लिखने से सुरक्षित";\ + Text[ ar ] = "Write protection";\ + Text[ he ] = "Schreibschutz";\ + +#define CB_PASSWD_TEXT\ + Text [ de ] = "Mit Kenn~wort" ;\ + Text [ en-US ] = "Wit~h password"; \ + Text[ pt ] = "Com ~senha";\ + Text[ ru ] = "Паролем";\ + Text[ el ] = "Με κω~δικό πρόσβασης";\ + Text[ nl ] = "~Met wachtwoord";\ + Text[ fr ] = "Avec mot de ~passe";\ + Text[ es ] = "Con c~ontraseña";\ + Text[ fi ] = "Myös salasana";\ + Text[ ca ] = "Am~b contrasenya";\ + Text[ it ] = "Con pass~word";\ + Text[ sk ] = "S ~heslom";\ + Text[ da ] = "~Med adgangskode";\ + Text[ sv ] = "~Med lösenord";\ + Text[ pl ] = "~Za pomocą hasła";\ + Text[ pt-BR ] = "Com ~senha";\ + Text[ th ] = "ด้ว~ยรหัสผ่าน";\ + Text[ ja ] = "パスワードを使用(~H)";\ + Text[ ko ] = "암호 사용(~H)";\ + Text[ zh-CN ] = "使用密码(~H)";\ + Text[ zh-TW ] = "採用密碼(~H)";\ + Text[ tr ] = "Şifre ile";\ + Text[ hi-IN ] = "कूटशब्द ~सहित";\ + Text[ ar ] = "With password";\ + Text[ he ] = "Mit Kenn~wort";\ + +/************************************************************************* + + Dialog "Bereiche bearbeiten" + +*************************************************************************/ + + + + + + + diff --git a/binfilter/bf_sw/source/ui/dochdl/dochdl.hrc b/binfilter/bf_sw/source/ui/dochdl/dochdl.hrc new file mode 100644 index 000000000000..d2c60727e65f --- /dev/null +++ b/binfilter/bf_sw/source/ui/dochdl/dochdl.hrc @@ -0,0 +1,49 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _DOCHDL_HRC +#define _DOCHDL_HRC + +#include "rcid.hrc" + + + +#define STR_PRIVATETEXT (RC_DOCHDL_BEGIN + 8) +#define STR_PRIVATEGRAPHIC (RC_DOCHDL_BEGIN + 9) +#define STR_PRIVATEOLE (RC_DOCHDL_BEGIN + 10) +#define STR_DDEFORMAT (RC_DOCHDL_BEGIN + 11) + +#define STR_SW_TEAM_NAMES (RC_DOCHDL_BEGIN + 13) + +#define DOCHDL_ACT_END STR_CANT_EDIT_INFO + +#if DOCHDL_ACT_END > RC_DOCHDL_END +#error Resource-Id Ueberlauf in #file, #line +#endif + +#endif + diff --git a/binfilter/bf_sw/source/ui/dochdl/makefile.mk b/binfilter/bf_sw/source/ui/dochdl/makefile.mk new file mode 100644 index 000000000000..79f9c963aa5a --- /dev/null +++ b/binfilter/bf_sw/source/ui/dochdl/makefile.mk @@ -0,0 +1,64 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_dochdl + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +CXXFILES = \ + sw_swdtflvr.cxx + +# dataex.cxx \ + +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_dochdl.src + +SLOFILES = \ + $(SLO)$/sw_swdtflvr.obj + +# $(SLO)$/sw_dataex.obj \ + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/dochdl/selglos.hrc b/binfilter/bf_sw/source/ui/dochdl/selglos.hrc new file mode 100644 index 000000000000..f42c5f263370 --- /dev/null +++ b/binfilter/bf_sw/source/ui/dochdl/selglos.hrc @@ -0,0 +1,31 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define BT_OK 100 +#define BT_CANCEL 101 +#define BT_HELP 102 +#define LB_GLOS 1 +#define FL_GLOS 2 diff --git a/binfilter/bf_sw/source/ui/dochdl/sw_dochdl.src b/binfilter/bf_sw/source/ui/dochdl/sw_dochdl.src new file mode 100644 index 000000000000..3d7614b54e39 --- /dev/null +++ b/binfilter/bf_sw/source/ui/dochdl/sw_dochdl.src @@ -0,0 +1,155 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + + +#include "dochdl.hrc" +#include "globals.hrc" + + + + + + +String STR_PRIVATETEXT +{ + /* ### ACHTUNG: Neuer Text in Resource? StarWriter : Formatierter Text [StarWriter] */ + Text [ de ] = "%PRODUCTNAME Writer" ; + Text [ en-US ] = "%PRODUCTNAME Writer" ; + Text [ x-comment ] = " "; + Text[ pt ] = "%PRODUCTNAME Writer"; + Text[ ru ] = "%PRODUCTNAME Writer"; + Text[ el ] = "%PRODUCTNAME Writer"; + Text[ nl ] = "%PRODUCTNAME Writer"; + Text[ fr ] = "%PRODUCTNAME Writer"; + Text[ es ] = "%PRODUCTNAME Writer"; + Text[ fi ] = "%PRODUCTNAME Writer"; + Text[ ca ] = "%PRODUCTNAME Writer"; + Text[ it ] = "%PRODUCTNAME Writer"; + Text[ sk ] = "%PRODUCTNAME Writer"; + Text[ da ] = "%PRODUCTNAME Writer"; + Text[ sv ] = "%PRODUCTNAME Writer"; + Text[ pl ] = "%PRODUCTNAME Writer"; + Text[ pt-BR ] = "%PRODUCTNAME Writer"; + Text[ th ] = "%PRODUCTNAME Writer"; + Text[ ja ] = "%PRODUCTNAME Writer"; + Text[ ko ] = "%PRODUCTNAME Writer"; + Text[ zh-CN ] = "%PRODUCTNAME Writer"; + Text[ zh-TW ] = "%PRODUCTNAME Writer"; + Text[ tr ] = "%PRODUCTNAME Writer"; + Text[ hi-IN ] = "%PRODUCTNAME लेखक"; + Text[ ar ] = "%PRODUCTNAME Writer"; + Text[ he ] = "%PRODUCTNAME Writer"; +}; +String STR_PRIVATEGRAPHIC +{ + Text [ de ] = "Grafik [%PRODUCTNAME Writer]" ; + Text [ en-US ] = "Graphics [%PRODUCTNAME Writer]" ; + Text[ pt ] = "Imagem [%PRODUCTNAME Writer]"; + Text[ ru ] = "Графический объект [%PRODUCTNAME Writer]"; + Text[ el ] = "Γραφικό [%PRODUCTNAME Writer]"; + Text[ nl ] = "Afbeelding [%PRODUCTNAME Writer]"; + Text[ fr ] = "Image [%PRODUCTNAME Writer]"; + Text[ es ] = "Imagen [%PRODUCTNAME Writer]"; + Text[ fi ] = "Grafiikka [%PRODUCTNAME Writer]"; + Text[ ca ] = "Imatge [%PRODUCTNAME Writer]"; + Text[ it ] = "Immagine [%PRODUCTNAME Writer]"; + Text[ sk ] = "Obrázok [%PRODUCTNAME Writer]"; + Text[ da ] = "Grafik [%PRODUCTNAME Writer]"; + Text[ sv ] = "Grafik [%PRODUCTNAME Writer]"; + Text[ pl ] = "[%PRODUCTNAME Writer] - Grafika"; + Text[ pt-BR ] = "Figura [%PRODUCTNAME Writer]"; + Text[ th ] = "กราฟิค [%PRODUCTNAME Writer]"; + Text[ ja ] = "図 [%PRODUCTNAME Writer]"; + Text[ ko ] = "그림 [%PRODUCTNAME Writer]"; + Text[ zh-CN ] = "图形 [%PRODUCTNAME Writer]"; + Text[ zh-TW ] = "圖形 [%PRODUCTNAME Writer]"; + Text[ tr ] = "Grafik [%PRODUCTNAME Writer]"; + Text[ hi-IN ] = "सुचित्र [%PRODUCTNAME लेखक]"; + Text[ ar ] = "[%PRODUCTNAME Writer] رسومات"; + Text[ he ] = "Grafik [%PRODUCTNAME Writer]"; +}; +String STR_PRIVATEOLE +{ + Text [ de ] = "Objekt [%PRODUCTNAME Writer]" ; + Text [ en-US ] = "Object [%PRODUCTNAME Writer]" ; + Text[ pt ] = "Objecto [%PRODUCTNAME Writer]"; + Text[ ru ] = "Объект [%PRODUCTNAME Writer]"; + Text[ el ] = "Αντικείμενο [%PRODUCTNAME Writer]"; + Text[ nl ] = "Object [%PRODUCTNAME Writer]"; + Text[ fr ] = "Objet [%PRODUCTNAME Writer]"; + Text[ es ] = "Objeto [%PRODUCTNAME Writer]"; + Text[ fi ] = "Objekti [%PRODUCTNAME Writer]"; + Text[ ca ] = "Objecte [%PRODUCTNAME Writer]"; + Text[ it ] = "Oggetto [%PRODUCTNAME Writer]"; + Text[ sk ] = "Objekt [%PRODUCTNAME Writer]"; + Text[ da ] = "Objekt [%PRODUCTNAME Writer]"; + Text[ sv ] = "Objekt [%PRODUCTNAME Writer]"; + Text[ pl ] = "Obiekt [%PRODUCTNAME Writer]"; + Text[ pt-BR ] = "Objeto [%PRODUCTNAME Writer]"; + Text[ th ] = "วัตถุ [%PRODUCTNAME Writer]"; + Text[ ja ] = "オブジェクト [%PRODUCTNAME Writer]"; + Text[ ko ] = "개체 [%PRODUCTNAME Writer]"; + Text[ zh-CN ] = "对象 [%PRODUCTNAME Writer]"; + Text[ zh-TW ] = "物件 [%PRODUCTNAME Writer]"; + Text[ tr ] = "Nesne [%PRODUCTNAME Writer]"; + Text[ hi-IN ] = "वस्तु [%PRODUCTNAME लेखक]"; + Text[ ar ] = "[%PRODUCTNAME Writer]كائن "; + Text[ he ] = "Objekt [%PRODUCTNAME Writer]"; +}; +String STR_DDEFORMAT +{ + /* ### ACHTUNG: Neuer Text in Resource? DDE Verknpfung : DDE Verknpfung */ + Text [ de ] = "DDE Verknüpfung" ; + Text [ en-US ] = "DDE link" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Ligação DDE"; + Text[ ru ] = "Связь по DDE"; + Text[ el ] = "Σύνδεσμος DDE"; + Text[ nl ] = "DDE-koppeling"; + Text[ fr ] = "Lien DDE"; + Text[ es ] = "Vínculo DDE"; + Text[ fi ] = "DDE-linkki"; + Text[ ca ] = "Enllaç DDE"; + Text[ it ] = "Collegamento DDE"; + Text[ sk ] = "Odkaz DDE"; + Text[ da ] = "DDE-kæde"; + Text[ sv ] = "DDE-länk"; + Text[ pl ] = "Łącza DDE "; + Text[ pt-BR ] = "Vínculo DDE"; + Text[ th ] = "เชื่อมโยง DDE "; + Text[ ja ] = "DDE リンク"; + Text[ ko ] = "DDE 연결"; + Text[ zh-CN ] = "DDE 链接"; + Text[ zh-TW ] = "DDE 捷徑"; + Text[ tr ] = "DDE bağlantısı"; + Text[ hi-IN ] = "DDE लिंक"; + Text[ ar ] = "ارتباط DDE"; + Text[ he ] = "DDE Verknüpfung"; +}; + + diff --git a/binfilter/bf_sw/source/ui/dochdl/sw_swdtflvr.cxx b/binfilter/bf_sw/source/ui/dochdl/sw_swdtflvr.cxx new file mode 100644 index 000000000000..6b21d6591ff6 --- /dev/null +++ b/binfilter/bf_sw/source/ui/dochdl/sw_swdtflvr.cxx @@ -0,0 +1,29 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/envelp/label.hrc b/binfilter/bf_sw/source/ui/envelp/label.hrc new file mode 100644 index 000000000000..b3b7f351e282 --- /dev/null +++ b/binfilter/bf_sw/source/ui/envelp/label.hrc @@ -0,0 +1,117 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _LABEL_HRC +#define _LABEL_HRC + +// Lokale Resourcen ********************************************************* + +#define TXT_WRITING 1 +#define BOX_ADDR 2 +#define EDT_WRITING 3 +#define FT_DATABASE 4 +#define LB_DATABASE 5 +#define FT_TABLE 6 +#define LB_TABLE 7 +#define FL_WRITING 8 +#define BTN_CONT 9 +#define BTN_SHEET 10 +#define TXT_MAKE 11 +#define BOX_MAKE 12 +#define TXT_TYPE 13 +#define BOX_TYPE 14 +#define INF_FORMAT 15 +#define FL_FORMAT 16 +#define FT_DBFIELD 17 +#define LB_DBFIELD 18 +#define BTN_INSERT 19 +#define BTN_SYNC 20 + +#define RB_FROM_AUTO_TEXT 1 +#define RB_FROM_EDIT 2 +#define LB_AUTO_TEXT 3 +#define FT_AUTO_TEXT_GROUP 4 +#define LB_AUTO_TEXT_GROUP 5 +#define ED_TEXT 6 +#define FL_CONTENT 7 +#define WIN_EXAMPLE 8 +#define ST_VISCARD_GROUP 10 + +#define FL_DATA 30 +#define FT_NAME 31 +#define ED_FIRSTNAME 32 +#define ED_NAME 33 +#define ED_SHORTCUT 34 +#define FT_STREET 35 +#define ED_STREET 36 +#define FT_ZIPCITY 37 +#define ED_ZIP 38 +#define ED_CITY 39 +#define FT_COUNTRYSTATE 40 +#define ED_COUNTRY 41 +#define FT_TITLEPROF 42 +#define ED_PROFESSION 43 +#define ED_TITLE 44 + +#define ED_PHONE 46 +#define ED_MOBILE 47 + +#define ED_FAX 49 +#define FT_WWWMAIL 50 +#define ED_WWW 51 +#define ED_MAIL 52 +#define ED_STATE 53 +#define FT_COMP 54 +#define ED_COMP 55 +#define FT_COMP_EXT 56 +#define ED_COMP_EXT 57 +#define FT_SLOGAN 58 +#define ED_SLOGAN 59 +#define FT_POSITION 60 +#define ED_POSITION 61 + +#define ST_BUSINESSCARDDLG 62 +#define ST_FIRSTPAGE_LAB 63 +#define ST_FIRSTPAGE_BC 64 + +#define FT_NAME_2 65 +#define ED_FIRSTNAME_2 66 +#define ED_NAME_2 67 +#define ED_SHORTCUT_2 68 + +#define FT_PHONE_MOBILE 70 +//#define FT_PHONE 71 +//#define FT_MOBILE 72 +#define FT_FAX 73 + +// Globale Resourcen ******************************************************** + +// Ueberlaufpruefung ******************************************************** + + +#endif + diff --git a/binfilter/bf_sw/source/ui/envelp/makefile.mk b/binfilter/bf_sw/source/ui/envelp/makefile.mk new file mode 100644 index 000000000000..0ccee5142c7f --- /dev/null +++ b/binfilter/bf_sw/source/ui/envelp/makefile.mk @@ -0,0 +1,56 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_envelp + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES =\ + sw_label.src + +SLOFILES = \ + $(SLO)$/sw_envimg.obj + +# --- Targets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/envelp/sw_envimg.cxx b/binfilter/bf_sw/source/ui/envelp/sw_envimg.cxx new file mode 100644 index 000000000000..945c7096bbc2 --- /dev/null +++ b/binfilter/bf_sw/source/ui/envelp/sw_envimg.cxx @@ -0,0 +1,92 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <swtypes.hxx> +#include <envimg.hxx> + +#include <cmdid.h> +namespace binfilter { + +#ifdef WIN +#define NEXTLINE UniString::CreateFromAscii("\r\n") +#else +#define NEXTLINE '\n' +#endif + +using namespace utl; +using namespace rtl; +using namespace ::com::sun::star::uno; + +#define C2U(cChar) OUString::createFromAscii(cChar) + +/*N*/ TYPEINIT1_AUTOFACTORY( SwEnvItem, SfxPoolItem ); + +/*N*/ SwEnvItem::SwEnvItem() : +/*N*/ SfxPoolItem(FN_ENVELOP) +/*N*/ { +/*N*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 aAddrText = aEmptyStr; +/*N*/ } +// -------------------------------------------------------------------------- +/*N*/ SwEnvItem::SwEnvItem(const SwEnvItem& rItem) : +/*N*/ SfxPoolItem(FN_ENVELOP), +/*N*/ aAddrText (rItem.aAddrText), +/*N*/ bSend (rItem.bSend), +/*N*/ aSendText (rItem.aSendText), +/*N*/ lSendFromLeft (rItem.lSendFromLeft), +/*N*/ lSendFromTop (rItem.lSendFromTop), +/*N*/ lAddrFromLeft (rItem.lAddrFromLeft), +/*N*/ lAddrFromTop (rItem.lAddrFromTop), +/*N*/ lWidth (rItem.lWidth), +/*N*/ lHeight (rItem.lHeight), +/*N*/ eAlign (rItem.eAlign), +/*N*/ bPrintFromAbove(rItem.bPrintFromAbove), +/*N*/ lShiftRight (rItem.lShiftRight), +/*N*/ lShiftDown (rItem.lShiftDown) +/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 +/*N*/ } + +// -------------------------------------------------------------------------- +/*N*/ int SwEnvItem::operator ==(const SfxPoolItem& rItem) const +/*N*/ { +DBG_BF_ASSERT(0, "STRIP"); return 0;//STRIP001 const SwEnvItem& rEnv = (const SwEnvItem&) rItem; +/*N*/ } + +// -------------------------------------------------------------------------- +/*N*/ SfxPoolItem* SwEnvItem::Clone(SfxItemPool*) const +/*N*/ { +/*N*/ return new SwEnvItem(*this); +/*N*/ } +// -------------------------------------------------------------------------- +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/envelp/sw_label.src b/binfilter/bf_sw/source/ui/envelp/sw_label.src new file mode 100644 index 000000000000..9ccc9c5e70fa --- /dev/null +++ b/binfilter/bf_sw/source/ui/envelp/sw_label.src @@ -0,0 +1,92 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#include "label.hrc" +#include "globals.hrc" +#include "helpid.h" +// ----- defined strings ----------------------------------------------------- +#define LABEL_STRING \ + Text [ de ] = "Etiketten" ; \ + Text [ en-US ] = "Labels" ; \ + Text[ pt ] = "Etiquetas";\ + Text[ ru ] = "Этикетки";\ + Text[ el ] = "Ετικέτες";\ + Text[ nl ] = "Etiketten";\ + Text[ fr ] = "Étiquettes";\ + Text[ es ] = "Etiquetas";\ + Text[ fi ] = "Osoitetarrat";\ + Text[ ca ] = "Etiquetes";\ + Text[ it ] = "Etichette";\ + Text[ sk ] = "Štítky";\ + Text[ da ] = "Etiketter";\ + Text[ sv ] = "Etiketter";\ + Text[ pl ] = "Etykiety";\ + Text[ pt-BR ] = "Etiquetas";\ + Text[ th ] = "ป้ายชื่อ";\ + Text[ ja ] = "ラベル書き";\ + Text[ ko ] = "레이블";\ + Text[ zh-CN ] = "标签";\ + Text[ zh-TW ] = "貼標";\ + Text[ tr ] = "Etiket";\ + Text[ hi-IN ] = "लेबिलें";\ + Text[ ar ] = "بطاقات عنونة";\ + Text[ he ] = "מדבקות";\ + +#define BUSINESS_CARD_STRING \ + Text [ de ] = "Visitenkarten" ; \ + Text [ en-US ] = "Business Cards"; \ + Text[ pt ] = "Cartões de visita";\ + Text[ ru ] = "Визитные карточки";\ + Text[ el ] = "Επαγγελματικές κάρτες";\ + Text[ nl ] = "Visitekaartjes";\ + Text[ fr ] = "Cartes de visite";\ + Text[ es ] = "Tarjetas de visita";\ + Text[ fi ] = "Käyntikortit";\ + Text[ ca ] = "Targetes de visita";\ + Text[ it ] = "Biglietti da visita";\ + Text[ sk ] = "Vizitky";\ + Text[ da ] = "Visitkort";\ + Text[ sv ] = "Visitkort";\ + Text[ pl ] = "Wizytówki";\ + Text[ pt-BR ] = "Cartões de Visita";\ + Text[ th ] = "นามบัตร";\ + Text[ ja ] = "名刺";\ + Text[ ko ] = "명함";\ + Text[ zh-CN ] = "名片";\ + Text[ zh-TW ] = "名片";\ + Text[ tr ] = "Meslek Kartları";\ + Text[ hi-IN ] = "व्यवहार कार्डस";\ + Text[ ar ] = "بطاقات الزيارة";\ + Text[ he ] = "כרטיסי ביקור";\ + + // DLG_LAB ------------------------------------------------------------------ + // TP_LAB_LAB --------------------------------------------------------------- +#define WIDTH 100 +#define HEIGHT 16 + // String ******************************************************************* +/********************************************************************/ diff --git a/binfilter/bf_sw/source/ui/fldui/fldui.hrc b/binfilter/bf_sw/source/ui/fldui/fldui.hrc new file mode 100644 index 000000000000..b7ade52c5a99 --- /dev/null +++ b/binfilter/bf_sw/source/ui/fldui/fldui.hrc @@ -0,0 +1,198 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _FLDUI_HRC +#define _FLDUI_HRC + +#include "rcid.hrc" + + +#define DLG_FLD RC_FLDDLG_BEGIN +#define DLG_RECORD_MRG (RC_FLDDLG_BEGIN + 1) +#define DLG_RECORD_INS (RC_FLDDLG_BEGIN + 2) +#define DLG_FLD_EDIT (RC_FLDDLG_BEGIN + 3) +#define DLG_POSTIT (RC_FLDDLG_BEGIN + 4) +#define DLG_BRCFG (RC_FLDDLG_BEGIN + 6) +#define DLG_BRSEEK (RC_FLDDLG_BEGIN + 7) +#define DLG_BRSORT (RC_FLDDLG_BEGIN + 8) + +/*-------------------------------------------------------------------- + Beschreibung: TypeId + --------------------------------------------------------------------*/ + +#define STR_TYPE_BEGIN RC_FLDDLG_BEGIN +#define STR_DATEFLD STR_TYPE_BEGIN +#define STR_TIMEFLD (STR_TYPE_BEGIN + 1) +#define STR_FILENAMEFLD (STR_TYPE_BEGIN + 2) +#define STR_DBNAMEFLD (STR_TYPE_BEGIN + 3) +#define STR_CHAPTERFLD (STR_TYPE_BEGIN + 4) +#define STR_PAGENUMBERFLD (STR_TYPE_BEGIN + 5) +#define STR_DOCSTATFLD (STR_TYPE_BEGIN + 6) +#define STR_AUTHORFLD (STR_TYPE_BEGIN + 7) +#define STR_SETFLD (STR_TYPE_BEGIN + 8) +#define STR_GETFLD (STR_TYPE_BEGIN + 9) +#define STR_FORMELFLD (STR_TYPE_BEGIN + 10) +#define STR_CONDTXTFLD (STR_TYPE_BEGIN + 11) +#define STR_SETREFFLD (STR_TYPE_BEGIN + 12) +#define STR_GETREFFLD (STR_TYPE_BEGIN + 13) +#define STR_DDEFLD (STR_TYPE_BEGIN + 14) +#define STR_MACROFLD (STR_TYPE_BEGIN + 15) +#define STR_INPUTFLD (STR_TYPE_BEGIN + 16) +#define STR_DOCINFOFLD (STR_TYPE_BEGIN + 17) +#define STR_DBFLD (STR_TYPE_BEGIN + 19) +#define STR_USERFLD (STR_TYPE_BEGIN + 20) +#define STR_POSTITFLD (STR_TYPE_BEGIN + 21) +#define STR_HIDDENPARAFLD (STR_TYPE_BEGIN + 22) + +#define STR_TEMPLNAMEFLD (STR_TYPE_BEGIN + 24) +#define STR_SEQFLD (STR_TYPE_BEGIN + 25) +#define STR_DBNEXTSETFLD (STR_TYPE_BEGIN + 26) +#define STR_DBNUMSETFLD (STR_TYPE_BEGIN + 27) +#define STR_DBSETNUMBERFLD (STR_TYPE_BEGIN + 28) +#define STR_PREVPAGEFLD (STR_TYPE_BEGIN + 29) +#define STR_NEXTPAGEFLD (STR_TYPE_BEGIN + 30) +#define STR_HIDDENTXTFLD (STR_TYPE_BEGIN + 31) +#define STR_EXTUSERFLD (STR_TYPE_BEGIN + 32) +#define STR_SETINPUTFLD (STR_TYPE_BEGIN + 33) +#define STR_USRINPUTFLD (STR_TYPE_BEGIN + 34) +#define STR_SETREFPAGEFLD (STR_TYPE_BEGIN + 35) +#define STR_GETREFPAGEFLD (STR_TYPE_BEGIN + 36) +#define STR_INTERNETFLD (STR_TYPE_BEGIN + 37) +#define STR_JUMPEDITFLD (STR_TYPE_BEGIN + 38) +#define STR_SCRIPTFLD (STR_TYPE_BEGIN + 39) +#define STR_AUTHORITY (STR_TYPE_BEGIN + 40) +#define STR_COMBINED_CHARS (STR_TYPE_BEGIN + 41) +#define STR_DROPDOWN (STR_TYPE_BEGIN + 42) +#define STR_TYPE_END (STR_TYPE_BEGIN + 43) + +/*-------------------------------------------------------------------- + Beschreibung: SubTypes + --------------------------------------------------------------------*/ + +#define FLD_DATE_BEGIN STR_TYPE_END +#define FLD_DATE_FIX FLD_DATE_BEGIN +#define FLD_DATE_STD (FLD_DATE_BEGIN + 1) +#define FLD_DATE_END (FLD_DATE_BEGIN + 2) + +#define FLD_TIME_BEGIN FLD_DATE_END +#define FLD_TIME_FIX FLD_TIME_BEGIN +#define FLD_TIME_STD (FLD_TIME_BEGIN + 1) +#define FLD_TIME_END (FLD_TIME_BEGIN + 2) + +#define FLD_STAT_BEGIN FLD_TIME_END +#define FLD_STAT_TABLE (FLD_STAT_BEGIN + 4) +#define FLD_STAT_END (FLD_STAT_BEGIN + 7) + +#define FLD_INPUT_BEGIN FLD_STAT_END +#define FLD_INPUT_END (FLD_INPUT_BEGIN + 1) + +#define FLD_EU_BEGIN FLD_INPUT_END +#define FLD_EU_END (FLD_EU_BEGIN + 15) + +#define FLD_PAGEREF_BEGIN FLD_EU_END +#define FLD_PAGEREF_END (FLD_PAGEREF_BEGIN+2) + +/*---------------------------------------------------------- + Format-Id's + ----------------------------------------------------------*/ +// Text +#define FMT_TEXT FLD_PAGEREF_END + +// Nummern +#define FMT_NUM_BEGIN (FMT_TEXT + 1) +#define FMT_NUM_END (FMT_NUM_BEGIN + 9) + +// AuthorFormat +#define FMT_AUTHOR_BEGIN FMT_NUM_END +#define FMT_AUTHOR_END (FMT_AUTHOR_BEGIN + 2) + +// Variable setzen +#define FMT_SETVAR_BEGIN FMT_AUTHOR_END +#define FMT_SETVAR_END (FMT_SETVAR_BEGIN + 2) + +// Variable einfuegen +#define FMT_GETVAR_BEGIN FMT_SETVAR_END +#define FMT_GETVAR_END (FMT_GETVAR_BEGIN + 2) + +// Userfeld einfuegen +#define FMT_USERVAR_BEGIN FMT_GETVAR_END +#define FMT_USERVAR_END (FMT_USERVAR_BEGIN + 2) + +// Datenbankfeld einfuegen +#define FMT_DBFLD_BEGIN FMT_USERVAR_END +#define FMT_DBFLD_SYS (FMT_DBFLD_BEGIN + 1) +#define FMT_DBFLD_END (FMT_DBFLD_BEGIN + 2) + +//FileNameFormat +// Achtung die letzten 4 Formate gibt es in RTF nicht (Verlust!) +#define FMT_FF_BEGIN FMT_DBFLD_END +#define FMT_FF_END (FMT_FF_BEGIN + 6) + +// Registry-Format +#define FMT_REG_BEGIN FMT_FF_END +#define FMT_REG_END (FMT_REG_BEGIN + 3) + +// Kapitel +#define FMT_CHAPTER_BEGIN FMT_REG_END +#define FMT_CHAPTER_END (FMT_CHAPTER_BEGIN + 4) + +// DDE-Formate +#define FMT_DDE_BEGIN FMT_CHAPTER_END +#define FMT_DDE_END (FMT_DDE_BEGIN + 2) + +#define FMT_REF_BEGIN FMT_DDE_END +#define FMT_REF_END (FMT_REF_BEGIN + 8) + +// Platzhalter +#define FMT_MARK_BEGIN FMT_REF_END +#define FMT_MARK_END (FMT_MARK_BEGIN + 5) + +/*-------------------------------------------------------------------- + Beschreibung: globale String-Ressourcen + --------------------------------------------------------------------*/ + +#define STR_FLDUI FMT_MARK_END +#define STR_INSERT STR_FLDUI +#define STR_ALL (STR_FLDUI + 1) +#define STR_EXTRA (STR_FLDUI + 2) + +/*-------------------------------------------------------------------- + Beschreibung: Buttons fuer Field-Edit-Dlg + --------------------------------------------------------------------*/ + + +/*-------------------------------------------------------------------- + Beschreibung: Zusaetzliche Strings + --------------------------------------------------------------------*/ + +#define STR_COND STR_EXTRA +#define STR_TEXT (STR_EXTRA + 1) + +//changed by jmeng begin +//changed by jmeng end + + +#endif diff --git a/binfilter/bf_sw/source/ui/fldui/makefile.mk b/binfilter/bf_sw/source/ui/fldui/makefile.mk new file mode 100644 index 000000000000..b922cf5a93ac --- /dev/null +++ b/binfilter/bf_sw/source/ui/fldui/makefile.mk @@ -0,0 +1,57 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_fldui + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_fldui.src + +SLOFILES = \ + $(SLO)$/sw_fldmgr.obj + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/fldui/sw_fldmgr.cxx b/binfilter/bf_sw/source/ui/fldui/sw_fldmgr.cxx new file mode 100644 index 000000000000..0c4774b37c1a --- /dev/null +++ b/binfilter/bf_sw/source/ui/fldui/sw_fldmgr.cxx @@ -0,0 +1,270 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <cmdid.h> +#include <hintids.hxx> + +#include <horiornt.hxx> + +#include <dbmgr.hxx> +#include <shellres.hxx> +#include <docufld.hxx> +#include <fldmgr.hxx> +#include <fldui.hrc> +namespace binfilter { +using namespace rtl; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::container; +using namespace ::com::sun::star::lang; +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::text; +using namespace ::com::sun::star::style; +using namespace ::com::sun::star::sdbc; + +/*-------------------------------------------------------------------- + Beschreibung: Gruppen der Felder + --------------------------------------------------------------------*/ +/*N*/ enum +/*N*/ { +/*N*/ GRP_DOC_BEGIN = 0, +/*N*/ GRP_DOC_END = GRP_DOC_BEGIN + 11, +/*N*/ +/*N*/ GRP_FKT_BEGIN = GRP_DOC_END, + GRP_FKT_END = GRP_FKT_BEGIN + 8, +/*N*/ +/*N*/ GRP_REF_BEGIN = GRP_FKT_END, +/*N*/ GRP_REF_END = GRP_REF_BEGIN + 2, +/*N*/ +/*N*/ GRP_REG_BEGIN = GRP_REF_END, +/*N*/ GRP_REG_END = GRP_REG_BEGIN + 1, +/*N*/ +/*N*/ GRP_DB_BEGIN = GRP_REG_END, +/*N*/ GRP_DB_END = GRP_DB_BEGIN + 5, +/*N*/ +/*N*/ GRP_VAR_BEGIN = GRP_DB_END, +/*N*/ GRP_VAR_END = GRP_VAR_BEGIN + 9 +/*N*/ }; +/*N*/ +/*N*/ enum +/*N*/ { +/*N*/ GRP_WEB_DOC_BEGIN = 0, +/*N*/ GRP_WEB_DOC_END = GRP_WEB_DOC_BEGIN + 9, +/*N*/ +/*N*/ GRP_WEB_FKT_BEGIN = GRP_WEB_DOC_END + 2, +/*N*/ GRP_WEB_FKT_END = GRP_WEB_FKT_BEGIN + 0, // Die Gruppe ist leer! +/*N*/ +/*N*/ GRP_WEB_REF_BEGIN = GRP_WEB_FKT_END + 6, // Die Gruppe ist leer! +/*N*/ GRP_WEB_REF_END = GRP_WEB_REF_BEGIN + 0, +/*N*/ +/*N*/ GRP_WEB_REG_BEGIN = GRP_WEB_REF_END + 2, +/*N*/ GRP_WEB_REG_END = GRP_WEB_REG_BEGIN + 1, +/*N*/ +/*N*/ GRP_WEB_DB_BEGIN = GRP_WEB_REG_END, // Die Gruppe ist leer! +/*N*/ GRP_WEB_DB_END = GRP_WEB_DB_BEGIN + 0, +/*N*/ +/*N*/ GRP_WEB_VAR_BEGIN = GRP_WEB_DB_END + 5, +/*N*/ GRP_WEB_VAR_END = GRP_WEB_VAR_BEGIN + 1 +/*N*/ }; + +/*-------------------------------------------------------------------- + Beschreibung: Formate in der richtigen Reihenfolge +--------------------------------------------------------------------*/ +/*N*/ static const USHORT __FAR_DATA aSetFmt[] = +/*N*/ { +/*N*/ // die Reihenfolge muss zu Beginn mit den ResourceIds fuer FMT_SETVAR_??? +/*N*/ // uebereinstimmen +/*N*/ 0, +/*N*/ 0 +/*N*/ }; +/*N*/ +/*N*/ static const USHORT __FAR_DATA aGetFmt[] = +/*N*/ { +/*N*/ // die Reihenfolge muss zu Beginn mit den ResourceIds fuer FMT_GETVAR_??? +/*N*/ // uebereinstimmen +/*N*/ 0 +/*N*/ }; +/*N*/ +/*N*/ static const USHORT __FAR_DATA aUsrFmt[] = +/*N*/ { +/*N*/ // die Reihenfolge muss zu Beginn mit den ResourceIds fuer FMT_SETVAR_??? +/*N*/ // uebereinstimmen +/*N*/ 0, +/*N*/ SUB_CMD +/*N*/ }; +/*N*/ +/*N*/ static const USHORT __FAR_DATA aDBFmt[] = +/*N*/ { +/*N*/ // die Reihenfolge muss zu Beginn mit den ResourceIds fuer FMT_DBFLD_??? +/*N*/ // uebereinstimmen +/*N*/ SUB_OWN_FMT +/*N*/ }; +/*N*/ +/*N*/ static const USHORT VF_COUNT = sizeof(aGetFmt) / sizeof(USHORT); +/*N*/ static const USHORT VF_USR_COUNT = sizeof(aUsrFmt) / sizeof(USHORT); +/*N*/ static const USHORT VF_DB_COUNT = sizeof(aDBFmt) / sizeof(USHORT); +/*N*/ +/*-------------------------------------------------------------------- + Beschreibung: Feldtypen und Subtypes + --------------------------------------------------------------------*/ +struct SwFldPack +{ + USHORT nTypeId; + + USHORT nSubTypeStart; + USHORT nSubTypeEnd; + + ULONG nFmtBegin; + ULONG nFmtEnd; +}; + +/*-------------------------------------------------------------------- + Beschreibung: Strings und Formate + --------------------------------------------------------------------*/ +static const SwFldPack __FAR_DATA aSwFlds[] = +{ + // Dokument + TYP_EXTUSERFLD, FLD_EU_BEGIN, FLD_EU_END, 0, 0, + TYP_AUTHORFLD, 0, 0, FMT_AUTHOR_BEGIN, FMT_AUTHOR_END, + TYP_DATEFLD, FLD_DATE_BEGIN, FLD_DATE_END, 0, 0, + TYP_TIMEFLD, FLD_TIME_BEGIN, FLD_TIME_END, 0, 0, + TYP_PAGENUMBERFLD, 0, 0, FMT_NUM_BEGIN, FMT_NUM_END-1, + TYP_NEXTPAGEFLD, 0, 0, FMT_NUM_BEGIN, FMT_NUM_END, + TYP_PREVPAGEFLD, 0, 0, FMT_NUM_BEGIN, FMT_NUM_END, + TYP_FILENAMEFLD, 0, 0, FMT_FF_BEGIN, FMT_FF_END, + TYP_DOCSTATFLD, FLD_STAT_BEGIN, FLD_STAT_END, FMT_NUM_BEGIN, FMT_NUM_END-1, + + TYP_CHAPTERFLD, 0, 0, FMT_CHAPTER_BEGIN, FMT_CHAPTER_END, + TYP_TEMPLNAMEFLD, 0, 0, FMT_FF_BEGIN, FMT_FF_END, + + // Funktion + TYP_CONDTXTFLD, 0, 0, 0, 0, + TYP_DROPDOWN, 0, 0, 0, 0, + TYP_INPUTFLD, FLD_INPUT_BEGIN, FLD_INPUT_END, 0, 0, + TYP_MACROFLD, 0, 0, 0, 0, + TYP_JUMPEDITFLD, 0, 0, FMT_MARK_BEGIN, FMT_MARK_END, + TYP_COMBINED_CHARS, 0, 0, 0, 0, + TYP_HIDDENTXTFLD, 0, 0, 0, 0, + TYP_HIDDENPARAFLD, 0, 0, 0, 0, + + // Referenzen + TYP_SETREFFLD, 0, 0, 0, 0, + TYP_GETREFFLD, 0, 0, FMT_REF_BEGIN, FMT_REF_END, + + // Ablage + TYP_DOCINFOFLD, 0, 0, FMT_REG_BEGIN, FMT_REG_END, + + // Datenbank + TYP_DBFLD, 0, 0, FMT_DBFLD_BEGIN, FMT_DBFLD_END, + TYP_DBNEXTSETFLD, 0, 0, 0, 0, + TYP_DBNUMSETFLD, 0, 0, 0, 0, + TYP_DBSETNUMBERFLD, 0, 0, FMT_NUM_BEGIN, FMT_NUM_END-2, + TYP_DBNAMEFLD, 0, 0, 0, 0, + + // Variablen + TYP_SETFLD, 0, 0, FMT_SETVAR_BEGIN, FMT_SETVAR_END, + + TYP_GETFLD, 0, 0, FMT_GETVAR_BEGIN, FMT_GETVAR_END, + TYP_DDEFLD, 0, 0, FMT_DDE_BEGIN, FMT_DDE_END, + TYP_FORMELFLD, 0, 0, FMT_GETVAR_BEGIN, FMT_GETVAR_END, + TYP_INPUTFLD, FLD_INPUT_BEGIN, FLD_INPUT_END, 0, 0, + TYP_SEQFLD, 0, 0, FMT_NUM_BEGIN, FMT_NUM_END-2, + TYP_SETREFPAGEFLD, FLD_PAGEREF_BEGIN, FLD_PAGEREF_END,0, 0, + TYP_GETREFPAGEFLD, 0, 0, FMT_NUM_BEGIN, FMT_NUM_END-1, + TYP_USERFLD, 0, 0, FMT_USERVAR_BEGIN, FMT_USERVAR_END +}; + +String* SwFldMgr::pDate = 0; +String* SwFldMgr::pTime = 0; + +/*N*/ void SwFieldType::_GetFldName() +/*N*/ { +/*N*/ static const USHORT coFldCnt = STR_TYPE_END - STR_TYPE_BEGIN; +/*N*/ +/*N*/ static USHORT __READONLY_DATA coFldNms[ coFldCnt ] = { +/*N*/ FLD_DATE_STD, +/*N*/ FLD_TIME_STD, +/*N*/ STR_FILENAMEFLD, +/*N*/ STR_DBNAMEFLD, +/*N*/ STR_CHAPTERFLD, +/*N*/ STR_PAGENUMBERFLD, +/*N*/ STR_DOCSTATFLD, +/*N*/ STR_AUTHORFLD, +/*N*/ STR_SETFLD, +/*N*/ STR_GETFLD, +/*N*/ STR_FORMELFLD, +/*N*/ STR_HIDDENTXTFLD, +/*N*/ STR_SETREFFLD, +/*N*/ STR_GETREFFLD, +/*N*/ STR_DDEFLD, +/*N*/ STR_MACROFLD, +/*N*/ STR_INPUTFLD, +/*N*/ STR_HIDDENPARAFLD, +/*N*/ STR_DOCINFOFLD, +/*N*/ STR_DBFLD, +/*N*/ STR_USERFLD, +/*N*/ STR_POSTITFLD, +/*N*/ STR_TEMPLNAMEFLD, +/*N*/ STR_SEQFLD, +/*N*/ STR_DBNEXTSETFLD, +/*N*/ STR_DBNUMSETFLD, +/*N*/ STR_DBSETNUMBERFLD, +/*N*/ STR_CONDTXTFLD, +/*N*/ STR_NEXTPAGEFLD, +/*N*/ STR_PREVPAGEFLD, +/*N*/ STR_EXTUSERFLD, +/*N*/ FLD_DATE_FIX, +/*N*/ FLD_TIME_FIX, +/*N*/ STR_SETINPUTFLD, +/*N*/ STR_USRINPUTFLD, +/*N*/ STR_SETREFPAGEFLD, +/*N*/ STR_GETREFPAGEFLD, +/*N*/ STR_INTERNETFLD, +/*N*/ STR_JUMPEDITFLD, +/*N*/ STR_SCRIPTFLD, +/*N*/ STR_AUTHORITY, +/*N*/ STR_COMBINED_CHARS, +/*N*/ STR_DROPDOWN +/*N*/ }; +/*N*/ +/*N*/ // Infos fuer Felder einfuegen +/*N*/ SwFieldType::pFldNames = new SvStringsDtor( (BYTE)coFldCnt, 2 ); +/*N*/ for( USHORT nIdx = 0; nIdx < coFldCnt; ++nIdx ) +/*N*/ { +/*N*/ String* pTmp = new SW_RESSTR( coFldNms[ nIdx ] ); +/*N*/ pTmp->EraseAllChars('~'); +/*N*/ SwFieldType::pFldNames->Insert(pTmp, nIdx ); +/*N*/ } +/*N*/ } +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/fldui/sw_fldui.src b/binfilter/bf_sw/source/ui/fldui/sw_fldui.src new file mode 100644 index 000000000000..4521258708e8 --- /dev/null +++ b/binfilter/bf_sw/source/ui/fldui/sw_fldui.src @@ -0,0 +1,1575 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT +#define _FLDUI_SRC +#include "fldui.hrc" +#include "helpid.h" + +/*-------------------------------------------------------------------- + Beschreibung: Strings fuer die Types + --------------------------------------------------------------------*/ +/*-------------------------------------------------------------------- + Beschreibung: Strings fuer die Types + --------------------------------------------------------------------*/ + // + // Bereich Dokument + // +String STR_DATEFLD +{ + Text [ de ] = "Datum" ; + Text [ en-US ] = "Date" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Data"; + Text[ ru ] = "Дата"; + Text[ el ] = "Ημερομηνία"; + Text[ nl ] = "Datum"; + Text[ fr ] = "Date"; + Text[ es ] = "Fecha"; + Text[ fi ] = "Päivämäärä"; + Text[ ca ] = "Data"; + Text[ it ] = "Data"; + Text[ sk ] = "Dátum"; + Text[ da ] = "Dato"; + Text[ sv ] = "Datum"; + Text[ pl ] = "Data"; + Text[ pt-BR ] = "Data"; + Text[ th ] = "วันที่"; + Text[ ja ] = "日付"; + Text[ ko ] = "날짜"; + Text[ zh-CN ] = "日期"; + Text[ zh-TW ] = "日期"; + Text[ tr ] = "Tarih"; + Text[ hi-IN ] = "दिनांक"; + Text[ ar ] = "التاريخ"; + Text[ he ] = "תאריך"; +}; +String STR_TIMEFLD +{ + Text [ de ] = "Uhrzeit" ; + Text [ en-US ] = "Time" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Hora"; + Text[ ru ] = "Время"; + Text[ el ] = "Ώρα"; + Text[ nl ] = "Tijd"; + Text[ fr ] = "Heure"; + Text[ es ] = "Hora"; + Text[ fi ] = "Aika"; + Text[ ca ] = "Hora"; + Text[ it ] = "Orario"; + Text[ sk ] = "Čas"; + Text[ da ] = "Klokkeslæt"; + Text[ sv ] = "Klockslag"; + Text[ pl ] = "Godzina"; + Text[ pt-BR ] = "Hora"; + Text[ th ] = "เวลา"; + Text[ ja ] = "時刻"; + Text[ ko ] = "시간"; + Text[ zh-CN ] = "时间"; + Text[ zh-TW ] = "時間"; + Text[ tr ] = "Saat"; + Text[ hi-IN ] = "समय"; + Text[ ar ] = "الوقت"; + Text[ he ] = "שעה"; +}; +String STR_FILENAMEFLD +{ + Text [ de ] = "Dateiname" ; + Text [ en-US ] = "File name" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Nome do ficheiro"; + Text[ ru ] = "Имя файла"; + Text[ el ] = "Όνομα αρχείου"; + Text[ nl ] = "Bestandsnaam"; + Text[ fr ] = "Nom de fichier"; + Text[ es ] = "Nombre del archivo"; + Text[ fi ] = "Tiedoston nimi"; + Text[ ca ] = "Nom del fitxer"; + Text[ it ] = "Nome file"; + Text[ sk ] = "Názov súboru"; + Text[ da ] = "Filnavn"; + Text[ sv ] = "Filnamn"; + Text[ pl ] = "Nazwa pliku"; + Text[ pt-BR ] = "Nome do arquivo"; + Text[ th ] = "ชื่อแฟ้ม"; + Text[ ja ] = "ファイル名"; + Text[ ko ] = "파일 이름"; + Text[ zh-CN ] = "文件名"; + Text[ zh-TW ] = "檔案名"; + Text[ tr ] = "Dosya adı"; + Text[ hi-IN ] = "फाइल नाम"; + Text[ ar ] = "اسم الملف"; + Text[ he ] = "שם קובץ"; +}; +String STR_DBNAMEFLD +{ + Text [ de ] = "Datenbankname" ; + Text [ en-US ] = "Database Name" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Nome da base de dados"; + Text[ ru ] = "Имя базы данных"; + Text[ el ] = "Όνομα βάσης δεδομένων"; + Text[ nl ] = "Naam database"; + Text[ fr ] = "Nom de la base de données"; + Text[ es ] = "Nombre de base de datos"; + Text[ fi ] = "Tietokannan nimi"; + Text[ ca ] = "Nom de la base de dades"; + Text[ it ] = "Nome database"; + Text[ sk ] = "Názov databázy"; + Text[ da ] = "Databasenavn"; + Text[ sv ] = "Databasnamn"; + Text[ pl ] = "Nazwa bazy danych"; + Text[ pt-BR ] = "Nome do Banco de Dados"; + Text[ th ] = "ชื่อฐานข้อมูล"; + Text[ ja ] = "データベース名"; + Text[ ko ] = "데이터베이스 이름"; + Text[ zh-CN ] = "数据库名称"; + Text[ zh-TW ] = "資料庫名稱"; + Text[ tr ] = "Veritabanı adı"; + Text[ hi-IN ] = "लेखासंचय नाम"; + Text[ ar ] = "اسم قاعدة البيانات"; + Text[ he ] = "Datenbankname"; +}; +String STR_CHAPTERFLD +{ + Text [ de ] = "Kapitel" ; + Text [ en-US ] = "Chapter" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Capítulo"; + Text[ ru ] = "Глава"; + Text[ el ] = "Κεφάλαιο"; + Text[ nl ] = "Hoofdstuk"; + Text[ fr ] = "Chapitre"; + Text[ es ] = "Capítulo"; + Text[ fi ] = "Luku"; + Text[ ca ] = "Capítol"; + Text[ it ] = "Capitolo"; + Text[ sk ] = "Kapitola"; + Text[ da ] = "Kapitel"; + Text[ sv ] = "Kapitel"; + Text[ pl ] = "Rozdział"; + Text[ pt-BR ] = "Capítulo"; + Text[ th ] = "บท"; + Text[ ja ] = "章"; + Text[ ko ] = "장"; + Text[ zh-CN ] = "章"; + Text[ zh-TW ] = "章"; + Text[ tr ] = "Bölüm"; + Text[ hi-IN ] = "अध्याय"; + Text[ ar ] = "الفصل"; + Text[ he ] = "Kapitel"; +}; +String STR_PAGENUMBERFLD +{ + Text [ de ] = "Seitennummer" ; + Text [ en-US ] = "Page numbers" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Número de página"; + Text[ ru ] = "Номера страницы"; + Text[ el ] = "Αριθμός σελίδας"; + Text[ nl ] = "Paginanummer"; + Text[ fr ] = "Numéro de page"; + Text[ es ] = "Número de página"; + Text[ fi ] = "Sivunumero"; + Text[ ca ] = "Número de pàgina"; + Text[ it ] = "Numero pagina"; + Text[ sk ] = "Čísla stránok"; + Text[ da ] = "Sidetal"; + Text[ sv ] = "Sidnummer"; + Text[ pl ] = "Numer strony"; + Text[ pt-BR ] = "Números de página"; + Text[ th ] = "เลขหน้า"; + Text[ ja ] = "ページ番号"; + Text[ ko ] = "페이지 번호"; + Text[ zh-CN ] = "页码"; + Text[ zh-TW ] = "頁碼"; + Text[ tr ] = "Sayfa numarası"; + Text[ hi-IN ] = "पृष्ठ संख्या"; + Text[ ar ] = "رقم الصفحة"; + Text[ he ] = "מספרי עמודים"; +}; +String STR_DOCSTATFLD +{ + Text [ de ] = "Statistik" ; + Text [ en-US ] = "Statistics" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Estatística"; + Text[ ru ] = "Статистика"; + Text[ el ] = "Στατιστικά"; + Text[ nl ] = "Statistiek"; + Text[ fr ] = "Statistiques"; + Text[ es ] = "Estadística"; + Text[ fi ] = "Tilastotiedot"; + Text[ ca ] = "Estadística"; + Text[ it ] = "Statistiche"; + Text[ sk ] = "Štatistika"; + Text[ da ] = "Statistik"; + Text[ sv ] = "Statistik"; + Text[ pl ] = "Statystyka"; + Text[ pt-BR ] = "Estatísticas"; + Text[ th ] = "สถิติ"; + Text[ ja ] = "統計"; + Text[ ko ] = "통계"; + Text[ zh-CN ] = "统计"; + Text[ zh-TW ] = "統計"; + Text[ tr ] = "İstatistik"; + Text[ hi-IN ] = "अँकड़े"; + Text[ ar ] = "إحصائيات"; + Text[ he ] = "סטטיסטיקות"; +}; +String STR_AUTHORFLD +{ + Text [ de ] = "Benutzer" ; + Text [ en-US ] = "Author" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Autor"; + Text[ ru ] = "Автор"; + Text[ el ] = "Χρήστης"; + Text[ nl ] = "Gebruiker"; + Text[ fr ] = "Utilisateur"; + Text[ es ] = "Autor"; + Text[ fi ] = "Tekijä"; + Text[ ca ] = "Autor"; + Text[ it ] = "Autore"; + Text[ sk ] = "Autor"; + Text[ da ] = "Bruger"; + Text[ sv ] = "Användare"; + Text[ pl ] = "Autor"; + Text[ pt-BR ] = "Autor"; + Text[ th ] = "ผู้เขียน"; + Text[ ja ] = "ユーザー"; + Text[ ko ] = "작성자"; + Text[ zh-CN ] = "使用者"; + Text[ zh-TW ] = "使用者"; + Text[ tr ] = "Yazan"; + Text[ hi-IN ] = "लेखक"; + Text[ ar ] = "المستخدم"; + Text[ he ] = "מחבר"; +}; +String STR_TEMPLNAMEFLD +{ + Text [ de ] = "Dokumentvorlage" ; + Text [ en-US ] = "Templates" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Modelo de documento"; + Text[ ru ] = "Шаблоны"; + Text[ el ] = "Πρότυπο εγγράφου"; + Text[ nl ] = "Sjabloon"; + Text[ fr ] = "Modèle de document"; + Text[ es ] = "Plantillas"; + Text[ fi ] = "Mallit"; + Text[ ca ] = "Plantilles"; + Text[ it ] = "Modello"; + Text[ sk ] = "Šablóny"; + Text[ da ] = "Dokumentskabelon"; + Text[ sv ] = "Dokumentmall"; + Text[ pl ] = "Szablony"; + Text[ pt-BR ] = "Modelos"; + Text[ th ] = "แม่แบบ"; + Text[ ja ] = "ドキュメントテンプレート"; + Text[ ko ] = "서식 파일"; + Text[ zh-CN ] = "文档样式"; + Text[ zh-TW ] = "文件樣式"; + Text[ tr ] = "Belge şablonu"; + Text[ hi-IN ] = "नमूनें"; + Text[ ar ] = "قالب مستند"; + Text[ he ] = "תבניות"; +}; +String STR_EXTUSERFLD +{ + Text [ de ] = "Absender" ; + Text [ en-US ] = "Sender" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Remetente"; + Text[ ru ] = "Отправитель"; + Text[ el ] = "Αποστολέας"; + Text[ nl ] = "Afzender"; + Text[ fr ] = "Expéditeur"; + Text[ es ] = "Remitente"; + Text[ fi ] = "Lähettäjä"; + Text[ ca ] = "Remitent"; + Text[ it ] = "Mittente"; + Text[ sk ] = "Odosielateľ"; + Text[ da ] = "Afsender"; + Text[ sv ] = "Avsändare"; + Text[ pl ] = "Nadawca"; + Text[ pt-BR ] = "Remetente"; + Text[ th ] = "ผู้ส่ง"; + Text[ ja ] = "差出人"; + Text[ ko ] = "보낸 사람"; + Text[ zh-CN ] = "发件人"; + Text[ zh-TW ] = "寄件者"; + Text[ tr ] = "Gönderen"; + Text[ hi-IN ] = "भेजनेवाला"; + Text[ ar ] = "المرسل"; + Text[ he ] = "Absender"; +}; + // + // Bereich Funktionen + // +String STR_SETFLD +{ + Text [ de ] = "Variable setzen" ; + Text [ en-US ] = "Set variable" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Definir variável"; + Text[ ru ] = "Установить переменную"; + Text[ el ] = "Καθορισμός μεταβλητής"; + Text[ nl ] = "Variabele definiëren"; + Text[ fr ] = "Définir une variable"; + Text[ es ] = "Establecer variable"; + Text[ fi ] = "Määritä muuttuja"; + Text[ ca ] = "Defineix la variable"; + Text[ it ] = "Imposta variabile"; + Text[ sk ] = "Nastaviť premennú"; + Text[ da ] = "Definer variabel"; + Text[ sv ] = "Sätt variabel"; + Text[ pl ] = "Ustaw zmienną"; + Text[ pt-BR ] = "Definir variável"; + Text[ th ] = "กำหนดตัวแปร"; + Text[ ja ] = "変数の設定"; + Text[ ko ] = "변수 설정"; + Text[ zh-CN ] = "设定变量"; + Text[ zh-TW ] = "設定變數"; + Text[ tr ] = "Değişken tanımla"; + Text[ hi-IN ] = "वेरिऐबल सेट्ट करो"; + Text[ ar ] = "تعيين متغيرة"; + Text[ he ] = "Variable setzen"; +}; +String STR_GETFLD +{ + Text [ de ] = "Variable anzeigen" ; + Text [ en-US ] = "Show variable" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Mostrar variável"; + Text[ ru ] = "Показать переменную"; + Text[ el ] = "Εμφάνιση μεταβλητής"; + Text[ nl ] = "Variabele weergeven"; + Text[ fr ] = "Afficher la variable"; + Text[ es ] = "Mostrar variable"; + Text[ fi ] = "Näytä muuttuja"; + Text[ ca ] = "Mostra la variable"; + Text[ it ] = "Mostra variabile"; + Text[ sk ] = "Zobraziť premennú"; + Text[ da ] = "Vis variabel"; + Text[ sv ] = "Visa variabel"; + Text[ pl ] = "Pokaż zmienną"; + Text[ pt-BR ] = "Mostrar variável"; + Text[ th ] = "แสดงตัวแปร"; + Text[ ja ] = "変数の表示"; + Text[ ko ] = "변수 표시"; + Text[ zh-CN ] = "显示变量"; + Text[ zh-TW ] = "顯示變數"; + Text[ tr ] = "Değişken görüntüle"; + Text[ hi-IN ] = "वेरिऐबल दिखाओ"; + Text[ ar ] = "إظهار متغيرة"; + Text[ he ] = "Variable anzeigen"; +}; +String STR_FORMELFLD +{ + Text [ de ] = "Formel einfügen" ; + Text [ en-US ] = "Insert Formula" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir fórmula"; + Text[ ru ] = "Вставить формулу"; + Text[ el ] = "Εισαγωγή τύπου"; + Text[ nl ] = "Formule invoegen"; + Text[ fr ] = "Insérer une formule"; + Text[ es ] = "Insertar una fórmula"; + Text[ fi ] = "Lisää kaava"; + Text[ ca ] = "Insereix fórmula"; + Text[ it ] = "Inserisci formula"; + Text[ sk ] = "Vložiť vzorec"; + Text[ da ] = "Indsæt formel"; + Text[ sv ] = "Infoga formel"; + Text[ pl ] = "Wstaw formułę"; + Text[ pt-BR ] = "Inserir Fórmula"; + Text[ th ] = "แทรกสูตรคำนวณ"; + Text[ ja ] = "数式の挿入"; + Text[ ko ] = "수식 삽입"; + Text[ zh-CN ] = "插入公式"; + Text[ zh-TW ] = "插入公式"; + Text[ tr ] = "Formül ekle"; + Text[ hi-IN ] = "सूत्र जोड़ो"; + Text[ ar ] = "إدراج صيغة"; + Text[ he ] = "Formel einfügen"; +}; +String STR_INPUTFLD +{ + Text [ de ] = "Eingabefeld" ; + Text [ en-US ] = "Input field" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Campo de entrada"; + Text[ ru ] = "Поле ввода"; + Text[ el ] = "Πεδίο εισαγωγής"; + Text[ nl ] = "Invoerveld"; + Text[ fr ] = "Champ de saisie"; + Text[ es ] = "Campo de entrada"; + Text[ fi ] = "Syöttökenttä"; + Text[ ca ] = "Camp d'entrada"; + Text[ it ] = "Campo di inserimento"; + Text[ sk ] = "Vstupné pole"; + Text[ da ] = "Inputfelt"; + Text[ sv ] = "Inmatningsfält"; + Text[ pl ] = "Pole wprowadzania"; + Text[ pt-BR ] = "Campo de entrada"; + Text[ th ] = "ใส่เขตข้อมูล"; + Text[ ja ] = "入力フィールド"; + Text[ ko ] = "입력 필드"; + Text[ zh-CN ] = "输入字段"; + Text[ zh-TW ] = "輸入欄位"; + Text[ tr ] = "Giriş alanı"; + Text[ hi-IN ] = "इनपुट् क्षेत्र"; + Text[ ar ] = "حقل إدخال"; + Text[ he ] = "Eingabefeld"; +}; +String STR_SETINPUTFLD +{ + /* ### ACHTUNG: Neuer Text in Resource? Eingabefeld (Variable) : Eingabefeld (Varibale) */ + /* ### ACHTUNG: Neuer Text in Resource? Eingabefeld (Variable) : Eingabefeld (Varibale) */ + /* ### ACHTUNG: Neuer Text in Resource? Eingabefeld (Variable) : Eingabefeld (Varibale) */ + /* ### ACHTUNG: Neuer Text in Resource? Eingabefeld (Variable) : Eingabefeld (Varibale) */ + /* ### ACHTUNG: Neuer Text in Resource? Eingabefeld (Variable) : Eingabefeld (Varibale) */ + Text [ de ] = "Eingabefeld (Variable)" ; + Text [ en-US ] = "Input field (variable)" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Campo de entrada (variável)"; + Text[ ru ] = "Поле ввода (изменяемое)"; + Text[ el ] = "Πεδίο εισαγωγής (Μεταβλητή)"; + Text[ nl ] = "Invoerveld (variabele)"; + Text[ fr ] = "Champ de saisie (pour variables)"; + Text[ es ] = "Campo de entrada (variable)"; + Text[ fi ] = "Syöttökenttä (muuttuja)"; + Text[ ca ] = "Camp d'entrada (variable)"; + Text[ it ] = "Campo di inserimento (variabile)"; + Text[ sk ] = "Vstupné pole (premenné)"; + Text[ da ] = "Inputfelt (variabel)"; + Text[ sv ] = "Inmatningsfält (variabel)"; + Text[ pl ] = "Pole wprowadzania (Zmienna)"; + Text[ pt-BR ] = "Campo de entrada (variável)"; + Text[ th ] = "ใส่เขตข้อมูล (ตัวแปร)"; + Text[ ja ] = "入力フィールド (変数)"; + Text[ ko ] = "입력 필드(변수)"; + Text[ zh-CN ] = "输入字段(可变)"; + Text[ zh-TW ] = "輸入欄位(可變)"; + Text[ tr ] = "Giriş alanı (değişken)"; + Text[ hi-IN ] = "इनपुट् क्षेत्र (वेरिऐबल)"; + Text[ ar ] = "حقل إدخال (متغيرة)"; + Text[ he ] = "Eingabefeld (Variable)"; +}; +String STR_USRINPUTFLD +{ + Text [ de ] = "Eingabefeld (Benutzer)" ; + Text [ en-US ] = "Input field (user)" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Campo de entrada (utilizador)"; + Text[ ru ] = "Поле ввода (пользовательское)"; + Text[ el ] = "Πεδίο εισαγωγής (Χρήστης)"; + Text[ nl ] = "Invoerveld (gebruiker)"; + Text[ fr ] = "Champ de saisie (utilisateur)"; + Text[ es ] = "Campo de entrada (Usuario)"; + Text[ fi ] = "Syöttökenttä (käyttäjä)"; + Text[ ca ] = "Camp d'entrada (usuari)"; + Text[ it ] = "Campo di inserimento (utente)"; + Text[ sk ] = "Vstupné pole (užívateľ)"; + Text[ da ] = "Inputfelt (bruger)"; + Text[ sv ] = "Inmatningsfält (användare)"; + Text[ pl ] = "Pole wprowadzania (Użytkownik)"; + Text[ pt-BR ] = "Campo de entrada (usuário)"; + Text[ th ] = "ใส่เขตข้อมูล (ผู้ใช้)"; + Text[ ja ] = "入力フィールド (ユーザー)"; + Text[ ko ] = "입력 필드(사용자)"; + Text[ zh-CN ] = "输入字段(使用者)"; + Text[ zh-TW ] = "輸入欄位(使用者)"; + Text[ tr ] = "Giriş alanı (Kullanıcı)"; + Text[ hi-IN ] = "इनपुट् क्षेत्र (उपभोक्ता)"; + Text[ ar ] = "حقل إدخال (المستخدم)"; + Text[ he ] = "Eingabefeld (Benutzer)"; +}; +String STR_CONDTXTFLD +{ + Text [ de ] = "Bedingter Text" ; + Text [ en-US ] = "Conditional text" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Texto condicional"; + Text[ ru ] = "Текст с условием"; + Text[ el ] = "Κείμενο υπό συνθήκες"; + Text[ nl ] = "Conditionele tekst"; + Text[ fr ] = "Texte conditionnel"; + Text[ es ] = "Texto condicional"; + Text[ fi ] = "Ehdollinen teksti"; + Text[ ca ] = "Text condicional"; + Text[ it ] = "Testo condizionale"; + Text[ sk ] = "Podmienený text"; + Text[ da ] = "Betinget tekst"; + Text[ sv ] = "Villkorlig text"; + Text[ pl ] = "Tekst warunkowy"; + Text[ pt-BR ] = "Texto condicional"; + Text[ th ] = "ข้อความเงื่อนไข"; + Text[ ja ] = "条件付きテキスト"; + Text[ ko ] = "조건부 텍스트"; + Text[ zh-CN ] = "有条件的文字"; + Text[ zh-TW ] = "有條件的文字"; + Text[ tr ] = "Koşullu metin"; + Text[ hi-IN ] = "शर्त के अन्तर्गत टेक्स्ट्"; + Text[ ar ] = "نص مشروط"; + Text[ he ] = "Bedingter Text"; +}; +String STR_DDEFLD +{ + Text [ de ] = "DDE-Feld" ; + Text [ en-US ] = "DDE field" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Campo DDE"; + Text[ ru ] = "Поле DDE"; + Text[ el ] = "Πεδίο DDE"; + Text[ nl ] = "DDE-koppeling"; + Text[ fr ] = "Champ DDE"; + Text[ es ] = "Campo DDE"; + Text[ fi ] = "DDE-kenttä"; + Text[ ca ] = "Camp DDE"; + Text[ it ] = "Campo DDE"; + Text[ sk ] = "Pole DDE"; + Text[ da ] = "DDE-felt"; + Text[ sv ] = "DDE-fält"; + Text[ pl ] = "Pole DDE"; + Text[ pt-BR ] = "Campo DDE"; + Text[ th ] = "เขตข้อมูล DDE "; + Text[ ja ] = "DDEフィールド"; + Text[ ko ] = "DDE 필드"; + Text[ zh-CN ] = "DDE-区域"; + Text[ zh-TW ] = "DDE-區域"; + Text[ tr ] = "DDE alanı"; + Text[ hi-IN ] = "DDE क्षेत्र"; + Text[ ar ] = "حقل DDE"; + Text[ he ] = "DDE-Feld"; +}; +String STR_MACROFLD +{ + Text [ de ] = "Makro ausführen" ; + Text [ en-US ] = "Execute macro" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Executar macro"; + Text[ ru ] = "Выполнить макрос"; + Text[ el ] = "Εκτέλεση μακροεντολής"; + Text[ nl ] = "Macro uitvoeren"; + Text[ fr ] = "Exécuter la macro"; + Text[ es ] = "Ejecutar macro"; + Text[ fi ] = "Suorita makro"; + Text[ ca ] = "Executa la macro"; + Text[ it ] = "Esegui macro"; + Text[ sk ] = "Spustiť makro"; + Text[ da ] = "Udfør makro"; + Text[ sv ] = "Utför makro"; + Text[ pl ] = "Wykonaj makro"; + Text[ pt-BR ] = "Executar macro"; + Text[ th ] = "กระทำมาโคร"; + Text[ ja ] = "マクロの実行"; + Text[ ko ] = "매크로 실행"; + Text[ zh-CN ] = "执行宏"; + Text[ zh-TW ] = "執行巨集"; + Text[ tr ] = "Makroyu çalıştır"; + Text[ hi-IN ] = "मॉक्रो चलाओ"; + Text[ ar ] = "تنفيذ ماكرو"; + Text[ he ] = "Makro ausführen"; +}; +String STR_SEQFLD +{ + Text [ de ] = "Nummernkreis" ; + Text [ en-US ] = "Number range" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Sequência"; + Text[ ru ] = "Диапазон нумерации"; + Text[ el ] = "Επίπεδα αρίθμησης"; + Text[ nl ] = "Nummerreeks"; + Text[ fr ] = "Séquence"; + Text[ es ] = "Secuencia"; + Text[ fi ] = "Numeroalue"; + Text[ ca ] = "Seqüència"; + Text[ it ] = "Sequenza"; + Text[ sk ] = "Interval číslovania"; + Text[ da ] = "Sekvensnummererering"; + Text[ sv ] = "Nummersekvens"; + Text[ pl ] = "Sekwencja"; + Text[ pt-BR ] = "Intervalo numérico"; + Text[ th ] = "ช่วงหน้า"; + Text[ ja ] = "連番"; + Text[ ko ] = "번호 범위"; + Text[ zh-CN ] = "编号顺序"; + Text[ zh-TW ] = "編號順序"; + Text[ tr ] = "Numara aralığı"; + Text[ hi-IN ] = "संख्या फैलाव"; + Text[ ar ] = "ترقيم متسلسل"; + Text[ he ] = "Nummernkreis"; +}; +String STR_SETREFPAGEFLD +{ + Text [ de ] = "Seitenvariable setzen" ; + Text [ en-US ] = "Set page variable" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Definir variável de página"; + Text[ ru ] = "Установить переменную"; + Text[ el ] = "Καθορισμός μεταβλητής σελίδας"; + Text[ nl ] = "Paginavariabele definiëren"; + Text[ fr ] = "Variable de page"; + Text[ es ] = "Determinar variable de página"; + Text[ fi ] = "Määritä sivumuuttuja"; + Text[ ca ] = "Determina variable de pàgina"; + Text[ it ] = "Imposta variabile di pagina"; + Text[ sk ] = "Nastaviť premennú stránky"; + Text[ da ] = "Definer sidevariabel"; + Text[ sv ] = "Sätt sidvariabel"; + Text[ pl ] = "Ustaw zmienną strony"; + Text[ pt-BR ] = "Definir variável de página"; + Text[ th ] = "กำหนดตัวแปรหน้า"; + Text[ ja ] = "ページ変数の設定"; + Text[ ko ] = "페이지 변수 설정"; + Text[ zh-CN ] = "设定页面变数"; + Text[ zh-TW ] = "設定頁面變數"; + Text[ tr ] = "Sayfa değişkeni tanımla"; + Text[ hi-IN ] = "पृष्ठ वेरिऐबल को सेट्ट करो "; + Text[ ar ] = "تعيين متغيرة صفحة"; + Text[ he ] = "Seitenvariable setzen"; +}; +String STR_GETREFPAGEFLD +{ + Text [ de ] = "Seitenvariable anzeigen" ; + Text [ en-US ] = "Show page variable" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Mostrar variável de página"; + Text[ ru ] = "Показать переменные страницы"; + Text[ el ] = "Εμφάνιση μεταβλητής σελίδας"; + Text[ nl ] = "Paginavariabele weergeven"; + Text[ fr ] = "Affichage de variable de page"; + Text[ es ] = "Mostrar variable de página"; + Text[ fi ] = "Näytä sivumuuttuja"; + Text[ ca ] = "Mostra variable de pàgina"; + Text[ it ] = "Mostra variabile di pagina"; + Text[ sk ] = "Zobraziť premennú stránky"; + Text[ da ] = "Vis sidevariabel"; + Text[ sv ] = "Visa sidvariabel"; + Text[ pl ] = "Pokaż zmienną strony"; + Text[ pt-BR ] = "Mostrar variável de página"; + Text[ th ] = "แสดงตัวแปรหน้า"; + Text[ ja ] = "ページ変数の表示"; + Text[ ko ] = "페이지 변수 표시"; + Text[ zh-CN ] = "显示页面变数"; + Text[ zh-TW ] = "顯示頁面變數"; + Text[ tr ] = "Sayfa değişkenini görüntüle"; + Text[ hi-IN ] = "पृष्ठ वेरिऐबल को दिखाओ"; + Text[ ar ] = "إظهار متغيرة صفحة"; + Text[ he ] = "Seitenvariable anzeigen"; +}; +String STR_INTERNETFLD +{ + Text [ de ] = "URL laden" ; + Text [ en-US ] = "Load URL" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Carregar URL"; + Text[ ru ] = "Адрес URL"; + Text[ el ] = "Φόρτωση URL"; + Text[ nl ] = "URL laden"; + Text[ fr ] = "Charger l'URL"; + Text[ es ] = "Cargar URL"; + Text[ fi ] = "Lataa URL-osoite"; + Text[ ca ] = "Carrega l'URL"; + Text[ it ] = "Carica URL"; + Text[ sk ] = "Načítať URL"; + Text[ da ] = "Indlæs URL"; + Text[ sv ] = "Ladda URL"; + Text[ pl ] = "Ładuj URL"; + Text[ pt-BR ] = "Carregar URL"; + Text[ th ] = "โหลด URL"; + Text[ ja ] = "URLの読み込み"; + Text[ ko ] = "URL 로드"; + Text[ zh-CN ] = "装入 URL"; + Text[ zh-TW ] = "載入 URL"; + Text[ tr ] = "URL'yi yükle"; + Text[ hi-IN ] = "URL लोड़ करो"; + Text[ ar ] = "تحميل URL"; + Text[ he ] = "URL טען"; +}; +String STR_JUMPEDITFLD +{ + Text [ de ] = "Plat~zhalter" ; + Text [ en-US ] = "Placeholder" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Marcador de ~posição"; + Text[ ru ] = "Поле подстановки"; + Text[ el ] = "Πλαίσιο δείκτης τοποθέτησης"; + Text[ nl ] = "~Plaatsaanwijzer"; + Text[ fr ] = "~Substituant"; + Text[ es ] = "~Comodín"; + Text[ fi ] = "Paikkamerkki"; + Text[ ca ] = "Marcador"; + Text[ it ] = "Segnaposto"; + Text[ sk ] = "Zástupný znak"; + Text[ da ] = "Pladsholdere"; + Text[ sv ] = "~Platshållare"; + Text[ pl ] = "Znak-wypełniacz"; + Text[ pt-BR ] = "Marcador de posição"; + Text[ th ] = "ตัวยึดตำแหน่ง"; + Text[ ja ] = "プレースホルダ"; + Text[ ko ] = "플레이스홀더"; + Text[ zh-CN ] = "通配符"; + Text[ zh-TW ] = "萬用字元"; + Text[ tr ] = "Genel arama karakteri"; + Text[ hi-IN ] = "स्थानधारक"; + Text[ ar ] = "عنصر نائب"; + Text[ he ] = "Plat~zhalter"; +}; +String STR_COMBINED_CHARS +{ + Text [ de ] = "Zeichen kombinieren" ; + Text [ en-US ] = "Combine characters"; + Text[ pt ] = "Combinar caracteres"; + Text[ ru ] = "Объединить символы"; + Text[ el ] = "Συνδυασμός χαρακτήρων"; + Text[ nl ] = "Tekens combineren"; + Text[ fr ] = "Combiner les caractères"; + Text[ es ] = "Combinar caracteres"; + Text[ fi ] = "Yhdistä merkit"; + Text[ ca ] = "Combina caràcters"; + Text[ it ] = "Combina caratteri"; + Text[ sk ] = "Zrovnať znaky"; + Text[ da ] = "Kombiner tegn"; + Text[ sv ] = "Kombinera tecken"; + Text[ pl ] = "Połącz znaki"; + Text[ pt-BR ] = "Combinar caracteres"; + Text[ th ] = "เชื่อมตัวอักขระ"; + Text[ ja ] = "組み文字"; + Text[ ko ] = "문자 결합"; + Text[ zh-CN ] = "字符组合"; + Text[ zh-TW ] = "字元組合"; + Text[ tr ] = "Karakterleri birleştir"; + Text[ hi-IN ] = "अक्षरों को मिलाओ"; + Text[ ar ] = "ضم الأحرف"; + Text[ he ] = "Zeichen kombinieren"; +}; +String STR_DROPDOWN +{ + Text [ de ] = "Eingabeliste" ; + Text [ en-US ] = "Input list" ; + Text[ pt ] = "Input list"; + Text[ ru ] = "Input list"; + Text[ el ] = "Input list"; + Text[ nl ] = "Input list"; + Text[ fr ] = "Liste de saisie"; + Text[ es ] = "Lista de entrada"; + Text[ fi ] = "Input list"; + Text[ ca ] = "Input list"; + Text[ it ] = "Elenco digitazioni"; + Text[ sk ] = "Vstupný zoznam"; + Text[ da ] = "Input list"; + Text[ sv ] = "Inmatningslista"; + Text[ pl ] = "Input list"; + Text[ pt-BR ] = "Input list"; + Text[ th ] = "Input list"; + Text[ ja ] = "入力項目"; + Text[ ko ] = "입력 목록"; + Text[ zh-CN ] = "输入列单"; + Text[ zh-TW ] = "輸入清單"; + Text[ tr ] = "Input list"; + Text[ hi-IN ] = "Input list"; + Text[ ar ] = "Input list"; + Text[ he ] = "Input list"; +}; + // + // Bereich Referenzen + // +String STR_SETREFFLD +{ + Text [ de ] = "Referenz setzen" ; + Text [ en-US ] = "Set Reference" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Definir referência"; + Text[ ru ] = "Установить ссылку"; + Text[ el ] = "Ορισμός παραπομπής"; + Text[ nl ] = "Verwijzing definiëren"; + Text[ fr ] = "Définir une référence"; + Text[ es ] = "Establecer referencia"; + Text[ fi ] = "Määritä viite"; + Text[ ca ] = "Estableix referència"; + Text[ it ] = "Imposta riferimento"; + Text[ sk ] = "Nastaviť odkaz"; + Text[ da ] = "Definer reference"; + Text[ sv ] = "Sätt referens"; + Text[ pl ] = "Określ odwołanie"; + Text[ pt-BR ] = "Definir Referência"; + Text[ th ] = "กำหนดการอ้างอิง"; + Text[ ja ] = "参照の設定"; + Text[ ko ] = "참조 설정"; + Text[ zh-CN ] = "设定引用"; + Text[ zh-TW ] = "設定參照"; + Text[ tr ] = "Referans tanımla"; + Text[ hi-IN ] = "रेफरेन्स सेट्ट करो"; + Text[ ar ] = "تعيين مرجع"; + Text[ he ] = "Referenz setzen"; +}; +String STR_GETREFFLD +{ + Text [ de ] = "Referenz einfügen" ; + Text [ en-US ] = "Insert Reference" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir referência"; + Text[ ru ] = "Вставить ссылку"; + Text[ el ] = "Εισαγωγή παραπομπής"; + Text[ nl ] = "Verwijzing invoegen"; + Text[ fr ] = "Insérer une référence"; + Text[ es ] = "Insertar referencia"; + Text[ fi ] = "Lisää viite"; + Text[ ca ] = "Insereix referència"; + Text[ it ] = "Inserisci riferimento"; + Text[ sk ] = "Vložiť referenciu"; + Text[ da ] = "Indsæt reference"; + Text[ sv ] = "Infoga referens"; + Text[ pl ] = "Wstaw odwołanie"; + Text[ pt-BR ] = "Inserir Referência"; + Text[ th ] = "แทรกการอ้างอิง"; + Text[ ja ] = "参照の挿入"; + Text[ ko ] = "참조 삽입"; + Text[ zh-CN ] = "插入引用"; + Text[ zh-TW ] = "插入參照"; + Text[ tr ] = "Referans ekle"; + Text[ hi-IN ] = "रेफरेन्स जोड़ो"; + Text[ ar ] = "إدراج مرجع"; + Text[ he ] = "Referenz einfügen"; +}; + // + // Bereich Datenbank + // +String STR_DBFLD +{ + Text [ de ] = "Seriendruck-Feld" ; + Text [ en-US ] = "Mail merge fields" ; + Text [ x-comment ] = "EM April 2003: German should be \"Seriendruck-Felder\""; + Text[ pt ] = "Campo para cartas em série"; + Text[ ru ] = "Поля баз данных"; + Text[ el ] = "Πεδίο εγκυκλίου επιστολής"; + Text[ nl ] = "Standaardbriefveld"; + Text[ fr ] = "Champs de mailing"; + Text[ es ] = "Campos de la impresión en serie"; + Text[ fi ] = "Joukkokirjeen kenttä"; + Text[ ca ] = "Camp de carta formulari"; + Text[ it ] = "Campo stampa in serie"; + Text[ sk ] = "Pole formulárového listu"; + Text[ da ] = "Brevfletningsfelt"; + Text[ sv ] = "Standardbrevfält"; + Text[ pl ] = "Pole listu seryjnego"; + Text[ pt-BR ] = "Campo da mala direta"; + Text[ th ] = "เขตข้อมูลแบบจดหมาย"; + Text[ ja ] = "差し込み印刷フィールド"; + Text[ ko ] = "편지 병합 필드"; + Text[ zh-CN ] = "邮件合并字段"; + Text[ zh-TW ] = "合併列印欄位"; + Text[ tr ] = "Posta alanlarını birleştir"; + Text[ hi-IN ] = "फ़ॉर्म पत्र की क्षेत्र"; + Text[ ar ] = "حقل خطاب مسلسل"; + Text[ he ] = "Serienbrieffeld"; +}; +String STR_DBNEXTSETFLD +{ + Text [ de ] = "Nächster Datensatz" ; + Text [ en-US ] = "Next record" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Registo seguinte"; + Text[ ru ] = "Следующая запись"; + Text[ el ] = "Επόμενη εγγραφή"; + Text[ nl ] = "Volgende record"; + Text[ fr ] = "Enregistrement suivant"; + Text[ es ] = "Registro siguiente"; + Text[ fi ] = "Seuraava tietue"; + Text[ ca ] = "Registre següent"; + Text[ it ] = "Record dati successivo"; + Text[ sk ] = "Ďalší záznam"; + Text[ da ] = "Næste datapost"; + Text[ sv ] = "Nästa datapost"; + Text[ pl ] = "Następny rekord"; + Text[ pt-BR ] = "Próximo registro"; + Text[ th ] = "ระเบียนถัดไป"; + Text[ ja ] = "次のレコード"; + Text[ ko ] = "다음 레코드"; + Text[ zh-CN ] = "下一个数据条目"; + Text[ zh-TW ] = "下一個資料條目"; + Text[ tr ] = "Sonraki veri kümesi"; + Text[ hi-IN ] = "अगला अभिलेख"; + Text[ ar ] = "السجل التالي"; + Text[ he ] = "Nächster Datensatz"; +}; +String STR_DBNUMSETFLD +{ + Text [ de ] = "Beliebiger Datensatz" ; + Text [ en-US ] = "Any record" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Qualquer registo"; + Text[ ru ] = "Любая запись"; + Text[ el ] = "Οποιαδήποτε εγγραφή"; + Text[ nl ] = "Willekeurige record"; + Text[ fr ] = "Enregistrement aléatoire"; + Text[ es ] = "Cualquier registro"; + Text[ fi ] = "Mikä tahansa tietue"; + Text[ ca ] = "Qualsevol registre"; + Text[ it ] = "Qualsiasi record di dati"; + Text[ sk ] = "Akýkoľvek záznam"; + Text[ da ] = "Vilkårlig datapost"; + Text[ sv ] = "Slumpvis datapost"; + Text[ pl ] = "Dowolny rekord"; + Text[ pt-BR ] = "Qualquer registro"; + Text[ th ] = "ระเบียนใด ๆ"; + Text[ ja ] = "任意のレコード"; + Text[ ko ] = "임의의 레코드"; + Text[ zh-CN ] = "任何一个数据条目"; + Text[ zh-TW ] = "任何一個資料條目"; + Text[ tr ] = "Herhangi bir veri kümesi"; + Text[ hi-IN ] = "किसी अभिलेख"; + Text[ ar ] = "أي سجل"; + Text[ he ] = "Beliebiger Datensatz"; +}; +String STR_DBSETNUMBERFLD +{ + Text [ de ] = "Datensatznummer" ; + Text [ en-US ] = "Record number" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Número do registo"; + Text[ ru ] = "Номер записи"; + Text[ el ] = "Αριθμός εγγραφής"; + Text[ nl ] = "Recordnummer"; + Text[ fr ] = "Numéro d'enregistrement"; + Text[ es ] = "Número de registro"; + Text[ fi ] = "Tietueen numero"; + Text[ ca ] = "Número de registre"; + Text[ it ] = "Numero record dati"; + Text[ sk ] = "Číslo záznamu"; + Text[ da ] = "Datapostnummer"; + Text[ sv ] = "Datapostnummer"; + Text[ pl ] = "Numer rekordu"; + Text[ pt-BR ] = "Número do registro"; + Text[ th ] = "เลขระเบียน"; + Text[ ja ] = "レコード番号"; + Text[ ko ] = "레코드 번호"; + Text[ zh-CN ] = "数据条目编号"; + Text[ zh-TW ] = "資料條目編號"; + Text[ tr ] = "Veri kümesi numarası"; + Text[ hi-IN ] = "अभिलेख संख्या"; + Text[ ar ] = "رقم السجل"; + Text[ he ] = "Datensatznummer"; +}; +String STR_PREVPAGEFLD +{ + Text [ de ] = "Vorherige Seite" ; + Text [ en-US ] = "Previous page" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Página anterior"; + Text[ ru ] = "Предыдущая страница"; + Text[ el ] = "Προηγούμενη σελίδα"; + Text[ nl ] = "Vorige pagina"; + Text[ fr ] = "Page précédente"; + Text[ es ] = "Página anterior"; + Text[ fi ] = "Edellinen sivu"; + Text[ ca ] = "Pàgina anterior"; + Text[ it ] = "Pagina precedente"; + Text[ sk ] = "Predchádzajúca stránka"; + Text[ da ] = "Forrige side"; + Text[ sv ] = "Föregående sida"; + Text[ pl ] = "Poprzednia strona"; + Text[ pt-BR ] = "Página anterior"; + Text[ th ] = "หน้าก่อน"; + Text[ ja ] = "前のページ"; + Text[ ko ] = "이전 페이지"; + Text[ zh-CN ] = "上一页"; + Text[ zh-TW ] = "上一頁"; + Text[ tr ] = "Önceki sayfa"; + Text[ hi-IN ] = "पिछला पृष्ठ"; + Text[ ar ] = "الصفحة السابقة"; + Text[ he ] = "Vorherige Seite"; +}; +String STR_NEXTPAGEFLD +{ + Text [ de ] = "Nächste Seite" ; + Text [ en-US ] = "Next page" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Página seguinte"; + Text[ ru ] = "Следующая страница"; + Text[ el ] = "Επόμενη σελίδα"; + Text[ nl ] = "Volgende pagina"; + Text[ fr ] = "Page suivante"; + Text[ es ] = "Página siguiente"; + Text[ fi ] = "Seuraava sivu"; + Text[ ca ] = "Pàgina següent"; + Text[ it ] = "Pagina successiva"; + Text[ sk ] = "Ďalšia stránka"; + Text[ da ] = "Næste side"; + Text[ sv ] = "Nästa sida"; + Text[ pl ] = "Następna strona"; + Text[ pt-BR ] = "Próxima página"; + Text[ th ] = "หน้าถัดไป"; + Text[ ja ] = "次のページ"; + Text[ ko ] = "다음 페이지"; + Text[ zh-CN ] = "下一页"; + Text[ zh-TW ] = "下一頁"; + Text[ tr ] = "Sonraki sayfa"; + Text[ hi-IN ] = "अगला पृष्ठ"; + Text[ ar ] = "الصفحة التالية"; + Text[ he ] = "Nächste Seite"; +}; +String STR_HIDDENTXTFLD +{ + Text [ de ] = "Versteckter Text" ; + Text [ en-US ] = "Hidden text" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Texto oculto"; + Text[ ru ] = "Скрытый текст"; + Text[ el ] = "Κρυφό κείμενο"; + Text[ nl ] = "Verborgen tekst"; + Text[ fr ] = "Texte masqué"; + Text[ es ] = "Texto oculto"; + Text[ fi ] = "Piiloteksti"; + Text[ ca ] = "Text ocult"; + Text[ it ] = "Testo nascosto"; + Text[ sk ] = "Skrytý text"; + Text[ da ] = "Skjult tekst"; + Text[ sv ] = "Dold text"; + Text[ pl ] = "Ukryty tekst"; + Text[ pt-BR ] = "Texto oculto"; + Text[ th ] = "ข้อความที่ซ่อนไว้"; + Text[ ja ] = "隠しテキスト"; + Text[ ko ] = "숨겨진 텍스트"; + Text[ zh-CN ] = "隐入的文字"; + Text[ zh-TW ] = "隱入的文字"; + Text[ tr ] = "Gizli"; + Text[ hi-IN ] = "छिपा हुआ टेक्सट्"; + Text[ ar ] = "نص مخفي"; + Text[ he ] = "Versteckter Text"; +}; + // + // Bereich Benutzerfelder + // +String STR_USERFLD +{ + Text [ de ] = "Benutzerfeld" ; + Text [ en-US ] = "User Field" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Campo do utilizador"; + Text[ ru ] = "Поле пользователя"; + Text[ el ] = "Πεδίο χρήστη"; + Text[ nl ] = "Gebruikersveld"; + Text[ fr ] = "Champ d'utilisateur"; + Text[ es ] = "Campo del usuario"; + Text[ fi ] = "Käyttäjäkenttä"; + Text[ ca ] = "Camp de l'usuari"; + Text[ it ] = "Campo utente"; + Text[ sk ] = "Pole užívateľa"; + Text[ da ] = "Brugerdefineret felt"; + Text[ sv ] = "Användarfält"; + Text[ pl ] = "Pole użytkownika"; + Text[ pt-BR ] = "Campo do usuário"; + Text[ th ] = "เขตข้อมูลผู้ใช้"; + Text[ ja ] = "ユーザー欄"; + Text[ ko ] = "사용자 필드"; + Text[ zh-CN ] = "使用者栏位"; + Text[ zh-TW ] = "自訂欄位"; + Text[ tr ] = "Kullanıcı alanı"; + Text[ hi-IN ] = "उपभोक्ता क्षेत्र"; + Text[ ar ] = "حقل المستخدم"; + Text[ he ] = "Benutzerfeld"; +}; +String STR_POSTITFLD +{ + Text [ de ] = "Notiz" ; + Text [ en-US ] = "Note" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Anotação"; + Text[ ru ] = "Примечание"; + Text[ el ] = "Σημείωση"; + Text[ nl ] = "Aantekening"; + Text[ fr ] = "Note"; + Text[ es ] = "Nota"; + Text[ fi ] = "Huomautus"; + Text[ ca ] = "Nota"; + Text[ it ] = "Nota"; + Text[ sk ] = "Poznámka"; + Text[ da ] = "Note"; + Text[ sv ] = "Anteckning"; + Text[ pl ] = "Notatka"; + Text[ pt-BR ] = "Anotação"; + Text[ th ] = "บันทึกย่อ"; + Text[ ja ] = "コメント"; + Text[ ko ] = "메모"; + Text[ zh-CN ] = "备注"; + Text[ zh-TW ] = "備註"; + Text[ tr ] = "Not"; + Text[ hi-IN ] = "सूचना"; + Text[ ar ] = "ملاحظة"; + Text[ he ] = "הערה"; +}; +String STR_SCRIPTFLD +{ + Text [ de ] = "Script" ; + Text [ en-US ] = "Script" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Script"; + Text[ ru ] = "Скрипт"; + Text[ el ] = "Δέσμη ενεργειών"; + Text[ nl ] = "Script"; + Text[ fr ] = "Script"; + Text[ es ] = "Script"; + Text[ fi ] = "Komentosarja"; + Text[ ca ] = "Script"; + Text[ it ] = "Script"; + Text[ sk ] = "Skript"; + Text[ da ] = "Script"; + Text[ sv ] = "Skript"; + Text[ pl ] = "Skrypt"; + Text[ pt-BR ] = "Script"; + Text[ th ] = "สคริปต์"; + Text[ ja ] = "スクリプト"; + Text[ ko ] = "스크립트"; + Text[ zh-CN ] = "脚本"; + Text[ zh-TW ] = "程式檔"; + Text[ tr ] = "Betik"; + Text[ hi-IN ] = "स्क्रिप्ट्"; + Text[ ar ] = "نص برمجي"; + Text[ he ] = "קוד לביצוה"; +}; +String STR_AUTHORITY +{ + Text [ de ] = "Eintrag Literaturverzeichnis" ; + Text [ en-US ] = "Bibliography entry"; + Text [ x-comment ] = " "; + Text[ pt ] = "Entrada bibliográfica"; + Text[ ru ] = "Библиографическая ссылка"; + Text[ el ] = "Καταχώριση βιβλιογραφίας"; + Text[ nl ] = "Item voor literatuurlijst"; + Text[ fr ] = "Entrée de bibliographie"; + Text[ es ] = "Entrada bibliográfica"; + Text[ fi ] = "Lähdeluettelomerkintä"; + Text[ ca ] = "Entrada bibliografia"; + Text[ it ] = "Voce bibliografia"; + Text[ sk ] = "Položka v zozname použitej literatúry"; + Text[ da ] = "Element litteraturliste"; + Text[ sv ] = "Post litteraturförteckning"; + Text[ pl ] = "Pozycja bibliograficzna"; + Text[ pt-BR ] = "Entrada bibliográfica"; + Text[ th ] = "รายการบรรณานุกรม"; + Text[ ja ] = "項目 参考文献表"; + Text[ ko ] = "참고 문헌 항목"; + Text[ zh-CN ] = "文献目录条目"; + Text[ zh-TW ] = "條目 參考文獻目錄"; + Text[ tr ] = "Kaynakça girişi"; + Text[ hi-IN ] = "ग्रन्थ-सूची प्रविष्टी"; + Text[ ar ] = "إدخال في فهرس المراجع"; + Text[ he ] = "שורת בבליוגרפיה"; +}; +String STR_HIDDENPARAFLD +{ + Text [ de ] = "Versteckter Absatz" ; + Text [ en-US ] = "Hidden Paragraph" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Parágrafo oculto"; + Text[ ru ] = "Скрытый абзац"; + Text[ el ] = "Κρυφή παράγραφος"; + Text[ nl ] = "Verborgen alinea"; + Text[ fr ] = "Paragraphe masqué"; + Text[ es ] = "Párrafo oculto"; + Text[ fi ] = "Piilotettu kappale"; + Text[ ca ] = "Paràgraf ocult"; + Text[ it ] = "Paragrafo vuoto"; + Text[ sk ] = "Skrytý odstavec"; + Text[ da ] = "Skjult afsnit"; + Text[ sv ] = "Dolt stycke"; + Text[ pl ] = "Ukryty akapit"; + Text[ pt-BR ] = "Parágrafo oculto"; + Text[ th ] = "ย่อหน้าที่ซ่อนไว้"; + Text[ ja ] = "隠し段落"; + Text[ ko ] = "숨겨진 단락"; + Text[ zh-CN ] = "隐入的段落"; + Text[ zh-TW ] = "隱入的段落"; + Text[ tr ] = "Gizli paragraf"; + Text[ hi-IN ] = "छिपा हुआ परिच्छेद"; + Text[ ar ] = "فقرة مخفية"; + Text[ he ] = "!"; +}; + // + // Bereich DokumentInfo + // +String STR_DOCINFOFLD +{ + Text [ de ] = "Dokumentinfo" ; + Text [ en-US ] = "DocInformation" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Info. sobre documento"; + Text[ ru ] = "Сведения о документе"; + Text[ el ] = "Πληροφορίες εγγράφου"; + Text[ nl ] = "Documentinfo"; + Text[ fr ] = "Info document"; + Text[ es ] = "Información del documento"; + Text[ fi ] = "Asiakirjatiedot"; + Text[ ca ] = "Informació del document"; + Text[ it ] = "Info documento"; + Text[ sk ] = "Informácie o dokumente"; + Text[ da ] = "Dokumentinfo"; + Text[ sv ] = "Dokumentinformation"; + Text[ pl ] = "Informacje o dokumencie"; + Text[ pt-BR ] = "Info. do Doc."; + Text[ th ] = "ข้อมูลเอกสาร"; + Text[ ja ] = "ドキュメント情報"; + Text[ ko ] = "문서 정보"; + Text[ zh-CN ] = "文档信息"; + Text[ zh-TW ] = "文件資訊"; + Text[ tr ] = "Belge bilgileri"; + Text[ hi-IN ] = "DocInformation"; + Text[ ar ] = "معلومات المستند"; + Text[ he ] = "Dokumentinfo"; +}; +/*-------------------------------------------------------------------- + Beschreibung: SubCmd-Strings + --------------------------------------------------------------------*/ +String FLD_DATE_STD +{ + Text [ de ] = "Datum" ; + Text [ en-US ] = "Date"; + Text [ x-comment ] = " "; + Text[ pt ] = "Data"; + Text[ ru ] = "Дата"; + Text[ el ] = "Ημερομηνία"; + Text[ nl ] = "Datum"; + Text[ fr ] = "Date"; + Text[ es ] = "Fecha"; + Text[ fi ] = "Päivämäärä"; + Text[ ca ] = "Data"; + Text[ it ] = "Data"; + Text[ sk ] = "Dátum"; + Text[ da ] = "Dato"; + Text[ sv ] = "Datum"; + Text[ pl ] = "Data"; + Text[ pt-BR ] = "Data"; + Text[ th ] = "วันที่"; + Text[ ja ] = "日付"; + Text[ ko ] = "날짜"; + Text[ zh-CN ] = "日期"; + Text[ zh-TW ] = "日期"; + Text[ tr ] = "Tarih"; + Text[ hi-IN ] = "दिनांक"; + Text[ ar ] = "التاريخ"; + Text[ he ] = "תאריך"; +}; +String FLD_DATE_FIX +{ + Text [ de ] = "Datum (fix)" ; + Text [ en-US ] = "Date (fixed)" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Data (fixa)"; + Text[ ru ] = "Дата (фикс.)"; + Text[ el ] = "Ημερομηνία (Σταθερά)"; + Text[ nl ] = "Datum (vast)"; + Text[ fr ] = "Date (fixe)"; + Text[ es ] = "Fecha (fija)"; + Text[ fi ] = "Kiinteä päivämäärä"; + Text[ ca ] = "Data (fixa)"; + Text[ it ] = "Data (fissa)"; + Text[ sk ] = "Dátum (nemenné)"; + Text[ da ] = "Dato (fast)"; + Text[ sv ] = "Datum (fast)"; + Text[ pl ] = "Data (stała)"; + Text[ pt-BR ] = "Data (fixa)"; + Text[ th ] = "วันที่ (คงที่)"; + Text[ ja ] = "日付(固定)"; + Text[ ko ] = "날짜(고정적)"; + Text[ zh-CN ] = "日期(固定)"; + Text[ zh-TW ] = "日期(固定)"; + Text[ tr ] = "Tarih (sabit)"; + Text[ hi-IN ] = "दिनांक (स्थिर)"; + Text[ ar ] = "تاريخ (ثابت)"; + Text[ he ] = "Datum (fix)"; +}; +String FLD_TIME_STD +{ + Text [ de ] = "Uhrzeit" ; + Text [ en-US ] = "Time"; + Text [ x-comment ] = " "; + Text[ pt ] = "Hora"; + Text[ ru ] = "Время"; + Text[ el ] = "Ώρα"; + Text[ nl ] = "Tijd"; + Text[ fr ] = "Heure"; + Text[ es ] = "Hora"; + Text[ fi ] = "Aika"; + Text[ ca ] = "Hora"; + Text[ it ] = "Orario"; + Text[ sk ] = "Čas"; + Text[ da ] = "Klokkeslæt"; + Text[ sv ] = "Klockslag"; + Text[ pl ] = "Godzina"; + Text[ pt-BR ] = "Hora"; + Text[ th ] = "เวลา"; + Text[ ja ] = "時刻"; + Text[ ko ] = "시간"; + Text[ zh-CN ] = "时间"; + Text[ zh-TW ] = "時間"; + Text[ tr ] = "Saat"; + Text[ hi-IN ] = "समय"; + Text[ ar ] = "الوقت"; + Text[ he ] = "שעה"; +}; +String FLD_TIME_FIX +{ + Text [ de ] = "Uhrzeit (fix)" ; + Text [ en-US ] = "Time (fixed)" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Hora (fixa)"; + Text[ ru ] = "Время (фикс.)"; + Text[ el ] = "Ώρα (σταθερά)"; + Text[ nl ] = "Tijd (vast)"; + Text[ fr ] = "Heure (fixe)"; + Text[ es ] = "Hora (fija)"; + Text[ fi ] = "Kiinteä kellonaika"; + Text[ ca ] = "Hora (fixa)"; + Text[ it ] = "Orario (fisso)"; + Text[ sk ] = "Čas (nemenný)"; + Text[ da ] = "Klokkeslæt (fast)"; + Text[ sv ] = "Klockslag (fast)"; + Text[ pl ] = "Godzina (stała)"; + Text[ pt-BR ] = "Hora (fixa)"; + Text[ th ] = "เวลา (คงที่)"; + Text[ ja ] = "時刻(固定)"; + Text[ ko ] = "시간 (고정됨)"; + Text[ zh-CN ] = "时间(固定)"; + Text[ zh-TW ] = "時間(固定)"; + Text[ tr ] = "Saat (sabit)"; + Text[ hi-IN ] = "समय (स्थिर)"; + Text[ ar ] = "الوقت (ثابت)"; + Text[ he ] = "Uhrzeit (fix)"; +}; + // + // SubCmd Statistik + // +String FLD_STAT_TABLE +{ + Text [ de ] = "Tabellen" ; + Text [ en-US ] = "Tables" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Tabelas"; + Text[ ru ] = "Таблицы"; + Text[ el ] = "Πίνακες"; + Text[ nl ] = "Tabellen"; + Text[ fr ] = "Tableaux"; + Text[ es ] = "Tablas"; + Text[ fi ] = "Taulukot"; + Text[ ca ] = "Taules"; + Text[ it ] = "Tabella"; + Text[ sk ] = "Tabuľky"; + Text[ da ] = "Tabeller"; + Text[ sv ] = "Tabeller"; + Text[ pl ] = "Tabele"; + Text[ pt-BR ] = "Tabelas"; + Text[ th ] = "ตาราง"; + Text[ ja ] = "表"; + Text[ ko ] = "표"; + Text[ zh-CN ] = "表格"; + Text[ zh-TW ] = "表格"; + Text[ tr ] = "Tablolar"; + Text[ hi-IN ] = "सारणियाँ"; + Text[ ar ] = "جداول"; + Text[ he ] = "טבלאות"; +}; + + // SubCmd DDETypen + // + + +/*-------------------------------------------------------------------- + Beschreibung: SubType Extuser + --------------------------------------------------------------------*/ + + +/*-------------------------------------------------------------------- + Beschreibung: Pfadname + --------------------------------------------------------------------*/ + // Formate FileName + +/*-------------------------------------------------------------------- + Beschreibung: Format Kapitel + --------------------------------------------------------------------*/ + +/*-------------------------------------------------------------------- + Beschreibung: Formate + --------------------------------------------------------------------*/ + +/*-------------------------------------------------------------------- + Beschreibung: Author + --------------------------------------------------------------------*/ + +/*-------------------------------------------------------------------- + Beschreibung: Varibale setzen + --------------------------------------------------------------------*/ + +/*-------------------------------------------------------------------- + Beschreibung: Ablagefelder + --------------------------------------------------------------------*/ + +/*-------------------------------------------------------------------- + Beschreibung: Formate Referenzen + --------------------------------------------------------------------*/ + +/*-------------------------------------------------------------------- + Beschreibung: Platzhalter + --------------------------------------------------------------------*/ + +/*-------------------------------------------------------------------- + Beschreibung: Nur-Text + --------------------------------------------------------------------*/ +String FMT_TEXT +{ + Text = "Text" ; +}; +/*-------------------------------------------------------------------- + Beschreibung: globale String-Ressourcen + --------------------------------------------------------------------*/ +String STR_ALL +{ + Text [ de ] = "Alle" ; + Text [ en-US ] = "All" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Todos"; + Text[ ru ] = "Все"; + Text[ el ] = "Όλα"; + Text[ nl ] = "Alles"; + Text[ fr ] = "Tout"; + Text[ es ] = "Todo"; + Text[ fi ] = "Kaikki"; + Text[ ca ] = "Tot"; + Text[ it ] = "Tutto"; + Text[ sk ] = "Všetko"; + Text[ da ] = "Alle"; + Text[ sv ] = "Alla"; + Text[ pl ] = "Wszystko"; + Text[ pt-BR ] = "Tudo"; + Text[ th ] = "ทั้งหมด"; + Text[ ja ] = "すべて"; + Text[ ko ] = "모두"; + Text[ zh-CN ] = "全部"; + Text[ zh-TW ] = "全部"; + Text[ tr ] = "Tümü"; + Text[ hi-IN ] = "सब"; + Text[ ar ] = "الكل"; + Text[ he ] = "הכל"; +}; +String STR_INSERT +{ + Text [ de ] = "Einfügen" ; + Text [ en-US ] = "Insert" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir"; + Text[ ru ] = "Вставить"; + Text[ el ] = "Εισαγωγή"; + Text[ nl ] = "Invoegen"; + Text[ fr ] = "Insérer"; + Text[ es ] = "Insertar"; + Text[ fi ] = "Lisää"; + Text[ ca ] = "Insereix"; + Text[ it ] = "Inserisci"; + Text[ sk ] = "Vložiť"; + Text[ da ] = "Indsæt"; + Text[ sv ] = "Infoga"; + Text[ pl ] = "Wstaw"; + Text[ pt-BR ] = "Inserir"; + Text[ th ] = "แทรก"; + Text[ ja ] = "挿入"; + Text[ ko ] = "삽입"; + Text[ zh-CN ] = "插入"; + Text[ zh-TW ] = "插入"; + Text[ tr ] = "Ekle"; + Text[ hi-IN ] = "जोड़ो"; + Text[ ar ] = "إدراج"; + Text[ he ] = "הוספה"; +}; +/*-------------------------------------------------------------------- + Beschreibung: AustauschStrings fuer Edit/NameFT + --------------------------------------------------------------------*/ +String STR_COND +{ + Text [ de ] = "Bedin~gung" ; + Text [ en-US ] = "~Condition" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Condição"; + Text[ ru ] = "Условие"; + Text[ el ] = "Όρος"; + Text[ nl ] = "~Voorwaarde"; + Text[ fr ] = "~Condition"; + Text[ es ] = "Condición"; + Text[ fi ] = "~Ehto"; + Text[ ca ] = "~Condició"; + Text[ it ] = "Condizione"; + Text[ sk ] = "Pod~mienka"; + Text[ da ] = "Betingelse"; + Text[ sv ] = "Vill~kor"; + Text[ pl ] = "~Warunek"; + Text[ pt-BR ] = "~Condição"; + Text[ th ] = "เ~งื่อนไข"; + Text[ ja ] = "条件(~C)"; + Text[ ko ] = "조건(~C)"; + Text[ zh-CN ] = "条件(~C)"; + Text[ zh-TW ] = "條件(~C)"; + Text[ tr ] = "Koşul"; + Text[ hi-IN ] = "~शर्त"; + Text[ ar ] = "شرط"; + Text[ he ] = "Bedin~gung"; +}; +String STR_TEXT +{ + Text [ de ] = "Dann, Sonst" ; + Text [ en-US ] = "Then, Else" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Então, Senão"; + Text[ ru ] = "Затем, Иначе"; + Text[ el ] = "Τότε, Αλλιώς"; + Text[ nl ] = "Dan, Anders"; + Text[ fr ] = "Alors, sinon"; + Text[ es ] = "Entonces, si no"; + Text[ fi ] = "Sitten, Muuten"; + Text[ ca ] = "Aleshores, si no"; + Text[ it ] = "Poi, altrimenti"; + Text[ sk ] = "Potom, Ináč"; + Text[ da ] = "Så, Ellers"; + Text[ sv ] = "Sedan, annars"; + Text[ pl ] = "Następnie, W przeciwnym razie"; + Text[ pt-BR ] = "Então, Senão"; + Text[ th ] = "จากนั้น, อย่างอื่น"; + Text[ ja ] = "条件を満たす時、満たさない時"; + Text[ ko ] = "조건을 충족할 경우, 그렇지 않을 경우"; + Text[ zh-CN ] = "那么就,否则"; + Text[ zh-TW ] = "那麼就,否則"; + Text[ tr ] = "O halde, Yoksa"; + Text[ hi-IN ] = "Then, Else"; + Text[ ar ] = "ثم، غير ذلك"; + Text[ he ] = "Dann, Sonst"; +}; + + + + + diff --git a/binfilter/bf_sw/source/ui/globdoc/makefile.mk b/binfilter/bf_sw/source/ui/globdoc/makefile.mk new file mode 100644 index 000000000000..cefea526b72a --- /dev/null +++ b/binfilter/bf_sw/source/ui/globdoc/makefile.mk @@ -0,0 +1,59 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_globdoc + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +CXXFILES = \ + sw_globdoc.cxx + +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_globdoc.src + +SLOFILES = \ + $(SLO)$/sw_globdoc.obj + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/globdoc/sw_globdoc.cxx b/binfilter/bf_sw/source/ui/globdoc/sw_globdoc.cxx new file mode 100644 index 000000000000..3d394139246b --- /dev/null +++ b/binfilter/bf_sw/source/ui/globdoc/sw_globdoc.cxx @@ -0,0 +1,108 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <comphelper/classids.hxx> + +#include "swtypes.hxx" + + +#include "shellio.hxx" +#include "globdoc.hxx" +#include "globdoc.hrc" +namespace binfilter { + +/*-------------------------------------------------------------------- + Beschreibung: Alle Filter registrieren + --------------------------------------------------------------------*/ + +// 4.0: {340AC970-E30D-11d0-A53F-00A0249D57B1} +// 4.0: 0x340ac970, 0xe30d, 0x11d0, 0xa5, 0x3f, 0x0, 0xa0, 0x24, 0x9d, 0x57, 0xb1 +// 5.0: 0xc20cf9d3, 0x85ae, 0x11d1, 0xaa, 0xb4, 0x0, 0x60, 0x97, 0xda, 0x56, 0x1a +/*N*/ SFX_IMPL_OBJECTFACTORY_LOD(SwGlobalDocShell, SFXOBJECTSHELL_STD_NORMAL|SFXOBJECTSHELL_HASMENU, /*swriter4/GlobalDocument,*/ \ +/*N*/ SvGlobalName(BF_SO3_SWGLOB_CLASSID) , Sw) + +/*N*/ TYPEINIT1(SwGlobalDocShell, SwDocShell); + +/*N*/ SwGlobalDocShell::SwGlobalDocShell(SfxObjectCreateMode eMode ) : +/*N*/ SwDocShell(eMode) +/*N*/ { +/*N*/ } + +/*N*/ SwGlobalDocShell::~SwGlobalDocShell() +/*N*/ { +/*N*/ } + +/*N*/ void SwGlobalDocShell::FillClass( SvGlobalName * pClassName, +/*N*/ ULONG * pClipFormat, +/*N*/ String * pAppName, +/*N*/ String * pLongUserName, +/*N*/ String * pUserName, +/*N*/ long nVersion ) const +/*N*/ { +/*N*/ SfxInPlaceObject::FillClass(pClassName, pClipFormat, pAppName, pLongUserName, +/*N*/ pUserName, nVersion); +/*N*/ +/*N*/ if (nVersion == SOFFICE_FILEFORMAT_40) +/*N*/ { +/*?*/ *pClassName = SvGlobalName( BF_SO3_SWGLOB_CLASSID_40 ); +/*?*/ *pClipFormat = SOT_FORMATSTR_ID_STARWRITERGLOB_40; +/*?*/ *pAppName = String::CreateFromAscii("StarWriter 4.0/GlobalDocument"); +/*?*/ +/*?*/ *pLongUserName = SW_RESSTR(STR_WRITER_GLOBALDOC_FULLTYPE_40); +/*N*/ } +/*N*/ else if (nVersion == SOFFICE_FILEFORMAT_50) +/*N*/ { +/*N*/ *pClassName = SvGlobalName( BF_SO3_SWGLOB_CLASSID_50 ); +/*N*/ *pClipFormat = SOT_FORMATSTR_ID_STARWRITERGLOB_50; +/*N*/ *pLongUserName = SW_RESSTR(STR_WRITER_GLOBALDOC_FULLTYPE_50); +/*N*/ } +/*N*/ else if (nVersion == SOFFICE_FILEFORMAT_60) +/*N*/ { +/*N*/ *pLongUserName = SW_RESSTR(STR_WRITER_GLOBALDOC_FULLTYPE); + + // for binfilter, we need the FormatIDs to be set. Not setting them + // has always been an error (!) + *pClassName = SvGlobalName( BF_SO3_SWGLOB_CLASSID_60 ); + *pClipFormat = SOT_FORMATSTR_ID_STARWRITERGLOB_60; + +/*N*/ } +/*N*/ +/*N*/ *pUserName = SW_RESSTR(STR_HUMAN_SWGLOBDOC_NAME); +/*N*/ } + + + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/globdoc/sw_globdoc.src b/binfilter/bf_sw/source/ui/globdoc/sw_globdoc.src new file mode 100644 index 000000000000..f4a814f00ad4 --- /dev/null +++ b/binfilter/bf_sw/source/ui/globdoc/sw_globdoc.src @@ -0,0 +1,96 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#include "globdoc.hrc" +String STR_HUMAN_SWGLOBDOC_NAME +{ + Text [ de ] = "Globaldokument" ; + Text [ en-US ] = "Master Document" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Documento-mestre"; + Text[ ru ] = "Составной документ"; + Text[ el ] = "Kύριο έγγραφο"; + Text[ nl ] = "Masterdocument"; + Text[ fr ] = "Document maître"; + Text[ es ] = "Documento maestro"; + Text[ fi ] = "Perusasiakirja"; + Text[ ca ] = "Document mestre"; + Text[ it ] = "Documento master"; + Text[ sk ] = "Hlavný dokument"; + Text[ da ] = "Hoveddokument"; + Text[ sv ] = "Samlingsdokument"; + Text[ pl ] = "Dokument główny"; + Text[ pt-BR ] = "Documento Mestre"; + Text[ th ] = "เอกสารต้นฉบับ"; + Text[ ja ] = "マスタードキュメント"; + Text[ ko ] = "마스터 문서"; + Text[ zh-CN ] = "主控文档"; + Text[ zh-TW ] = "主控文件"; + Text[ tr ] = "Ana belge"; + Text[ hi-IN ] = "मास्टर लेखपत्र"; + Text[ ar ] = "مستند شامل"; + Text[ he ] = "מסמך אב"; +}; +String STR_WRITER_GLOBALDOC_FULLTYPE_40 +{ + Text = "%PRODUCTNAME 4.0 Global Document" ; +}; +String STR_WRITER_GLOBALDOC_FULLTYPE_50 +{ + Text = "%PRODUCTNAME 5.0 Global Document" ; +}; +String STR_WRITER_GLOBALDOC_FULLTYPE +{ + Text [ de ] = "%PRODUCTNAME %PRODUCTVERSION Globaldokument" ; + Text [ en-US ] = "%PRODUCTNAME %PRODUCTVERSION Master Document"; + Text[ pt ] = "%PRODUCTNAME 6.0 Documento-mestre"; + Text[ ru ] = "Составной документ (%PRODUCTNAME 6.0)"; + Text[ el ] = "%PRODUCTNAME 6.0 - Κύριο έγγραφο"; + Text[ nl ] = "%PRODUCTNAME 6.0 Masterdocument"; + Text[ fr ] = "%PRODUCTNAME %PRODUCTVERSION Document maître"; + Text[ es ] = "Documento maestro %PRODUCTNAME %PRODUCTVERSION "; + Text[ fi ] = "%PRODUCTNAME 6.0 -perusasiakirja"; + Text[ ca ] = "%PRODUCTNAME 6.0 Document mestre"; + Text[ it ] = "%PRODUCTNAME %PRODUCTVERSION Documento master"; + Text[ sk ] = "Hlavný dokument %PRODUCTNAME %PRODUCTVERSION"; + Text[ da ] = "%PRODUCTNAME 6.0 Hoveddokument"; + Text[ sv ] = "%PRODUCTNAME %PRODUCTVERSION-samlingsdokument"; + Text[ pl ] = "%PRODUCTNAME 6.0 - Dokument główny"; + Text[ pt-BR ] = "Documento Mestre %PRODUCTNAME 6.0 "; + Text[ th ] = "เอกสารต้นฉบับ %PRODUCTNAME 6.0 "; + Text[ ja ] = "%PRODUCTNAME %PRODUCTVERSION マスタードキュメント"; + Text[ ko ] = "%PRODUCTNAME %PRODUCTVERSION 마스터 문서"; + Text[ zh-CN ] = "%PRODUCTNAME %PRODUCTVERSION 主控文档"; + Text[ zh-TW ] = "%PRODUCTNAME %PRODUCTVERSION 主控文件"; + Text[ tr ] = "%PRODUCTNAME 6.0 Ana Belge"; + Text[ hi-IN ] = "%PRODUCTNAME 6.0 मास्टर लेखपत्र"; + Text[ ar ] = "مستند شامل%PRODUCTNAME %PRODUCTVERSION "; + Text[ he ] = "%PRODUCTNAME 6.0 Global Dokument"; +}; + + diff --git a/binfilter/bf_sw/source/ui/inc/SwXFilterOptions.hxx b/binfilter/bf_sw/source/ui/inc/SwXFilterOptions.hxx new file mode 100644 index 000000000000..715d8d12cb91 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/SwXFilterOptions.hxx @@ -0,0 +1,119 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWXFILTEROPTIONS_HXX +#define _SWXFILTEROPTIONS_HXX + +#include <com/sun/star/beans/XPropertyAccess.hpp> +#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> +#include <com/sun/star/document/XImporter.hpp> +#include <com/sun/star/document/XExporter.hpp> +#include <com/sun/star/lang/XServiceInfo.hpp> + +#include <cppuhelper/implbase5.hxx> +namespace com { namespace sun { namespace star { namespace io { + class XInputStream; +} } } } + +namespace binfilter { + + + +/* -----------------------------2002/06/21 12:07------------------------------ + + ---------------------------------------------------------------------------*/ +class SwXFilterOptions : public ::cppu::WeakImplHelper5< + ::com::sun::star::beans::XPropertyAccess, + ::com::sun::star::ui::dialogs::XExecutableDialog, + ::com::sun::star::document::XImporter, + ::com::sun::star::document::XExporter, + ::com::sun::star::lang::XServiceInfo > +{ + ::rtl::OUString sFilterName; + ::rtl::OUString sFilterOptions; + + ::com::sun::star::uno::Reference< + ::com::sun::star::io::XInputStream > xInputStream; + ::com::sun::star::uno::Reference< + ::com::sun::star::lang::XComponent > xModel; + sal_Bool bExport; + +public: + SwXFilterOptions(); + virtual ~SwXFilterOptions(); + + static ::rtl::OUString getImplementationName_Static(); + static ::com::sun::star::uno::Sequence< ::rtl::OUString> getSupportedServiceNames_Static(); + + // XPropertyAccess + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > + SAL_CALL getPropertyValues() throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setPropertyValues( const ::com::sun::star::uno::Sequence< + ::com::sun::star::beans::PropertyValue >& aProps ) + throw (::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::beans::PropertyVetoException, + ::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException); + + // XExecutableDialog + virtual void SAL_CALL setTitle( const ::rtl::OUString& aTitle ) + throw (::com::sun::star::uno::RuntimeException); + virtual sal_Int16 SAL_CALL execute() throw (::com::sun::star::uno::RuntimeException); + + // XImporter + virtual void SAL_CALL setTargetDocument( const ::com::sun::star::uno::Reference< + ::com::sun::star::lang::XComponent >& xDoc ) + throw (::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::uno::RuntimeException); + + // XExporter + virtual void SAL_CALL setSourceDocument( const ::com::sun::star::uno::Reference< + ::com::sun::star::lang::XComponent >& xDoc ) + throw (::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::uno::RuntimeException); + + // XServiceInfo + virtual ::rtl::OUString SAL_CALL getImplementationName() + throw(::com::sun::star::uno::RuntimeException); + virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) + throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() + throw(::com::sun::star::uno::RuntimeException); + +}; + +::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL + SwXFilterOptions_createInstance( + const ::com::sun::star::uno::Reference< + ::com::sun::star::lang::XMultiServiceFactory >& ); + +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/app.hrc b/binfilter/bf_sw/source/ui/inc/app.hrc new file mode 100644 index 000000000000..7f03c0cdd462 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/app.hrc @@ -0,0 +1,160 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _APP_HRC +#define _APP_HRC + +#include "rcid.hrc" + +// Default Bitmap fuer ToolBox + +// Document-Icon +#define RC_DOC_ICON (RC_APP_BEGIN + 2) + +//Soll das Clipboard fuer andere Applikationen... + + +// Messages + +//Fuer das Interface, weil der RID_APP_BEGIN jetzt Desktop ist. +#define RID_SW_NAME ( RC_APP_BEGIN + 8) + + +#define STR_UNBENANNT (RC_APP_BEGIN + 13) +#define STR_VERSION (RC_APP_BEGIN + 14) +#define STR_PRINT_MERGE_MACRO (RC_APP_BEGIN + 15) +#define STR_PAGE_COUNT_MACRO (RC_APP_BEGIN + 16) + +// Bitmap fuer die NumerierungsVorlagen im Organizer + +// Strings fuer Bereiche in der Konfiguration +#define STR_GRP_FILE (RC_APP_BEGIN + 56) +#define STR_GRP_EDIT (RC_APP_BEGIN + 57) +#define STR_GRP_TRAVELLING (RC_APP_BEGIN + 58) +#define STR_GRP_VIEW (RC_APP_BEGIN + 59) +#define STR_GRP_INSERT (RC_APP_BEGIN + 60) +#define STR_GRP_FORMAT (RC_APP_BEGIN + 61) +#define STR_GRP_STYLE (RC_APP_BEGIN + 62) +#define STR_GRP_TEXT (RC_APP_BEGIN + 63) +#define STR_GRP_FRAME (RC_APP_BEGIN + 64) +#define STR_GRP_GRAPHIC (RC_APP_BEGIN + 65) +#define STR_GRP_TABLE (RC_APP_BEGIN + 66) +#define STR_GRP_TOOLS (RC_APP_BEGIN + 67) +#define STR_GRP_NUMBERING (RC_APP_BEGIN + 68) +#define STR_GRP_WINDOW (RC_APP_BEGIN + 69) +#define STR_GRP_MISC (RC_APP_BEGIN + 70) +#define STR_GRP_MACRO (RC_APP_BEGIN + 71) +#define RES_EXT_HELP_STRING (RC_APP_BEGIN + 72) +#define RES_STD_HELP_STRING (RC_APP_BEGIN + 73) +#define STR_PAGEBREAK (RC_APP_BEGIN + 75) +//#define MSG_INS_MERGE_FIELDS (RC_APP_BEGIN + 79) +#define SID_TOGGLETOOLBOX (RC_APP_BEGIN + 89) + +#define STR_LAB_TITLE (RC_APP_BEGIN + 92) + +#define STR_HUMAN_SWDOC_NAME (RC_APP_BEGIN + 93) + +#define RID_SW_ERRHDL (RC_APP_BEGIN + 95) + +#define STR_FDLG_TEMPLATE_BUTTON (RC_APP_BEGIN + 1) +#define STR_FDLG_TEMPLATE_NAME (RC_APP_BEGIN + 2) + + +// Ids fuer die einzelnen PopUpMenues +#define MN_WIZARD (RC_APP_BEGIN + 9) +#define MN_INDEX (RC_APP_BEGIN + 10) +#define MN_FILE (RC_APP_BEGIN + 11) +#define MN_EDIT (RC_APP_BEGIN + 12) +#define MN_VIEW (RC_APP_BEGIN + 13) +#define MN_INS (RC_APP_BEGIN + 14) +#define MN_TEXT (RC_APP_BEGIN + 15) +#define MN_FORMAT (RC_APP_BEGIN + 16) +#define MN_FORMAT_STYLE (RC_APP_BEGIN + 17) +#define MN_FORMAT_ALGN (RC_APP_BEGIN + 18) +#define MN_FORMAT_LINESPACE (RC_APP_BEGIN + 19) +#define MN_EXTRA (RC_APP_BEGIN + 20) +#define MN_WIN (RC_APP_BEGIN + 21) +#define MN_HELP (RC_APP_BEGIN + 22) +#define MN_FORMAT_FRM_HORZ (RC_APP_BEGIN + 23) +#define MN_FORMAT_FRM_VERT (RC_APP_BEGIN + 24) +#define MN_PICKLIST (RC_APP_BEGIN + 25) +#define MN_WINLIST (RC_APP_BEGIN + 26) +#define MN_MACRO (RC_APP_BEGIN + 27) +#define MN_FORMAT_HIERARCHY (RC_APP_BEGIN + 28) +#define MN_CELL (RC_APP_BEGIN + 29) +#define MN_HELP_TIP (RC_APP_BEGIN + 30) +#define MN_HELP_SEARCH (RC_APP_BEGIN + 31) +#define MN_HELP_ACTIVE (RC_APP_BEGIN + 32) +#define MN_HELP_INDEX (RC_APP_BEGIN + 33) +#define MN_OBJECT (RC_APP_BEGIN + 34) +#define MN_DATABASE (RC_APP_BEGIN + 35) +#define MN_DIRSUBMENU (RC_APP_BEGIN + 36) +#define MN_MAIL (RC_APP_BEGIN + 37) +#define MN_WRAP (RC_APP_BEGIN + 38) +#define MN_SUB_TBLROW (RC_APP_BEGIN + 39) +#define MN_SUB_TBLCOL (RC_APP_BEGIN + 40) +#define MN_SUB_AUTOFORMAT (RC_APP_BEGIN + 41) +#define MN_SUB_TOOLBAR (RC_APP_BEGIN + 42) +#define MN_SUB_FIELD (RC_APP_BEGIN + 43) +#define MN_SUB_GRAPHIC (RC_APP_BEGIN + 44) +#define MN_SUB_TEMPLATES (RC_APP_BEGIN + 45) +#define MN_SUB_ARRANGE (RC_APP_BEGIN + 46) +#define MN_SUB_SPELLING (RC_APP_BEGIN + 47) +#define MN_SUB_UPDATE (RC_APP_BEGIN + 48) +#define MN_SUB_MIRROR (RC_APP_BEGIN + 49) +#define MN_SUB_ALIGN (RC_APP_BEGIN + 50) +#define MN_SUB_OPTIONS (RC_APP_BEGIN + 51) +#define MN_SUB_SENDTO (RC_APP_BEGIN + 52) +#define MN_SUB_REVISE (RC_APP_BEGIN + 53) +#define MN_TEMPLATES (RC_APP_BEGIN + 54) +#define MN_FILE_PORT (RC_APP_BEGIN + 55) +#define MN_EDIT_PORT (RC_APP_BEGIN + 56) +#define MN_VIEW_PORT (RC_APP_BEGIN + 57) +#define MN_INS_PORT (RC_APP_BEGIN + 58) +#define MN_FORMAT_PORT (RC_APP_BEGIN + 59) +#define MN_EXTRA_PORT (RC_APP_BEGIN + 60) +#define MN_WIN_PORT (RC_APP_BEGIN + 61) +#define MN_HELP_PORT (RC_APP_BEGIN + 62) +#define MN_SUB_TRANSLITERATE (RC_APP_BEGIN + 63) +#define MN_SUB_MACRO (RC_APP_BEGIN + 64) + +#define RC_INTRO_BEGIN (RC_APP_BEGIN + 90) +#define RC_INTRO_END (RC_APP_BEGIN + 96) + +#define STR_WRITER_DOCUMENT_FULLTYPE_31 (RC_APP_BEGIN + 97) +#define STR_WRITER_DOCUMENT_FULLTYPE_40 (RC_APP_BEGIN + 98) +#define STR_WRITER_DOCUMENT_FULLTYPE_50 (RC_APP_BEGIN + 101) +#define STR_WRITER_DOCUMENT_FULLTYPE (RC_APP_BEGIN + 100) + + +#define APP_ACT_END STR_WRITER_DOCUMENT_FULLTYPE_50 + +#if APP_ACT_END > RC_APP_END +#error Resource-Id Ueberlauf in #file, #line +#endif + +#endif diff --git a/binfilter/bf_sw/source/ui/inc/barcfg.hxx b/binfilter/bf_sw/source/ui/inc/barcfg.hxx new file mode 100644 index 000000000000..92723ebe2d33 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/barcfg.hxx @@ -0,0 +1,54 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef SW_BARCFG_HXX +#define SW_BARCFG_HXX + +#include <unotools/configitem.hxx> +namespace binfilter { + +class CfgUSHORTTable; + +class SwToolbarConfigItem : public ::utl::ConfigItem +{ + sal_uInt16 aTbxIdArray[5]; + + ::com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames(); + +public: + SwToolbarConfigItem( sal_Bool bWeb ); + ~SwToolbarConfigItem(); + + + void SetTopToolbar( sal_Int32 nSelType, sal_uInt16 nBarId ); + sal_uInt16 GetTopToolbar( sal_Int32 nSelType ); //USHRT_MAX: noch nicht eingetragen +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/basesh.hxx b/binfilter/bf_sw/source/ui/inc/basesh.hxx new file mode 100644 index 000000000000..e8449c74ac10 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/basesh.hxx @@ -0,0 +1,138 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWBASESH_HXX +#define _SWBASESH_HXX + + +#include <shellid.hxx> + +#define _SVSTDARR_USHORTSSORT +#define _SVSTDARR_USHORTS + +#include <tools/link.hxx> +#include <vcl/timer.hxx> +#include <bf_sfx2/module.hxx> +#include <bf_sfx2/shell.hxx> +#include <bf_svtools/svstdarr.hxx> +class Graphic; + +namespace binfilter { + +class GraphicFilter; +class SfxItemSet; + +class SwWrtShell; +class SwCrsrShell; +class SwView; + +class SwFlyFrmAttrMgr; + +extern void DisableAllItems(SfxItemSet &); +struct DBTextStruct_Impl; +class SwBaseShell: public SfxShell +{ + SwView &rView; + + // DragModus + static USHORT nFrameMode; + + // Bug 75078 - if in GetState the asynch call of GetGraphic returns + // synch, the set the state directly into the itemset + SfxItemSet* pGetStateSet; + + //Update-Timer fuer Graphic + SvUShortsSort aGrfUpdateSlots; + + DECL_LINK( GraphicArrivedHdl, SwCrsrShell* ); + +protected: + + SwWrtShell& GetShell (); + + SwView& GetView() { return rView; } + + SwFlyFrmAttrMgr *pFrmMgr; + + DECL_STATIC_LINK( SwBaseShell, InsertDBTextHdl, DBTextStruct_Impl* ); + + void SetGetStateSet( SfxItemSet* p ) { pGetStateSet = p; } + BOOL AddGrfUpdateSlot( USHORT nSlot ) + { return aGrfUpdateSlots.Insert( nSlot ); } + +public: + SwBaseShell(SwView &rShell); + virtual ~SwBaseShell(); + SFX_DECL_INTERFACE(SW_BASESHELL); + TYPEINFO(); + + void ExecDelete(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecDelete(SfxRequest &); + + void ExecClpbrd(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecClpbrd(SfxRequest &); + void StateClpbrd(SfxItemSet &); + + void ExecUndo(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecUndo(SfxRequest &); + void StateUndo(SfxItemSet &); + + void Execute(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void Execute(SfxRequest &); + void GetState(SfxItemSet &); + void StateStyle(SfxItemSet &); + + void ExecuteGallery(SfxRequest&){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecuteGallery(SfxRequest&); + void GetGalleryState(SfxItemSet&){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void GetGalleryState(SfxItemSet&); + + void ExecDlg(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecDlg(SfxRequest &); + + void StateStatusLine(SfxItemSet &rSet); + void ExecTxtCtrl(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecTxtCtrl(SfxRequest& rReq); + void GetTxtFontCtrlState(SfxItemSet& rSet); + void GetTxtCtrlState(SfxItemSet& rSet); + void GetBorderState(SfxItemSet &rSet){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void GetBorderState(SfxItemSet &rSet); + void GetBckColState(SfxItemSet &rSet); + + void ExecBckCol(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecBckCol(SfxRequest& rReq); + void SetWrapMode( USHORT nSlot ); + + void StateDisableItems(SfxItemSet &){DBG_BF_ASSERT(0, "STRIP");};//STRIP001 void StateDisableItems(SfxItemSet &); + + void EditRegionDialog(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP"); };//STRIP001 void EditRegionDialog(SfxRequest& rReq); + void InsertRegionDialog(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP"); };//STRIP001 void InsertRegionDialog(SfxRequest& rReq); + + void ExecField(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecField(SfxRequest& rReq); + + static void _SetFrmMode( USHORT nMode ) { nFrameMode = nMode; } + static USHORT GetFrmMode() { return nFrameMode; } + + //public fuer D&D + +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/beziersh.hxx b/binfilter/bf_sw/source/ui/inc/beziersh.hxx new file mode 100644 index 000000000000..3a9b5f3ce0fa --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/beziersh.hxx @@ -0,0 +1,45 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWBEZIERSH_HXX +#define _SWBEZIERSH_HXX + +#include "basesh.hxx" +namespace binfilter { + +class SwBezierShell: public SwBaseShell +{ +public: + SFX_DECL_INTERFACE(SW_BEZIERSHELL); + + SwBezierShell(SwView &rView); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/bmpwin.hxx b/binfilter/bf_sw/source/ui/inc/bmpwin.hxx new file mode 100644 index 000000000000..b38b17835ae0 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/bmpwin.hxx @@ -0,0 +1,67 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _BMPWIN_HXX +#define _BMPWIN_HXX + +#include <vcl/graph.hxx> +#include <vcl/window.hxx> +namespace binfilter { + + +/*-------------------------------------------------------------------- + Beschreibung: Extended Page fuer Grafiken + --------------------------------------------------------------------*/ + +class BmpWindow : public Window +{ + void Paint(const Rectangle& rRect); + Graphic aGraphic; + Bitmap aBmp; + BOOL bHorz : 1; + BOOL bVert : 1; + BOOL bGraphic : 1; + BOOL bLeftAlign : 1; + +public: + BmpWindow(Window* pPar, USHORT nId, + const Graphic& rGraphic, const Bitmap& rBmp); + BmpWindow(Window* pParent, const ResId rResId) : + Window(pParent, rResId), bLeftAlign(TRUE), + bHorz(FALSE), bVert(FALSE),bGraphic(FALSE){} + ~BmpWindow(); + void MirrorVert(BOOL bMirror) { bVert = bMirror; Invalidate(); } + void MirrorHorz(BOOL bMirror) { bHorz = bMirror; Invalidate(); } + void SetGraphic(const Graphic& rGrf); + +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/bookctrl.hxx b/binfilter/bf_sw/source/ui/inc/bookctrl.hxx new file mode 100644 index 000000000000..fb4e841f6b87 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/bookctrl.hxx @@ -0,0 +1,58 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _BOOKCTRL_HXX +#define _BOOKCTRL_HXX + +// include --------------------------------------------------------------- + +#include <bf_sfx2/stbitem.hxx> + +#include <tools/string.hxx> +namespace binfilter { + +// class BookmarkToolBoxControl ------------------------------------------- + +class SwBookmarkControl : public SfxStatusBarControl +{ + +public: + + SFX_DECL_STATUSBAR_CONTROL(); + + SwBookmarkControl( USHORT nId, StatusBar& rStb, SfxBindings& rBind ); + ~SwBookmarkControl(); + +private: + String sPageNumber; +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/caption.hxx b/binfilter/bf_sw/source/ui/inc/caption.hxx new file mode 100644 index 000000000000..3df3a0abd290 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/caption.hxx @@ -0,0 +1,103 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _CAPTION_HXX +#define _CAPTION_HXX + +#include <tools/globname.hxx> +namespace binfilter { + +enum SwCapObjType +{ + FRAME_CAP, GRAPHIC_CAP, TABLE_CAP, OLE_CAP +}; + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + +class InsCaptionOpt +{ +private: + BOOL bUseCaption; + SwCapObjType eObjType; + SvGlobalName aOleId; + String sCategory; + USHORT nNumType; + String sCaption; + USHORT nPos; + USHORT nLevel; + sal_Unicode cSeparator; + BOOL bIgnoreSeqOpts; // wird nicht gespeichert + BOOL bCopyAttributes; // -""- + +public: + InsCaptionOpt(const SwCapObjType eType = FRAME_CAP, const SvGlobalName* pOleId = 0); + ~InsCaptionOpt(); + + inline BOOL& UseCaption() { return bUseCaption; } + inline BOOL UseCaption() const { return bUseCaption; } + + inline SwCapObjType GetObjType() const { return eObjType; } + inline void SetObjType(const SwCapObjType eType) { eObjType = eType; } + + inline const SvGlobalName& GetOleId() const { return aOleId; } + inline void SetOleId(const SvGlobalName &rId) { aOleId = rId; } + + inline const String& GetCategory() const { return sCategory; } + inline void SetCategory(const String& rCat) { sCategory = rCat; } + + inline USHORT GetNumType() const { return nNumType; } + inline void SetNumType(const USHORT nNT) { nNumType = nNT; } + + inline const String& GetCaption() const { return sCaption; } + inline void SetCaption(const String& rCap) { sCaption = rCap; } + + inline USHORT GetPos() const { return nPos; } + inline void SetPos(const USHORT nP) { nPos = nP; } + + inline USHORT GetLevel() const { return nLevel; } + inline void SetLevel(const USHORT nLvl) { nLevel = nLvl; } + + inline sal_Unicode GetSeparator() const { return cSeparator; } + inline void SetSeparator(const sal_Unicode cSep){ cSeparator = cSep; } + + inline BOOL& IgnoreSeqOpts() { return bIgnoreSeqOpts; } + inline BOOL IgnoreSeqOpts() const { return bIgnoreSeqOpts; } + + inline BOOL& CopyAttributes() { return bCopyAttributes; } + inline BOOL CopyAttributes() const { return bCopyAttributes; } + + inline BOOL operator< ( const InsCaptionOpt & rObj ) const + { return aOleId < rObj.aOleId; } +}; + +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/ccoll.hxx b/binfilter/bf_sw/source/ui/inc/ccoll.hxx new file mode 100644 index 000000000000..d5883b19faa4 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/ccoll.hxx @@ -0,0 +1,82 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _CCOLL_HXX +#define _CCOLL_HXX + +#include <bf_svtools/poolitem.hxx> +#include <tools/string.hxx> +#include <tools/resary.hxx> +#include "cmdid.h" + +namespace binfilter { + +class SwWrtShell; +class SwFmt; +class SwCollCondition; + + +struct CollName +{ + ULONG nCnd; + ULONG nSubCond; +}; + +#define COND_COMMAND_COUNT 28 + +struct CommandStruct +{ + ULONG nCnd; + ULONG nSubCond; +}; + +class SwCondCollItem : public SfxPoolItem +{ + static CommandStruct aCmds[COND_COMMAND_COUNT]; + + String sStyles[COND_COMMAND_COUNT]; + +public: + SwCondCollItem(USHORT nWhich = FN_COND_COLL); + ~SwCondCollItem(); + + TYPEINFO(); + + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual int operator==( const SfxPoolItem& ) const; + + static const CommandStruct* GetCmds(); + + const String& GetStyle(USHORT nPos) const; + void SetStyle( const String* pStyle, USHORT nPos); + +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/cfgid.h b/binfilter/bf_sw/source/ui/inc/cfgid.h new file mode 100644 index 000000000000..b663708612f2 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/cfgid.h @@ -0,0 +1,48 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _CFGID_H +#define _CFGID_H + +#ifndef _SFX_HRC //autogen +#include <bf_sfx2/sfx.hrc> +#endif + +#define CFG_STATUSBAR (SFX_ITEMTYPE_SW_BEGIN +13) +#define CFG_SW_MENU (SFX_ITEMTYPE_SW_BEGIN +16) +#define CFG_SW_ACCEL (SFX_ITEMTYPE_SW_BEGIN +17) +#define CFG_SWWEB_MENU (SFX_ITEMTYPE_SW_BEGIN +19) +#define CFG_SWWEB_ACCEL (SFX_ITEMTYPE_SW_BEGIN +20) +#define CFG_INSERT_DBCOLUMN_ITEM (SFX_ITEMTYPE_SW_BEGIN +25) +#define CFG_SW_MENU_PORTAL (SFX_ITEMTYPE_SW_BEGIN +27) +#define CFG_SWWEB_MENU_PORTAL (SFX_ITEMTYPE_SW_BEGIN +28) +#define CFG_SWGLOBAL_MENU (SFX_ITEMTYPE_SW_BEGIN +29) +#define CFG_SWGLOBAL_MENU_PORTAL (SFX_ITEMTYPE_SW_BEGIN +30) + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/chartins.hxx b/binfilter/bf_sw/source/ui/inc/chartins.hxx new file mode 100644 index 000000000000..44d1544973a6 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/chartins.hxx @@ -0,0 +1,67 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _CHARTINS_HXX +#define _CHARTINS_HXX + +#include <bf_sfx2/childwin.hxx> + +#ifdef _CHARTINS_CXX + +#include <bf_sfx2/basedlgs.hxx> + +#include <bf_svtools/stdctrl.hxx> + +#include <vcl/button.hxx> + +#include <vcl/button.hxx> + +#include "autoedit.hxx" +namespace binfilter { + + + +//======================================================================== + +}//namespace binfilter +#endif +namespace binfilter {//STRIP009 +class SwInsertChartChild : public SfxChildWindow +{ +public: + SwInsertChartChild( Window* , + USHORT nId, + SfxBindings*, + SfxChildWinInfo* ); + SFX_DECL_CHILDWINDOW( SwInsertChartChild ); +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/chldwrap.hxx b/binfilter/bf_sw/source/ui/inc/chldwrap.hxx new file mode 100644 index 000000000000..5b8e1bb3fb1c --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/chldwrap.hxx @@ -0,0 +1,52 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _CHLDWRAP_HXX +#define _CHLDWRAP_HXX + +#include <bf_sfx2/childwin.hxx> + +#include <vcl/timer.hxx> +namespace binfilter { + +class SwDocShell; + +class SwChildWinWrapper : public SfxChildWindow +{ + + + // Implementation in fldtdlg.cxx +protected: + SwChildWinWrapper(Window *pParentWindow, USHORT nId):SfxChildWindow(pParentWindow, nId){DBG_BF_ASSERT(0, "STRIP");} //STRIP001 SwChildWinWrapper(Window *pParentWindow, USHORT nId); + +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/content.hxx b/binfilter/bf_sw/source/ui/inc/content.hxx new file mode 100644 index 000000000000..b91b2b643b48 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/content.hxx @@ -0,0 +1,133 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _CONTENT_HXX +#define _CONTENT_HXX + +#include <limits.h> // USHRT_MAX +#include "swcont.hxx" + +#include <vcl/menu.hxx> +namespace binfilter { + +class SwWrtShell; +class SwContentArr; +class SwContentType; +class SwNavigationPI; +class SwFmtFld; +class SwTxtINetFmt; +class SwDocShell; +class SvDataObject; +class SwTOXBase; + +//---------------------------------------------------------------------------- +// Hilfsklassen +//---------------------------------------------------------------------------- + +class SwPopup : public PopupMenu +{ + USHORT nCurId; + virtual void Select(){nCurId = GetCurItemId();} + +public: + SwPopup() : + PopupMenu(), + nCurId(USHRT_MAX){} + + USHORT GetCurId() const { return nCurId; } + +}; + +//---------------------------------------------------------------------------- + +class SwOutlineContent : public SwContent +{ + USHORT nOutlinePos; + BYTE nOutlineLevel; + BOOL bIsMoveable; + public: + SwOutlineContent( const SwContentType* pCnt, + const String& rName, + USHORT nArrPos, + BYTE nLevel, + BOOL bMove, + long nYPos) : + SwContent(pCnt, rName, nYPos), nOutlineLevel(nLevel), + nOutlinePos(nArrPos), bIsMoveable(bMove){} + + USHORT GetPos(){return nOutlinePos;} + BYTE GetOutlineLevel(){return nOutlineLevel;} + BOOL IsMoveable(){return bIsMoveable;}; +}; + +//---------------------------------------------------------------------------- +class SwRegionContent : public SwContent +{ + + BYTE nRegionLevel; + + public: + SwRegionContent( const SwContentType* pCnt, + const String& rName, + BYTE nLevel, + long nYPos) : + SwContent(pCnt, rName, nYPos), + nRegionLevel(nLevel){} + BYTE GetRegionLevel() const {return nRegionLevel;} +}; +//---------------------------------------------------------------------------- + + + + +//---------------------------------------------------------------------------- + + + +//---------------------------------------------------------------------------- + + + +//---------------------------------------------------------------------------- +/* + class ContentType enthaelt Informationen zu einer Inhaltsform + Das MemberArray wird nur gefuellt, wenn der Inhalt mit GetMember + angefordert wird. Es wird nach Invalidate() nur dann neu geladen, + wenn der Inhalt erneut ausgelesen werden soll. +*/ +//---------------------------------------------------------------------------- +//---------------------------------------------------------------------------- + + + + + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/dbconfig.hxx b/binfilter/bf_sw/source/ui/inc/dbconfig.hxx new file mode 100644 index 000000000000..80e1e0e4f6d7 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/dbconfig.hxx @@ -0,0 +1,52 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _DBCONFIG_HXX +#define _DBCONFIG_HXX + +#include <unotools/configitem.hxx> +namespace binfilter { +struct SwDBData; +class SwDBConfig : public ::utl::ConfigItem +{ + const ::com::sun::star::uno::Sequence<rtl::OUString>& GetPropertyNames(); + SwDBData* pAdrImpl; + SwDBData* pBibImpl; +public: + SwDBConfig(); + virtual ~SwDBConfig(); + + void Load(); + const SwDBData& GetAddressSource(); + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); +}; + +} +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/docinf.hxx b/binfilter/bf_sw/source/ui/inc/docinf.hxx new file mode 100644 index 000000000000..534c3f7fe390 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/docinf.hxx @@ -0,0 +1,164 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _DOCINF_HXX +#define _DOCINF_HXX + +#include <tools/list.hxx> + +#include <tools/datetime.hxx> + +#include <tools/string.hxx> +class Date; +class Time; +class DateTime; +class SvStream; + +namespace binfilter { + + +// EXTERN ---------------------------------------------------------------- +struct DataTupel; + +// ENUM ----------------------------------------------------------------- +enum InfoType +{ + INFOTYPE_DATE, INFOTYPE_TIME, INFOTYPE_DATETIME, + INFOTYPE_MODIFYINFO, + INFOTYPE_STRING, INFOTYPE_STRINGLIST, + INFOTYPE_BOOL, INFOTYPE_LONG, + INFOTYPE_TEMPLATE +}; + + +// CLASS ----------------------------------------------------------------- +DECLARE_LIST( DataTupelList, DataTupel* ) + +// CLASS ----------------------------------------------------------------- +class VarDocInfos +{ +public: + VarDocInfos(); + ~VarDocInfos(); + + void AddDate( String& rName, Date& rDate ); + void AddTime( String& rName, Time& rTime ); + void AddDateTime( String& rName, DateTime& rDateTime ); + + void AddString( String& rName, String& rString ); + void AddStringList( String& rName, String& rStringList ); + void AddBool( String& rName, BOOL bBool ); + void AddLong( String& rName, long lLong ); + + USHORT GetCount(); + InfoType GetType( USHORT nPos ); + const String& GetName( USHORT nPos ); + + const Date& GetDate( USHORT nPos ); + const Time& GetTime( USHORT nPos ); + const DateTime& GetDateTime( USHORT nPos ); + + const String& GetString( USHORT nPos ); + const String& GetStringList( USHORT nPos ); + BOOL GetBool( USHORT nPos ); + long GetLong( USHORT nPos ); + +friend SvStream& operator<<( SvStream&, VarDocInfos& ); //$ ostream +friend SvStream& operator>>( SvStream&, VarDocInfos& ); //$ istream + +private: + DataTupelList* pInfoList; +}; + +// CLASS ----------------------------------------------------------------- +struct ModifyInfo { + DateTime aModifiedDateTime; + String aModifiedById; + String aModifiedByName; + + friend SvStream& operator<<( SvStream&, ModifyInfo& ); //$ ostream + friend SvStream& operator>>( SvStream&, ModifyInfo& ); //$ istream +}; + +// CLASS ----------------------------------------------------------------- +class FixDocInfos +{ +public: + FixDocInfos(); + ~FixDocInfos(); + + void SetTitle( String& rTitle ); + const String& GetTitle() const; + + void SetCreated( ModifyInfo& rInfo ); + const ModifyInfo& GetCreated() const; + + void SetLastChanged( ModifyInfo& rInfo ); + const ModifyInfo& GetLastChanged() const; + + void SetLastPrinted( ModifyInfo& rInfo ); + const ModifyInfo& GetLastPrinted() const; + + void SetTotalEditingTime( Time& rTime ); + const Time& GetTotalEditingTime() const; + +friend SvStream& operator<<( SvStream&, FixDocInfos& ); //$ ostream +friend SvStream& operator>>( SvStream&, FixDocInfos& ); //$ istream + +private: + String aTitle; + + ModifyInfo aCreated; + ModifyInfo aLastChanged; + ModifyInfo aLastPrinted; + Time aTotalEditingTime; +}; + +// CLASS ----------------------------------------------------------------- +struct TemplateInfo { + String aTitle; + ULONG lTemplateId; + + TemplateInfo() {} + TemplateInfo( String& rName, ULONG lId ) : + aTitle( rName ), + lTemplateId( lId ) {} + + friend SvStream& operator<<( SvStream&, TemplateInfo& ); //$ ostream + friend SvStream& operator>>( SvStream&, TemplateInfo& ); //$ istream +}; + +// CLASS ----------------------------------------------------------------- +DECLARE_LIST( TemplateInfos, TemplateInfo* ) + +SvStream& operator<<( SvStream&, TemplateInfos& ); //$ ostream +SvStream& operator>>( SvStream&, TemplateInfos& ); //$ istream + +} //namespace binfilter +#endif // _DOCINF_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/drawsh.hxx b/binfilter/bf_sw/source/ui/inc/drawsh.hxx new file mode 100644 index 000000000000..4573704da75c --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/drawsh.hxx @@ -0,0 +1,57 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SWDRAWSH_HXX +#define _SWDRAWSH_HXX + +#include "drwbassh.hxx" +namespace binfilter { + +class SdrObject; +class SwDrawBaseShell; + +class SwDrawShell: public SwDrawBaseShell +{ +public: + SFX_DECL_INTERFACE(SW_DRAWSHELL); + + SwDrawShell(SwView &rView):SwDrawBaseShell(rView){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 SwDrawShell(SwView &rView); + + void Execute(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void Execute(SfxRequest &); + void ExecDrawDlg(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecDrawDlg(SfxRequest& rReq); + void ExecDrawAttrArgs(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecDrawAttrArgs(SfxRequest& rReq); + void GetDrawAttrState(SfxItemSet &rSet){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void GetDrawAttrState(SfxItemSet &rSet); + + void ExecFormText(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecFormText(SfxRequest& rReq); + void GetFormTextState(SfxItemSet& rSet){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void GetFormTextState(SfxItemSet& rSet); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/drformsh.hxx b/binfilter/bf_sw/source/ui/inc/drformsh.hxx new file mode 100644 index 000000000000..ebb39ecc537f --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/drformsh.hxx @@ -0,0 +1,50 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SWDRWFORMSH_HXX +#define _SWDRWFORMSH_HXX + +#include "drwbassh.hxx" +namespace binfilter { + +class SdrObject; +class SwDrawBaseShell; + +class SwDrawFormShell: public SwDrawBaseShell +{ +public: + SFX_DECL_INTERFACE(SW_DRAWFORMSHELL); + + SwDrawFormShell(SwView &rView):SwDrawBaseShell(rView){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 SwDrawFormShell(SwView &rView); + +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/drwbassh.hxx b/binfilter/bf_sw/source/ui/inc/drwbassh.hxx new file mode 100644 index 000000000000..37c3b315ee21 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/drwbassh.hxx @@ -0,0 +1,58 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWDRWBASSH_HXX +#define _SWDRWBASSH_HXX + +#include "basesh.hxx" +namespace binfilter { + +class SfxItemSet; +class SwWrtShell; +class SwView; + +class SwDrawBase; +class SvxNameDialog; + +class SwDrawBaseShell: public SwBaseShell +{ + +public: + SwDrawBaseShell(SwView &rShell):SwBaseShell( rShell ){DBG_BF_ASSERT(0, "STRIP");} //STRIP001 SwDrawBaseShell(SwView &rShell); + + SFX_DECL_INTERFACE(SW_DRAWBASESHELL); + + void DisableState(SfxItemSet &rSet){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void DisableState(SfxItemSet &rSet) { Disable(rSet);} + + +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/drwtxtsh.hxx b/binfilter/bf_sw/source/ui/inc/drwtxtsh.hxx new file mode 100644 index 000000000000..c895d95e6939 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/drwtxtsh.hxx @@ -0,0 +1,90 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWDRWTXTSH_HXX +#define _SWDRWTXTSH_HXX + + +#include <bf_sfx2/shell.hxx> +#include "shellid.hxx" +namespace binfilter { + +class OutlinerView; +class SdrOutliner; +class SdrView; +class SwView; +class SfxModule; +class SwWrtShell; + +class SwDrawTextShell: public SfxShell +{ + SwView &rView; + + SdrView *pSdrView; + OutlinerView*pOLV; + SdrOutliner *pOutliner; + + BOOL bRotate : 1; + BOOL bSelMove: 1; + + void SetAttrToMarked(const SfxItemSet& rAttr); + void InsertSymbol(); + BOOL IsTextEdit(); +public: + SFX_DECL_INTERFACE(SW_DRWTXTSHELL); + TYPEINFO(); + + SwView &GetView() { return rView; } + SwWrtShell &GetShell(); + + SwDrawTextShell(SwView &rView); + + void StateDisableItems(SfxItemSet &){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void StateDisableItems(SfxItemSet &); + + void Execute(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void Execute(SfxRequest &); + void ExecDraw(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecDraw(SfxRequest &); + void GetState(SfxItemSet &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void GetState(SfxItemSet &); + void GetDrawTxtCtrlState(SfxItemSet&){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void GetDrawTxtCtrlState(SfxItemSet&); + + void ExecFontWork(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecFontWork(SfxRequest& rReq); + void StateFontWork(SfxItemSet& rSet){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void StateFontWork(SfxItemSet& rSet); + void ExecFormText(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecFormText(SfxRequest& rReq); + void GetFormTextState(SfxItemSet& rSet){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void GetFormTextState(SfxItemSet& rSet); + void ExecDrawLingu(SfxRequest &rReq){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecDrawLingu(SfxRequest &rReq); + void ExecUndo(SfxRequest &rReq){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecUndo(SfxRequest &rReq); + void StateUndo(SfxItemSet &rSet){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void StateUndo(SfxItemSet &rSet); + void ExecClpbrd(SfxRequest &rReq){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void ExecClpbrd(SfxRequest &rReq); + void StateClpbrd(SfxItemSet &rSet){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 void StateClpbrd(SfxItemSet &rSet); + void StateInsert(SfxItemSet &rSet){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void StateInsert(SfxItemSet &rSet); + void ExecTransliteration(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecTransliteration(SfxRequest &); + +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/edtwin.hxx b/binfilter/bf_sw/source/ui/inc/edtwin.hxx new file mode 100644 index 000000000000..0b112742c036 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/edtwin.hxx @@ -0,0 +1,228 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _EDTWIN_HXX +#define _EDTWIN_HXX + +#include <tools/link.hxx> +#include <vcl/timer.hxx> +#include <vcl/window.hxx> +#include <swevent.hxx> + +#define _SVSTDARR_STRINGSISORTDTOR +#include <bf_svtools/svstdarr.hxx> +namespace binfilter { + +class SwWrtShell; +class SwView; +class SwRect; +class SwDrawBase; +class ViewShell; +class SdrViewUserMarker; +class SdrObject; +class SwShadowCursor; +class DataChangedEvent; +class OfaAutoCorrCfg; +class SvxAutoCorrect; +struct SwApplyTemplate; +struct QuickHelpData; + +/*-------------------------------------------------------------------- + Beschreibung: Eingabe-Fenster + --------------------------------------------------------------------*/ + +class SwEditWin: public Window +{ +friend void ScrollMDI(ViewShell* pVwSh, const SwRect&, + USHORT nRangeX, USHORT nRangeY); +friend BOOL IsScrollMDI(ViewShell* pVwSh, const SwRect&); + +friend void SizeNotify(ViewShell* pVwSh, const Size &); + +friend void PageNumNotify( ViewShell* pVwSh, + USHORT nPhyNum, + USHORT nVirtNum, + const String& rPg ); + + static QuickHelpData* pQuickHlpData; + + static BOOL bReplaceQuote; + static long nDDStartPosX, nDDStartPosY; + + static Color aTextColor; //Textfarbe, fuer die Giesskanne + static BOOL bTransparentBackColor; // Hintergrund transparent + static Color aTextBackColor; //Texthintergrundfarbe, fuer die Giesskanne + + /* + * Timer und Handler fuer das Weiterscrollen, wenn der + * Mauspointer innerhalb eines Drag-Vorgangs ausserhalb des + * EditWin stehen bleibt. In regelmaessigen Intervallen wird + * die Selektion in Richtung der Mausposition vergroessert. + */ + AutoTimer aTimer; + // Timer fuer verschachtelte KeyInputs (z.B. fuer Tabellen) + Timer aKeyInputTimer; + // timer for ANY-KeyInut question without a following KeyInputEvent + Timer aKeyInputFlushTimer; + + String aInBuffer; + Point aStartPos; + Point aMovePos; + Point aRszMvHdlPt; + Timer aTemplateTimer; + + // Type/Objecte ueber dem der MousePointer steht + SwCallMouseEvent aSaveCallEvent; + + SwApplyTemplate *pApplyTempl; + + SdrViewUserMarker *pUserMarker; + SdrObject *pUserMarkerObj; + + SwView &rView; + + int aActHitType; // aktueller Mauspointer + + ULONG nDropFormat; //Format aus dem letzten QueryDrop + USHORT nDropAction; //Action aus dem letzten QueryDrop + USHORT nDropDestination; //Ziel aus dem letzten QueryDrop + + UINT16 eDrawMode; + UINT16 eBezierMode; + UINT16 nInsFrmColCount; //Spaltenzahl fuer interaktiven Rahmen + BOOL bLinkRemoved : 1, + bMBPressed : 1, + bInsDraw : 1, + bInsFrm : 1, + bIsInMove : 1, + bIsInDrag : 1, //StartExecuteDrag nich doppelt ausfuehren + bOldIdle : 1, //Zum abschalten des Idle'ns + bOldIdleSet : 1, //waehrend QeueryDrop + bTblInsDelMode : 1, // + bTblIsInsMode : 1, // + bTblIsColMode : 1, // + bChainMode : 1, //Rahmen verbinden + bWasShdwCrsr : 1, //ShadowCrsr war im MouseButtonDown an + bLockInput : 1; //Lock waehrend die Rechenleiste aktiv ist + + + + + + //Hilfsfunktionen fuer D&D + + /* + * Handler fuer das Weiterscrollen, wenn der Mauspointer innerhalb eines + * Drag-Vorgangs ausserhalb des EditWin stehen bleibt. In regelmaessigen + * Intervallen wird die Selektion in Richtung der Mausposition + * vergroessert. + */ + DECL_LINK( TimerHandler, Timer * ); + + // timer for ANY-KeyInut question without a following KeyInputEvent + DECL_LINK( KeyInputFlushHandler, Timer * ); + + // Timer fuer verschachtelte KeyInputs (z.B. fuer Tabellen) + DECL_LINK( KeyInputTimerHandler, Timer * ); + + // Timer fuer das ApplyTemplates per Maus (verkapptes Drag&Drop) + DECL_LINK( TemplateTimerHdl, Timer* ); + +protected: + + + + + + + // Drag & Drop Interface + + void ShowAutoTextCorrectQuickHelp( const String& rWord, OfaAutoCorrCfg* pACfg, SvxAutoCorrect* pACorr ); +public: + + void UpdatePointer(const Point &, USHORT nButtons = 0); + + BOOL IsDrawAction() { return (bInsDraw); } + void SetDrawAction(BOOL bFlag) { bInsDraw = bFlag; } + inline UINT16 GetDrawMode(BOOL bBuf = FALSE) const { return eDrawMode; } + inline void SetDrawMode(UINT16 eDrwMode) { eDrawMode = eDrwMode; } + BOOL IsFrmAction() { return (bInsFrm); } + inline UINT16 GetBezierMode() { return eBezierMode; } + void SetBezierMode(UINT16 eBezMode) { eBezierMode = eBezMode; } + UINT16 GetFrmColCount() const {return nInsFrmColCount;} //Spaltenzahl fuer interaktiven Rahmen + + + BOOL IsChainMode() const { return bChainMode; } + + + static void SetReplaceQuote(BOOL bOn = TRUE) { bReplaceQuote = bOn; } + static BOOL IsReplaceQuote() { return bReplaceQuote; } + + SwApplyTemplate* GetApplyTemplate() const { return pApplyTempl; } + + USHORT GetDropAction() const { return nDropAction; } + ULONG GetDropFormat() const { return nDropFormat; } + + Color GetTextColor() { return aTextColor; } + void SetTextColor(const Color& rCol ) { aTextColor = rCol; } + + Color GetTextBackColor() + { return aTextBackColor; } + void SetTextBackColor(const Color& rCol ) + { aTextBackColor = rCol; } + void SetTextBackColorTransparent(BOOL bSet) + { bTransparentBackColor = bSet; } + BOOL IsTextBackColorTransparent() + { return bTransparentBackColor; } + void LockKeyInput(BOOL bSet){bLockInput = bSet;} + + const SwView &GetView() const { return rView; } + SwView &GetView() { return rView; } + +#ifdef ACCESSIBLE_LAYOUT +#endif + + // Tipfenster loeschen + + static inline long GetDDStartPosX() { return nDDStartPosX; } + static inline long GetDDStartPosY() { return nDDStartPosY; } + + static void _InitStaticData(); + static void _FinitStaticData(); + + //#i3370# remove quick help to prevent saving of autocorrection suggestions + void StopQuickHelp(); + + SwEditWin(Window *pParent, SwView &); + virtual ~SwEditWin(); +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/envimg.hxx b/binfilter/bf_sw/source/ui/inc/envimg.hxx new file mode 100644 index 000000000000..f554ca449249 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/envimg.hxx @@ -0,0 +1,84 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _ENVIMG_HXX +#define _ENVIMG_HXX + +#include <bf_svtools/poolitem.hxx> +namespace binfilter { + +// enum ----------------------------------------------------------------------- + +enum SwEnvAlign +{ + ENV_HOR_LEFT = 0, + ENV_HOR_CNTR, + ENV_HOR_RGHT, + ENV_VER_LEFT, + ENV_VER_CNTR, + ENV_VER_RGHT +}; + +// class SwEnvItem ------------------------------------------------------------ + +class SwEnvItem : public SfxPoolItem +{ +public: + + ::rtl::OUString aAddrText; // Text fuer Empfaenger + sal_Bool bSend; // Absender? + ::rtl::OUString aSendText; // Text fuer Absender + sal_Int32 lAddrFromLeft; // Linker Abstand fuer Empfaenger (twips) + sal_Int32 lAddrFromTop; // Oberer Abstand fuer Empfaenger (twips) + sal_Int32 lSendFromLeft; // Linker Abstand fuer Absender (twips) + sal_Int32 lSendFromTop; // Oberer Abstand fuer Absender (twips) + sal_Int32 lWidth; // Breite des Umschlags (twips) + sal_Int32 lHeight; // Hoehe des Umschlags (twips) + SwEnvAlign eAlign; // Ausrichtung beim Einzug + sal_Bool bPrintFromAbove; // Von oben drucken? + sal_Int32 lShiftRight; // Verschiebung nach rechts (twips) + sal_Int32 lShiftDown; // Verschiebung nach unten (twips) + + SwEnvItem(); + SwEnvItem(const SwEnvItem& rItem); + + TYPEINFO(); + + + virtual int operator ==(const SfxPoolItem& rItem) const; + + virtual SfxPoolItem* Clone(SfxItemPool* = 0) const; +}; + +// class SwEnvCfgItem ------------------------------------------------------- + + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/fldmgr.hxx b/binfilter/bf_sw/source/ui/inc/fldmgr.hxx new file mode 100644 index 000000000000..8d689d23ee10 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/fldmgr.hxx @@ -0,0 +1,260 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _FLDMGR_HXX +#define _FLDMGR_HXX + +#ifndef _SVSTDARR_HXX +#define _SVSTDARR_STRINGSDTOR +#include <bf_svtools/svstdarr.hxx> +#endif + +#include <tools/string.hxx> + +#include "swtypes.hxx" + +#include <com/sun/star/uno/Reference.h> +#include <com/sun/star/uno/Any.h> +namespace com{namespace sun{namespace star{ + namespace container{ + class XNameAccess; + } + namespace text{ + class XNumberingTypeInfo; + } +}}} +class ListBox; + +namespace binfilter { + +class SvxMacroItem; +class SvNumberFormatter; +class SwWrtShell; +class SwField; +class SwFieldType; +class SwFmtRefMark; +class SbModule; + +/*-------------------------------------------------------------------- + Beschreibung: Shell setzen auf der der SwFldMgr arbeitet + --------------------------------------------------------------------*/ + +void SetFldMgrShell(SwWrtShell* pSh); + +/*-------------------------------------------------------------------- + Beschreibung: Die Gruppen von Feldern + --------------------------------------------------------------------*/ + +enum SwFldGroups +{ + GRP_DOC, + GRP_FKT, + GRP_REF, + GRP_REG, + GRP_DB, + GRP_VAR +}; + +struct SwFldGroupRgn +{ + USHORT nStart; + USHORT nEnd; +}; + +/*-------------------------------------------------------------------- + Beschreibung: Der FeldManager handelt das Einfuegen von Felder + ueber Command-Strings + --------------------------------------------------------------------*/ +struct SwInsertFld_Data +{ + USHORT nTypeId; + USHORT nSubType; + const String sPar1; + const String sPar2; + ULONG nFormatId; + SwWrtShell* pSh; + sal_Unicode cSeparator; + BOOL bIsAutomaticLanguage; + ::com::sun::star::uno::Any aDBDataSource; + ::com::sun::star::uno::Any aDBConnection; + ::com::sun::star::uno::Any aDBColumn; + + SwInsertFld_Data(USHORT nType, USHORT nSub, const String& rPar1, const String& rPar2, + ULONG nFmtId, SwWrtShell* pShell = NULL, sal_Unicode cSep = ' ', BOOL bIsAutoLanguage = TRUE) : + nTypeId(nType), + nSubType(nSub), + sPar1(rPar1), + sPar2(rPar2), + nFormatId(nFmtId), + pSh(pShell), + cSeparator(cSep), + bIsAutomaticLanguage(bIsAutoLanguage) {} + + SwInsertFld_Data() : + pSh(0), + cSeparator(' '), + bIsAutomaticLanguage(TRUE){} + +}; +class SwFldMgr +{ +private: + SvStringsDtor aSubLst; + + SwField* pCurFld; + SbModule* pModule; + const SvxMacroItem* pMacroItem; + SwWrtShell* pWrtShell; // darf auch NULL sein! + String aCurPar1; + String aCurPar2; + String sCurFrame; + + String sMacroPath; + + ULONG nCurFmt; + BOOL bEvalExp; + + USHORT GetCurrLanguage() const; + + ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess> xDBContext; + ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess> GetDBContext(); + ::com::sun::star::uno::Reference< ::com::sun::star::text::XNumberingTypeInfo> xNumberingInfo; + ::com::sun::star::uno::Reference< ::com::sun::star::text::XNumberingTypeInfo> GetNumberingInfo()const; +public: + SwFldMgr(SwWrtShell* pSh = 0); + ~SwFldMgr(); + + // Feld einfuegen ueber TypeId (TYP_ ...) + BOOL InsertFld( const SwInsertFld_Data& rData ); + + BOOL InsertURL( const String& rName, + const String& rVal, + const String& rFrame, + const SvxMacroItem* pItem = 0); + + // Direkt das aktuelle Feld aendern + void UpdateCurFld(ULONG nFormat, + const String& rPar1, + const String& rPar2); + + inline const String& GetCurFldPar1() const; + inline const String& GetCurFldPar2() const; + inline ULONG GetCurFldFmt() const; + + // Ein Feld ermitteln + SwField* GetCurFld(); + + // Zugriff auf Feldtypen + void RemoveDBTypes(); + void InsertFldType(SwFieldType& rType); + + BOOL ChooseMacro(const String &rSelMacro = aEmptyStr); + inline void SetMacroPath(const String& rPath) { sMacroPath = rPath; } + inline const String& GetMacroPath() const { return (sMacroPath); } + inline void SetMacroModule(SbModule* pMod) { pModule = pMod; } + + // Vorheriger Naechster gleichen Typ + BOOL GoNextPrev( BOOL bNext = TRUE, SwFieldType* pTyp = 0 ); + BOOL GoNext( SwFieldType* pTyp = 0 ) { return GoNextPrev( TRUE, pTyp ); } + BOOL GoPrev( SwFieldType* pTyp = 0 ) { return GoNextPrev( FALSE, pTyp ); } + + // Setzen von Werten aus Benutzerfeldern (BASIC) + // + BOOL SetFieldValue(const String &rFieldName, + const String &rValue); + + // Erfragen von Werten aus Datenbankfeldern (BASIC ) +// String GetDataBaseFieldValue(const String &rDBName, const String &rFieldName, SwWrtShell* pSh); + BOOL IsDBNumeric(const String& rDBName, const String& rTblQryName, + BOOL bIsTable, const String& rFldName); + + // RefMark mit Namen organisieren + BOOL CanInsertRefMark( const String& rStr ); + + + // Zugriff ueber ResId auf Feldtypen + USHORT GetFldTypeCount(USHORT nResId = USHRT_MAX) const; + SwFieldType* GetFldType(USHORT nResId, USHORT nId = 0) const; + SwFieldType* GetFldType(USHORT nResId, const String& rName) const; + + void RemoveFldType(USHORT nResId, USHORT nId = 0); + void RemoveFldType(USHORT nResId, const String& rName); + + // Zugriff ueber TypeId aus dem Dialog + // Ids fuer einen Bereich von Feldern + const SwFldGroupRgn& GetGroupRange(BOOL bHtmlMode, USHORT nGrpId) const; + USHORT GetGroup(BOOL bHtmlMode, USHORT nTypeId, USHORT nSubType = 0) const; + + // TypeId des aktuellen Feldes + USHORT GetCurTypeId() const; + // TypeId fuer einen konkrete Pos in der Liste + USHORT GetTypeId(USHORT nPos) const; + // Name des Typen in der Liste der Felder + const String& GetTypeStr(USHORT nPos) const; + + // Pos in der Liste der Felder + USHORT GetPos(USHORT nTypeId) const; + + // Untertypen zu einem Typ + SvStringsDtor& GetSubTypes(USHORT nId); + + BOOL SetUserSubType(const String& rName, USHORT nSubType); + + // Formate zu einem Typ + USHORT GetFormatCount(USHORT nTypeId, BOOL bIsText, BOOL bHtmlMode = FALSE) const; + String GetFormatStr(USHORT nTypeId, ULONG nFormatId) const; + USHORT GetFormatId(USHORT nTypeId, ULONG nFormatId) const; + ULONG GetDefaultFormat(USHORT nTypeId, BOOL bIsText, SvNumberFormatter* pFormatter, double* pVal = 0L); + + // Evaluierung der ExpressionFelder ausschalten fuer das Einfuegen + // vieler Expressionfelder (siehe Etiketten) + // + inline void SetEvalExpFlds(BOOL bEval); + void EvalExpFlds(SwWrtShell* pSh = NULL); + + // public, damit sie im fldini initialisiert werden koennen. + static String *pDate, *pTime; + +}; + +inline void SwFldMgr::SetEvalExpFlds(BOOL bEval) + { bEvalExp = bEval; } + +inline const String& SwFldMgr::GetCurFldPar1() const + { return aCurPar1; } + +inline const String& SwFldMgr::GetCurFldPar2() const + { return aCurPar2; } + +inline ULONG SwFldMgr::GetCurFldFmt() const + { return nCurFmt; } + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/fldwrap.hxx b/binfilter/bf_sw/source/ui/inc/fldwrap.hxx new file mode 100644 index 000000000000..d3b2bf9caebe --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/fldwrap.hxx @@ -0,0 +1,62 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _FLDWRAP_HXX +#define _FLDWRAP_HXX + +#include "chldwrap.hxx" +namespace binfilter { + +class SwFldDlgWrapper : public SwChildWinWrapper +{ +public: + SwFldDlgWrapper( Window* pParent, USHORT nId, + SfxBindings* pBindings, SfxChildWinInfo* pInfo ): SwChildWinWrapper( pParent, nId ){DBG_BF_ASSERT(0, "STRIP");} //STRIP001 SfxBindings* pBindings, SfxChildWinInfo* pInfo ); + + SFX_DECL_CHILDWINDOW(SwFldDlgWrapper); + +}; +/* -----------------04.02.2003 14:14----------------- + * field dialog only showing database page to support + * mail merge + * --------------------------------------------------*/ +class SwFldDataOnlyDlgWrapper : public SwChildWinWrapper +{ +public: + SwFldDataOnlyDlgWrapper( Window* pParent, USHORT nId, + SfxBindings* pBindings, SfxChildWinInfo* pInfo ); + + SFX_DECL_CHILDWINDOW(SwFldDataOnlyDlgWrapper); + + virtual BOOL ReInitDlg(SwDocShell *pDocSh); +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/fontcfg.hxx b/binfilter/bf_sw/source/ui/inc/fontcfg.hxx new file mode 100644 index 000000000000..8415f724f0f9 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/fontcfg.hxx @@ -0,0 +1,107 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _FONTCFG_HXX +#define _FONTCFG_HXX + +#include <unotools/configitem.hxx> +#include <tools/string.hxx> +#include <i18npool/lang.h> +namespace binfilter { + +#define FONT_STANDARD 0 +#define FONT_OUTLINE 1 +#define FONT_LIST 2 +#define FONT_CAPTION 3 +#define FONT_INDEX 4 +#define FONT_STANDARD_CJK 5 +#define FONT_OUTLINE_CJK 6 +#define FONT_LIST_CJK 7 +#define FONT_CAPTION_CJK 8 +#define FONT_INDEX_CJK 9 +#define FONT_STANDARD_CTL 10 +#define FONT_OUTLINE_CTL 11 +#define FONT_LIST_CTL 12 +#define FONT_CAPTION_CTL 13 +#define FONT_INDEX_CTL 14 +#define DEF_FONT_COUNT 15 + +#define FONT_PER_GROUP 5 + +#define FONT_GROUP_DEFAULT 0 +#define FONT_GROUP_CJK 1 +#define FONT_GROUP_CTL 2 + +class SwStdFontConfig : public ::utl::ConfigItem +{ + String sDefaultFonts[DEF_FONT_COUNT]; + + ::com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames(); + + void ChangeString(USHORT nFontType, const String& rSet) + { + if(sDefaultFonts[nFontType] != rSet) + { + SetModified(); + sDefaultFonts[nFontType] = rSet; + } + } +public: + SwStdFontConfig(); + ~SwStdFontConfig(); + + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); + + const String& GetFontStandard(sal_uInt8 nFontGroup) const {return sDefaultFonts[FONT_STANDARD + FONT_PER_GROUP * nFontGroup];} + const String& GetFontOutline(sal_uInt8 nFontGroup) const {return sDefaultFonts[FONT_OUTLINE + FONT_PER_GROUP * nFontGroup];} + const String& GetFontList (sal_uInt8 nFontGroup) const {return sDefaultFonts[FONT_LIST + FONT_PER_GROUP * nFontGroup];} + const String& GetFontCaption(sal_uInt8 nFontGroup) const {return sDefaultFonts[FONT_CAPTION + FONT_PER_GROUP * nFontGroup];} + const String& GetFontIndex (sal_uInt8 nFontGroup) const {return sDefaultFonts[FONT_INDEX + FONT_PER_GROUP * nFontGroup];} + + const String& GetFontFor(USHORT nFontType) const {return sDefaultFonts[nFontType];} + BOOL IsFontDefault(USHORT nFontType) const; + + void SetFontStandard(const String& rSet, sal_uInt8 nFontGroup) + {ChangeString(FONT_STANDARD + FONT_PER_GROUP * nFontGroup, rSet);} + + void SetFontOutline(const String& rSet, sal_uInt8 nFontGroup) + { ChangeString(FONT_OUTLINE + FONT_PER_GROUP * nFontGroup, rSet);} + void SetFontList (const String& rSet, sal_uInt8 nFontGroup) + { ChangeString(FONT_LIST + FONT_PER_GROUP * nFontGroup, rSet);} + void SetFontCaption(const String& rSet, sal_uInt8 nFontGroup) + { ChangeString(FONT_CAPTION + FONT_PER_GROUP * nFontGroup, rSet);} + void SetFontIndex (const String& rSet, sal_uInt8 nFontGroup) + { ChangeString(FONT_INDEX + FONT_PER_GROUP * nFontGroup, rSet);} + + static String GetDefaultFor(USHORT nFontType, LanguageType eLang); +}; +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/formedt.hxx b/binfilter/bf_sw/source/ui/inc/formedt.hxx new file mode 100644 index 000000000000..e395092667be --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/formedt.hxx @@ -0,0 +1,105 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _FORMEDT_HXX +#define _FORMEDT_HXX + +#include <bf_svx/stddlg.hxx> + +#include <vcl/lstbox.hxx> + +#include <vcl/button.hxx> + +#include <vcl/fixed.hxx> + +#include <vcl/edit.hxx> + +#include "toxe.hxx" +namespace binfilter { + +class SwWrtShell; +class SwForm; + +/*-------------------------------------------------------------------- + Beschreibung: Markierung fuer Verzeichniseintrag einfuegen + --------------------------------------------------------------------*/ + +class SwIdxFormDlg : public SvxStandardDialog +{ + DECL_LINK( EntryHdl, Button * ); + DECL_LINK( PageHdl, Button * ); + DECL_LINK( TabHdl, Button * ); + DECL_LINK( JumpHdl, Button * ); + DECL_LINK( StdHdl, Button * ); + DECL_LINK( SelectHdl, ListBox * ); + DECL_LINK( EnableSelectHdl, ListBox * ); + DECL_LINK( DoubleClickHdl, Button * ); + DECL_LINK( ModifyHdl, Edit * ); + DECL_LINK( AssignHdl, Button * ); + void UpdatePattern(); + void Apply(); + + ListBox aEntryLB; + OKButton aOKBtn; + CancelButton aCancelBT; + FixedText aLevelFT; + Edit aEntryED; + PushButton aEntryBT; + PushButton aTabBT; + PushButton aPageBT; + PushButton aJumpBT; + FixedLine aEntryFL; + FixedText aLevelFT2; + ListBox aLevelLB; + FixedText aTemplateFT; + ListBox aParaLayLB; + PushButton aStdBT; + PushButton aAssignBT; + FixedLine aFormatFL; + + SwWrtShell &rSh; + SwForm *pForm; + USHORT nAktLevel; + BOOL bLastLinkIsEnd; + +public: + SwIdxFormDlg( Window* pParent, SwWrtShell &rShell, const SwForm& rForm ); + ~SwIdxFormDlg(); + + static BOOL IsNoNum(SwWrtShell& rSh, const String& rName); + const SwForm& GetTOXForm(); +}; + +inline const SwForm& SwIdxFormDlg::GetTOXForm() +{ + return *pForm; +} + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/frmmgr.hxx b/binfilter/bf_sw/source/ui/inc/frmmgr.hxx new file mode 100644 index 000000000000..86b571c8b113 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/frmmgr.hxx @@ -0,0 +1,243 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _FRMMGR_HXX +#define _FRMMGR_HXX + +#include "swtypes.hxx" +#include "frmatr.hxx" + +#include <bf_svx/svxenum.hxx> +#include <tools/gen.hxx> +#include <fmtfsize.hxx> +#include <fmtsrnd.hxx> +#include <fmtornt.hxx> +#include <fmtanchr.hxx> +namespace binfilter { + +class SwWrtShell; +struct SwFrmValid; + +class SwFmt; +class SwFmtCol; + +const SwTwips DFLT_WIDTH = MM50 * 4; +const SwTwips DFLT_HEIGHT = MM50; + +#define FULL_ATTRSET 0xffff + +#define FRMMGR_TYPE_NONE 0x00 +#define FRMMGR_TYPE_TEXT 0x01 +#define FRMMGR_TYPE_GRF 0x02 +#define FRMMGR_TYPE_OLE 0x04 +#define FRMMGR_TYPE_LABEL 0x08 +#define FRMMGR_TYPE_ENVELP 0x10 + +class SwFlyFrmAttrMgr +{ + SfxItemSet aSet; + Point aAbsPos; + SwWrtShell *pOwnSh; + + BOOL bAbsPos, + bNewFrm; + BOOL bIsInVertical; + + // interne Verrechnung fuer Umrandung + SwTwips CalcTopSpace(); + SwTwips CalcBottomSpace(); + SwTwips CalcLeftSpace(); + SwTwips CalcRightSpace(); + + void _UpdateFlyFrm(); //Nacharbeit nach Einfuegen oder Update + +public: + SwFlyFrmAttrMgr( BOOL bNew, SwWrtShell* pSh, BYTE nType ); + + //CopyCtor fuer die Dialoge, zum Pruefen der Metrics + SwFlyFrmAttrMgr( BOOL bNew, SwWrtShell *pSh, const SfxItemSet &rSet ); + + inline SwWrtShell* GetShell() { return pOwnSh; } + + void SetAnchor(RndStdIds eId); + inline RndStdIds GetAnchor() const; + + void SetHorzOrientation(SwHoriOrient eOrient); + void SetVertOrientation(SvxFrameVertOrient eOrient); + + // Absolute Position + void SetAbsPos(const Point& rLPoint); + + // Relative Position vom Anker + void SetPos(const Point& rLPoint); + inline Point GetPos() const; + + // Groesse + void SetSize(const Size& rLSize); + inline const Size& GetSize() const; + void SetFrmSize(const SwFmtFrmSize& rFrmSize); + + inline USHORT GetHeightPercent() const; + + void SetSizeType(SwFrmSize eType); + + // Abstand zum Inhalt + void SetLRSpace( long nLeft = LONG_MAX, + long nRight = LONG_MAX ); + void SetULSpace( long nTop = LONG_MAX, + long nBottom= LONG_MAX ); + + void SetWrapType(SwSurround eSurround); + + void SetAnchorOnly(BOOL bSet); + void SetContour( BOOL bSet); + void SetTransparent(BOOL bTrans); + + void ProtectPosSize(BOOL bProt); + + void SetCol( const SwFmtCol &rCol); + + // Attribute aendern und erfragen + void UpdateAttrMgr(); + void UpdateFlyFrm(); + + // neuen Rahmen erzeugen + BOOL InsertFlyFrm(); + void InsertFlyFrm(RndStdIds eAnchorType, + const Point &rPos, + const Size &rSize, + BOOL bAbsPos = FALSE); + + // Metriken pruefen und aendern + void ValidateMetrics(SwFrmValid& rVal, BOOL bOnlyPercentRefValue = FALSE); + + void DelAttr(USHORT nId); + + // Set rausreichen + inline const SfxItemSet &GetAttrSet() const { return aSet; } + inline SfxItemSet &GetAttrSet() { return aSet; } + void SetAttrSet(const SfxItemSet& rSet); + + inline const SwFmtVertOrient &GetVertOrient() const; + inline const SwFmtHoriOrient &GetHoriOrient() const; + inline const SvxShadowItem &GetShadow() const; + inline const SvxBoxItem &GetBox() const; + inline const SwFmtSurround &GetSurround() const; + inline const SwFmtFrmSize &GetFrmSize() const; + + long CalcWidthSpace(); + long CalcHeightSpace(); + + long CalcWidthBorder() { return CalcLeftSpace()+CalcRightSpace(); } + long CalcHeightBorder() { return CalcTopSpace()+CalcBottomSpace(); } +}; + +/*-------------------------------------------------------------------- + Beschreibung: Validierung von Metriken + --------------------------------------------------------------------*/ + +struct SwFrmValid +{ + RndStdIds eArea; + SwHoriOrient eHori; + SvxFrameVertOrient eVert; + SwRelationOrient eHRel; + SwRelationOrient eVRel; + BOOL bAuto; + BOOL bMirror; + + SwTwips nHPos; + SwTwips nMaxHPos; + SwTwips nMinHPos; + + SwTwips nVPos; + SwTwips nMaxVPos; + SwTwips nMinVPos; + + SwTwips nWidth; + SwTwips nMinWidth; + SwTwips nMaxWidth; + + SwTwips nHeight; + SwTwips nMinHeight; + SwTwips nMaxHeight; + + Size aPercentSize; // Size fuer 100%-Wert + + SwFrmValid(); +}; + + +inline const Size& SwFlyFrmAttrMgr::GetSize() const +{ + return ((SwFmtFrmSize&)aSet.Get(RES_FRM_SIZE)).GetSize(); +} + +inline const SwFmtVertOrient &SwFlyFrmAttrMgr::GetVertOrient() const +{ + return ((SwFmtVertOrient&)aSet.Get(RES_VERT_ORIENT)); +} +inline const SwFmtHoriOrient &SwFlyFrmAttrMgr::GetHoriOrient() const +{ + return ((SwFmtHoriOrient &)aSet.Get(RES_HORI_ORIENT)); +} +inline const SwFmtFrmSize& SwFlyFrmAttrMgr::GetFrmSize() const +{ + return ((SwFmtFrmSize&)aSet.Get(RES_FRM_SIZE)); +} +inline const SvxShadowItem &SwFlyFrmAttrMgr::GetShadow() const +{ + return ((SvxShadowItem&)aSet.Get(RES_SHADOW)); +} +inline const SvxBoxItem &SwFlyFrmAttrMgr::GetBox() const +{ + return ((SvxBoxItem&)aSet.Get(RES_BOX)); +} +inline const SwFmtSurround &SwFlyFrmAttrMgr::GetSurround() const +{ + return ((SwFmtSurround&)aSet.Get(RES_SURROUND)); +} + +inline Point SwFlyFrmAttrMgr::GetPos() const +{ + return Point( GetHoriOrient().GetPos(), GetVertOrient().GetPos() ); +} + +inline RndStdIds SwFlyFrmAttrMgr::GetAnchor() const +{ + return ((SwFmtAnchor&)aSet.Get(RES_ANCHOR)).GetAnchorId(); +} + +inline USHORT SwFlyFrmAttrMgr::GetHeightPercent() const +{ + return GetFrmSize().GetHeightPercent(); +} + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/frmsh.hxx b/binfilter/bf_sw/source/ui/inc/frmsh.hxx new file mode 100644 index 000000000000..f7a7dfdebb0c --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/frmsh.hxx @@ -0,0 +1,50 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWFRMSH_HXX +#define _SWFRMSH_HXX + +#include "basesh.hxx" +namespace binfilter { + +class SwFrameShell: public SwBaseShell +{ + +public: + SFX_DECL_INTERFACE(SW_FRAMESHELL); + + SwFrameShell(SwView &rView):SwBaseShell( rView ){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 SwFrameShell(SwView &rView); + + void ExecFrameStyle(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecFrameStyle(SfxRequest& rReq); + void GetLineStyleState(SfxItemSet &rSet){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void GetLineStyleState(SfxItemSet &rSet); + void StateInsert(SfxItemSet &rSet){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void StateInsert(SfxItemSet &rSet); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/frmui.hrc b/binfilter/bf_sw/source/ui/inc/frmui.hrc new file mode 100644 index 000000000000..3e57d219015b --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/frmui.hrc @@ -0,0 +1,89 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _FRMUI_HRC +#define _FRMUI_HRC + +#include "rcid.hrc" +#include "globals.hrc" + +#define DLG_FRMOPT (RC_FRMDLG_BEGIN + 1) +#define DLG_PATTERN (RC_FRMDLG_BEGIN + 2) +#define DLG_BORDER (RC_FRMDLG_BEGIN + 3) +#define DLG_FOOTNOTE (RC_FRMDLG_BEGIN + 5) +#define DLG_INSERT_FOOTNOTE (RC_FRMDLG_BEGIN + 6) + +#define DLG_VIEW_HEADER (RC_FRMDLG_BEGIN + 8) +#define DLG_FORMAT_COLUMN (RC_FRMDLG_BEGIN + 10) + + +#define STR_PATTERN_BRD (RC_FRMDLG_BEGIN + 13) +#define STR_SHPATTERN (RC_FRMDLG_BEGIN + 14) +#define STR_LNPATTERN (RC_FRMDLG_BEGIN + 15) + +#define BMP_PORTRAIT (RC_FRMDLG_BEGIN + 16) +#define BMP_LANDSCAPE (RC_FRMDLG_BEGIN + 17) +#define BMP_BEGIN (RC_FRMDLG_BEGIN + 18) +#define BMP_WRAP (BMP_BEGIN) +#define BMP_LEFT (BMP_BEGIN+1) +#define BMP_RIGHT (BMP_BEGIN+2) +#define BMP_OPAQUE (BMP_BEGIN+3) +#define BMP_OPAQUET (BMP_BEGIN+4) +#define BMP_NOWRAP (BMP_BEGIN+5) + +#define BMP_END (BMP_NOWRAP) + +#define MN_OPTION (BMP_END + 1) +#define MN_COLUMN (BMP_END + 2) +#define MN_PAPERSZ (BMP_END + 3) +#define MN_BACKGROUND (BMP_END + 4) +#define MN_FRAME (BMP_END + 5) +#define STR_BACKGROUND (BMP_END + 6) +#define MN_FOOTNOTE (BMP_END + 7) + +#define STR_FRMDLG_BEGIN (MN_FOOTNOTE + 1) + + + +#define STR_BORDER (STR_FRMDLG_BEGIN + 16) +#define STR_COLUMN (STR_FRMDLG_BEGIN + 17) +#define STR_PARA (STR_FRMDLG_BEGIN + 18) +#define STR_CHAR (STR_FRMDLG_BEGIN + 19) + +#define STR_FRAME (STR_FRMDLG_BEGIN + 20) +#define STR_REL_BORDER (STR_FRMDLG_BEGIN + 35) +#define STR_FLY_MIR_REL_PG_FRAME (STR_FRMDLG_BEGIN + 43) +#define STR_FLY_MIR_REL_PG_PRTAREA (STR_FRMDLG_BEGIN + 44) + + + + + + + + +#endif // FRMUI_HRC diff --git a/binfilter/bf_sw/source/ui/inc/globals.h b/binfilter/bf_sw/source/ui/inc/globals.h new file mode 100644 index 000000000000..7a404392ab2e --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/globals.h @@ -0,0 +1,40 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _GLOBALS_H +#define _GLOBALS_H + +enum SwChangeState +{ + STATE_OFF = 0, + STATE_ON = 1, + STATE_TOGGLE = 2 +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/globdoc.hrc b/binfilter/bf_sw/source/ui/inc/globdoc.hrc new file mode 100644 index 000000000000..f217d1a9fa0e --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/globdoc.hrc @@ -0,0 +1,74 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _GLOBDOC_HRC +#define _GLOBDOC_HRC + +#include "rcid.hrc" + +#define STR_HUMAN_SWGLOBDOC_NAME (RC_GLOBDOC_BEGIN + 2) +#define STR_WRITER_GLOBALDOC_FULLTYPE_40 (RC_GLOBDOC_BEGIN + 3) +#define STR_WRITER_GLOBALDOC_FULLTYPE_50 (RC_GLOBDOC_BEGIN + 4) +#define STR_WRITER_GLOBALDOC_FULLTYPE (RC_GLOBDOC_BEGIN + 5) + +#define MN_GLOBALFILE (RC_GLOBDOC_BEGIN + 30) +#define MN_GLOBALEDIT (RC_GLOBDOC_BEGIN + 31) +#define MN_GLOBALVIEW (RC_GLOBDOC_BEGIN + 32) +#define MN_GLOBALINS (RC_GLOBDOC_BEGIN + 33) +#define MN_GLOBALFORMAT (RC_GLOBDOC_BEGIN + 34) +#define MN_GLOBALEXTRA (RC_GLOBDOC_BEGIN + 35) +#define MN_GLOBALWIN (RC_GLOBDOC_BEGIN + 36) + +#define MN_GLOBALFILE_PORT (RC_GLOBDOC_BEGIN + 47) +#define MN_GLOBALEDIT_PORT (RC_GLOBDOC_BEGIN + 48) +#define MN_GLOBALVIEW_PORT (RC_GLOBDOC_BEGIN + 49) +#define MN_GLOBALINS_PORT (RC_GLOBDOC_BEGIN + 50) +#define MN_GLOBALFORMAT_PORT (RC_GLOBDOC_BEGIN + 51) +#define MN_GLOBALEXTRA_PORT (RC_GLOBDOC_BEGIN + 52) +#define MN_GLOBALWIN_PORT (RC_GLOBDOC_BEGIN + 53) + +#define MN_OBJECTMENU_GLOBALTEXT (RC_GLOBDOC_BEGIN + 54) +#define MN_OBJECTMENU_GLOBALLIST (RC_GLOBDOC_BEGIN + 55) +#define MN_OBJECTMENU_GLOBALTABLE (RC_GLOBDOC_BEGIN + 56) +#define MN_OBJECTMENU_GLOBALFRAME (RC_GLOBDOC_BEGIN + 57) +#define MN_OBJECTMENU_GLOBALGRAFIK (RC_GLOBDOC_BEGIN + 58) +#define MN_OBJECTMENU_GLOBALDRAW (RC_GLOBDOC_BEGIN + 59) +#define MN_OBJECTMENU_GLOBALDRWTXT (RC_GLOBDOC_BEGIN + 60) +#define MN_OBJECTMENU_GLOBALOLE (RC_GLOBDOC_BEGIN + 61) +#define MN_OBJECTMENU_GLOBALDRAWCONTROL (RC_GLOBDOC_BEGIN + 62) + +#define MN_GLOBAL_TEXT_POPUPMENU (RC_GLOBDOC_BEGIN + 63) +// ------------------------------------------------------------------------ + +#define GLOBDOC_ACT_END MN_GLOBAL_TEXT_POPUPMENU + + +#if GLOBDOC_ACT_END > RC_GLOBDOC_END +#error Resource-Id Ueberlauf in #file, #line +#endif + +#endif diff --git a/binfilter/bf_sw/source/ui/inc/glosdoc.hxx b/binfilter/bf_sw/source/ui/inc/glosdoc.hxx new file mode 100644 index 000000000000..81a6122edd0d --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/glosdoc.hxx @@ -0,0 +1,147 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _GLOSDOC_HXX +#define _GLOSDOC_HXX + + +#include <tools/string.hxx> + + +#include <bf_svtools/svarray.hxx> +#include <com/sun/star/text/XAutoTextGroup.hpp> +class SvStrings; +namespace binfilter {//STRIP009 +class SwTextBlocks; + +class SwDocShell; +} //namespace binfilter + +#ifndef SW_DECL_SWDOCSHELL_DEFINED +#define SW_DECL_SWDOCSHELL_DEFINED +#include <tools/ref.hxx> +namespace binfilter {//STRIP009 +SV_DECL_REF( SwDocShell ) +} //namespace binfilter +#endif + +#include <cppuhelper/weakref.hxx> + +#include <vector> +namespace binfilter { + +typedef ::com::sun::star::uno::WeakReference< ::com::sun::star::text::XAutoTextGroup > AutoTextGroupRef; +typedef ::std::vector< AutoTextGroupRef > UnoAutoTextGroups; + +typedef ::com::sun::star::uno::Reference< ::com::sun::star::text::XAutoTextEntry > AutoTextEntryRef; +typedef ::std::vector< AutoTextEntryRef > UnoAutoTextEntries; + +#define GLOS_DELIM (sal_Unicode)'*' + +// CLASS ----------------------------------------------------------------- +class SwGlossaries +{ + UnoAutoTextGroups aGlossaryGroups; + UnoAutoTextEntries aGlossaryEntries; + String aPath; + String sOldErrPath; + String sErrPath; + SvStrings *pPathArr; + SvStrings *pGlosArr; + BOOL bError; + SwTextBlocks* GetGlosDoc(const String &rName, BOOL bCreate = TRUE) const{DBG_BF_ASSERT(0, "STRIP"); return NULL;}; //STRIP001 //STRIP001 SwTextBlocks* GetGlosDoc(const String &rName, BOOL bCreate = TRUE) const; + SvStrings *GetNameList(); + void RemoveFileFromList( const String& rGroup ); + void InvalidateUNOOjects(); + +public: + SwGlossaries(); + ~SwGlossaries(); + + /** returns the cached AutoTextGroup (if any) for the given group name + + @precond + If <arg>_bCreate</arg> is <TRUE/>, the SolarMutex must be locked when calling into this method. + + @param _rGroupName + the name of the glossaries group + @param _bCreate + if <TRUE/>, the group is created if it does not yet exist + */ + ::com::sun::star::uno::Reference< ::com::sun::star::text::XAutoTextGroup > + GetAutoTextGroup( + const ::rtl::OUString& _rGroupName, + bool _bCreate = false + ); + + /** returns the cached AutoTextEntry (if any) for the given group/with the given name + + @precond + If <arg>_bCreate</arg> is <TRUE/>, the SolarMutex must be locked when calling into this method. + + @param _rGroupAccessName + the name to access the group + @param _rGroupName + the name of the glossaries group, as to be passed to the entry + @param _rEntryName + the name of the auto text entry + @param _bCreate + if <TRUE/>, the entry is created if it does not yet exist + */ + ::com::sun::star::uno::Reference< ::com::sun::star::text::XAutoTextEntry > + GetAutoTextEntry( + const String& _rCompleteGroupName, + const ::rtl::OUString& _rGroupName, + const ::rtl::OUString& _rEntryName, + bool _bCreate = false + ); + + USHORT GetGroupCnt(); + String GetGroupName(USHORT ); + String GetGroupTitle( const String& rGroupName ); + + BOOL FindGroupName(String & rGroup); + + SwTextBlocks* GetGroupDoc(const String &rName, + BOOL bCreate = FALSE) const; + SwTextBlocks* GetDefGroupDoc() const {return GetGroupDoc(GetDefName());} + void PutGroupDoc(SwTextBlocks *pBlock); + static String GetDefName(); + static String GetExtension(); + + BOOL NewGroupDoc(String &rGroupName, const String& rTitle); + BOOL RenameGroupDoc(const String& sOldGroup, String& sNewGroup, const String& rNewTitle); + BOOL DelGroupDoc(const String &); + SwDocShellRef EditGroupDoc(const String &rGrpName, const String& rShortName, BOOL bShow = TRUE ); + void UpdateGlosPath(BOOL bFull); +}; + + +} //namespace binfilter +#endif // _GLOSDOC_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/gloslst.hxx b/binfilter/bf_sw/source/ui/inc/gloslst.hxx new file mode 100644 index 000000000000..9759214abd04 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/gloslst.hxx @@ -0,0 +1,72 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _GLOSLST_HXX +#define _GLOSLST_HXX + + +#include <tools/datetime.hxx> +#include <tools/string.hxx> +#include <vcl/timer.hxx> +#include <bf_svtools/svarray.hxx> +class SvStringsISortDtor; +namespace binfilter { + +class SwGlossaries; + + +struct AutoTextGroup +{ + USHORT nCount; + String sName; + String sTitle; + String sLongNames; // durch 0x0A getrennte Langnamen + String sShortNames; // durch 0x0A getrennte Kurznamen + DateTime aDateModified; +}; + + +typedef AutoTextGroup* AutoTextGroupPtr; +SV_DECL_PTRARR(AutoTextGroups, AutoTextGroupPtr, 4, 4)//STRIP008 ; + +class SwGlossaryList : public AutoTimer +{ + AutoTextGroups aGroupArr; + String sPath; + BOOL bFilled; +}; + +} //namespace binfilter +#endif + + + + + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/glshell.hxx b/binfilter/bf_sw/source/ui/inc/glshell.hxx new file mode 100644 index 000000000000..a0d8d7f1f4e0 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/glshell.hxx @@ -0,0 +1,73 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _AUTODOC_HXX +#define _AUTODOC_HXX + +#include "wdocsh.hxx" +namespace binfilter { + +class SwTextBlocks; + + +class SwGlosDocShell : public SwDocShell +{ +}; + + +class SwWebGlosDocShell : public SwWebDocShell +{ + +public: + SwWebGlosDocShell(); + virtual ~SwWebGlosDocShell(); +}; + +} //namespace binfilter +#endif + + + + + + + + + + + + + + + + + + + + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/grfsh.hxx b/binfilter/bf_sw/source/ui/inc/grfsh.hxx new file mode 100644 index 000000000000..d39ee9bd209a --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/grfsh.hxx @@ -0,0 +1,48 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWGRFSH_HXX +#define _SWGRFSH_HXX + +#include "frmsh.hxx" +namespace binfilter { + +class SwGrfShell: public SwBaseShell +{ +public: + SFX_DECL_INTERFACE(SW_GRFSHELL); + + void ExecAttr(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecAttr(SfxRequest &); + void GetAttrState(SfxItemSet &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void GetAttrState(SfxItemSet &); + + SwGrfShell(SwView &rView):SwBaseShell(rView){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 SwGrfShell(SwView &rView); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/hdftctrl.hxx b/binfilter/bf_sw/source/ui/inc/hdftctrl.hxx new file mode 100644 index 000000000000..c356e9cb21cf --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/hdftctrl.hxx @@ -0,0 +1,54 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _HDFTCTRL_HXX +#define _HDFTCTRL_HXX + +#include <bf_sfx2/mnuitem.hxx> +#include <bf_sfx2/app.hxx> +#define _SVSTDARR_STRINGSSORTDTOR +#define _SVSTDARR_BOOLS +#include <bf_svtools/svstdarr.hxx> +namespace binfilter { + +class SwDocShell; + +class SwHeadFootMenuControl : public SfxMenuControl +{ + +public: + SFX_DECL_MENU_CONTROL(); + + SwHeadFootMenuControl( USHORT nPos, Menu& rMenu, //STRIP001 SwHeadFootMenuControl( USHORT nPos, Menu& rMenu, + SfxBindings& rBindings ){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 SfxBindings& rBindings ); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/hidfunc.h b/binfilter/bf_sw/source/ui/inc/hidfunc.h new file mode 100644 index 000000000000..2de28273831a --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/hidfunc.h @@ -0,0 +1,352 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define HID_EXIT 1017 +#define HID_NEW_WINDOW 1701 +#define HID_ARRANGE_CASCADE_WIN 1703 +#define HID_ARRANGE_HORZ_WIN 1704 +#define HID_ARRANGE_VERT_WIN 1705 +#define HID_ARRANGE_ALL_WIN 1702 +#define HID_SHOW_HELP_INDEX 1802 +#define HID_NEW_FILE 1005 +#define HID_NEW_FILE_DEFAULT 1024 +#define HID_CLOSE_FILE 1001 +#define HID_DOC_MGR_DLG 1032 +#define HID_CONFIG_TOOLBOX 1629 +#define HID_CONFIG_MENU 1630 +#define HID_CONFIG_KEY 1631 +#define HID_TEMPLATE_PI 1657 +#define HID_ADDR_PI 1658 +#define HID_AUTO_FORMAT 1651 +#define HID_NAVIGATION_PI 1656 +#define HID_NAVIGATION_PI_GOTO_PAGE 1659 +#define HID_HELP_PI 1655 +#define HID_FORMAT_DROPCAPS 1454 +#define HID_CONFIG_VIEWOPTIONS 1635 +#define HID_CONFIG_COLORS 1636 +#define HID_TOOLBOX 1213 +#define HID_RIBBON 1210 +#define HID_RULER 1211 +#define HID_VLINEAL 1216 +#define HID_VSCROLLBAR 1217 +#define HID_HSCROLLBAR 1218 +#define HID_SAVE_FILE 1013 +#define HID_SAVE_ALL 1023 +#define HID_SAVE_FILE_AS 1012 +#define HID_OPEN_LASTVERSION 1009 +#define HID_STATUSBAR 1212 +#define HID_ABOUT_DLG 1806 +#define HID_SEND_MAIL 1022 +#define HID_OPEN_FILE 1007 +#define HID_INSERT_FILE 1309 +#define HID_DOCSTAT_DLG 1020 +#define HID_LOAD_TEMPLATE_DLG 1021 +#define HID_ESCAPE 1941 +#define HID_PLAY_MACRO_DLG 1624 +#define HID_RECORD_MACRO_DLG 1622 +#define HID_ASSIGN_LOCAL_MACRO_DLG 1632 +#define HID_COMPILE_MACRO 1633 +#define HID_CREATE_DOCUMENT 1019 +#define HID_PAGEUP 1937 +#define HID_PAGEDOWN 1938 +#define HID_SET_LEFT_PARA 1418 +#define HID_SET_RIGHT_PARA 1419 +#define HID_SET_CENTER_PARA 1420 +#define HID_SET_JUSTIFY_PARA 1421 +#define HID_SET_ADJUST 1428 +#define HID_FORMAT_RESET 1469 +#define HID_INDENT_TO_TABSTOP 1417 +#define HID_UNINDENT_TO_TABSTOP 1431 +#define HID_SET_BOLD 1405 +#define HID_SET_ITALIC 1406 +#define HID_SET_UNDERLINE 1409 +#define HID_SET_STRIKEOUT 1410 +#define HID_SET_OUTLINE 1408 +#define HID_SET_SHADOW 1407 +#define HID_SET_SUPER_SCRIPT 1411 +#define HID_SET_SUB_SCRIPT 1412 +#define HID_SET_COLOR 1413 +#define HID_SET_CASEMAP 1414 +#define HID_SET_LANGUAGE 1415 +#define HID_SET_KERNING 1416 +#define HID_SET_FONT 1401 +#define HID_SET_FONT_SIZE 1402 +#define HID_GROW_FONT_SIZE 1403 +#define HID_SHRINK_FONT_SIZE 1404 +#define HID_SET_LINE_SPACE_1 1422 +#define HID_SET_LINE_SPACE_15 1423 +#define HID_SET_LINE_SPACE_2 1424 +#define HID_SET_PROP_LINE_SPACE 1540 +#define HID_SET_ABS_LINE_SPACE 1541 +#define HID_INSERT_SYMBOL 1328 +#define HID_INSERT_OBJECT_DLG 1322 +#define HID_EDIT_OBJECT 1110 +#define HID_EDIT_LINK_DLG 1109 +#define HID_EDIT_FILE_INFO_DLG 1107 +#define HID_EDIT_IDX_ENTRY_DLG 1123 +#define HID_NUM_BULLET_DOWN 1130 +#define HID_NUM_BULLET_MOVEUP 1134 +#define HID_NUM_BULLET_MOVEDOWN 1135 +#define HID_NUM_BULLET_UP 1131 +#define HID_NUM_BULLET_PREV 1132 +#define HID_NUM_BULLET_NEXT 1133 +#define HID_NUM_BULLET_OUTLINE_MOVEDOWN 1142 +#define HID_NUM_BULLET_OUTLINE_MOVEUP 1141 +#define HID_NUM_BULLET_OUTLINE_UP 1140 +#define HID_NUM_BULLET_OUTLINE_DOWN 1139 +#define HID_NUM_BULLET_NONUM 1136 +#define HID_NUM_NUMBERING_ON 1144 +#define HID_NUM_BULLET_ON 1138 +#define HID_NUM_BULLET_OFF 1137 +#define HID_INSERT_IDX_ENTRY_DLG 1335 +#define HID_POSTIT 1329 +#define HID_INSERT_CAPTION 1310 +#define HID_INSERT_IDX 1336 +#define HID_INSERT_USERIDX 1337 +#define HID_INSERT_CNTNTIDX 1338 +#define HID_INSERT_IDX_ENTRY 1340 +#define HID_INSERT_USERIDX_ENTRY 1341 +#define HID_INSERT_CNTNTIDX_ENTRY 1342 +#define HID_INSERT_FRAME 1334 +#define HID_INSERT_FRAME_INTERACT 1333 +#define HID_INSERT_SOFT_HYPHEN 1350 +#define HID_INSERT_HARD_SPACE 1351 +#define HID_FORMAT_FRAME_DLG 1456 +#define HID_FRAME_TO_TOP 1470 +#define HID_FRAME_TO_BOTTOM 1471 +#define HID_FRAME_NOWRAP 1472 +#define HID_FRAME_WRAP 1473 +#define HID_FRAME_WRAPTHRU 1474 +#define HID_FRAME_ALIGN_HORZ_LEFT 1475 +#define HID_FRAME_ALIGN_HORZ_RIGHT 1476 +#define HID_FRAME_ALIGN_HORZ_CENTER 1477 +#define HID_FRAME_ALIGN_VERT_TOP 1478 +#define HID_FRAME_ALIGN_VERT_BOTTOM 1479 +#define HID_FRAME_ALIGN_VERT_CENTER 1480 +#define HID_EDIT_FIELD 1104 +#define HID_SET_FIELD_VALUE 1112 +#define HID_INSERT_FIELD 1308 +#define HID_INSERT_MERGEFIELD_DLG 1320 +#define HID_EXECUTE_MACROFIELD 1127 +#define HID_UPDATE_FIELDS 1126 +#define HID_UPDATE_INPUTFIELDS 1143 +#define HID_CALC_TABLE 1129 +#define HID_INSERT_BREAK_DLG 1304 +#define HID_INSERT_BOOKMARK 1302 +#define HID_DELETE_BOOKMARK 1301 +#define HID_INSERT_GRAFIC 1315 +#define HID_FORMAT_TABLE_DLG 1460 +#define HID_INSERT_TABLE 1330 +#define HID_INSERT_COLS 1332 +#define HID_PAGE_STYLE_SET_COLS 1538 +#define HID_CONVERT_TEXT_TABLE 1500 +#define HID_TABLE_INSERT_ROW 1501 +#define HID_TABLE_INSERT_COL 1502 +#define HID_TABLE_DELETE_ROW 1503 +#define HID_TABLE_DELETE_COL 1504 +#define HID_TABLE_SPLIT_CELLS 1505 +#define HID_TABLE_MERGE_CELLS 1506 +#define HID_TABLE_SET_ROW_HEIGHT 1507 +#define HID_TABLE_SET_COL_WIDTH 1508 +#define HID_TABLE_SET_ULSPACE 1509 +#define HID_TABLE_SET_GRID 1510 +#define HID_TABLE_SET_SHADOW 1511 +#define HID_FORMAT_CHAR_DLG 1441 +#define HID_FORMAT_PAGE_DLG 1452 +#define HID_CHANGE_PAGENUM 1634 +#define HID_FORMAT_PARA_DLG 1443 +#define HID_FORMAT_TAB_DLG 1445 +#define HID_FORMAT_BORDER_DLG 1447 +#define HID_FORMAT_BORDER 1439 +#define HID_FORMAT_SHADOW 1438 +#define HID_FORMAT_BACKGROUND 1448 +#define HID_FORMAT_BACKGROUND_DLG 1450 +#define HID_SET_FRM_SIZE 1481 +#define HID_SET_FRM_POSITION 1482 +#define HID_SET_FRM_ANCHOR 1483 +#define HID_SET_FRM_WRAP 1484 +#define HID_SET_FRM_DIST 1485 +#define HID_SET_FRM_OPTIONS 1486 +#define HID_SET_FRM_MACRO 1494 +#define HID_SET_FRM_COLUMNS 1495 +#define HID_SET_FRM_COLUMN_WIDTH 1496 +#define HID_SET_GRF_MIRROR 1488 +#define HID_SET_TABLE_WIDTH 1489 +#define HID_SET_TABLE_ALIGN 1490 +#define HID_TABLE_SET_READ_ONLY_CELLS 1517 +#define HID_TABLE_UNSET_READ_ONLY_CELLS 1519 +#define HID_NEW_STYLE_BY_EXAMPLE 1462 +#define HID_UPDATE_STYLES_DIRECT 1497 +#define HID_UPDATE_STYLE_BY_EXAMPLE 1463 +#define HID_STYLE_SHEET_FRAME_DLG 1464 +#define HID_STYLE_SHEET_DOC_DLG 1465 +#define HID_SET_STANDARD_FONTS 1442 +#define HID_COPY 1102 +#define HID_PASTE 1113 +#define HID_PASTESPECIAL 1114 +#define HID_CUT 1103 +#define HID_FLIP_HORZ_GRAFIC 1425 +#define HID_FLIP_VERT_GRAFIC 1426 +#define HID_FORMAT_GRAFIC_DLG 1458 +#define HID_VIEW_BOUNDS 1214 +#define HID_VIEW_FIELDS 1215 +#define HID_VIEW_META_CHARS 1224 +#define HID_VIEW_MARKS 1225 +#define HID_VIEW_FIELDNAME 1226 +#define HID_VIEW_TABLEGRID 1227 +#define HID_SEARCH 1117 +#define HID_REPEAT_SEARCH 1150 +#define HID_REPLACE 1118 +#define HID_GOTO 1111 +#define HID_SETUP_PRINTER_DLG 1015 +#define HID_PRINT_FILE 1010 +#define HID_PRINT_FILE_DEFAULT 1025 +#define HID_FAX 1028 +#define HID_PRINT_FILE_OPTIONS 1011 +#define HID_THESAURUS_DLG 1604 +#define HID_SPELLING_DLG 1601 +#define HID_HYPHENATE_OPT_DLG 1607 +#define HID_MERGE_FILE_DLG 1004 +#define HID_SELECT_DATABASE 1030 +#define HID_DOC_INFO_DLG 1031 +#define HID_MERGE_FILE 1003 +#define HID_MERGE_RECORD 1327 +#define HID_INSERT_RECORD 1326 +#define HID_NUMBERING_OUTLINE_DLG 1612 +#define HID_NUMBER_BULLETS 1121 +#define HID_ZOOM 1231 +#define HID_SORTING 1613 +#define HID_SORTING_DLG 1614 +#define HID_CALCULATE 1615 +#define HID_REFRESH_VIEW 1201 +#define HID_CHAR_LEFT 1901 +#define HID_CHAR_RIGHT 1902 +#define HID_LINE_UP 1903 +#define HID_LINE_DOWN 1904 +#define HID_START_OF_LINE 1905 +#define HID_END_OF_LINE 1906 +#define HID_START_OF_DOCUMENT 1907 +#define HID_END_OF_DOCUMENT 1908 +#define HID_SELECT_WORD 1943 +#define HID_SELECT_ALL 1119 +#define HID_START_OF_NEXT_PAGE 1909 +#define HID_END_OF_NEXT_PAGE 1910 +#define HID_START_OF_PREV_PAGE 1911 +#define HID_END_OF_PREV_PAGE 1912 +#define HID_START_OF_PAGE 1913 +#define HID_END_OF_PAGE 1914 +#define HID_NEXT_WORD 1921 +#define HID_START_OF_PARA 1919 +#define HID_END_OF_PARA 1920 +#define HID_PREV_WORD 1922 +#define HID_NEXT_SENT 1923 +#define HID_PREV_SENT 1924 +#define HID_SET_INS_MODE 1936 +#define HID_SET_ADD_MODE 1939 +#define HID_SET_EXT_MODE 1940 +#define HID_START_TABLE 1947 +#define HID_END_TABLE 1948 +#define HID_NEXT_TABLE 1949 +#define HID_PREV_TABLE 1950 +#define HID_TABLE_SELECT_ALL 1515 +#define HID_TABLE_SELECT_COL 1514 +#define HID_TABLE_SELECT_ROW 1513 +#define HID_START_OF_COLUMN 1917 +#define HID_END_OF_COLUMN 1918 +#define HID_START_OF_NEXT_COLUMN 1951 +#define HID_END_OF_NEXT_COLUMN 1952 +#define HID_START_OF_PREV_COLUMN 1953 +#define HID_END_OF_PREV_COLUMN 1954 +#define HID_FOOTNOTE_TO_ANCHOR 1955 +#define HID_NEXT_FOOTNOTE 1956 +#define HID_PREV_FOOTNOTE 1957 +#define HID_CNTNT_TO_NEXT_FRAME 1958 +#define HID_FRAME_TO_ANCHOR 1959 +#define HID_TO_HEADER 1960 +#define HID_TO_FOOTER 1961 +#define HID_IDX_MARK_TO_IDX 1962 +#define HID_DELETE 1925 +#define HID_BACKSPACE 1926 +#define HID_DELETE_SENT 1927 +#define HID_DELETE_BACK_SENT 1928 +#define HID_DELETE_WORD 1929 +#define HID_DELETE_BACK_WORD 1930 +#define HID_DELETE_LINE 1931 +#define HID_DELETE_BACK_LINE 1932 +#define HID_DELETE_PARA 1933 +#define HID_DELETE_BACK_PARA 1934 +#define HID_DELETE_WHOLE_LINE 1935 +#define HID_INSERT_BREAK 1303 +#define HID_INSERT_PAGEBREAK 1323 +#define HID_INSERT_LINEBREAK 1318 +#define HID_INSERT_COLUMN_BREAK 1305 +#define HID_INSERT_FOOTNOTE 1311 +#define HID_INSERT_FOOTNOTE_DLG 1312 +#define HID_FORMAT_FOOTNOTE_DLG 1468 +#define HID_UNDO 1120 +#define HID_REDO 1116 +#define HID_REPEAT 1122 +#define HID_REPAGINATE 1161 +#define HID_SHOW_UPDATE_HELP 1805 +#define HID_SHOW_KEYBOARD_HELP 1803 +#define HID_SHOW_HELP_MANUAL 1804 +#define HID_GLOSSARY_DLG 1620 +#define HID_EXPAND_GLOSSARY 1628 +#define HID_INSERT_GLOSSARY 1640 +#define HID_AUTO_CORRECT_DLG 1650 +#define HID_AUTO_CORRECT 1649 +#define HID_CONFIG_DLG 1627 +#define HID_INSERT_STRING 1331 +#define HID_SET_CHAR_STYLE 1491 +#define HID_SET_PARA_STYLE 1492 +#define HID_SET_PAGE_STYLE 1493 +#define HID_SET_LRMARGIN 1429 +#define HID_SET_ULMARGIN 1430 +#define HID_SET_HYPHEN_ZONE 1432 +#define HID_SET_PAGE_BREAK 1433 +#define HID_FORMAT_PAGE 1451 +#define HID_SET_KEEP_TOGETHER 1434 +#define HID_SET_WIDOW 1436 +#define HID_SET_ORPHAN 1437 +#define HID_BUFFER_UPDATE 1124 +#define HID_FORMAT_TAB 1444 +#define HID_IS_END_OF_PARA 2000 +#define HID_IS_END_OF_WORD 2000 +#define HID_IS_END_OF_DOC 2000 +#define HID_IS_START_OF_PARA 2000 +#define HID_IS_START_OF_WORD 2000 +#define HID_IS_START_OF_DOC 2000 +#define HID_EDIT_FORMULA 1128 +#define HID_ENVELOP 2050 +#define HID_LABEL 2051 +#define HID_AGENDA_WIZZARD 1663 +#define HID_MEMO_WIZZARD 1662 +#define HID_FAX_WIZZARD 1661 +#define HID_LETTER_WIZZARD 1660 +#define HID_LAUNCH_REGISTRY 1002 + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/idxmrk.hxx b/binfilter/bf_sw/source/ui/inc/idxmrk.hxx new file mode 100644 index 000000000000..aebe8cd6a619 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/idxmrk.hxx @@ -0,0 +1,98 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _IDXMRK_HXX +#define _IDXMRK_HXX + +#include <com/sun/star/container/XNameAccess.hpp> +#include <bf_sfx2/basedlgs.hxx> + +#include <vcl/fixed.hxx> + +#include <vcl/lstbox.hxx> +#include <vcl/combobox.hxx> + +#include <vcl/field.hxx> + +#include <vcl/group.hxx> + +#include <vcl/button.hxx> + +#include <vcl/imagebtn.hxx> +#include <bf_sfx2/childwin.hxx> +#include "toxe.hxx" +#include <bf_svtools/stdctrl.hxx> +#include <com/sun/star/i18n/XExtendedIndexEntrySupplier.hpp> +namespace binfilter { +class SwWrtShell; +class SwTOXMgr; +class SwTOXMark; +/*-------------------------------------------------------------------- + Beschreibung: Markierung fuer Verzeichniseintrag einfuegen + --------------------------------------------------------------------*/ +class SwIndexMarkFloatDlg; +class SwIndexMarkModalDlg; +/* -----------------07.09.99 08:02------------------- + + --------------------------------------------------*/ +class SwInsertIdxMarkWrapper : public SfxChildWindow +{ +protected: + SwInsertIdxMarkWrapper( Window *pParentWindow, + sal_uInt16 nId, + SfxBindings* pBindings, + SfxChildWinInfo* pInfo ); + + SFX_DECL_CHILDWINDOW(SwInsertIdxMarkWrapper); + +public: + +}; + +/* -----------------15.09.99 08:39------------------- + + --------------------------------------------------*/ +class SwAuthMarkModalDlg; +/* -----------------07.09.99 08:02------------------- + + --------------------------------------------------*/ +class SwInsertAuthMarkWrapper : public SfxChildWindow +{ +protected: + SwInsertAuthMarkWrapper( Window *pParentWindow, + sal_uInt16 nId, + SfxBindings* pBindings, + SfxChildWinInfo* pInfo ); + + SFX_DECL_CHILDWINDOW(SwInsertAuthMarkWrapper); + +public: +}; +} //namespace binfilter +#endif // _IDXMRK_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/initui.hxx b/binfilter/bf_sw/source/ui/inc/initui.hxx new file mode 100644 index 000000000000..2b7b9f2d10e4 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/initui.hxx @@ -0,0 +1,80 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _INITUI_HXX +#define _INITUI_HXX + +#include <tools/solar.h> +class String; +namespace binfilter { +class SvStringsDtor; + +/* + * Forward Declarations + */ + +class SwThesaurus; +class SpellCheck; + + +/* + * Extern Definitions + */ +extern SwThesaurus* pThes; +extern String GetSWGVersion(); + +extern String* pOldGrfCat; +extern String* pOldTabCat; +extern String* pOldFrmCat; + +extern String* pCurrGlosGroup; + +extern SvStringsDtor* pDBNameList; + +extern SvStringsDtor* pAuthFieldNameList; +extern SvStringsDtor* pAuthFieldTypeList; + +// stellt die Textbausteinverwaltung zur Verfuegung +class SwGlossaries; +SwGlossaries* GetGlossaries(); + +class SwGlossaryList; + +BOOL HasGlossaryList(); +SwGlossaryList* GetGlossaryList(); + +extern void _InitUI(); +extern void _FinitUI(); +extern void _InitSpell(); +extern void _FinitSpell(); + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/inputwin.hxx b/binfilter/bf_sw/source/ui/inc/inputwin.hxx new file mode 100644 index 000000000000..658c5f91077a --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/inputwin.hxx @@ -0,0 +1,76 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef SW_INPUTWIN_HXX +#define SW_INPUTWIN_HXX + + +#include <vcl/menu.hxx> +#include <bf_sfx2/childwin.hxx> +#include <vcl/toolbox.hxx> +#include <vcl/edit.hxx> +namespace binfilter { + +class SwFldMgr; +class SwWrtShell; +class SwView; +class SfxDispatcher; + +//======================================================================== +class InputEdit : public Edit +{ +public: + InputEdit(Window* pParent, WinBits nStyle) : + Edit(pParent , nStyle){} +protected: +}; + +//======================================================================== + + + + + +class SwInputChild : public SfxChildWindow +{ + BOOL bObjVis; + SfxDispatcher* pDispatch; +public: + SwInputChild( Window* , + USHORT nId, + SfxBindings*, + SfxChildWinInfo* ); + ~SwInputChild(); + SFX_DECL_CHILDWINDOW( SwInputChild ); +}; + +//================================================================== + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/itemdef.hxx b/binfilter/bf_sw/source/ui/inc/itemdef.hxx new file mode 100644 index 000000000000..15a9ab455bb6 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/itemdef.hxx @@ -0,0 +1,42 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef ITEMDEF_HXX +#define ITEMDEF_HXX + + +#include <bf_sfx2/msg.hxx> +namespace binfilter { + +SFX_DECL_TYPE(10); //SwElemItem +SFX_DECL_TYPE(13); //SwAddPrinterItem +SFX_DECL_TYPE(16); //SwDocDisplayItem + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/listsh.hxx b/binfilter/bf_sw/source/ui/inc/listsh.hxx new file mode 100644 index 000000000000..b86fd26807e5 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/listsh.hxx @@ -0,0 +1,47 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWLISTSH_HXX +#define _SWLISTSH_HXX + +#include "basesh.hxx" +namespace binfilter { + +class SwListShell: public SwBaseShell +{ +public: + SFX_DECL_INTERFACE(SW_LISTSHELL); + TYPEINFO(); + + SwListShell(SwView &rView); + +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/makefile.mk b/binfilter/bf_sw/source/ui/inc/makefile.mk new file mode 100644 index 000000000000..0a7dfb8d2a26 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/makefile.mk @@ -0,0 +1,27 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE diff --git a/binfilter/bf_sw/source/ui/inc/misc.hrc b/binfilter/bf_sw/source/ui/inc/misc.hrc new file mode 100644 index 000000000000..8a048a29bc3d --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/misc.hrc @@ -0,0 +1,78 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _MISC_HRC +#define _MISC_HRC + +#include "rcid.hrc" + +#define DLG_QUERY_DELETE (RC_MISC_BEGIN + 2) + +#define DLG_MASTERDOC_PAGE (RC_MISC_BEGIN + 3) +#define DLG_QUERY_ADD (RC_MISC_BEGIN + 4) + +#define STR_DOCUMENT_BIB_DLG (RC_MISC_BEGIN + 6) + +#define WIN_GLOBAL_DOC (RC_MISC_BEGIN + 7) +#define DLG_GLOBAL_DOC_OPTION (RC_MISC_BEGIN + 8) +#define DLG_NUMBERING (RC_MISC_BEGIN + 9) +#define DLG_ZOOM (RC_MISC_BEGIN + 10) +#define DLG_PG_FOOTNOTE (RC_MISC_BEGIN + 14) +#define DLG_NUMBERING_OUTLINE (RC_MISC_BEGIN + 15) +#define DLG_CHARMAP (RC_MISC_BEGIN + 20) +#define DLG_AUTOCORR (RC_MISC_BEGIN + 23) +#define DLG_AUTOFMT_OPT (RC_MISC_BEGIN + 24) +#define DLG_AUTOFMT_TAB (RC_MISC_BEGIN + 26) +#define DLG_PRCNT_SET (RC_MISC_BEGIN + 27) + + + + +#define MSG_BLOCK_CREATE_ERR (RC_MISC_BEGIN + 40) +#define MSG_BLOCK_DELETE_ERR (RC_MISC_BEGIN + 41) + +#define STR_CHANGE_START (RC_MISC_BEGIN + 44) +#define STR_CHANGE_END (RC_MISC_BEGIN + 45) + +#define STR_FULLNUMS_START (RC_MISC_BEGIN + 47) +#define STR_FULLNUMS_1 (STR_FULLNUMS_START ) +#define STR_FULLNUMS_2 (STR_FULLNUMS_START + 1) +#define STR_FULLNUMS_3 (STR_FULLNUMS_START + 2) +#define STR_FULLNUMS_4 (STR_FULLNUMS_START + 3) +#define STR_FULLNUMS_5 (STR_FULLNUMS_START + 4) +#define STR_FULLNUMS_6 (STR_FULLNUMS_START + 5) +#define STR_FULLNUMS_7 (STR_FULLNUMS_START + 6) +#define STR_FULLNUMS_8 (STR_FULLNUMS_START + 7) + +#define STR_BULLET_THEME (RC_MISC_BEGIN + 55) +#define MSG_NO_BULLETS (RC_MISC_BEGIN + 56) + +#define STR_NUMRULE_UNKNOWN (RC_MISC_BEGIN + 60) + + + +#endif // _MISC_HRC diff --git a/binfilter/bf_sw/source/ui/inc/modcfg.hxx b/binfilter/bf_sw/source/ui/inc/modcfg.hxx new file mode 100644 index 000000000000..05fc2737270a --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/modcfg.hxx @@ -0,0 +1,320 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _MODOPT_HXX +#define _MODOPT_HXX + + +#include <tools/string.hxx> +#include <vcl/wintypes.hxx> +#include <vcl/field.hxx> +#include <bf_svtools/svarray.hxx> + +#include "authratr.hxx" +#include "caption.hxx" +#include "tblenum.hxx" + +#include <unotools/configitem.hxx> +namespace binfilter { + +//----------------------------------------------------------------------------- + +typedef InsCaptionOpt* InsCaptionOptPtr; +SV_DECL_PTRARR_SORT_DEL(InsCapOptArr, InsCaptionOptPtr, 0, 5) + +class InsCaptionOptArr : public InsCapOptArr +{ + friend class SwModuleOptions; + friend class SwInsertConfig; +protected: + InsCaptionOpt* Find(const SwCapObjType eType, const SvGlobalName *pOleId = 0) const; +}; + +/* -----------------------------10.10.00 16:14-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwModuleOptions; +class SwRevisionConfig : public ::utl::ConfigItem +{ + friend class SwModuleOptions; + + AuthorCharAttr aInsertAttr; //Revision/TextDisplay/Insert/Attribute // Redlining: Author-Zeichenattribute + //Revision/TextDisplay/Insert/Color + AuthorCharAttr aDeletedAttr; //Revision/TextDisplay/Delete/Attribute + //Revision/TextDisplay/Delete/Color + AuthorCharAttr aFormatAttr; //Revision/TextDisplay/ChangeAttribute/Attribute + //Revision/TextDisplay/ChangeAttribute/Color + USHORT nMarkAlign; //Revision/LinesChanged/Mark + Color aMarkColor; //Revision/LinesChanged/Color + + const ::com::sun::star::uno::Sequence<rtl::OUString>& GetPropertyNames(); + public: + SwRevisionConfig(); + ~SwRevisionConfig(); + + void Load(); + void SetModified(){ConfigItem::SetModified();} + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); +}; +/* -----------------------------11.10.00 09:00-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwInsertConfig : public ::utl::ConfigItem +{ + friend class SwModuleOptions; + + InsCaptionOptArr* pCapOptions; + InsCaptionOpt* pOLEMiscOpt; + + SvGlobalName aGlobalNames[5]; + + sal_Bool bInsWithCaption; //Insert/Caption/Automatic // Objekte beschriftet einfuegen + sal_uInt16 nInsTblFlags; //Insert/Table/Header // Flags fuer Tabellen einfuegen + //Insert/Table/RepeatHeader + //Insert/Table/Split + //Insert/Table/Border + sal_Bool bIsWeb; + + const ::com::sun::star::uno::Sequence<rtl::OUString>& GetPropertyNames(); + public: + SwInsertConfig(sal_Bool bWeb); + ~SwInsertConfig(); + + void Load(); + void SetModified(){ConfigItem::SetModified();} + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); +}; +/* -----------------------------11.10.00 09:00-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwTableConfig : public ::utl::ConfigItem +{ + friend class SwModuleOptions; + + USHORT nTblHMove; //int Table/Shift/Row + USHORT nTblVMove; //int Table/Shift/Column + USHORT nTblHInsert; //int Table/Insert/Row + USHORT nTblVInsert; //int Table/Insert/Column + TblChgMode eTblChgMode; //int Table/Change/Effect + + sal_Bool bInsTblFormatNum; // Table/Input/NumberRecognition // Automatische Zahlenerkennung + sal_Bool bInsTblChangeNumFormat; // Table/Input/NumberFormatRecognition // Automatische Zahlenformaterkennung + sal_Bool bInsTblAlignNum; // Table/Input/Alignment // Zahlen ausrichten + + const ::com::sun::star::uno::Sequence<rtl::OUString>& GetPropertyNames(); + public: + SwTableConfig(sal_Bool bWeb); + ~SwTableConfig(); + + void Load(); + void SetModified(){ConfigItem::SetModified();} + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); +}; +/* -----------------------------18.01.01 16:57-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwMiscConfig : public ::utl::ConfigItem +{ + friend class SwModuleOptions; + + String sWordDelimiter; // Statistics/WordNumber/Delimiter + BOOL bDefaultFontsInCurrDocOnly; // DefaultFont/Document + BOOL bShowIndexPreview ; // Index/ShowPreview + BOOL bGrfToGalleryAsLnk; // Misc/GraphicToGalleryAsLink + BOOL bNumAlignSize; // Numbering/Graphic/KeepRatio + BOOL bSinglePrintJob; // FormLetter/PrintOutput/SinglePrintJobs + BOOL bIsNameFromColumn; // FormLetter/FileOutput/FileName/Generation + sal_Int16 nMailingFormats; // FormLetter/MailingOutput/Formats + String sNameFromColumn; // FormLetter/FileOutput/FileName/FromDatabaseField (string!) + String sMailingPath; // FormLetter/FileOutput/Path + String sMailName; // FormLetter/FileOutput/FileName/FromManualSetting (string!) + + const ::com::sun::star::uno::Sequence<rtl::OUString>& GetPropertyNames(); + public: + SwMiscConfig(); + ~SwMiscConfig(); + + void Load(); + void SetModified(){ConfigItem::SetModified();} + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); +}; + +/* --------------------------------------------------------------------------- + + ---------------------------------------------------------------------------*/ +class SwModuleOptions +{ + SwRevisionConfig aRevisionConfig; + SwInsertConfig aInsertConfig; + SwInsertConfig aWebInsertConfig; + + SwTableConfig aTableConfig; + SwTableConfig aWebTableConfig; + + SwMiscConfig aMiscConfig; + + //fiscus: don't show tips of text fields - it's not part of the configuration! + BOOL bHideFieldTips : 1; + +public: + SwModuleOptions(); + + TblChgMode GetTblMode() const { return aTableConfig.eTblChgMode;} + void SetTblMode( TblChgMode eSet ) { aTableConfig.eTblChgMode = eSet; + aTableConfig.SetModified();} + + USHORT GetTblHMove() const { return aTableConfig.nTblHMove;} + void SetTblHMove( USHORT nSet ) { aTableConfig.nTblHMove = nSet; + aTableConfig.SetModified();} + + USHORT GetTblVMove() const { return aTableConfig.nTblVMove;} + void SetTblVMove( USHORT nSet ) { aTableConfig.nTblVMove = nSet; + aTableConfig.SetModified();} + + USHORT GetTblHInsert() const {return aTableConfig.nTblHInsert;} + void SetTblHInsert( USHORT nSet ) { aTableConfig.nTblHInsert = nSet; + aTableConfig.SetModified();} + + USHORT GetTblVInsert() const {return aTableConfig.nTblVInsert;} + void SetTblVInsert( USHORT nSet ) { aTableConfig.nTblVInsert = nSet; + aTableConfig.SetModified();} + + const AuthorCharAttr &GetInsertAuthorAttr() const { return aRevisionConfig.aInsertAttr; } + void SetInsertAuthorAttr( AuthorCharAttr &rAttr ) { aRevisionConfig.aInsertAttr = rAttr; + aRevisionConfig.SetModified();} + + const AuthorCharAttr &GetDeletedAuthorAttr() const { return aRevisionConfig.aDeletedAttr; } + void SetDeletedAuthorAttr( AuthorCharAttr &rAttr ) { aRevisionConfig.aDeletedAttr = rAttr; + aRevisionConfig.SetModified();} + + const AuthorCharAttr &GetFormatAuthorAttr() const { return aRevisionConfig.aFormatAttr; } + void SetFormatAuthorAttr( AuthorCharAttr &rAttr ) { aRevisionConfig.aFormatAttr = rAttr; + aRevisionConfig.SetModified();} + + USHORT GetMarkAlignMode() const { return aRevisionConfig.nMarkAlign; } + void SetMarkAlignMode(USHORT nMode) { aRevisionConfig.nMarkAlign = nMode; + aRevisionConfig.SetModified();} + + const Color& GetMarkAlignColor() const { return aRevisionConfig.aMarkColor; } + void SetMarkAlignColor(const Color &rColor) { aRevisionConfig.aMarkColor = rColor; + aRevisionConfig.SetModified();} + + BOOL IsInsWithCaption(BOOL bHTML) const + { return bHTML ? FALSE : aInsertConfig.bInsWithCaption; } + void SetInsWithCaption( BOOL bHTML, BOOL b ) + { if(!bHTML) + aInsertConfig.bInsWithCaption = b; + aInsertConfig.SetModified();} + + BOOL IsInsTblFormatNum(BOOL bHTML) const + { return bHTML ? aWebTableConfig.bInsTblFormatNum : aTableConfig.bInsTblFormatNum; } + void SetInsTblFormatNum( BOOL bHTML, BOOL b ) + { bHTML ? (aWebTableConfig.bInsTblFormatNum = b) : (aTableConfig.bInsTblFormatNum = b); + bHTML ? aWebTableConfig.SetModified() : aTableConfig.SetModified();} + + BOOL IsInsTblChangeNumFormat(BOOL bHTML) const + { return bHTML ? aWebTableConfig.bInsTblChangeNumFormat : aTableConfig.bInsTblChangeNumFormat; } + void SetInsTblChangeNumFormat( BOOL bHTML, BOOL b ) + { bHTML ? (aWebTableConfig.bInsTblChangeNumFormat = b) : (aTableConfig.bInsTblChangeNumFormat = b); + bHTML ? aWebTableConfig.SetModified() : aTableConfig.SetModified();} + + + BOOL IsInsTblAlignNum(BOOL bHTML) const + { return bHTML ? aWebTableConfig.bInsTblAlignNum : aTableConfig.bInsTblAlignNum; } + void SetInsTblAlignNum( BOOL bHTML, BOOL b ) + { bHTML ? (aWebTableConfig.bInsTblAlignNum = b) : (aTableConfig.bInsTblAlignNum = b); + bHTML ? aWebTableConfig.SetModified() : aTableConfig.SetModified();;} + + USHORT GetInsTblFlags(BOOL bHTML) const + { return bHTML ? aWebInsertConfig.nInsTblFlags : aInsertConfig.nInsTblFlags;} + void SetInsTblFlags( BOOL bHTML, USHORT nSet ) { + bHTML ? (aWebInsertConfig.nInsTblFlags = nSet) : (aInsertConfig.nInsTblFlags = nSet); + bHTML ? aWebInsertConfig.SetModified() : aInsertConfig.SetModified();} + + + + BOOL IsGrfToGalleryAsLnk() const { return aMiscConfig.bGrfToGalleryAsLnk; } + void SetGrfToGalleryAsLnk( BOOL b ) { aMiscConfig.bGrfToGalleryAsLnk = b; + aMiscConfig.SetModified();} + + sal_Int16 GetMailingFormats() const { return aMiscConfig.nMailingFormats;} + void SetMailingFormats( sal_Int16 nSet ) { aMiscConfig.nMailingFormats = nSet; + aMiscConfig.SetModified();} + + BOOL IsSinglePrintJob() const { return aMiscConfig.bSinglePrintJob; } + void SetSinglePrintJob( BOOL b ) { aMiscConfig.bSinglePrintJob = b; + aMiscConfig.SetModified();} + + BOOL IsNumAlignSize() const { return aMiscConfig.bNumAlignSize; } + void SetNumAlignSize( BOOL b ) { aMiscConfig.bNumAlignSize = b; + aMiscConfig.SetModified();} + + BOOL IsNameFromColumn() const { return aMiscConfig.bIsNameFromColumn; } + void SetIsNameFromColumn( BOOL bSet ) { aMiscConfig.bIsNameFromColumn = bSet;} + + const String& GetNameFromColumn() const { return aMiscConfig.sNameFromColumn; } + void SetNameFromColumn( const String& rSet ) { aMiscConfig.sNameFromColumn = rSet; + aMiscConfig.SetModified();} + + String GetMailingPath() const { return aMiscConfig.sMailingPath; } + void SetMailingPath(const String& sPath) { aMiscConfig.sMailingPath = sPath; + aMiscConfig.SetModified();} + + String GetMailName() const { return aMiscConfig.sMailName; } + void SetMailName(const String& sName){ aMiscConfig.sMailName = sName; + aMiscConfig.SetModified();} + + const String &GetWordDelimiter() const { return aMiscConfig.sWordDelimiter; } + void SetWordDelimiter(const String& sDelim) { aMiscConfig.sWordDelimiter = sDelim; + aMiscConfig.SetModified();} + + //convert word delimiter from or to user interface + static String ConvertWordDelimiter(const String& rDelim, BOOL bFromUI); + + BOOL IsShowIndexPreview() const {return aMiscConfig.bShowIndexPreview;} + void SetShowIndexPreview(BOOL bSet) + {aMiscConfig.bShowIndexPreview = bSet; + aMiscConfig.SetModified();} + + BOOL IsDefaultFontInCurrDocOnly() const { return aMiscConfig.bDefaultFontsInCurrDocOnly;} + void SetDefaultFontInCurrDocOnly(BOOL bSet) + { + aMiscConfig.bDefaultFontsInCurrDocOnly = bSet; + aMiscConfig.SetModified(); + } + + BOOL IsHideFieldTips() const {return bHideFieldTips;} + void SetHideFieldTips(BOOL bSet) {bHideFieldTips = bSet;} +}; +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/numpara.hxx b/binfilter/bf_sw/source/ui/inc/numpara.hxx new file mode 100644 index 000000000000..7c633dd324f0 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/numpara.hxx @@ -0,0 +1,90 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _NUMPARA_HXX +#define _NUMPARA_HXX + + +#include <vcl/lstbox.hxx> +#include <vcl/fixed.hxx> +#include <vcl/field.hxx> +#include <vcl/button.hxx> +namespace binfilter { + + +/* --- class SwParagraphNumTabPage ---------------------------------------- + Mit dieser TabPage werden Numerierungseinstellungen am Absatz bzw. der + Absatzvorlage vorgenommen. + + ---------------------------------------------------------------------------*/ +class SwParagraphNumTabPage : public SfxTabPage +{ + FixedText aNumberStyleFT; + ListBox aNumberStyleLB; + + FixedLine aNewStartFL; + TriStateBox aNewStartCB; + TriStateBox aNewStartNumberCB; + NumericField aNewStartNF; + + FixedLine aCountParaFL; + TriStateBox aCountParaCB; + TriStateBox aRestartParaCountCB; + FixedText aRestartFT; + NumericField aRestartNF; + + BOOL bModified : 1; + BOOL bCurNumrule : 1; + + DECL_LINK( NewStartHdl_Impl, CheckBox* ); + DECL_LINK( StyleHdl_Impl, ListBox* ); + DECL_LINK( LineCountHdl_Impl, CheckBox* ); + +protected: + SwParagraphNumTabPage(Window* pParent, const SfxItemSet& rSet ); + +public: + ~SwParagraphNumTabPage(); + + static SfxTabPage* Create( Window* pParent, + const SfxItemSet& rSet ); + static USHORT* GetRanges(); + + virtual BOOL FillItemSet( SfxItemSet& rSet ); + virtual void Reset( const SfxItemSet& rSet ); + + void EnableNewStart(); + + ListBox& GetStyleBox() {return aNumberStyleLB;}; + +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/olesh.hxx b/binfilter/bf_sw/source/ui/inc/olesh.hxx new file mode 100644 index 000000000000..a49b9e2bc1d8 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/olesh.hxx @@ -0,0 +1,52 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWOLESH_HXX +#define _SWOLESH_HXX + +#include "frmsh.hxx" +namespace binfilter { + +class SwOleShell: public SwFrameShell +{ +public: + SFX_DECL_INTERFACE(SW_OLESHELL); + + SwOleShell(SwView &rView); + +}; + +} //namespace binfilter +#endif + + + + + + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/popup.hrc b/binfilter/bf_sw/source/ui/inc/popup.hrc new file mode 100644 index 000000000000..52b810cceca5 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/popup.hrc @@ -0,0 +1,50 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _POPUP_HRC +#define _POPUP_HRC + +#include "rcid.hrc" + +#define MN_TEXT_POPUPMENU (RC_POPUPS_BEGIN + 0) +#define MN_TAB_POPUPMENU (RC_POPUPS_BEGIN + 1) +#define MN_FRM_POPUPMENU (RC_POPUPS_BEGIN + 2) +#define MN_DRAW_POPUPMENU (RC_POPUPS_BEGIN + 3) +#define MN_DRWTXT_POPUPMENU (RC_POPUPS_BEGIN + 4) +#define MN_GRF_POPUPMENU (RC_POPUPS_BEGIN + 5) +#define MN_OLE_POPUPMENU (RC_POPUPS_BEGIN + 6) +#define MN_PPREVIEW_POPUPMENU (RC_POPUPS_BEGIN + 7) +#define MN_SRCVIEW_POPUPMENU (RC_POPUPS_BEGIN + 8) +#define MN_DRAWFORM_POPUPMENU (RC_POPUPS_BEGIN + 9) + +#if MN_DRAWFORM_POPUPMENU > RC_POPUPS_END + +#error Resource-Id Ueberlauf in #file, #line +#endif + + +#endif // _POPUP_HRC diff --git a/binfilter/bf_sw/source/ui/inc/prcntfld.hxx b/binfilter/bf_sw/source/ui/inc/prcntfld.hxx new file mode 100644 index 000000000000..341ac4a683f3 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/prcntfld.hxx @@ -0,0 +1,62 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _PRCNTFLD_HXX +#define _PRCNTFLD_HXX + +#include <vcl/field.hxx> +namespace binfilter { + +class PercentField : public MetricField +{ + long nRefValue; // 100%-Wert fuer Umrechnung (in Twips) + long nOldMax, nOldMin, nOldSpinSize, nOldBaseValue; + long nLastPercent, nLastValue; + USHORT nOldDigits; + FieldUnit eOldUnit; + sal_Bool bLockAutoCalculation; //prevent recalcution of percent values when the + //reference value is changed + + +public: + PercentField( Window* pWin, const ResId& rResId ); + + + + + + + + + void LockAutoCalculation(sal_Bool bLock) {bLockAutoCalculation = bLock;} + sal_Bool IsAutoCalculationLocked()const {return bLockAutoCalculation;} +}; + +} //namespace binfilter +#endif // _PRCNTFLD_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/prtopt.hxx b/binfilter/bf_sw/source/ui/inc/prtopt.hxx new file mode 100644 index 000000000000..04588020a439 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/prtopt.hxx @@ -0,0 +1,59 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _PRTOPT_HXX +#define _PRTOPT_HXX + +#include <unotools/configitem.hxx> +#include <printdata.hxx> +namespace binfilter { + +class SwPrintOptions : public SwPrintData, public ::utl::ConfigItem +{ + sal_Bool bIsWeb; + + ::com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames(); +public: + SwPrintOptions(sal_Bool bWeb); + virtual ~SwPrintOptions(); + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); + + virtual void doSetModified( ) { bModified = sal_True; SetModified();} + + SwPrintOptions& operator=(const SwPrintData& rData) + { + SwPrintData::operator=( rData ); + SetModified(); + return *this; + } +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/pview.hxx b/binfilter/bf_sw/source/ui/inc/pview.hxx new file mode 100644 index 000000000000..6dd39be2475a --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/pview.hxx @@ -0,0 +1,234 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWPVIEW_HXX +#define _SWPVIEW_HXX + +#include <bf_sfx2/viewfrm.hxx> +#include <bf_sfx2/viewfac.hxx> +#include <tools/link.hxx> +#include <vcl/window.hxx> +#include <bf_sfx2/viewsh.hxx> +#include "shellid.hxx" +#include <bf_svx/zoomitem.hxx> +class ImageButton; +class Button; +class SvtAccessibilityOptions; +namespace binfilter { + +class SwViewOption; +class SwDocShell; +class SwScrollbar; +class ViewShell; +class SwPagePreView; +class SwRect; +class DataChangedEvent; +class CommandEvent; + +// OD 12.12.2002 #103492# +class SwPagePreviewLayout; + +// OD 24.03.2003 #108282# - delete member <mnVirtPage> and its accessor. +class SwPagePreViewWin : public Window +{ + ViewShell* mpViewShell; + USHORT mnSttPage; + BYTE mnRow, mnCol; + Size maPxWinSize; + Fraction maScale; + SwPagePreView& mrView; + // OD 02.12.2002 #103492# + bool mbCalcScaleForPreviewLayout; + Rectangle maPaintedPreviewDocRect; + // OD 12.12.2002 #103492# + SwPagePreviewLayout* mpPgPrevwLayout; + + +public: + SwPagePreViewWin( Window* pParent, SwPagePreView& rView ); + ~SwPagePreViewWin(); + + //Ruft ViewShell::Paint + + + ViewShell* GetViewShell() const { return mpViewShell; } + + + /** get selected page number of document preview + + OD 13.12.2002 #103492# + + @author OD + + @return selected page number + */ + + /** set selected page number in document preview + + OD 13.12.2002 #103492# + + @author OD + + @param _nSelectedPageNum + input parameter - physical page number of page that will be the selected one. + */ + + //JP 19.08.98: bei Einspaltigkeit gibt es keine 0. Seite! + + + + // OD 18.12.2002 #103492# - add <MV_SELPAGE>, <MV_SCROLL> + + // erzeuge den String fuer die StatusLeiste + + + /** method to adjust preview to a new zoom factor + + OD 02.12.2002 #103492# + paint of preview is prepared for a new zoom factor + + @author OD + */ +#ifdef ACCESSIBLE_LAYOUT +#endif +}; + + +/*-------------------------------------------------------------------- + Beschreibung: Sicht auf ein Dokument + --------------------------------------------------------------------*/ + +class SwPagePreView: public SfxViewShell +{ + // ViewWindow und Henkel zur Core + // aktuelle Dispatcher-Shell + SwPagePreViewWin aViewWin; + //viewdata of the previous SwView and the new crsrposition + String sSwViewData, + //and the new cursor position if the user double click in the PagePreView + sNewCrsrPos; + // to support keyboard the number of the page to go to can be set too + USHORT nNewPage; + // Sichtbarer Bereich + String sPageStr; + Size aDocSz; + Rectangle aVisArea; + + // MDI Bedienelemente + SwScrollbar *pHScrollbar; + SwScrollbar *pVScrollbar; + ImageButton *pPageUpBtn, + *pPageDownBtn; + // Dummy-Window zum Fllen der rechten unteren Ecke, wenn beide Scrollbars + // aktiv sind + Window *pScrollFill; + + USHORT mnPageCount; + BOOL bNormalPrint; + + // OD 09.01.2003 #106334# + // new members to reset design mode at draw view for form shell on switching + // back from writer page preview to normal view. + sal_Bool mbResetFormDesignMode:1; + sal_Bool mbFormDesignModeToReset:1; + + + + + + + /** help method to execute SfxRequest FN_PAGE_UP and FN_PAGE_DOWN + + OD 04.03.2003 #107369# + + @param _bPgUp + input parameter - boolean that indicates, if FN_PAGE_UP or FN_PAGE_DOWN + has to be executed. + + @param _pReq + optional input parameter - pointer to the <SfxRequest> instance, if existing. + + @author OD + */ + +protected: + + void SetZoom(SvxZoomType eSet, USHORT nFactor); + +public: + SFX_DECL_VIEWFACTORY(SwPagePreView); + SFX_DECL_INTERFACE(SW_PAGEPREVIEW); + TYPEINFO(); + + inline ViewShell* GetViewShell() const { return aViewWin.GetViewShell(); } + + + + + + + + + // Handler + void Execute(SfxRequest&){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void Execute(SfxRequest&); + void GetState(SfxItemSet&){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void GetState(SfxItemSet&); + void StateUndo(SfxItemSet&){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void StateUndo(SfxItemSet&); + + SwDocShell* GetDocShell(); + + //apply Accessiblity options + + // OD 09.01.2003 #106334# - inline method to request values of new members + // <mbResetFormDesignMode> and <mbFormDesignModeToReset> + + + /** adjust position of vertical scrollbar + + OD 19.02.2003 #107369 + Currently used, if the complete preview layout rows fit into to the given + window, if a new page is selected and this page is visible. + + @author OD + + @param _nNewThumbPos + input parameter - new position, which will be assigned to the vertical + scrollbar. + */ + void SetVScrollbarThumbPos( const sal_uInt16 _nNewThumbPos ); + + SwPagePreView( SfxViewFrame* pFrame, SfxViewShell* ); + ~SwPagePreView(); +}; + +// ----------------- inline Methoden ---------------------- + + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/redlndlg.hxx b/binfilter/bf_sw/source/ui/inc/redlndlg.hxx new file mode 100644 index 000000000000..d11d4d72666e --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/redlndlg.hxx @@ -0,0 +1,66 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWREDLNDLG_HXX +#define _SWREDLNDLG_HXX + +#include "chldwrap.hxx" + +#include <bf_sfx2/basedlgs.hxx> +namespace binfilter { + +class SwChildWinWrapper; + +/*------------------------------------------------------------------------ + Beschreibung: +------------------------------------------------------------------------*/ + + +/*------------------------------------------------------------------------ + Beschreibung: +------------------------------------------------------------------------*/ + + +/*------------------------------------------------------------------------ + Beschreibung: +------------------------------------------------------------------------*/ + +class SwRedlineAcceptChild : public SwChildWinWrapper +{ +public: + SwRedlineAcceptChild( Window* pParent,USHORT nId, SfxBindings*, SfxChildWinInfo* ):SwChildWinWrapper( pParent, nId ){DBG_BF_ASSERT(0, "STRIP");}; //STRIP001 SwRedlineAcceptChild( Window* , + + SFX_DECL_CHILDWINDOW( SwRedlineAcceptChild ); + +}; + + +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/ribbar.hrc b/binfilter/bf_sw/source/ui/inc/ribbar.hrc new file mode 100644 index 000000000000..d699e7d02a88 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/ribbar.hrc @@ -0,0 +1,75 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _RIBBAR_HRC +#define _RIBBAR_HRC + +#include "rcid.hrc" + +#define MN_FORM2 2 +#define MN_FORM3 3 +#define MN_FORM4 4 +#define MN_FORM5 5 + +#define WIN_RIBBAR RC_RIBBAR_BEGIN + +#define CB_FORMAT (RC_RIBBAR_BEGIN +1) +#define CB_FONT (RC_RIBBAR_BEGIN +2) +#define CB_SIZE (RC_RIBBAR_BEGIN +3) +#define PB_FORMULA_OK (RC_RIBBAR_BEGIN +4) +#define PB_FORMULA_CANCEL (RC_RIBBAR_BEGIN +5) +#define BMP_OK PB_FORMULA_OK +#define BMP_CANCEL PB_FORMULA_CANCEL +#define RID_TBX_FORMULA (RC_RIBBAR_BEGIN +6) +#define FT_POS (RC_RIBBAR_BEGIN +7) +#define BT_FORMULA (RC_RIBBAR_BEGIN +8) + +#define STR_BACKGROUND_PATTERN (RC_RIBBAR_BEGIN + 10) +#define STR_BACKGROUND_COLOR (RC_RIBBAR_BEGIN + 11) +#define STR_BORDER_COLOR (RC_RIBBAR_BEGIN + 12) +#define STR_BORDER_STYLE (RC_RIBBAR_BEGIN + 13) +#define STR_BORDER_LINE (RC_RIBBAR_BEGIN + 14) +#define STR_TEXT_COLOR (RC_RIBBAR_BEGIN + 15) +#define STR_NUMLIST (RC_RIBBAR_BEGIN + 16) + +#define STR_HELP_TOOLBOX_TOGGLE (RC_RIBBAR_BEGIN + 17) + +#define RID_DRAW_WIN (RC_RIBBAR_BEGIN + 18) +#define RID_CNTRLR_WIN (RC_RIBBAR_BEGIN + 19) +#define RID_ALIGNMENT_WIN (RC_RIBBAR_BEGIN + 20) + +//Resourcen fuer Inputwin (Rechenleiste) + +#define MN_NUMNAMES_POPUP (RC_RIBBAR_BEGIN + 23) + + + + + + + + +#endif diff --git a/binfilter/bf_sw/source/ui/inc/scroll.hxx b/binfilter/bf_sw/source/ui/inc/scroll.hxx new file mode 100644 index 000000000000..57db3ad7f82f --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/scroll.hxx @@ -0,0 +1,69 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SCROLL_HXX +#define _SCROLL_HXX + +#include <vcl/scrbar.hxx> +namespace binfilter { + +class SwRect; + +class SwScrollbar: public ScrollBar +{ + Size aDocSz; + BOOL bHori :1; // Horizontal = TRUE, sonst Vertikal + BOOL bAuto :1; // fuer Scrollingmode + BOOL bThumbEnabled:1; + BOOL bVisible :1; // Show/Hide sollen nur noch dieses Flag setzen + BOOL bSizeSet :1; // wurde die Groesse bereits gesetzt? + + void AutoShow(); +public: + void Show( BOOL bVisible = TRUE ); + void Hide() { Show( FALSE ); } + BOOL IsVisible(BOOL bReal = FALSE) const { return bReal ? ScrollBar::IsVisible() : bVisible; } + // Aenderung der Dokumentgroesse + // Aenderung des sichtbaren Bereiches + // was fuer einer ist es denn ?? + int IsHoriScroll() const { return bHori; } + + void SetAuto(BOOL bSet); + BOOL IsAuto() { return bAuto;} + + //Bewegungen des Thumbs abklemmen + + SwScrollbar(Window *pParent, int bHori = TRUE ); + ~SwScrollbar(); +}; + + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/shells.hrc b/binfilter/bf_sw/source/ui/inc/shells.hrc new file mode 100644 index 000000000000..b63c9482cc70 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/shells.hrc @@ -0,0 +1,63 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SHELLS_HRC +#define _SHELLS_HRC + +#include "rcid.hrc" + + +#define RID_TEXT_TOOLBOX (RC_SHELLS_BEGIN + 15) +#define RID_TOOLS_TOOLBOX (RC_SHELLS_BEGIN + 23) + +#define STR_SHELLNAME_TEXT (RC_SHELLS_BEGIN + 24) +#define STR_SHELLNAME_TABLE (RC_SHELLS_BEGIN + 25) +#define STR_SHELLNAME_FRAME (RC_SHELLS_BEGIN + 26) +#define STR_SHELLNAME_GRAPHIC (RC_SHELLS_BEGIN + 27) +#define STR_SHELLNAME_OBJECT (RC_SHELLS_BEGIN + 28) +#define STR_SHELLNAME_LIST (RC_SHELLS_BEGIN + 29) +#define STR_SHELLNAME_DRAW (RC_SHELLS_BEGIN + 30) +#define STR_SHELLNAME_DRAW_TEXT (RC_SHELLS_BEGIN + 31) + + +#define STR_SHELLNAME_BEZIER (RC_SHELLS_BEGIN + 34) + + +#define STR_SHELLNAME_DRAWFORM (RC_SHELLS_BEGIN + 48) + + + +#define RID_MODULE_TOOLBOX (RC_SHELLS_BEGIN + 60) + +#define SHELLS_ACT_END RID_MODULE_TOOLBOX + +#if SHELLS_ACT_END > RC_SHELLS_END +#error Resource-Id Ueberlauf in #file, #line +#endif + +#endif + diff --git a/binfilter/bf_sw/source/ui/inc/srcedtw.hxx b/binfilter/bf_sw/source/ui/inc/srcedtw.hxx new file mode 100644 index 000000000000..36d66b7a2f06 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/srcedtw.hxx @@ -0,0 +1,72 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SRCEDTW_HXX +#define _SRCEDTW_HXX + +#include <vcl/window.hxx> + + + + +class ScrollBar; +namespace binfilter { + + +class SwSrcView; +class TextEngine; +class ExtTextView; +class DataChangedEvent; + +class TextViewOutWin : public Window +{ + ExtTextView* pTextView; + +protected: + virtual void Paint( const Rectangle& ); + virtual void KeyInput( const KeyEvent& rKeyEvt ); + virtual void MouseMove( const MouseEvent& rMEvt ); + virtual void MouseButtonDown( const MouseEvent& rMEvt ); + virtual void MouseButtonUp( const MouseEvent& rMEvt ); + virtual void Command( const CommandEvent& rCEvt ); + virtual void DataChanged( const DataChangedEvent& ); + +public: + TextViewOutWin(Window* pParent, WinBits nBits) : + Window(pParent, nBits), pTextView(0){} + + void SetTextView( ExtTextView* pView ) {pTextView = pView;} + +}; + +//------------------------------------------------------------ +class SourceViewConfig; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/swacc.hrc b/binfilter/bf_sw/source/ui/inc/swacc.hrc new file mode 100644 index 000000000000..1968624e0f2a --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/swacc.hrc @@ -0,0 +1,823 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SWACC_HRC +#define _SWACC_HRC + +#ifndef _GLOBALACC_SRC +#include <bf_svx/globlac.hrc> +#endif +#ifndef _SFX_HRC +#include <bf_sfx2/sfx.hrc> +#endif +#ifndef _SVX_SVXIDS_HRC +#include <bf_svx/svxids.hrc> +#endif +#include "app.hrc" +#include "globals.hrc" +#include "cmdid.h" + + +#define ACC Accelerator +#define ACCK AcceleratorItem + +// die Acceleratoren + +#define AT_FN_LINE_DOWN ACC_CODE( FN_LINE_DOWN, KEY_DOWN, FALSE, FALSE, FALSE ) +#define AT_FN_LINE_DOWN_SEL ACC_CODE( FN_LINE_DOWN_SEL, KEY_DOWN, TRUE, FALSE, FALSE ) +#define AT_FN_NUM_BULLET_MOVEDOWN ACC_CODE( FN_NUM_BULLET_MOVEDOWN, KEY_DOWN, FALSE, TRUE, TRUE ) +#define AT_FN_END_TABLE ACC_CODE( FN_END_TABLE, KEY_DOWN, TRUE, TRUE, FALSE ) +#define AT_FN_REPEAT_SEARCH AcceleratorItem { Identifier = FN_REPEAT_SEARCH; \ + ACC_DEF_KEY( KEY_F, TRUE, TRUE, FALSE ) \ + ACC_KEY( de , KEY_G, TRUE, TRUE, FALSE ) \ + ACC_KEY( en-us , KEY_F, TRUE, TRUE, FALSE ) \ + ACC_KEY( it , KEY_B, TRUE, TRUE, FALSE ) \ + ACC_KEY( fr , KEY_F, TRUE, TRUE, FALSE ) \ + ACC_KEY( nl , KEY_F, TRUE, TRUE, FALSE ) }; + +#define AT_FN_SET_SUPER_SCRIPT AcceleratorItem { Identifier = FN_SET_SUPER_SCRIPT; \ + ACC_DEF_KEY( KEY_P, TRUE, TRUE, FALSE ) \ + ACC_KEY( de , KEY_H, FALSE, TRUE, FALSE ) \ + ACC_KEY( it , KEY_A, TRUE, TRUE, FALSE ) \ + ACC_KEY( en-US , KEY_P, TRUE, TRUE, FALSE ) }; + +#define AT_FN_SET_SUB_SCRIPT AcceleratorItem { Identifier = FN_SET_SUB_SCRIPT; \ + ACC_DEF_KEY( KEY_B, TRUE, TRUE, FALSE ) \ + ACC_KEY( de , KEY_T, FALSE, TRUE, FALSE ) \ + ACC_KEY( en-US , KEY_B, TRUE, TRUE, FALSE ) \ + ACC_KEY( it , KEY_P, TRUE, TRUE, FALSE ) \ + ACC_KEY( nl , KEY_P, TRUE, TRUE, FALSE ) }; + +/* old ones +#define AT_FN_REPEAT_SEARCH AcceleratorItem { Identifier = FN_REPEAT_SEARCH; \ + ACC_DEF_KEY( KEY_G, TRUE, TRUE, FALSE ) \ + ACC_KEY( English_us, KEY_F, TRUE, TRUE, FALSE ) \ + ACC_KEY( Italian, KEY_B, TRUE, TRUE, FALSE ) \ + ACC_KEY( French, KEY_F, TRUE, TRUE, FALSE ) \ + ACC_KEY( Dutch, KEY_F, TRUE, TRUE, FALSE ) }; + +#define AT_FN_SET_SUPER_SCRIPT AcceleratorItem { Identifier = FN_SET_SUPER_SCRIPT; \ + ACC_DEF_KEY( KEY_H, FALSE, TRUE, FALSE ) \ + ACC_KEY( Italian, KEY_A, TRUE, TRUE, FALSE ) \ + ACC_KEY( English_us, KEY_P, TRUE, TRUE, FALSE ) }; + +#define AT_FN_SET_SUB_SCRIPT AcceleratorItem { Identifier = FN_SET_SUB_SCRIPT; \ + ACC_DEF_KEY( KEY_T, FALSE, TRUE, FALSE ) \ + ACC_KEY( English_us, KEY_B, TRUE, TRUE, FALSE ) \ + ACC_KEY( Italian, KEY_P, TRUE, TRUE, FALSE ) \ + ACC_KEY( Dutch, KEY_P, TRUE, TRUE, FALSE ) }; +*/ + + + +/*********************************************************************** + per define ACC_SW_WEB wird auf StarWriter/WEB umgeschaltet +***********************************************************************/ + + +/**************************************************************** + defines fuer MAC/NoMac +****************************************************************/ +#define NOMAC_LINESPACE AI_ATTR_PARA_LINESPACE_10 \ +AI_ATTR_PARA_LINESPACE_20 \ +AI_ATTR_PARA_LINESPACE_15 + +#define NOPM_THES \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F7; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_THESAURUS_DLG; \ + }; +#define NOPM_VIEWMARKS \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F8; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_VIEW_MARKS; \ + }; +#define NOPM_VIEWFIELDNAME \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F9; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_VIEW_FIELDNAME; \ + }; +#define NOPM_VIEWMETA \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F10; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_VIEW_META_CHARS; \ + }; + + +/**************************************************************** + defines, fuer StarWriter/Web +****************************************************************/ + +#ifdef ACC_SW_WEB +#define WEB_ACC_PARA_BLOCK +#else +#define WEB_ACC_PARA_BLOCK \ +AI_ATTR_PARA_ADJUST_BLOCK +#endif + +/**************************************************************** + +****************************************************************/ + + +#define ALL_ACCELS \ + /* STANDARD betriebssystemspezifisch --------*/ \ + /* Bearbeiten ----------------------------------------*/\ +AI_UNDO \ +AI_REDO \ +AI_REPEAT \ +/* -----------------------------------------------------*/ \ +AT_FN_LINE_DOWN \ +AT_FN_LINE_DOWN_SEL \ +AT_FN_NUM_BULLET_MOVEDOWN \ +AT_FN_END_TABLE \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_UP; \ + Shift = FALSE; \ + Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_LINE_UP; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_UP; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_LINE_UP_SEL; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_UP; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = TRUE; \ + }; \ + Identifier = FN_NUM_BULLET_MOVEUP; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_UP; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_START_TABLE; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_LEFT; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_CHAR_LEFT; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_LEFT; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_CHAR_LEFT_SEL; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_LEFT; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_PREV_WORD; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_LEFT; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_PREV_WORD_SEL; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_RIGHT; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_CHAR_RIGHT; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_RIGHT; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_CHAR_RIGHT_SEL; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_RIGHT; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_NEXT_WORD; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_RIGHT; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_NEXT_WORD_SEL; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_PAGEUP; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_PAGEUP; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_PAGEUP; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_PAGEUP_SEL; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_PAGEUP; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_TO_HEADER; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_PAGEDOWN; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_PAGEDOWN; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_PAGEDOWN; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_PAGEDOWN_SEL; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_PAGEDOWN; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_TO_FOOTER; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_PAGEDOWN; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_TO_FOOTNOTE_AREA; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_RETURN; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_INSERT_BREAK; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_RETURN; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_INSERT_LINEBREAK; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_RETURN; \ + Shift = FALSE ; Modifier1 = TRUE ; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_INSERT_PAGEBREAK; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_RETURN; \ + Shift = TRUE ; Modifier1 = TRUE ; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_INSERT_COLUMN_BREAK; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_ESCAPE; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_ESCAPE; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_BACKSPACE; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_BACKSPACE; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_BACKSPACE; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_SHIFT_BACKSPACE; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_BACKSPACE; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_DELETE_BACK_WORD; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_BACKSPACE; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_DELETE_BACK_SENT; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_DELETE; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_DELETE_WORD; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_DELETE; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_DELETE_SENT; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_INSERT; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = SID_ATTR_INSERT; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_HOME; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_START_OF_LINE; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_HOME; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_START_OF_LINE_SEL; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_HOME; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_START_OF_DOCUMENT; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_HOME; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_START_OF_DOCUMENT_SEL; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_END; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_END_OF_LINE; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_END; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_END_OF_LINE_SEL; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_END; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_END_OF_DOCUMENT; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_END; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_END_OF_DOCUMENT_SEL; \ + }; \ +/* -----------------------------------------------------*/ \ +WEB_ACC_PARA_BLOCK \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_A; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = SID_ATTR_PARA_LEFT_TO_RIGHT; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_D; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Key[ es ] = KeyCode { \ + Code = KEY_B; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_UNDERLINE_DOUBLE; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_D; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = SID_ATTR_PARA_RIGHT_TO_LEFT; \ + }; \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_I; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_READONLY_SELECTION_MODE; \ + }; \ +/* -----------------------------------------------------*/ \ +AI_ATTR_PARA_ADJUST_CENTER \ +/* -----------------------------------------------------*/ \ +AI_ATTR_CHAR_WEIGHT \ +/* -----------------------------------------------------*/ \ +AT_FN_REPEAT_SEARCH \ +/* -----------------------------------------------------*/ \ +AT_FN_SET_SUPER_SCRIPT \ +/* -----------------------------------------------------*/ \ +AI_ATTR_CHAR_POSTURE \ +/* -----------------------------------------------------*/ \ +AI_ATTR_PARA_ADJUST_LEFT \ +/* -----------------------------------------------------*/ \ +AI_ATTR_PARA_ADJUST_RIGHT \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_R; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_REFRESH_VIEW; \ + }; \ +/* -----------------------------------------------------*/ \ +AT_FN_SET_SUB_SCRIPT \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_T; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_TABLE_UNSET_READ_ONLY; \ + }; \ +/* -----------------------------------------------------*/ \ +AI_ATTR_CHAR_UNDERLINE \ +/* -----------------------------------------------------*/ \ +AI_STYLE_CATALOG \ +NOMAC_LINESPACE \ + \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_ADD; \ + Shift = FALSE ; Modifier1 = TRUE ; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_CALCULATE; \ + }; \ +/* -----------------------------------------------------*/ \ +ACCK { \ + Key = KeyCode { \ + Code = KEY_SUBTRACT; \ + Shift = FALSE ; Modifier1 = TRUE ; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_INSERT_SOFT_HYPHEN; \ + }; \ +/* -----------------------------------------------------*/ \ +ACCK { \ + Key = KeyCode { \ + Code = KEY_SUBTRACT; \ + Shift = TRUE; Modifier1 = TRUE ; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_INSERT_HARDHYPHEN; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_MULTIPLY; \ + Shift = FALSE ; Modifier1 = TRUE ; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_EXECUTE_MACROFIELD; \ + }; \ +/* -----------------------------------------------------*/ \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_SPACE; \ + Shift = FALSE ; Modifier1 = TRUE ; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_INSERT_HARD_SPACE; \ + }; + +#define FUNCTIONKEYS \ +/* FUNKTIONTASTEN --------------------------------------*/ \ + \ +/* -F2--------------------------------------------------*/ \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F2; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_EDIT_FORMULA; \ + }; \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F2; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_INSERT_FIELD; \ + }; \ + \ + \ +/* -F3--------------------------------------------------*/ \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F3; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_EXPAND_GLOSSARY; \ + }; \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F3; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_GLOSSARY_DLG; \ + }; \ + \ +/* --F5-------------------------------------------------*/ \ + \ +AI_NAVIGATOR \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F5; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_CNTNT_TO_NEXT_FRAME; \ + }; \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F5; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_NAVIGATION_PI_GOTO_PAGE;\ + }; \ + \ + \ +/* ---F6------------------------------------------------*/ \ +/* ---F7------------------------------------------------*/ \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F7; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_SPELLING_DLG; \ + }; \ + \ +NOPM_THES \ +/* ---F8------------------------------------------------*/ \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F8; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_SET_EXT_MODE; \ + }; \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F8; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_SET_ADD_MODE; \ + }; \ + \ +NOPM_VIEWMARKS \ + \ +/* ---F9------------------------------------------------*/ \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F9; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_UPDATE_FIELDS; \ + }; \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F9; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_CALC_TABLE; \ + }; \ + \ +NOPM_VIEWFIELDNAME \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F9; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_UPDATE_INPUTFIELDS; \ + }; \ + \ +/* ---F10-------------------------------------------------*/ \ + \ +NOPM_VIEWMETA \ + \ +/* ---F11-----------------------------------------------*/ \ + \ +AI_STYLE_DESIGNER \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F11; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = SID_STYLE_NEW_BY_EXAMPLE; \ + }; \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F11; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = SID_STYLE_UPDATE_BY_EXAMPLE; \ + }; \ + \ +/* ---F12-----------------------------------------------*/ \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F12; \ + Shift = FALSE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_NUM_NUMBERING_ON; \ + }; \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F12; \ + Shift = TRUE; Modifier1 = FALSE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_NUM_BULLET_ON; \ + }; \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F12; \ + Shift = FALSE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_INSERT_TABLE; \ + }; \ + \ + ACCK { \ + Key = KeyCode { \ + Code = KEY_F12; \ + Shift = TRUE; Modifier1 = TRUE; \ + Modifier2 = FALSE; \ + }; \ + Identifier = FN_NUM_BULLET_OFF; \ + }; \ + + +#endif diff --git a/binfilter/bf_sw/source/ui/inc/swcont.hxx b/binfilter/bf_sw/source/ui/inc/swcont.hxx new file mode 100644 index 000000000000..4e01d3fbfe92 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/swcont.hxx @@ -0,0 +1,117 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SWCONT_HXX +#define _SWCONT_HXX + +#include <tools/string.hxx> +namespace binfilter { + +class SwContentType; + +//Reihenfolge und Anzahl mit ResIds abgleichen!! +#define CONTENT_TYPE_OUTLINE 0 +#define CONTENT_TYPE_TABLE 1 +#define CONTENT_TYPE_FRAME 2 +#define CONTENT_TYPE_GRAPHIC 3 +#define CONTENT_TYPE_OLE 4 +#define CONTENT_TYPE_BOOKMARK 5 +#define CONTENT_TYPE_REGION 6 +#define CONTENT_TYPE_URLFIELD 7 +#define CONTENT_TYPE_REFERENCE 8 +#define CONTENT_TYPE_INDEX 9 +#define CONTENT_TYPE_POSTIT 10 +#define CONTENT_TYPE_DRAWOBJECT 11 +#define CONTENT_TYPE_MAX CONTENT_TYPE_DRAWOBJECT +1 + + +// Typen fuer das Globaldokument +#define GLOBAL_CONTENT_REGION 100 +#define GLOBAL_CONTENT_INDEX 101 +#define GLOBAL_CONTENT_TEXT 102 +#define GLOBAL_CONTENT_MAX 3 + +// Strings fuer Kontextmenue +#define CONTEXT_COUNT 12 +#define GLOBAL_CONTEXT_COUNT 14 + +// Modi fuer Drag 'n Drop +#define REGION_MODE_NONE 0 +#define REGION_MODE_LINK 1 +#define REGION_MODE_EMBEDDED 2 + +//---------------------------------------------------------------------------- +//---------------------------------------------------------------------------- + +//mini rtti + class SwTypeNumber + { + BYTE nTypeId; + + public: + SwTypeNumber(BYTE nId) :nTypeId(nId){} + virtual ~SwTypeNumber(); + + virtual BYTE GetTypeId(); + }; +//---------------------------------------------------------------------------- + +class SwContent : public SwTypeNumber +{ + const SwContentType* pParent; + String sContentName; + long nYPosition; + BOOL bInvisible; +public: + SwContent(const SwContentType* pCnt, const String& rName, long nYPos ); + + const SwContentType* GetParent() const {return pParent;} + const String& GetName() const {return sContentName;} + int operator==(const SwContent& rCont) const + { + //gleich sind sie nie, sonst fallen sie aus dem Array + return FALSE; + } + int operator<(const SwContent& rCont) const + { + //zuerst nach Position dann nach Name sortieren + return nYPosition != rCont.nYPosition ? + nYPosition < rCont.nYPosition : + sContentName < rCont.sContentName;; + } + + long GetYPos() const {return nYPosition;} + + BOOL IsInvisible() const {return bInvisible;} + void SetInvisible(){ bInvisible = TRUE;} +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/swdtflvr.hxx b/binfilter/bf_sw/source/ui/inc/swdtflvr.hxx new file mode 100644 index 000000000000..6b21d6591ff6 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/swdtflvr.hxx @@ -0,0 +1,29 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/swlinguconfig.hxx b/binfilter/bf_sw/source/ui/inc/swlinguconfig.hxx new file mode 100644 index 000000000000..13fc22a1a2ad --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/swlinguconfig.hxx @@ -0,0 +1,55 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWLINGUCONFIG_HXX +#define _SWLINGUCONFIG_HXX + +#include <com/sun/star/uno/Any.h> + +namespace binfilter { + +class SvtLinguConfig; +struct SvtLinguOptions; +// predeclarations + + +// #107253# +class SwLinguConfig +{ +public: + SwLinguConfig(); + ~SwLinguConfig(); + + sal_Bool SetProperty(const ::rtl::OUString &rPropertyName, const ::com::sun::star::uno::Any &rValue); + sal_Bool GetOptions(SvtLinguOptions &rOptions) const; + ::com::sun::star::uno::Any GetProperty(const ::rtl::OUString &rPropertyName) const; +}; + +} //namespace binfilter +#endif // _SWLINGUCONFIG_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/swmn.hrc b/binfilter/bf_sw/source/ui/inc/swmn.hrc new file mode 100644 index 000000000000..06f885737aaf --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/swmn.hrc @@ -0,0 +1,7697 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT +#ifndef _SWMN_HRC +#define _SWMN_HRC + +#ifndef _OFF_OFFMENU_HRC +#include <bf_offmgr/offmenu.hrc> +#endif +#ifndef _OFF_OFAIDS_HRC +#include <bf_offmgr/ofaids.hrc> +#endif +#ifndef _SBASLTID_HRC +#include <bf_offmgr/sba.hrc> +#endif +#ifndef _SVX_DIALOGS_HRC +#include <bf_svx/dialogs.hrc> +#endif +#include "cmdid.h" +#include "app.hrc" +#include "globals.hrc" +#include "helpid.h" +#include "popup.hrc" +#include "cfgid.h" + +/*********************************************************************** + per define MN_SW_WEB wird auf das Menu des StarWriter/WEB umgeschaltet +***********************************************************************/ + +/* --------------------- F O R M A T --------------------------------- */ + +#define SEPARATOR MenuItem { Separator = TRUE; } + + +#ifndef SW_FILEFORMAT_40 +#define MN_AT_FRAME \ + MenuItem\ + {\ + Identifier = FN_TOOL_ANKER_FRAME ; \ + HelpID = FN_TOOL_ANKER_FRAME ; \ + /* ### ACHTUNG: Neuer Text in Resource? Am ~Rahmen : Am Rahmen */\ + Text [ de ] = "Am ~Rahmen" ; \ + Text [ en-US ] = "To ~Frame" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Na ~moldura";\ + Text[ ru ] = "~К рамке";\ + Text[ el ] = "Στο ~πλαίσιο";\ + Text[ nl ] = "Aan ~kader";\ + Text[ fr ] = "Au ~cadre";\ + Text[ es ] = "Al ~marco";\ + Text[ fi ] = "~Kehyksiin";\ + Text[ ca ] = "Al ~marc";\ + Text[ it ] = "~Alla cornice";\ + Text[ sk ] = "K o~hraničeniu";\ + Text[ da ] = "Til ramme";\ + Text[ sv ] = "Vid ~ram";\ + Text[ pl ] = "Do ~ramki";\ + Text[ pt-BR ] = "Na ~Moldura";\ + Text[ th ] = "ไปยัง~กรอบ";\ + Text[ ja ] = "枠に(~F)";\ + Text[ ko ] = "프레임에(~F)";\ + Text[ zh-CN ] = "在框边(~F)";\ + Text[ zh-TW ] = "在框邊(~F)";\ + Text[ tr ] = "Çerçeveye";\ + Text[ hi-IN ] = "~फ्रेम में ";\ + Text[ ar ] = "على الكادر";\ + Text[ he ] = "Am ~Rahmen";\ + }; +#else +#define MN_AT_FRAME +#endif + + +#define MN_ALWAYS_TEMPLATE \ + MenuItem\ + {\ + Identifier = MN_SUB_TEMPLATES ; \ + HelpID = HID_MN_SUB_TEMPLATES ; \ + Text [ de ] = "~Vorlagen" ; \ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + ITEM_FORMAT_TEMPLATECATALOG\ + };\ + MenuItem\ + {\ + Identifier = SID_TEMPLATE_LOAD ; \ + HelpID = SID_TEMPLATE_LOAD ; \ + Text [ de ] = "~Laden..." ; \ + Text [ en-US ] = "~Load..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Carregar...";\ + Text[ ru ] = "Загрузить...";\ + Text[ el ] = "~Φόρτωση...";\ + Text[ nl ] = "~Laden...";\ + Text[ fr ] = "~Charger...";\ + Text[ es ] = "~Cargar...";\ + Text[ fi ] = "L~ataa...";\ + Text[ ca ] = "~Carrega...";\ + Text[ it ] = "Carica...";\ + Text[ sk ] = "~Načítať...";\ + Text[ da ] = "Ind~læs...";\ + Text[ sv ] = "~Ladda...";\ + Text[ pl ] = "~Załaduj...";\ + Text[ pt-BR ] = "~Carregar...";\ + Text[ th ] = "โ~หลด...";\ + Text[ ja ] = "読み込み(~L)...";\ + Text[ ko ] = "로드(~L)...";\ + Text[ zh-CN ] = "装入(~L)...";\ + Text[ zh-TW ] = "載入(~L)...";\ + Text[ tr ] = "Yükle...";\ + Text[ hi-IN ] = "~लोड़ करो...";\ + Text[ ar ] = "...تحميل";\ + Text[ he ] = "טעינה...";\ + };\ + };\ + };\ + Text [ en-US ] = "Styl~es" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "E~stilos";\ + Text[ ru ] = "~Стили";\ + Text[ el ] = "Πρότυπ~α";\ + Text[ nl ] = "~Opmaakprofielen";\ + Text[ fr ] = "~Styles";\ + Text[ es ] = "~Estilos";\ + Text[ fi ] = "T~yyli";\ + Text[ ca ] = "~Estils";\ + Text[ it ] = "~Modelli";\ + Text[ sk ] = "Štý~ly";\ + Text[ da ] = "T~ypografier";\ + Text[ sv ] = "~Mallar";\ + Text[ pl ] = "Styl~e";\ + Text[ pt-BR ] = "~Estilos";\ + Text[ th ] = "ลักษ~ณะ";\ + Text[ ja ] = "スタイル(~E)";\ + Text[ ko ] = "스타일(~E)";\ + Text[ zh-CN ] = "样式(~E)";\ + Text[ zh-TW ] = "樣式(~E)";\ + Text[ tr ] = "~Şablonlar";\ + Text[ hi-IN ] = "शैलि~याँ";\ + Text[ ar ] = "أنما~ط";\ + Text[ he ] = "~Vorlagen";\ + }; + +#define MN_ALWAYS \ + SEPARATOR;\ + MN_ALWAYS_TEMPLATE \ + MenuItem\ + {\ + ITEM_FORMAT_TEMPLATE\ + }; + +#ifdef ITEM_FORMAT_NUMBERING +//das obere kann mit > 513c raus +#define DEFINE_FOR_SLOTID_NUMBER_BULLETS FN_NUMBER_BULLETS +#define DEFINE_SLOTID_FOR_NUMBER_BULLETS FN_NUMBER_BULLETS +#define MN_NUMBERING ITEM_FORMAT_NUMBERING +#else +#define MN_NUMBERING \ + MenuItem\ + {\ + Identifier = FN_NUMBER_BULLETS ; \ + HelpID = FN_NUMBER_BULLETS ; \ + /* ### ACHTUNG: Neuer Text in Resource? ~Numerierung/Aufzhlung... : ~Numerierung/Aufzhlung... */\ + Text [ de ] = "~Nummerierung/Aufzhlung..." ; \ + Text [ en-US ] = "~Numbering/Bullets..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Marcas/Numeração...";\ + Text[ ru ] = "Нумерация/маркировка...";\ + Text[ el ] = "Αρίθ~μηση/Κουκίδες...";\ + Text[ nl ] = "~Nummering/opsommingstekens...";\ + Text[ fr ] = "~Numérotation/puces...";\ + Text[ es ] = "~Numeración y viñetas...";\ + Text[ fi ] = "Lu~ettelomerkit ja numerointi...";\ + Text[ ca ] = "~Numeració/vinyetes...";\ + Text[ it ] = "Elenchi puntati e numerati...";\ + Text[ sk ] = "Čí~slovanie/Odrážky...";\ + Text[ da ] = "~Nummerering/punkttegn...";\ + Text[ sv ] = "~Numrering/punktuppställning...";\ + Text[ pl ] = "Nume~racja/wypunktowanie...";\ + Text[ pt-BR ] = "~Numeração / Marcas...";\ + Text[ th ] = "~ลำดับตัวเลข/สัญลักษณ์แสดงหัวข้อย่อย...";\ + Text[ ja ] = "箇条書きと番号付け(~N)...";\ + Text[ ko ] = "번호 매기기/글머리 기호(~N)...";\ + Text[ zh-CN ] = "编号/项目符号(~N)...";\ + Text[ zh-TW ] = "編號/項目符號(~N)...";\ + Text[ tr ] = "Numaralama/madde işaretleri...";\ + Text[ hi-IN ] = "~संख्या देना/बुल्लेट्स...";\ + Text[ ar ] = "...ترقيم/تعداد";\ + Text[ he ] = "תבליטים/מיספור";\ + }; +#endif + + +#define MN_AUTOFORMAT \ + MenuItem\ + {\ + Identifier = MN_SUB_AUTOFORMAT ; \ + HelpID = HID_MN_SUB_AUTOFORMAT ; \ + Text [ de ] = "Auto~Format" ; \ + Text [ en-US ] = "Auto~Format" ; \ + /* ### ACHTUNG: Neuer Text in Resource? Einstellunen fr die automatische Formatierung : Einstellunen fr die automatische Formatierung */\ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + Identifier = FN_AUTOFORMAT_AUTO ; \ + HelpID = FN_AUTOFORMAT_AUTO ; \ + Text [ de ] = "~Whrend der Eingabe" ; \ + Text [ en-US ] = "~While Typing" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Durante dactilografia";\ + Text[ ru ] = "~При вводе";\ + Text[ el ] = "Κατά την εισαγ~ωγή";\ + Text[ nl ] = "T~ijdens invoer";\ + Text[ fr ] = "~Pendant la saisie";\ + Text[ es ] = "~Mientras se escribe";\ + Text[ fi ] = "~Kirjoitettaessa";\ + Text[ ca ] = "~Durant l'entrada";\ + Text[ it ] = "~Durante la digitazione";\ + Text[ sk ] = "Pri ~písaní";\ + Text[ da ] = "Under skrivning...";\ + Text[ sv ] = "~Under inmatningen";\ + Text[ pl ] = "~Podczas pisania";\ + Text[ pt-BR ] = "~Durante a Digitação";\ + Text[ th ] = "~ขณะพิมพ์";\ + Text[ ja ] = "入力中に(~W)";\ + Text[ ko ] = "입력하는 동안(~W)";\ + Text[ zh-CN ] = "在输入时(~W)";\ + Text[ zh-TW ] = "在輸入時(~W)";\ + Text[ tr ] = "Yazarken";\ + Text[ hi-IN ] = "~टइपिंग करने के समय";\ + Text[ ar ] = "أثناء الكتابة";\ + Text[ he ] = "בזמן הקלדה";\ + };\ + MenuItem\ + {\ + Identifier = FN_AUTOFORMAT_APPLY ; \ + HelpID = FN_AUTOFORMAT_APPLY ; \ + Text [ de ] = "~Anwenden" ; \ + Text [ en-US ] = "~Apply" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Aplicar";\ + Text[ ru ] = "Применить";\ + Text[ el ] = "Εφ~αρμογή";\ + Text[ nl ] = "~Toepassen";\ + Text[ fr ] = "~Appliquer";\ + Text[ es ] = "~Aplicar";\ + Text[ fi ] = "Kä~ytä";\ + Text[ ca ] = "~Aplica";\ + Text[ it ] = "~Applica";\ + Text[ sk ] = "~Použiť";\ + Text[ da ] = "~Anvend";\ + Text[ sv ] = "~Använd";\ + Text[ pl ] = "~Zastosuj";\ + Text[ pt-BR ] = "~Aplicar";\ + Text[ th ] = "ใ~ช้";\ + Text[ ja ] = "適用(~A)";\ + Text[ ko ] = "적용(~A)";\ + Text[ zh-CN ] = "使用(~A)";\ + Text[ zh-TW ] = "使用(~A)";\ + Text[ tr ] = "~Uygula";\ + Text[ hi-IN ] = "~लागू करो";\ + Text[ ar ] = "تطبيق";\ + Text[ he ] = "בצוע";\ + };\ + MenuItem\ + {\ + Identifier = FN_AUTOFORMAT_REDLINE_APPLY ; \ + HelpID = FN_AUTOFORMAT_REDLINE_APPLY ; \ + Text [ de ] = "Anwenden und nderungen ~bearbeiten" ; \ + Text [ en-US ] = "Apply and Edit ~Changes";\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Aplicar e e~ditar modificações";\ + Text[ ru ] = "Принять или отклонить изменения";\ + Text[ el ] = "Εφαρμογή και ε~πεξεργασία αλλαγών";\ + Text[ nl ] = "Toepassen en wijzigingen ~bewerken";\ + Text[ fr ] = "Appliquer et é~diter les modifications";\ + Text[ es ] = "Aplicar y ~editar modificaciones";\ + Text[ fi ] = "~Ota muutokset käyttöön ja muokkaa muutoksia";\ + Text[ ca ] = "Aplica i ~edita modificacions";\ + Text[ it ] = "Applica e modifica cambiamenti";\ + Text[ sk ] = "Upraviť ~zmeny a použiť";\ + Text[ da ] = "Anvend og rediger ændringer";\ + Text[ sv ] = "Använd och ~redigera ändringar";\ + Text[ pl ] = "Zastosuj i ~edytuj zmiany";\ + Text[ pt-BR ] = "Aplicar e Editar ~Modificações";\ + Text[ th ] = "ใช้และแก้ไขการเ~ปลี่ยนแปลง";\ + Text[ ja ] = "適用と変更の編集(~C)";\ + Text[ ko ] = "변경 사항 적용 및 편집(~C)";\ + Text[ zh-CN ] = "使用和编辑更改(~C)";\ + Text[ zh-TW ] = "使用和編輯變更(~C)";\ + Text[ tr ] = "Uygula ve değişiklikleri düzenle";\ + Text[ hi-IN ] = "~परिवर्तनों को लागू और संपादन करो";\ + Text[ ar ] = "تطبيق وتحرير التغييرات";\ + Text[ he ] = "בצוע ועריכת השינויים";\ + };\ + };\ + };\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Auto~Formato";\ + Text[ ru ] = "Авто~формат";\ + Text[ el ] = "Αυτόματη Μορ~φοποίηση";\ + Text[ nl ] = "A~utoOpmaak";\ + Text[ fr ] = "~AutoFormat";\ + Text[ es ] = "~Formateado automático...";\ + Text[ fi ] = "~Automaattinen muotoilu";\ + Text[ ca ] = "Auto~format";\ + Text[ it ] = "~Formattazione automatica";\ + Text[ sk ] = "Automatický ~formát";\ + Text[ da ] = "Auto~Format";\ + Text[ sv ] = "Auto~Format";\ + Text[ pl ] = "Auto~formatowanie";\ + Text[ pt-BR ] = "Auto~Formatação";\ + Text[ th ] = "~รูปแบบอัตโนมัติ";\ + Text[ ja ] = "オートフォーマット(~F)";\ + Text[ ko ] = "자동 서식(~F)";\ + Text[ zh-CN ] = "自动格式(~F)";\ + Text[ zh-TW ] = "自動格式(~F)";\ + Text[ tr ] = "~Otomatik formatlama";\ + Text[ hi-IN ] = "स्व~चालित ढंग से रचना ";\ + Text[ ar ] = "تن~سيق تلقائي";\ + Text[ he ] = "עיצוב אוטומטי";\ + }; + + +#define MN_RUBY_DIALOG \ + MenuItem \ + { \ + Identifier = SID_RUBY_DIALOG ; \ + HelpID = SID_RUBY_DIALOG ; \ + Text [ de ] = "Ruby..." ; \ + Text [ en-US ] = "Ruby...";\ + Text[ pt ] = "Ruby...";\ + Text[ ru ] = "Транскрипция...";\ + Text[ el ] = "Φωνητική γραφή...";\ + Text[ nl ] = "Ruby...";\ + Text[ fr ] = "Ruby...";\ + Text[ es ] = "Ruby...";\ + Text[ fi ] = "Ruby-teksti...";\ + Text[ ca ] = "Caràcter fonètic guia...";\ + Text[ it ] = "Testo Ruby...";\ + Text[ sk ] = "Ruby...";\ + Text[ da ] = "Ruby...";\ + Text[ sv ] = "Ruby...";\ + Text[ pl ] = "Dopisek fonetyczny...";\ + Text[ pt-BR ] = "Ruby...";\ + Text[ th ] = "ตัวพิมพ์ขนาดเล็ก...";\ + Text[ ja ] = "ルビ...";\ + Text[ ko ] = "덧말 넣기...";\ + Text[ zh-CN ] = "拼音和注音符号...";\ + Text[ zh-TW ] = "注音符號...";\ + Text[ tr ] = "Ruby...";\ + Text[ hi-IN ] = "रूबी...";\ + Text[ ar ] = "دليل صوتي...";\ + Text[ he ] = "Ruby...";\ + }; \ + SEPARATOR ; \ + +#define MN_TAB1 \ + MenuItem\ + {\ + Identifier = FN_FORMAT_TABLE_DLG ; \ + HelpID = FN_FORMAT_TABLE_DLG ; \ + Text [ de ] = "Tab~elle..." ; \ + Text [ en-US ] = "~Table..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Ta~bela...";\ + Text[ ru ] = "Таблица...";\ + Text[ el ] = "Πίν~ακας...";\ + Text[ nl ] = "~Tabel...";\ + Text[ fr ] = "~Tableau...";\ + Text[ es ] = "~Tabla...";\ + Text[ fi ] = "~Taulukko...";\ + Text[ ca ] = "~Taula...";\ + Text[ it ] = "Tab~ella...";\ + Text[ sk ] = "~Tabuľka...";\ + Text[ da ] = "~Tabel...";\ + Text[ sv ] = "Tabell...";\ + Text[ pl ] = "~Tabela...";\ + Text[ pt-BR ] = "~Tabela...";\ + Text[ th ] = "~ตาราง...";\ + Text[ ja ] = "表(~T)...";\ + Text[ ko ] = "표(~T)...";\ + Text[ zh-CN ] = "表格(~T)...";\ + Text[ zh-TW ] = "表格(~T)...";\ + Text[ tr ] = "~Tablo...";\ + Text[ hi-IN ] = "~सारणी...";\ + Text[ ar ] = "...جدول~";\ + Text[ he ] = "טבלה...";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_MERGE_TABLE ; \ + HelpID = FN_TABLE_MERGE_TABLE ; \ + Text [ de ] = "Tabellen verbinden" ; \ + Text [ en-US ] = "Merge Tables";\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Unir tabelas";\ + Text[ ru ] = "Объединить таблицы";\ + Text[ el ] = "Συγχώνευση πινάκων";\ + Text[ nl ] = "Tabellen verbinden";\ + Text[ fr ] = "Fusionner les tableaux";\ + Text[ es ] = "Unir tablas";\ + Text[ fi ] = "Yhdistä taulukot";\ + Text[ ca ] = "Uneix taules";\ + Text[ it ] = "Collega tabelle";\ + Text[ sk ] = "Zlúčiť tabuľky";\ + Text[ da ] = "Flet tabeller";\ + Text[ sv ] = "Sammanfoga tabeller";\ + Text[ pl ] = "Scal tabele";\ + Text[ pt-BR ] = "Mesclar Tabelas";\ + Text[ th ] = "ผสานตาราง";\ + Text[ ja ] = "表の結合";\ + Text[ ko ] = "표 병합";\ + Text[ zh-CN ] = "连接表格";\ + Text[ zh-TW ] = "連接表格";\ + Text[ tr ] = "Tabloları birleştir";\ + Text[ hi-IN ] = "सारणियों को मिलाओ ";\ + Text[ ar ] = "وصل الجداول";\ + Text[ he ] = "Tabellen verbinden";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_SPLIT_TABLE ; \ + HelpID = FN_TABLE_SPLIT_TABLE ; \ + Text [ de ] = "Tabelle auf~trennen" ; \ + Text [ en-US ] = "~Split Table" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Di~vidir tabela";\ + Text[ ru ] = "Разбить таблицу";\ + Text[ el ] = "Διάσ~παση πίνακα";\ + Text[ nl ] = "Tabel op~splitsen";\ + Text[ fr ] = "~Scinder le tableau";\ + Text[ es ] = "Di~vidir tabla";\ + Text[ fi ] = "~Jaa taulukko";\ + Text[ ca ] = "Di~videix taula";\ + Text[ it ] = "Separa ~tabella";\ + Text[ sk ] = "~Rozdeliť tabuľku";\ + Text[ da ] = "Opdel tabel";\ + Text[ sv ] = "Dela tabell";\ + Text[ pl ] = "Pod~ziel tabelę";\ + Text[ pt-BR ] = "~Dividir a tabela";\ + Text[ th ] = "แ~ยกตาราง";\ + Text[ ja ] = "表の分割(~S)";\ + Text[ ko ] = "표 나누기(~S)";\ + Text[ zh-CN ] = "分隔表格(~S)";\ + Text[ zh-TW ] = "分開表格(~S)";\ + Text[ tr ] = "~Tabloyu Ayır";\ + Text[ hi-IN ] = "~सारणी अलगाना";\ + Text[ ar ] = "فصل الجدول";\ + Text[ he ] = "פיצול טבלה";\ + };\ + MenuItem\ + {\ + Identifier = FN_NUM_FORMAT_TABLE_DLG ; \ + HelpID = FN_NUM_FORMAT_TABLE_DLG ; \ + Text [ de ] = "Zahlenf~ormat..." ; \ + Text [ en-US ] = "N~umber Format..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Formato numérico...";\ + Text[ ru ] = "Числовой формат...";\ + Text[ el ] = "Μ~ορφή αριθμών...";\ + Text[ nl ] = "~Getalnotatie...";\ + Text[ fr ] = "~Format numérique...";\ + Text[ es ] = "Formato ~numérico...";\ + Text[ fi ] = "~Lukumuoto...";\ + Text[ ca ] = "Format ~numèric...";\ + Text[ it ] = "F~ormato numero...";\ + Text[ sk ] = "For~mát čísel";\ + Text[ da ] = "Talformat...";\ + Text[ sv ] = "Talf~ormat...";\ + Text[ pl ] = "Format l~iczb...";\ + Text[ pt-BR ] = "Formato N~umérico...";\ + Text[ th ] = "รูปแบบตัวเ~ลข...";\ + Text[ ja ] = "数の書式(~U)...";\ + Text[ ko ] = "숫자 표기 형식(~U)...";\ + Text[ zh-CN ] = "数字格式(~U)...";\ + Text[ zh-TW ] = "數字格式(~U)...";\ + Text[ tr ] = "N~umara formatı...";\ + Text[ hi-IN ] = "~संख्या रचना...";\ + Text[ ar ] = "...تنسيق الأرقام~";\ + Text[ he ] = "Zahlenf~ormat...";\ + };\ + MenuItem\ + {\ + Identifier = MN_CELL ; \ + HelpID = MN_CELL ; \ + /* ### ACHTUNG: Neuer Text in Resource? Ze~lle : Zelle */\ + Text [ de ] = "~Zelle" ; \ + Text [ en-US ] = "~Cell" ; \ + /* ### ACHTUNG: Neuer Text in Resource? Einstellungen fr die Tabellenzelle : Einstellungen fr die Tabellenzelle */\ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + Identifier = FN_TABLE_MERGE_CELLS ; \ + HelpID = FN_TABLE_MERGE_CELLS ; \ + Text [ de ] = "~Verbinden" ; \ + Text [ en-US ] = "~Merge" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Unir";\ + Text[ ru ] = "Объединить";\ + Text[ el ] = "Συγχώνε~υση";\ + Text[ nl ] = "Ver~binden";\ + Text[ fr ] = "~Fusionner";\ + Text[ es ] = "~Unir";\ + Text[ fi ] = "Y~hdistä";\ + Text[ ca ] = "~Uneix";\ + Text[ it ] = "~Unisci";\ + Text[ sk ] = "~Zlúčiť";\ + Text[ da ] = "Flet";\ + Text[ sv ] = "Sammanfoga";\ + Text[ pl ] = "~Scal";\ + Text[ pt-BR ] = "~Mesclar";\ + Text[ th ] = "~ผสาน";\ + Text[ ja ] = "結合(~M)";\ + Text[ ko ] = "병합(~M)";\ + Text[ zh-CN ] = "合并(~M)";\ + Text[ zh-TW ] = "合併(~M)";\ + Text[ tr ] = "~Birleştir";\ + Text[ hi-IN ] = "~मिलाओ";\ + Text[ ar ] = "دمج";\ + Text[ he ] = "~Verbinden";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_SPLIT_CELLS ; \ + HelpID = FN_TABLE_SPLIT_CELLS ; \ + Text [ de ] = "~Teilen..." ; \ + Text [ en-US ] = "~Split..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Dividir...";\ + Text[ ru ] = "Разбить...";\ + Text[ el ] = "~Διαίρεση...";\ + Text[ nl ] = "~Splitsen...";\ + Text[ fr ] = "~Scinder...";\ + Text[ es ] = "~Dividir...";\ + Text[ fi ] = "~Jaa...";\ + Text[ ca ] = "~Divideix...";\ + Text[ it ] = "~Dividi...";\ + Text[ sk ] = "~Rozdeliť...";\ + Text[ da ] = "Opdel...";\ + Text[ sv ] = "~Dela...";\ + Text[ pl ] = "~Podziel...";\ + Text[ pt-BR ] = "~Dividir...";\ + Text[ th ] = "แ~ยก...";\ + Text[ ja ] = "分割(~S)...";\ + Text[ ko ] = "분할(~S)...";\ + Text[ zh-CN ] = "分隔(~S)...";\ + Text[ zh-TW ] = "分開(~S)...";\ + Text[ tr ] = "~Böl...";\ + Text[ hi-IN ] = "~अलगाना...";\ + Text[ ar ] = "تقسيم...";\ + Text[ he ] = "~Teilen...";\ + };\ + SEPARATOR ; \ + MenuItem\ + {\ + Identifier = FN_TABLE_VERT_NONE ; \ + HelpID = FN_TABLE_VERT_NONE ; \ + Text [ de ] = "~Oben" ; \ + Text [ en-US ] = "~Top" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Em ~cima";\ + Text[ ru ] = "Вверху";\ + Text[ el ] = "Πάν~ω";\ + Text[ nl ] = "Bo~ven";\ + Text[ fr ] = "En ~haut";\ + Text[ es ] = "~Arriba";\ + Text[ fi ] = "~Yläreuna";\ + Text[ ca ] = "~Amunt";\ + Text[ it ] = "Alto";\ + Text[ sk ] = "~Hore";\ + Text[ da ] = "~Øverst";\ + Text[ sv ] = "Överst";\ + Text[ pl ] = "U ~góry";\ + Text[ pt-BR ] = "Em ~Cima";\ + Text[ th ] = "~บน";\ + Text[ ja ] = "上揃え(~T)";\ + Text[ ko ] = "위(~T)";\ + Text[ zh-CN ] = "上(~T)";\ + Text[ zh-TW ] = "上(~T)";\ + Text[ tr ] = "~Yukarı";\ + Text[ hi-IN ] = "~ऊपर";\ + Text[ ar ] = "أعلى";\ + Text[ he ] = "~Oben";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_VERT_CENTER ; \ + HelpID = FN_TABLE_VERT_CENTER ; \ + Text [ de ] = "~Mitte" ; \ + Text [ en-US ] = "C~enter" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Centro";\ + Text[ ru ] = "Посередине";\ + Text[ el ] = "~Κέντρο";\ + Text[ nl ] = "~Midden";\ + Text[ fr ] = "C~entre";\ + Text[ es ] = "~Centrado";\ + Text[ fi ] = "K~eskitä";\ + Text[ ca ] = "~Centre";\ + Text[ it ] = "~Centro";\ + Text[ sk ] = "Upro~stred";\ + Text[ da ] = "~Midte";\ + Text[ sv ] = "~Mitten";\ + Text[ pl ] = "~Do środka";\ + Text[ pt-BR ] = "~Centralizado";\ + Text[ th ] = "ต~รงกลาง";\ + Text[ ja ] = "中央揃え(~E)";\ + Text[ ko ] = "가운데(~E)";\ + Text[ zh-CN ] = "中(~E)";\ + Text[ zh-TW ] = "中(~E)";\ + Text[ tr ] = "O~rta";\ + Text[ hi-IN ] = "~मध्य";\ + Text[ ar ] = "الوسط";\ + Text[ he ] = "~Mitte";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_VERT_BOTTOM ; \ + HelpID = FN_TABLE_VERT_BOTTOM ; \ + Text [ de ] = "~Unten" ; \ + Text [ en-US ] = "~Bottom" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Em ~baixo";\ + Text[ ru ] = "Внизу";\ + Text[ el ] = "~Κάτω";\ + Text[ nl ] = "Be~neden";\ + Text[ fr ] = "En ~bas";\ + Text[ es ] = "A~bajo";\ + Text[ fi ] = "~Alareuna";\ + Text[ ca ] = "A~vall";\ + Text[ it ] = "B~asso";\ + Text[ sk ] = "~Dole";\ + Text[ da ] = "~Nederst";\ + Text[ sv ] = "Underst";\ + Text[ pl ] = "~U dołu";\ + Text[ pt-BR ] = "Em ~Baixo";\ + Text[ th ] = "~ล่าง";\ + Text[ ja ] = "下揃え(~B)";\ + Text[ ko ] = "아래(~B)";\ + Text[ zh-CN ] = "下(~B)";\ + Text[ zh-TW ] = "下(~B)";\ + Text[ tr ] = "~Alt";\ + Text[ hi-IN ] = "~नीचे";\ + Text[ ar ] = "أسفل";\ + Text[ he ] = "~Unten";\ + };\ + SEPARATOR ; \ + MenuItem\ + {\ + Identifier = FN_TABLE_SET_READ_ONLY_CELLS ; \ + HelpID = FN_TABLE_SET_READ_ONLY_CELLS ; \ + /* ### ACHTUNG: Neuer Text in Resource? ~Schtzen : ~Schtzen */\ + Text [ de ] = "~Schtzen" ; \ + Text [ en-US ] = "~Protect" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Proteger";\ + Text[ ru ] = "Защита";\ + Text[ el ] = "Προ~στασία";\ + Text[ nl ] = "~Beveiligen";\ + Text[ fr ] = "~Protéger";\ + Text[ es ] = "~Proteger";\ + Text[ fi ] = "~Suojaa";\ + Text[ ca ] = "~Protegeix";\ + Text[ it ] = "~Proteggi";\ + Text[ sk ] = "~Zamknúť";\ + Text[ da ] = "~Beskyt";\ + Text[ sv ] = "~Skydda";\ + Text[ pl ] = "~Chroń";\ + Text[ pt-BR ] = "~Proteger";\ + Text[ th ] = "~ป้องกัน";\ + Text[ ja ] = "保護(~P)";\ + Text[ ko ] = "보호(~P)";\ + Text[ zh-CN ] = "保护(~P)";\ + Text[ zh-TW ] = "保護(~P)";\ + Text[ tr ] = "~Koru";\ + Text[ hi-IN ] = "~रक्षा करो";\ + Text[ ar ] = "حماية";\ + Text[ he ] = "~Schützen";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_UNSET_READ_ONLY_CELLS ; \ + HelpID = FN_TABLE_UNSET_READ_ONLY_CELLS ; \ + Text [ de ] = "Schutz ~aufheben" ; \ + Text [ en-US ] = "~Unprotect" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "D~esproteger";\ + Text[ ru ] = "Снять защиту";\ + Text[ el ] = "Άρση προστ~ασίας";\ + Text[ nl ] = "Beveiliging ~opheffen";\ + Text[ fr ] = "~Annuler la protection";\ + Text[ es ] = "~Desproteger";\ + Text[ fi ] = "~Poista suojaus";\ + Text[ ca ] = "~Desprotegeix";\ + Text[ it ] = "Disattiva~ protezione";\ + Text[ sk ] = "~Odomknúť";\ + Text[ da ] = "Ophæv beskyttelse";\ + Text[ sv ] = "Upphäv skydd";\ + Text[ pl ] = "~Nie chroń";\ + Text[ pt-BR ] = "~Desproteger";\ + Text[ th ] = "ไ~ม่ป้องกัน";\ + Text[ ja ] = "保護の解除(~U)";\ + Text[ ko ] = "보호 해제(~U)";\ + Text[ zh-CN ] = "取消保护(~U)";\ + Text[ zh-TW ] = "取消保護(~U)";\ + Text[ tr ] = "~Korumayı kaldır";\ + Text[ hi-IN ] = "~रक्षा मत करो";\ + Text[ ar ] = "إلغاء الحماية";\ + Text[ he ] = "Schutz ~aufheben";\ + };\ + };\ + };\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Célula";\ + Text[ ru ] = "Ячейка";\ + Text[ el ] = "~Κελί";\ + Text[ nl ] = "~Cel";\ + Text[ fr ] = "~Cellule";\ + Text[ es ] = "~Celda";\ + Text[ fi ] = "~Solu";\ + Text[ ca ] = "~Celda";\ + Text[ it ] = "Ce~lla";\ + Text[ sk ] = "~Bunka";\ + Text[ da ] = "Celle";\ + Text[ sv ] = "~Cell";\ + Text[ pl ] = "~Komórka";\ + Text[ pt-BR ] = "~Células";\ + Text[ th ] = "เ~ซลล์";\ + Text[ ja ] = "セル(~C)";\ + Text[ ko ] = "셀(~C)";\ + Text[ zh-CN ] = "单元格(~C)";\ + Text[ zh-TW ] = "儲存格(~C)";\ + Text[ tr ] = "~Hücre";\ + Text[ hi-IN ] = "~कोष्ठ";\ + Text[ ar ] = "خلية";\ + Text[ he ] = "~Zelle";\ + }; + + +#define MN_TAB2 \ + MenuItem\ + {\ + Identifier = MN_SUB_TBLROW ; \ + HelpID = HID_MN_SUB_TBLROW ; \ + /* ### ACHTUNG: Neuer Text in Resource? Ze~ile : Zeile */\ + Text [ de ] = "Ze~ile" ; \ + Text [ en-US ] = "~Row" ; \ + /* ### ACHTUNG: Neuer Text in Resource? Einstellungen fr die Tabellenzeile : Einstellungen fr die Tabellenzeile */\ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + Identifier = FN_TABLE_SET_ROW_HEIGHT ; \ + HelpID = FN_TABLE_SET_ROW_HEIGHT ; \ + /* ### ACHTUNG: Neuer Text in Resource? ~Hhe... : ~Hhe... */\ + Text [ de ] = "~Hhe..." ; \ + Text [ en-US ] = "~Height..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Altura...";\ + Text[ ru ] = "Высота...";\ + Text[ el ] = "Ύ~ψος...";\ + Text[ nl ] = "~Hoogte...";\ + Text[ fr ] = "~Hauteur ...";\ + Text[ es ] = "~Altura...";\ + Text[ fi ] = "~Korkeus...";\ + Text[ ca ] = "~Alçada...";\ + Text[ it ] = "~Altezza...";\ + Text[ sk ] = "~Výška...";\ + Text[ da ] = "Højde...";\ + Text[ sv ] = "~Höjd...";\ + Text[ pl ] = "~Wysokość...";\ + Text[ pt-BR ] = "A~ltura...";\ + Text[ th ] = "ความ~สูง...";\ + Text[ ja ] = "高さ(~H)...";\ + Text[ ko ] = "높이(~H)...";\ + Text[ zh-CN ] = "高度(~H)...";\ + Text[ zh-TW ] = "高度(~H)...";\ + Text[ tr ] = "~Yükseklik...";\ + Text[ hi-IN ] = "~ऊँचाई...";\ + Text[ ar ] = "...الارتفاع";\ + Text[ he ] = "גובה...";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_OPTIMAL_HEIGHT ; \ + HelpID = FN_TABLE_OPTIMAL_HEIGHT ; \ + /* ### ACHTUNG: Neuer Text in Resource? ~Optimale Hhe : ~Optimale Hhe */\ + Text [ de ] = "~Optimale Hhe" ; \ + Text [ en-US ] = "~Optimal Height" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Optimizar altura";\ + Text[ ru ] = "Оптимальная высота";\ + Text[ el ] = "Βέλτιστ~ο ύψος";\ + Text[ nl ] = "~Optimale hoogte";\ + Text[ fr ] = "Hauteur ~optimale";\ + Text[ es ] = "A~ltura óptima";\ + Text[ fi ] = "~Optimaalinen korkeus";\ + Text[ ca ] = "A~lçada òptima";\ + Text[ it ] = "Altezza ~ottimale";\ + Text[ sk ] = "~Optimálna výška";\ + Text[ da ] = "~Optimal højde";\ + Text[ sv ] = "~Optimal höjd";\ + Text[ pl ] = "~Wysokość optymalna";\ + Text[ pt-BR ] = "~Altura ótima";\ + Text[ th ] = "ความสูงที่เ~หมาะที่สุด";\ + Text[ ja ] = "最適な高さ(~O)";\ + Text[ ko ] = "최적 높이(~O)";\ + Text[ zh-CN ] = "最佳高度(~O)";\ + Text[ zh-TW ] = "最適高度(~O)";\ + Text[ tr ] = "~En uygun yükseklik";\ + Text[ hi-IN ] = "~योग्य ऊँचाई";\ + Text[ ar ] = "الارتفاع الأمثل";\ + Text[ he ] = "~Optimale Höhe";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_BALANCE_ROWS ; \ + HelpID = FN_TABLE_BALANCE_ROWS ; \ + /* ### ACHTUNG: Neuer Text in Resource? Gleichmig ~verteilen : Gleichmig ~verteilen */\ + Text [ de ] = "Gleichmig ~verteilen" ; \ + Text [ en-US ] = "Space ~Equally" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Es~paços iguais";\ + Text[ ru ] = "Распределить равномерно";\ + Text[ el ] = "Ισομερή κατα~νομή";\ + Text[ nl ] = "~Gelijkmatig verdelen";\ + Text[ fr ] = "E~space équilibré";\ + Text[ es ] = "Ajustar ~uniformemente";\ + Text[ fi ] = "~Tasaiset välit";\ + Text[ ca ] = "Ajusta ~uniformement";\ + Text[ it ] = "~Distribuisci con regolarità";\ + Text[ sk ] = "Rovnom~erne rozložiť";\ + Text[ da ] = "Fordel jævnt";\ + Text[ sv ] = "Fördela ~jämnt";\ + Text[ pl ] = "Rozłóż równomi~ernie";\ + Text[ pt-BR ] = "Afastar ~igualmente";\ + Text[ th ] = "ระยะห่างเ~ท่ากัน";\ + Text[ ja ] = "均等分割(~E)";\ + Text[ ko ] = "균등하게 분할(~E)";\ + Text[ zh-CN ] = "间隔相同(~E)";\ + Text[ zh-TW ] = "間隔相等(~E)";\ + Text[ tr ] = "~Eşit dağılım";\ + Text[ hi-IN ] = "~समान अंतर दो";\ + Text[ ar ] = "توزيع بالتساوي";\ + Text[ he ] = "Gleichmäßig ~verteilen";\ + };\ + SEPARATOR ; \ + MenuItem\ + {\ + Identifier = FN_TABLE_SELECT_ROW ; \ + HelpID = FN_TABLE_SELECT_ROW ; \ + /* ### ACHTUNG: Neuer Text in Resource? Ausw~hlen : Auswhlen */\ + /* ### ACHTUNG: Neuer Text in Resource? Ausw~hlen : Ausw~hlen */\ + Text [ de ] = "Aus~whlen" ; \ + Text [ en-US ] = "~Select" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Seleccionar";\ + Text[ ru ] = "Выделить";\ + Text[ el ] = "Επιλο~γή";\ + Text[ nl ] = "~Selecteren";\ + Text[ fr ] = "Sélectio~nner";\ + Text[ es ] = "~Seleccionar";\ + Text[ fi ] = "~Valitse";\ + Text[ ca ] = "~Selecciona";\ + Text[ it ] = "Seleziona";\ + Text[ sk ] = "~Vybrať";\ + Text[ da ] = "Marker";\ + Text[ sv ] = "~Markera";\ + Text[ pl ] = "~Zaznacz";\ + Text[ pt-BR ] = "~Selecionar";\ + Text[ th ] = "เ~ลือก";\ + Text[ ja ] = "選択(~S)";\ + Text[ ko ] = "선택(~S)";\ + Text[ zh-CN ] = "选择(~S)";\ + Text[ zh-TW ] = "選擇(~S)";\ + Text[ tr ] = "~Seç";\ + Text[ hi-IN ] = "~चुनो";\ + Text[ ar ] = "تحديد";\ + Text[ he ] = "בחירה";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_INSERT_ROW_DLG ; \ + HelpID = FN_TABLE_INSERT_ROW_DLG ; \ + /* ### ACHTUNG: Neuer Text in Resource? ~Einfgen... : ~Einfgen... */\ + Text [ de ] = "~Einfgen..." ; \ + Text [ en-US ] = "~Insert..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Inserir...";\ + Text[ ru ] = "Вставить...";\ + Text[ el ] = "~Εισαγωγή...";\ + Text[ nl ] = "~Invoegen...";\ + Text[ fr ] = "~Insérer...";\ + Text[ es ] = "~Insertar...";\ + Text[ fi ] = "~Lisää...";\ + Text[ ca ] = "~Insereix...";\ + Text[ it ] = "~Inserisci...";\ + Text[ sk ] = "~Vložiť...";\ + Text[ da ] = "~Indsæt...";\ + Text[ sv ] = "~Infoga...";\ + Text[ pl ] = "W~staw...";\ + Text[ pt-BR ] = "~Inserir...";\ + Text[ th ] = "แ~ทรก...";\ + Text[ ja ] = "挿入(~I)...";\ + Text[ ko ] = "삽입(~I)...";\ + Text[ zh-CN ] = "插入(~I)...";\ + Text[ zh-TW ] = "插入(~I)...";\ + Text[ tr ] = "~Ekle...";\ + Text[ hi-IN ] = "~जोड़ो...";\ + Text[ ar ] = "...إدراج";\ + Text[ he ] = "~Einfügen...";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_DELETE_ROW ; \ + HelpID = FN_TABLE_DELETE_ROW ; \ + /* ### ACHTUNG: Neuer Text in Resource? ~Lschen : ~Lschen */\ + Text [ de ] = "~Lschen" ; \ + Text [ en-US ] = "~Delete" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "E~liminar";\ + Text[ ru ] = "Удалить";\ + Text[ el ] = "Διαγρα~φή";\ + Text[ nl ] = "~Wissen";\ + Text[ fr ] = "~Supprimer";\ + Text[ es ] = "~Borrar";\ + Text[ fi ] = "~Poista";\ + Text[ ca ] = "~Elimina";\ + Text[ it ] = "~Elimina";\ + Text[ sk ] = "Z~mazať";\ + Text[ da ] = "~Slet";\ + Text[ sv ] = "~Radera";\ + Text[ pl ] = "~Usuń";\ + Text[ pt-BR ] = "E~xcluir";\ + Text[ th ] = "~ลบ";\ + Text[ ja ] = "削除(~D)";\ + Text[ ko ] = "삭제(~D)";\ + Text[ zh-CN ] = "删除(~D)";\ + Text[ zh-TW ] = "刪除(~D)";\ + Text[ tr ] = "~Sil";\ + Text[ hi-IN ] = "~मिटाओ";\ + Text[ ar ] = "حذف";\ + Text[ he ] = "מחיקה";\ + };\ + };\ + };\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Linha";\ + Text[ ru ] = "Строка";\ + Text[ el ] = "Γραμ~μή";\ + Text[ nl ] = "~Rij";\ + Text[ fr ] = "~Ligne";\ + Text[ es ] = "~Fila";\ + Text[ fi ] = "~Rivi";\ + Text[ ca ] = "~Fila";\ + Text[ it ] = "Riga";\ + Text[ sk ] = "~Riadok";\ + Text[ da ] = "Række";\ + Text[ sv ] = "~Rad";\ + Text[ pl ] = "~Wiersz";\ + Text[ pt-BR ] = "L~inha";\ + Text[ th ] = "แ~ถว";\ + Text[ ja ] = "行(~R)";\ + Text[ ko ] = "행(~R)";\ + Text[ zh-CN ] = "行(~R)";\ + Text[ zh-TW ] = "行(~R)";\ + Text[ tr ] = "~Satır";\ + Text[ hi-IN ] = "~पंक्ति";\ + Text[ ar ] = "صف";\ + Text[ he ] = "Ze~ile";\ + };\ + MenuItem\ + {\ + Identifier = MN_SUB_TBLCOL ; \ + HelpID = HID_MN_SUB_TBLCOL ; \ + Text [ de ] = "S~palte" ; \ + Text [ en-US ] = "Colu~mn" ; \ + /* ### ACHTUNG: Neuer Text in Resource? Einstellungen fr die Tabellenspalte : Einstellungen fr die Tabellenspalte */\ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + Identifier = FN_TABLE_SET_COL_WIDTH ; \ + HelpID = FN_TABLE_SET_COL_WIDTH ; \ + Text [ de ] = "~Breite..." ; \ + Text [ en-US ] = "~Width..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Largura...";\ + Text[ ru ] = "Ширина...";\ + Text[ el ] = "~Πλάτος...";\ + Text[ nl ] = "~Breedte...";\ + Text[ fr ] = "~Largeur...";\ + Text[ es ] = "Anc~ho...";\ + Text[ fi ] = "~Leveys...";\ + Text[ ca ] = "Ampla~da...";\ + Text[ it ] = "~Larghezza...";\ + Text[ sk ] = "Ší~rka...";\ + Text[ da ] = "Bredde..";\ + Text[ sv ] = "~Bredd...";\ + Text[ pl ] = "~Szerokość...";\ + Text[ pt-BR ] = "~Largura...";\ + Text[ th ] = "ความ~กว้าง...";\ + Text[ ja ] = "幅(~W)...";\ + Text[ ko ] = "너비(~W)...";\ + Text[ zh-CN ] = "宽度(~W)...";\ + Text[ zh-TW ] = "寬度(~W)...";\ + Text[ tr ] = "~Genişlik...";\ + Text[ hi-IN ] = "~चौड़ाई...";\ + Text[ ar ] = "...العرض";\ + Text[ he ] = "רוחב...";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_ADJUST_CELLS ; \ + HelpID = FN_TABLE_ADJUST_CELLS ; \ + Text [ de ] = "~Optimale Breite " ; \ + Text [ en-US ] = "~Optimal Width " ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Optimizar largura ";\ + Text[ ru ] = "Оптимальная ширина ";\ + Text[ el ] = "Βέλτιστ~ο πλάτος ";\ + Text[ nl ] = "~Optimale breedte";\ + Text[ fr ] = "Largeur ~optimale ";\ + Text[ es ] = "A~ncho óptimo ";\ + Text[ fi ] = "~Optimaalinen leveys ";\ + Text[ ca ] = "A~mplada òptima ";\ + Text[ it ] = "Larghezza ot~timale ";\ + Text[ sk ] = "~Optimálna šírka...";\ + Text[ da ] = "Optimal bredde ";\ + Text[ sv ] = "~Optimal bredd ";\ + Text[ pl ] = "~Szerokość optymalna";\ + Text[ pt-BR ] = "Largura ótima";\ + Text[ th ] = "ความกว้างที่เ~หมาะที่สุด ";\ + Text[ ja ] = "最適な幅(~O)";\ + Text[ ko ] = "최적 너비(~O)";\ + Text[ zh-CN ] = "最佳宽度(~O)";\ + Text[ zh-TW ] = "最適寬度(~O)";\ + Text[ tr ] = "~En uygun genişlik ";\ + Text[ hi-IN ] = "~योग्य चौड़ाई ";\ + Text[ ar ] = "العرض الأمثل ";\ + Text[ he ] = "~Optimale Breite";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_BALANCE_CELLS ; \ + HelpID = FN_TABLE_BALANCE_CELLS ; \ + /* ### ACHTUNG: Neuer Text in Resource? Gleichmig ~verteilen : Gleichmig ~verteilen */\ + Text [ de ] = "Gleichmig ~verteilen" ; \ + Text [ en-US ] = "Space ~Equally" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Espaços ~iguais";\ + Text[ ru ] = "Распределить равномерно";\ + Text[ el ] = "Ισομερή κατα~νομή";\ + Text[ nl ] = "~Gelijkmatig verdelen";\ + Text[ fr ] = "E~space équilibré";\ + Text[ es ] = "~Ajustar uniformemente";\ + Text[ fi ] = "~Tasaiset välit";\ + Text[ ca ] = "~Ajusta uniformement";\ + Text[ it ] = "~Distribuisci le colonne con regolarità";\ + Text[ sk ] = "Rovnom~erne rozložiť";\ + Text[ da ] = "Fordel jævnt";\ + Text[ sv ] = "Fördela ~jämnt";\ + Text[ pl ] = "Rozłóż równomi~ernie";\ + Text[ pt-BR ] = "~Afastar igualmente";\ + Text[ th ] = "ระยะห่างเ~ท่ากัน";\ + Text[ ja ] = "均等分割(~E)";\ + Text[ ko ] = "균등하게 분할(~E)";\ + Text[ zh-CN ] = "间隔相同(~E)";\ + Text[ zh-TW ] = "間隔相等(~E)";\ + Text[ tr ] = "Eşit ~dağılım";\ + Text[ hi-IN ] = "~समान अंतर दो";\ + Text[ ar ] = "توزيع بالتساوي";\ + Text[ he ] = "Gleichmäßig ~verteilen";\ + };\ + SEPARATOR ; \ + MenuItem\ + {\ + Identifier = FN_TABLE_SELECT_COL ; \ + HelpID = FN_TABLE_SELECT_COL ; \ + /* ### ACHTUNG: Neuer Text in Resource? Ausw~hlen : Auswhlen */\ + /* ### ACHTUNG: Neuer Text in Resource? Ausw~hlen : Ausw~hlen */\ + Text [ de ] = "Aus~whlen" ; \ + Text [ en-US ] = "~Select" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Seleccionar";\ + Text[ ru ] = "Выделить";\ + Text[ el ] = "Επιλο~γή";\ + Text[ nl ] = "~Selecteren";\ + Text[ fr ] = "Sélectio~nner";\ + Text[ es ] = "~Seleccionar";\ + Text[ fi ] = "~Valitse";\ + Text[ ca ] = "~Selecciona";\ + Text[ it ] = "Seleziona";\ + Text[ sk ] = "~Vybrať";\ + Text[ da ] = "Marker";\ + Text[ sv ] = "~Markera";\ + Text[ pl ] = "~Zaznacz";\ + Text[ pt-BR ] = "~Selecionar";\ + Text[ th ] = "เ~ลือก";\ + Text[ ja ] = "選択(~S)";\ + Text[ ko ] = "선택(~S)";\ + Text[ zh-CN ] = "选择(~S)";\ + Text[ zh-TW ] = "選擇(~S)";\ + Text[ tr ] = "~Seç";\ + Text[ hi-IN ] = "~चुनो";\ + Text[ ar ] = "تحديد";\ + Text[ he ] = "בחירה";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_INSERT_COL_DLG ; \ + HelpID = FN_TABLE_INSERT_COL_DLG ; \ + /* ### ACHTUNG: Neuer Text in Resource? ~Einfgen... : ~Einfgen... */\ + Text [ de ] = "~Einfgen..." ; \ + Text [ en-US ] = "~Insert..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "I~nserir...";\ + Text[ ru ] = "Вставить...";\ + Text[ el ] = "~Εισαγωγή...";\ + Text[ nl ] = "~Invoegen...";\ + Text[ fr ] = "~Insérer...";\ + Text[ es ] = "~Insertar...";\ + Text[ fi ] = "~Lisää...";\ + Text[ ca ] = "~Insereix...";\ + Text[ it ] = "~Inserisci...";\ + Text[ sk ] = "~Vložiť...";\ + Text[ da ] = "~Indsæt...";\ + Text[ sv ] = "~Infoga...";\ + Text[ pl ] = "W~staw...";\ + Text[ pt-BR ] = "~Inserir...";\ + Text[ th ] = "แ~ทรก...";\ + Text[ ja ] = "挿入(~I)...";\ + Text[ ko ] = "삽입(~I)...";\ + Text[ zh-CN ] = "插入(~I)...";\ + Text[ zh-TW ] = "插入(~I)...";\ + Text[ tr ] = "~Ekle...";\ + Text[ hi-IN ] = "~जोड़ो...";\ + Text[ ar ] = "...إدراج";\ + Text[ he ] = "~Einfügen...";\ + };\ + MenuItem\ + {\ + Identifier = FN_TABLE_DELETE_COL ; \ + HelpID = FN_TABLE_DELETE_COL ; \ + /* ### ACHTUNG: Neuer Text in Resource? ~Lschen : ~Lschen */\ + Text [ de ] = "~Lschen" ; \ + Text [ en-US ] = "~Delete" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "E~liminar";\ + Text[ ru ] = "Удалить";\ + Text[ el ] = "Διαγρα~φή";\ + Text[ nl ] = "~Wissen";\ + Text[ fr ] = "~Supprimer";\ + Text[ es ] = "~Borrar";\ + Text[ fi ] = "~Poista";\ + Text[ ca ] = "~Elimina";\ + Text[ it ] = "~Elimina";\ + Text[ sk ] = "Z~mazať";\ + Text[ da ] = "~Slet";\ + Text[ sv ] = "~Radera";\ + Text[ pl ] = "~Usuń";\ + Text[ pt-BR ] = "E~xcluir";\ + Text[ th ] = "~ลบ";\ + Text[ ja ] = "削除(~D)";\ + Text[ ko ] = "삭제(~D)";\ + Text[ zh-CN ] = "删除(~D)";\ + Text[ zh-TW ] = "刪除(~D)";\ + Text[ tr ] = "~Sil";\ + Text[ hi-IN ] = "~मिटाओ";\ + Text[ ar ] = "حذف";\ + Text[ he ] = "מחיקה";\ + };\ + };\ +};\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Coluna";\ + Text[ ru ] = "Столбец";\ + Text[ el ] = "Σ~τήλη";\ + Text[ nl ] = "~Kolom";\ + Text[ fr ] = "~Colonne";\ + Text[ es ] = "~Columna";\ + Text[ fi ] = "~Sarake";\ + Text[ ca ] = "~Columna";\ + Text[ it ] = "Co~lonna";\ + Text[ sk ] = "S~tĺpec";\ + Text[ da ] = "Kolonne";\ + Text[ sv ] = "~Kolumn";\ + Text[ pl ] = "Kolu~mna";\ + Text[ pt-BR ] = "~Coluna";\ + Text[ th ] = "คอลัม~น์";\ + Text[ ja ] = "列(~M)";\ + Text[ ko ] = "열(~M)";\ + Text[ zh-CN ] = "列(~M)";\ + Text[ zh-TW ] = "欄(~M)";\ + Text[ tr ] = "Sütun";\ + Text[ hi-IN ] = "स्तं~भ";\ + Text[ ar ] = "عمود";\ + Text[ he ] = "S~palte";\ + }; + + +#define MN_TXT\ + MenuItem\ + {\ + ITEM_FORMAT_CHAR_DLG\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_PARA_DLG\ + };\ + MenuItem\ + {\ + Identifier = FN_FORMAT_PAGE_DLG ; \ + HelpID = FN_FORMAT_PAGE_DLG ; \ + Text [ de ] = "~Seite..." ; \ + Text [ en-US ] = "Pa~ge..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Pá~gina...";\ + Text[ ru ] = "Страни~ца...";\ + Text[ el ] = "~Σελίδα...";\ + Text[ nl ] = "~Pagina...";\ + Text[ fr ] = "~Page...";\ + Text[ es ] = "~Página...";\ + Text[ fi ] = "S~ivu...";\ + Text[ ca ] = "~Pàgina...";\ + Text[ it ] = "Pa~gina...";\ + Text[ sk ] = "~Stránka...";\ + Text[ da ] = "~Side...";\ + Text[ sv ] = "~Sida...";\ + Text[ pl ] = "~Strona...";\ + Text[ pt-BR ] = "Pá~gina...";\ + Text[ th ] = "ห~น้า...";\ + Text[ ja ] = "ページ(~G)...";\ + Text[ ko ] = "페이지(~G)...";\ + Text[ zh-CN ] = "页(~G)...";\ + Text[ zh-TW ] = "頁(~G)...";\ + Text[ tr ] = "~Sayfa...";\ + Text[ hi-IN ] = "पृ~ष्ठ...";\ + Text[ ar ] = "...صفحة~";\ + Text[ he ] = "~Seite...";\ + }; + +#define MN_DRWTXT \ + MenuItem\ + {\ + ITEM_FORMAT_CHAR_DLG\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_PARA_DLG\ + };\ + +#define MN_NAME_GROUP \ + MenuItem\ + {\ + Identifier = FN_NAME_GROUP ; \ + HelpID = FN_NAME_GROUP ; \ + Text [ de ] = "Obje~kt benennen..." ; \ + Text [ en-US ] = "~Name Object..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Nomear objecto...";\ + Text[ ru ] = "Присвоить имя объекту...";\ + Text[ el ] = "Ονομασία αντι~κειμένου...";\ + Text[ nl ] = "~Object een naam geven...";\ + Text[ fr ] = "Nommer l'ob~jet...";\ + Text[ es ] = "~Nombrar objeto...";\ + Text[ fi ] = "~Nimeä objekti";\ + Text[ ca ] = "~Anomena l'objecte...";\ + Text[ it ] = "~Denomina oggetto...";\ + Text[ sk ] = "~Názov objektu...";\ + Text[ da ] = "~Navngiv objekt...";\ + Text[ sv ] = "Namnge obje~kt...";\ + Text[ pl ] = "Nazwij obiekt...";\ + Text[ pt-BR ] = "Nomear objeto";\ + Text[ th ] = "~ชื่อวัตถุ...";\ + Text[ ja ] = "オブジェクトに名前を付ける(~N)...";\ + Text[ ko ] = "개체 이름 지정(~N)...";\ + Text[ zh-CN ] = "命名对象(~N)...";\ + Text[ zh-TW ] = "命名物件(~N)...";\ + Text[ tr ] = "~Nesneyi Adlandır...";\ + Text[ hi-IN ] = "~Name Object...";\ + Text[ ar ] = "...تسمية الكائن";\ + Text[ he ] = "Obje~kt benennen...";\ + }; + +#define MN_FONTWORK \ + MenuItem\ + {\ + ITEM_FORMAT_FONTWORK\ + }; + + +#define MN_DRWTXTATTR \ + MenuItem\ + {\ + Identifier = FN_DRAWTEXT_ATTR_DLG ; \ + HelpID = FN_DRAWTEXT_ATTR_DLG ; \ + Text [ de ] = "~Text..." ; \ + Text [ en-US ] = "Te~xt..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Texto...";\ + Text[ ru ] = "~Текст...";\ + Text[ el ] = "~Κείμενο...";\ + Text[ nl ] = "~Tekst...";\ + Text[ fr ] = "~Texte...";\ + Text[ es ] = "~Texto...";\ + Text[ fi ] = "Teks~ti...";\ + Text[ ca ] = "~Text...";\ + Text[ it ] = "~Testo...";\ + Text[ sk ] = "Te~xt...";\ + Text[ da ] = "~Tekst...";\ + Text[ sv ] = "~Text...";\ + Text[ pl ] = "Te~kst...";\ + Text[ pt-BR ] = "~Texto...";\ + Text[ th ] = "ข้อ~ความ...";\ + Text[ ja ] = "テキスト(~X)...";\ + Text[ ko ] = "텍스트(~X)...";\ + Text[ zh-CN ] = "文字(~X)...";\ + Text[ zh-TW ] = "文字(~X)...";\ + Text[ tr ] = "~Metin...";\ + Text[ hi-IN ] = "~टेक्स्ट्...";\ + Text[ ar ] = "~نص...";\ + Text[ he ] = "~Text...";\ + }; + + +#define MN_PASTE \ + MenuItem\ + {\ + ITEM_EDIT_CUT\ + };\ + MenuItem\ + {\ + ITEM_EDIT_COPY\ + }; + + +#define MN_CUT \ + MenuItem\ + {\ + ITEM_EDIT_DELETE\ + }; + + +#define MN_RESET\ + MenuItem\ + {\ + Text [ de ] = "Standar~d" ; \ + Identifier = FN_FORMAT_RESET ; \ + HelpID = FN_FORMAT_RESET ; \ + Text [ en-US ] = "~Default" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Padrão";\ + Text[ ru ] = "~По умолчанию";\ + Text[ el ] = "~Προεπιλογή";\ + Text[ nl ] = "Standaar~d";\ + Text[ fr ] = "Par ~défaut";\ + Text[ es ] = "Predeterminad~o";\ + Text[ fi ] = "Pa~lauta oletustyyli";\ + Text[ ca ] = "Per ~defecte";\ + Text[ it ] = "Standar~d";\ + Text[ sk ] = "Výcho~dzie";\ + Text[ da ] = "Standar~d";\ + Text[ sv ] = "Standar~d";\ + Text[ pl ] = "~Domyślnie";\ + Text[ pt-BR ] = "~Padrão";\ + Text[ th ] = "~ค่าเริ่มต้น";\ + Text[ ja ] = "標準(~D)";\ + Text[ ko ] = "기본값(~D)";\ + Text[ zh-CN ] = "标准(~D)";\ + Text[ zh-TW ] = "標準(~D)";\ + Text[ tr ] = "~Ön değer";\ + Text[ hi-IN ] = "~अनुपस्थिति";\ + Text[ ar ] = "قياسي~";\ + Text[ he ] = "ברירת מחדל";\ + }; + + +#define MN_TEXT_ATTR\ + MenuItem\ + {\ + ITEM_FORMAT_ATTR_CHAR_FONT\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT\ + };\ + MenuItem\ + {\ + Identifier = MN_FORMAT_STYLE ; \ + HelpID = MN_FORMAT_STYLE ; \ + Text [ de ] = "Sti~l" ; \ + Text [ en-US ] = "St~yle" ; \ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + ITEM_FORMAT_ATTR_CHAR_WEIGHT\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_ATTR_CHAR_POSTURE\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_ATTR_CHAR_UNDERLINE\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_ATTR_CHAR_STRIKEOUT\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_ATTR_CHAR_SHADOWED\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_ATTR_CHAR_CONTOUR\ + };\ + SEPARATOR ; \ + MenuItem\ + {\ + Identifier = FN_SET_SUPER_SCRIPT ; \ + HelpID = FN_SET_SUPER_SCRIPT ; \ + Text [ de ] = "~Hochstellen" ; \ + Text [ en-US ] = "Superscript" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Superior à linha";\ + Text[ ru ] = "Верхний индекс";\ + Text[ el ] = "Εκθέτ~ης";\ + Text[ nl ] = "Su~perscript";\ + Text[ fr ] = "~Exposant";\ + Text[ es ] = "~Superíndice";\ + Text[ fi ] = "Yläindeksi";\ + Text[ ca ] = "Su~períndex";\ + Text[ it ] = "~Apice";\ + Text[ sk ] = "Horný index";\ + Text[ da ] = "Hævet skrift";\ + Text[ sv ] = "~Upphöjt";\ + Text[ pl ] = "Indeks górny";\ + Text[ pt-BR ] = "Sobrescrito";\ + Text[ th ] = "ตัวยก";\ + Text[ ja ] = "上付き";\ + Text[ ko ] = "위 첨자";\ + Text[ zh-CN ] = "上标";\ + Text[ zh-TW ] = "上標";\ + Text[ tr ] = "Üst simge";\ + Text[ hi-IN ] = "सूपरस्क्रिप्ट्";\ + Text[ ar ] = "مرتفع";\ + Text[ he ] = "~Hochstellen";\ + };\ + MenuItem\ + {\ + Identifier = FN_SET_SUB_SCRIPT ; \ + HelpID = FN_SET_SUB_SCRIPT ; \ + Text [ de ] = "~Tiefstellen" ; \ + Text [ en-US ] = "Subscript" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Inferior à linha";\ + Text[ ru ] = "Нижний индекс";\ + Text[ el ] = "Δείκ~της";\ + Text[ nl ] = "Su~bscript";\ + Text[ fr ] = "~Indice";\ + Text[ es ] = "~Subíndice";\ + Text[ fi ] = "Alaindeksi";\ + Text[ ca ] = "~Subíndex";\ + Text[ it ] = "Pe~dice";\ + Text[ sk ] = "Dolný index";\ + Text[ da ] = "Sænket skrift";\ + Text[ sv ] = "~Nedsänkt";\ + Text[ pl ] = "Indeks dolny";\ + Text[ pt-BR ] = "Subscrito";\ + Text[ th ] = "ตัวห้อย";\ + Text[ ja ] = "下付き";\ + Text[ ko ] = "아래 첨자";\ + Text[ zh-CN ] = "下标";\ + Text[ zh-TW ] = "下標";\ + Text[ tr ] = "Alt simge";\ + Text[ hi-IN ] = "सबस्क्रिप्ट्";\ + Text[ ar ] = "منخفض";\ + Text[ he ] = "~Tiefstellen";\ + };\ + };\ + };\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "E~stilo";\ + Text[ ru ] = "Стиль";\ + Text[ el ] = "Στυ~λ";\ + Text[ nl ] = "~Stijl";\ + Text[ fr ] = "St~yle";\ + Text[ es ] = "Es~tilo";\ + Text[ fi ] = "T~yyli";\ + Text[ ca ] = "Es~til";\ + Text[ it ] = "Stile";\ + Text[ sk ] = "Š~týl";\ + Text[ da ] = "Typografi";\ + Text[ sv ] = "Sti~l";\ + Text[ pl ] = "St~yl";\ + Text[ pt-BR ] = "Es~tilo";\ + Text[ th ] = "ลัก~ษณะ";\ + Text[ ja ] = "スタイル(~Y)";\ + Text[ ko ] = "스타일(~Y)";\ + Text[ zh-CN ] = "式样(~Y)";\ + Text[ zh-TW ] = "樣式(~Y)";\ + Text[ tr ] = "Biçim";\ + Text[ hi-IN ] = "शै~ली";\ + Text[ ar ] = "نمط";\ + Text[ he ] = "Sti~l";\ + };\ + MenuItem\ + {\ + Identifier = MN_FORMAT_ALGN ; \ + HelpID = MN_FORMAT_ALGN ; \ + /* ### ACHTUNG: Neuer Text in Resource? Aus~richtung : Ausrichtung */\ + /* ### ACHTUNG: Neuer Text in Resource? Aus~richtung : Ausrichtung */\ + Text [ de ] = "Aus~richtung" ; \ + Text [ en-US ] = "A~lignment" ; \ + RadioCheck = TRUE ; \ + /* ### ACHTUNG: Neuer Text in Resource? Objektausrichtung auswhlen : Objektausrichtung auswhlen */\ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER\ + };\ + MenuItem\ + {\ + Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \ + HelpID = SID_ATTR_PARA_ADJUST_BLOCK ; \ + RadioCheck = TRUE ; \ + Text [ de ] = "~Blocksatz" ; \ + Text [ en-US ] = "Justified" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Justificado";\ + Text[ ru ] = "Выравнивание по ширине";\ + Text[ el ] = "~Πλήρης στοίχιση";\ + Text[ nl ] = "~Uitgevuld";\ + Text[ fr ] = "~Justifié";\ + Text[ es ] = "~Justificado";\ + Text[ fi ] = "Tasattu";\ + Text[ ca ] = "~Justificat";\ + Text[ it ] = "~Giustificato";\ + Text[ sk ] = "Do bloku";\ + Text[ da ] = "Lige margener";\ + Text[ sv ] = "Marginaljusterad";\ + Text[ pl ] = "Do lewej i prawej";\ + Text[ pt-BR ] = "Justificado";\ + Text[ th ] = "ชิดขอบ";\ + Text[ ja ] = "両端揃え";\ + Text[ ko ] = "양쪽 맞춤";\ + Text[ zh-CN ] = "左右对齐";\ + Text[ zh-TW ] = "左右對齊";\ + Text[ tr ] = "İki yana yasla";\ + Text[ hi-IN ] = "व्यवस्था किया हुआ";\ + Text[ ar ] = "ضبط";\ + Text[ he ] = "~Blocksatz";\ + };\ + };\ + };\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "A~linhamento";\ + Text[ ru ] = "~Выравнивание";\ + Text[ el ] = "Σ~τοίχιση";\ + Text[ nl ] = "~Uitlijning";\ + Text[ fr ] = "Al~ignement";\ + Text[ es ] = "A~lineación";\ + Text[ fi ] = "T~asaus";\ + Text[ ca ] = "A~lineació";\ + Text[ it ] = "Allin~eamento";\ + Text[ sk ] = "Za~rovnanie";\ + Text[ da ] = "~Justering";\ + Text[ sv ] = "Juste~ring";\ + Text[ pl ] = "~Wyrównanie";\ + Text[ pt-BR ] = "Ali~nhamento";\ + Text[ th ] = "จั~ดตำแหน่ง";\ + Text[ ja ] = "配置(~L)";\ + Text[ ko ] = "맞춤(~L)";\ + Text[ zh-CN ] = "对齐(~L)";\ + Text[ zh-TW ] = "對齊(~L)";\ + Text[ tr ] = "~Hizalama";\ + Text[ hi-IN ] = "~पंक्तिकरण";\ + Text[ ar ] = "~محاذاة";\ + Text[ he ] = "Aus~richtung";\ + };\ + MenuItem\ + {\ + Identifier = MN_FORMAT_LINESPACE ; \ + HelpID = MN_FORMAT_LINESPACE ; \ + Text [ de ] = "Zeilenabs~tand" ; \ + Text [ en-US ] = "Line Spacing" ; \ + _MenuItemFlags = MIB_RADIOCHECK ; \ + /* ### ACHTUNG: Neuer Text in Resource? Zeilenabstand auswhlen : Zeilenabstand auswhlen */\ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + ITEM_FORMAT_PARA_LINESPACE_10\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + ITEM_FORMAT_PARA_LINESPACE_15\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + ITEM_FORMAT_PARA_LINESPACE_20\ + };\ + };\ + };\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Entrelinhas";\ + Text[ ru ] = "Шаг строк";\ + Text[ el ] = "Διάσ~τιχο";\ + Text[ nl ] = "~Regelafstand";\ + Text[ fr ] = "Inter~ligne";\ + Text[ es ] = "Inter~lineado";\ + Text[ fi ] = "Riviväli";\ + Text[ ca ] = "Inter~lineat";\ + Text[ it ] = "Interlinea";\ + Text[ sk ] = "Riadkovanie";\ + Text[ da ] = "Linjeafstand";\ + Text[ sv ] = "Radavstånd";\ + Text[ pl ] = "Interlinia";\ + Text[ pt-BR ] = "Entrelinhas";\ + Text[ th ] = "ระยะห่างบรรทัด";\ + Text[ ja ] = "行間";\ + Text[ ko ] = "줄 간격";\ + Text[ zh-CN ] = "行距";\ + Text[ zh-TW ] = "行距";\ + Text[ tr ] = "Satır aralığı";\ + Text[ hi-IN ] = "रेखा अंतर देना";\ + Text[ ar ] = "تباعد الأسطر";\ + Text[ he ] = "ריווח שורה";\ + }; + + // Rahmen, Grafik, OLE, +#define MN_TOP \ + MenuItem\ + {\ + ITEM_FORMAT_FRAME_TO_TOP\ + };\ + + + + + + + + + +#define MN_BOTTOM \ + MenuItem\ + {\ + ITEM_FORMAT_FRAME_TO_BOTTOM\ + };\ + + + + + + + + + +#define MN_ANCHOR \ + MenuItem\ + {\ + Identifier = FN_TOOL_ANKER ; \ + HelpID = FN_TOOL_ANKER ; \ + Text [ de ] = "~Verankerung" ; \ + Text [ en-US ] = "An~chor" ; \ + /* ### ACHTUNG: Neuer Text in Resource? Objektverankerung auswhlen : Objektverankerung auswhlen */\ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + Identifier = FN_TOOL_ANKER_PAGE ; \ + HelpID = FN_TOOL_ANKER_PAGE ; \ + /* ### ACHTUNG: Neuer Text in Resource? An der ~Seite : An der Seite */\ + Text [ de ] = "An der ~Seite" ; \ + Text [ en-US ] = "To P~age" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Na ~página";\ + Text[ ru ] = "~К странице";\ + Text[ el ] = "~Στη σελίδα";\ + Text[ nl ] = "Aan ~pagina";\ + Text[ fr ] = "À la ~page";\ + Text[ es ] = "A la ~página";\ + Text[ fi ] = "Sivul~le";\ + Text[ ca ] = "A la ~pàgina";\ + Text[ it ] = "Alla ~pagina";\ + Text[ sk ] = "K ~stránke";\ + Text[ da ] = "Til ~siden";\ + Text[ sv ] = "Vid ~sidan";\ + Text[ pl ] = "Do s~trony";\ + Text[ pt-BR ] = "Na Págin~a";\ + Text[ th ] = "ไปที่ห~น้า";\ + Text[ ja ] = "ページに(~A)";\ + Text[ ko ] = "페이지에(~A)";\ + Text[ zh-CN ] = "在页面上(~A)";\ + Text[ zh-TW ] = "在頁面上(~A)";\ + Text[ tr ] = "~Sayfaya";\ + Text[ hi-IN ] = "~पृष्ठ में";\ + Text[ ar ] = "على ال~صفحة";\ + Text[ he ] = "An der ~Seite";\ + };\ + MenuItem\ + {\ + Identifier = FN_TOOL_ANKER_PARAGRAPH ; \ + HelpID = FN_TOOL_ANKER_PARAGRAPH ; \ + /* ### ACHTUNG: Neuer Text in Resource? Am ~Absatz : Am Absatz */\ + Text [ de ] = "Am ~Absatz" ; \ + Text [ en-US ] = "To ~Paragraph" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "No pará~grafo";\ + Text[ ru ] = "К абзацу";\ + Text[ el ] = "Στην π~αράγραφο";\ + Text[ nl ] = "Aan ~alinea";\ + Text[ fr ] = "Au ~paragraphe";\ + Text[ es ] = "Al pá~rrafo";\ + Text[ fi ] = "~Kappaleeseen";\ + Text[ ca ] = "Al pa~ràgraf";\ + Text[ it ] = "Al pa~ragrafo";\ + Text[ sk ] = "K o~dstavcu";\ + Text[ da ] = "Til ~afsnit";\ + Text[ sv ] = "Vid st~ycke";\ + Text[ pl ] = "Do ~akapitu";\ + Text[ pt-BR ] = "No ~Parágrafo";\ + Text[ th ] = "ไปที่~ย่อหน้า";\ + Text[ ja ] = "段落に(~P)";\ + Text[ ko ] = "단락에(~P)";\ + Text[ zh-CN ] = "在段落上(~P)";\ + Text[ zh-TW ] = "在段落上(~P)";\ + Text[ tr ] = "Paragrafa";\ + Text[ hi-IN ] = "प~रिच्छेद में";\ + Text[ ar ] = "على الفقرة";\ + Text[ he ] = "Am ~Absatz";\ + };\ + MenuItem\ + {\ + Identifier = FN_TOOL_ANKER_AT_CHAR ; \ + HelpID = FN_TOOL_ANKER_AT_CHAR ; \ + /* ### ACHTUNG: Neuer Text in Resource? Am ~Zeichen : Am Zeichen */\ + Text [ de ] = "Am ~Zeichen" ; \ + Text [ en-US ] = "To ~Character" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "No ~carácter";\ + Text[ ru ] = "К символу";\ + Text[ el ] = "Στον ~χαρακτήρα";\ + Text[ nl ] = "Aan ~teken";\ + Text[ fr ] = "Au ~caractère";\ + Text[ es ] = "Al ~carácter";\ + Text[ fi ] = "~Merkkiin";\ + Text[ ca ] = "Al ~caràcter";\ + Text[ it ] = "~Al carattere";\ + Text[ sk ] = "K ~znaku";\ + Text[ da ] = "Til tegn";\ + Text[ sv ] = "Vid ~tecken";\ + Text[ pl ] = "Do zna~ku";\ + Text[ pt-BR ] = "No ~Caracter";\ + Text[ th ] = "ไปที่ตัวอัก~ขระ";\ + Text[ ja ] = "文字に(~C)";\ + Text[ ko ] = "문자에(~C)";\ + Text[ zh-CN ] = "在字符上(~C)";\ + Text[ zh-TW ] = "在字元上(~C)";\ + Text[ tr ] = "Karaktere";\ + Text[ hi-IN ] = "~अक्षर में";\ + Text[ ar ] = "على الحرف";\ + Text[ he ] = "Am ~Zeichen";\ + };\ + MenuItem\ + {\ + Identifier = FN_TOOL_ANKER_CHAR ; \ + HelpID = FN_TOOL_ANKER_CHAR ; \ + /* ### ACHTUNG: Neuer Text in Resource? Am ~Zeichen : Am Zeichen */\ + Text [ de ] = "Als Z~eichen" ; \ + Text [ en-US ] = "As C~haracter" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Como ~carácter";\ + Text[ ru ] = "Как символ";\ + Text[ el ] = "Ως ~χαρακτήρας";\ + Text[ nl ] = "Als ~teken";\ + Text[ fr ] = "Comme ~caractère";\ + Text[ es ] = "Como ~carácter";\ + Text[ fi ] = "~Merkkinä";\ + Text[ ca ] = "Com a ~caràcter";\ + Text[ it ] = "~Come carattere";\ + Text[ sk ] = "Ako ~znak";\ + Text[ da ] = "Som t~egn";\ + Text[ sv ] = "Som t~ecken";\ + Text[ pl ] = "Jako z~nak";\ + Text[ pt-BR ] = "Como C~aracter";\ + Text[ th ] = "เป็นตัวอักข~ระ";\ + Text[ ja ] = "文字として(~H)";\ + Text[ ko ] = "글자처럼 취급(~H)";\ + Text[ zh-CN ] = "当作字符(~H)";\ + Text[ zh-TW ] = "當作字元(~H)";\ + Text[ tr ] = "Karakter olarak";\ + Text[ hi-IN ] = "अ~क्षर जैसे";\ + Text[ ar ] = "كحرف";\ + Text[ he ] = "Als Z~eichen";\ + };\ + MN_AT_FRAME\ + };\ + };\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Âncora";\ + Text[ ru ] = "~Привязка";\ + Text[ el ] = "Αγκύρ~ωση";\ + Text[ nl ] = "~Verankering";\ + Text[ fr ] = "~Ancrage";\ + Text[ es ] = "~Ancla";\ + Text[ fi ] = "Ank~kuri";\ + Text[ ca ] = "~Ancoratge";\ + Text[ it ] = "~Ancoraggio";\ + Text[ sk ] = "U~kotviť";\ + Text[ da ] = "~Forankring";\ + Text[ sv ] = "~Förankring";\ + Text[ pl ] = "Z~akotwiczenie";\ + Text[ pt-BR ] = "Ân~cora";\ + Text[ th ] = "สม~อ";\ + Text[ ja ] = "アンカー(~C)";\ + Text[ ko ] = "기준 위치(~C)";\ + Text[ zh-CN ] = "锁定(~C)";\ + Text[ zh-TW ] = "鎖定(~C)";\ + Text[ tr ] = "~Sabitleme";\ + Text[ hi-IN ] = "~ऐन्कर";\ + Text[ ar ] = "إرساء~";\ + Text[ he ] = "~Verankerung";\ + }; + + +#define MN_ONE_STEP \ + MenuItem\ + {\ + Identifier = FN_FRAME_UP ; \ + HelpID = FN_FRAME_UP ; \ + Text [ de ] = "W~eiter nach vorn" ; \ + Text [ en-US ] = "Bring ~Forward" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Mais para a ~frente";\ + Text[ ru ] = "Переместить ~вперед";\ + Text[ el ] = "Μ~εταφορά προς τα εμπρός";\ + Text[ nl ] = "Ve~rder naar voren";\ + Text[ fr ] = "V~ers l'avant";\ + Text[ es ] = "Traer a~delante";\ + Text[ fi ] = "Siirrä ~eteenpäin";\ + Text[ ca ] = "Més en~davant";\ + Text[ it ] = "Porta più ~avanti";\ + Text[ sk ] = "Preniesť do pop~redia";\ + Text[ da ] = "F~lyt fremad";\ + Text[ sv ] = "Längr~e fram";\ + Text[ pl ] = "P~rzesuń do przodu";\ + Text[ pt-BR ] = "A~vançar";\ + Text[ th ] = "นำไปข้าง~หน้า";\ + Text[ ja ] = "前面へ移動(~F)";\ + Text[ ko ] = "앞으로 이동(~F)";\ + Text[ zh-CN ] = "上移一层(~F)";\ + Text[ zh-TW ] = "上移一層(~F)";\ + Text[ tr ] = "~Öne getir";\ + Text[ hi-IN ] = "~सामने की ओर लाओ";\ + Text[ ar ] = "إحضار أ~ماماً";\ + Text[ he ] = "W~eiter nach vorn";\ + };\ + MenuItem\ + {\ + Identifier = FN_FRAME_DOWN ; \ + HelpID = FN_FRAME_DOWN ; \ + Text [ de ] = "Weiter ~nach hinten" ; \ + Text [ en-US ] = "Send Back~ward" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Para ~trás";\ + Text[ ru ] = "Переместить ~назад";\ + Text[ el ] = "~Μεταφορά πίσω";\ + Text[ nl ] = "Verder ~naar achteren";\ + Text[ fr ] = "~Vers l'arrière";\ + Text[ es ] = "Enviar a~trás";\ + Text[ fi ] = "Siirrä taakse~päin";\ + Text[ ca ] = "Envia cap en~rrere";\ + Text[ it ] = "Porta più ~indietro";\ + Text[ sk ] = "Posunúť do po~zadia";\ + Text[ da ] = "Flyt bag~ud";\ + Text[ sv ] = "Längre ba~k";\ + Text[ pl ] = "Przesuń do ~tyłu";\ + Text[ pt-BR ] = "Rec~uar";\ + Text[ th ] = "ส่งไปข้างห~ลัง";\ + Text[ ja ] = "背面に移動(~W)";\ + Text[ ko ] = "뒤로 이동(~W)";\ + Text[ zh-CN ] = "下移一层(~W)";\ + Text[ zh-TW ] = "下移一層(~W)";\ + Text[ tr ] = "~arkaya gönder";\ + Text[ hi-IN ] = "पी~छे की ओर भेजो";\ + Text[ ar ] = "إرسال ~خلفاً";\ + Text[ he ] = "Weiter ~nach hinten";\ + }; + +#define MN_FRM \ + MenuItem\ + {\ + Identifier = FN_FORMAT_FRAME_DLG ; \ + HelpID = FN_FORMAT_FRAME_DLG ; \ + Text [ de ] = "Rah~men..." ; \ + Text [ en-US ] = "~Frame..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Moldura...";\ + Text[ ru ] = "~Врезка...";\ + Text[ el ] = "Πλαί~σιο...";\ + Text[ nl ] = "~Kader...";\ + Text[ fr ] = "Ca~dre...";\ + Text[ es ] = "~Marco...";\ + Text[ fi ] = "~Kehys...";\ + Text[ ca ] = "~Marc...";\ + Text[ it ] = "~Cornice...";\ + Text[ sk ] = "~Rámec...";\ + Text[ da ] = "Ramme";\ + Text[ sv ] = "Ram...";\ + Text[ pl ] = "~Ramka...";\ + Text[ pt-BR ] = "~Moldura...";\ + Text[ th ] = "~กรอบ...";\ + Text[ ja ] = "枠(~F)...";\ + Text[ ko ] = "프레임(~F)...";\ + Text[ zh-CN ] = "框(~F)...";\ + Text[ zh-TW ] = "文字方塊(~F)...";\ + Text[ tr ] = "~Çerçeve...";\ + Text[ hi-IN ] = "~फ्रेम ...";\ + Text[ ar ] = "...كادر";\ + Text[ he ] = "מסגרת...";\ + }; + + +#define MN_ALIGN \ + MenuItem\ + {\ + ITEM_FORMAT_OBJECT_ALIGN\ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + ITEM_FORMAT_OBJECT_ALIGN_LEFT\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_OBJECT_ALIGN_CENTER\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_OBJECT_ALIGN_RIGHT\ + };\ + SEPARATOR ; \ + MenuItem\ + {\ + ITEM_FORMAT_OBJECT_ALIGN_UP\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_OBJECT_ALIGN_MIDDLE\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_OBJECT_ALIGN_DOWN\ + };\ + };\ + };\ + }; + + +#define MN_DRAW1 \ + MenuItem\ + {\ + ITEM_FORMAT_ATTRIBUTES_LINE\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_ATTRIBUTES_AREA\ + }; + + +#define MN_DRAW4 \ + MenuItem\ + {\ + Identifier = SID_SHOW_BROWSER ; \ + HelpID = SID_SHOW_BROWSER ; \ + Text [ de ] = "~Eigenschaften..." ; \ + Text [ en-US ] = "Propert~ies..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Propriedades...";\ + Text[ ru ] = "~Свойства...";\ + Text[ el ] = "Ιδιότητ~ες...";\ + Text[ nl ] = "~Eigenschappen...";\ + Text[ fr ] = "~Propriétés...";\ + Text[ es ] = "Prop~iedades...";\ + Text[ fi ] = "Ominaisuu~det...";\ + Text[ ca ] = "Prop~ietats...";\ + Text[ it ] = "~Proprietà...";\ + Text[ sk ] = "Vlastnost~i";\ + Text[ da ] = "~Egenskaber...";\ + Text[ sv ] = "~Egenskaper...";\ + Text[ pl ] = "~Właściwości...";\ + Text[ pt-BR ] = "~Propriedades...";\ + Text[ th ] = "คุณสมบั~ติ...";\ + Text[ ja ] = "プロパティ(~I)...";\ + Text[ ko ] = "등록 정보(~I)...";\ + Text[ zh-CN ] = "属性(~I)...";\ + Text[ zh-TW ] = "屬性(~I)...";\ + Text[ tr ] = "Özellikler...";\ + Text[ hi-IN ] = "स्व~भाव...";\ + Text[ ar ] = "...خصائص";\ + Text[ he ] = "מאפינים...";\ + }; + + +#define MN_DRAW5 \ + MenuItem\ + {\ + Identifier = MN_SUB_ARRANGE ; \ + HelpID = HID_MN_SUB_ARRANGE ; \ + Text [ de ] = "~Anordnung" ; \ + Text [ en-US ] = "~Arrange" ; \ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MN_TOP\ + MN_ONE_STEP\ + MN_BOTTOM\ + SEPARATOR ; \ + MenuItem\ + {\ + ITEM_FORMAT_OBJECT_HEAVEN\ + };\ + MenuItem\ + {\ + ITEM_FORMAT_OBJECT_HELL\ + };\ + };\ + };\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Disposição";\ + Text[ ru ] = "~Расположить";\ + Text[ el ] = "Τ~ακτοποίηση";\ + Text[ nl ] = "~Positie";\ + Text[ fr ] = "~Disposition";\ + Text[ es ] = "~Disposición";\ + Text[ fi ] = "~Järjestä";\ + Text[ ca ] = "~Posició";\ + Text[ it ] = "~Disponi";\ + Text[ sk ] = "~Usporiadať";\ + Text[ da ] = "Pl~acering";\ + Text[ sv ] = "~Placering";\ + Text[ pl ] = "Roz~mieść";\ + Text[ pt-BR ] = "~Organizar";\ + Text[ th ] = "~จัดเรียง";\ + Text[ ja ] = "整列(~A)";\ + Text[ ko ] = "배치(~A)";\ + Text[ zh-CN ] = "排序(~A)";\ + Text[ zh-TW ] = "排序(~A)";\ + Text[ tr ] = "~Düzenle";\ + Text[ hi-IN ] = "~क्रम में रखो";\ + Text[ ar ] = "~ترتيب";\ + Text[ he ] = "סידור";\ + };\ + MN_ALIGN\ + + +#define MN_DRAW6 \ + MenuItem\ + {\ + Identifier = MN_SUB_ARRANGE ; \ + HelpID = HID_MN_SUB_ARRANGE ; \ + Text [ de ] = "~Anordnung" ; \ + Text [ en-US ] = "~Arrange" ; \ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MN_TOP\ + MN_ONE_STEP\ + MN_BOTTOM\ + };\ + };\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Disposição";\ + Text[ ru ] = "~Расположить";\ + Text[ el ] = "Τ~ακτοποίηση";\ + Text[ nl ] = "~Positie";\ + Text[ fr ] = "~Disposition";\ + Text[ es ] = "~Disposición";\ + Text[ fi ] = "~Järjestä";\ + Text[ ca ] = "~Posició";\ + Text[ it ] = "~Disponi";\ + Text[ sk ] = "~Usporiadať";\ + Text[ da ] = "Pl~acering";\ + Text[ sv ] = "~Placering";\ + Text[ pl ] = "Roz~mieść";\ + Text[ pt-BR ] = "~Organizar";\ + Text[ th ] = "~จัดเรียง";\ + Text[ ja ] = "整列(~A)";\ + Text[ ko ] = "배치(~A)";\ + Text[ zh-CN ] = "排序(~A)";\ + Text[ zh-TW ] = "排序(~A)";\ + Text[ tr ] = "~Düzenle";\ + Text[ hi-IN ] = "~क्रम में रखो";\ + Text[ ar ] = "~ترتيب";\ + Text[ he ] = "סידור";\ + };\ + MN_ALIGN\ + +#define MN_DRAW2 \ + MenuItem\ + {\ + Identifier = MN_SUB_MIRROR ; \ + HelpID = HID_MN_SUB_MIRROR ; \ + Text [ de ] = "Sp~iegeln" ; \ + Text [ en-US ] = "~Flip" ; \ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + Identifier = FN_FLIP_HORZ_GRAFIC ; \ + HelpID = FN_FLIP_HORZ_GRAFIC ; \ + Text [ de ] = "~Vertikal" ; \ + Text [ en-US ] = "~Vertically" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Vertical";\ + Text[ ru ] = "~По вертикали";\ + Text[ el ] = "Κατακόρυ~φα";\ + Text[ nl ] = "~Verticaal";\ + Text[ fr ] = "À la ~verticale";\ + Text[ es ] = "~Verticalmente";\ + Text[ fi ] = "~Pystytaso";\ + Text[ ca ] = "~Vertical";\ + Text[ it ] = "~Verticale";\ + Text[ sk ] = "Z~visle";\ + Text[ da ] = "~Lodret";\ + Text[ sv ] = "~Vertikalt";\ + Text[ pl ] = "~Pionowo";\ + Text[ pt-BR ] = "~Verticalmente";\ + Text[ th ] = "ตามแนว~ตั้ง";\ + Text[ ja ] = "上下(~V)";\ + Text[ ko ] = "수직(~V)";\ + Text[ zh-CN ] = "垂直方向(~V)";\ + Text[ zh-TW ] = "垂直方向(~V)";\ + Text[ tr ] = "~Dikey";\ + Text[ hi-IN ] = "~लंबरूप प्रकार से ";\ + Text[ ar ] = "رأسي~";\ + Text[ he ] = "~Vertikal";\ + };\ + MenuItem\ + {\ + Identifier = FN_FLIP_VERT_GRAFIC ; \ + HelpID = FN_FLIP_VERT_GRAFIC ; \ + Text [ de ] = "~Horizontal" ; \ + Text [ en-US ] = "~Horizontally" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Horizontal";\ + Text[ ru ] = "По горизонтали";\ + Text[ el ] = "Ορι~ζόντια";\ + Text[ nl ] = "~Horizontaal";\ + Text[ fr ] = "À l'~horizontale";\ + Text[ es ] = "~Horizontalmente";\ + Text[ fi ] = "~Vaakataso";\ + Text[ ca ] = "~Horitzontal";\ + Text[ it ] = "~Orizzontale";\ + Text[ sk ] = "~Vodorovne";\ + Text[ da ] = "~Vandret";\ + Text[ sv ] = "~Horisontellt";\ + Text[ pl ] = "P~oziomo";\ + Text[ pt-BR ] = "~Horizontalmente";\ + Text[ th ] = "ตามแนว~นอน";\ + Text[ ja ] = "左右(~H)";\ + Text[ ko ] = "수평(~H)";\ + Text[ zh-CN ] = "水平方向(~H)";\ + Text[ zh-TW ] = "水平方向(~H)";\ + Text[ tr ] = "~Yatay";\ + Text[ hi-IN ] = "~समतल प्रकार से ";\ + Text[ ar ] = "أفقي";\ + Text[ he ] = "~Horizontal";\ + };\ + };\ + };\ + Text [ en-US ] = "~Flip" ; \ + Text [ de ] = "Sp~iegeln" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Reflectir";\ + Text[ ru ] = "~Отразить";\ + Text[ el ] = "Κατόπτρ~ιση";\ + Text[ nl ] = "Sp~iegelen";\ + Text[ fr ] = "~Refléter";\ + Text[ es ] = "~Reflejar";\ + Text[ fi ] = "~Käännä";\ + Text[ ca ] = "~Reflexa";\ + Text[ it ] = "Ri~specchia";\ + Text[ sk ] = "Pre~vrátiť";\ + Text[ da ] = "Spejl~vend";\ + Text[ sv ] = "~Spegelvänd";\ + Text[ pl ] = "~Odbij";\ + Text[ pt-BR ] = "~Refletir";\ + Text[ th ] = "~พลิก";\ + Text[ ja ] = "反転(~F)";\ + Text[ ko ] = "대칭(~F)";\ + Text[ zh-CN ] = "翻转(~F)";\ + Text[ zh-TW ] = "翻轉(~F)";\ + Text[ tr ] = "~Yansıt";\ + Text[ hi-IN ] = "~फ्लिप";\ + Text[ ar ] = "انعكاس~";\ + Text[ he ] = "Sp~iegeln";\ + };\ + MN_DRAW5\ + +#define MN_DRAW3 \ + ITEM_GROUP_MENU + +#define MN_FORM \ + MenuItem\ + {\ + ITEM_FORM_CONTROL_PROPERTIES\ + };\ + MenuItem\ + {\ + ITEM_FORM_PROPERTIES\ + };\ + MenuItem\ + {\ + ITEM_REPLACE_CONTROL\ + };\ + +#define MN_WRAP_CONTOUR \ + MenuItem\ + {\ + Identifier = FN_FRAME_WRAP_CONTOUR ; \ + HelpID = FN_FRAME_WRAP_CONTOUR ; \ + /* ### ACHTUNG: Neuer Text in Resource? Kon~tur : Kontur */\ + Text [ de ] = "K~ontur" ; \ + Text [ en-US ] = "~Contour" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Contorno";\ + Text[ ru ] = "Контур";\ + Text[ el ] = "~Περίγραμμα";\ + Text[ nl ] = "~Contour";\ + Text[ fr ] = "~Contour";\ + Text[ es ] = "C~ontorno";\ + Text[ fi ] = "~Ääriviiva";\ + Text[ ca ] = "C~ontorn";\ + Text[ it ] = "Con~torno";\ + Text[ sk ] = "O~brys";\ + Text[ da ] = "K~ontur";\ + Text[ sv ] = "K~ontur";\ + Text[ pl ] = "~Kontur";\ + Text[ pt-BR ] = "~Contorno";\ + Text[ th ] = "เ~ส้นแสดงรูปร่าง";\ + Text[ ja ] = "輪郭(~C)";\ + Text[ ko ] = "윤곽(~C)";\ + Text[ zh-CN ] = "轮廓(~C)";\ + Text[ zh-TW ] = "輪廓(~C)";\ + Text[ tr ] = "~Kontur";\ + Text[ hi-IN ] = "~परिवेश";\ + Text[ ar ] = "الخط الكفافي";\ + Text[ he ] = "K~ontur";\ + };\ + + + + +#define MN_EDIT_CONTOUR \ + MenuItem\ + {\ + Identifier = SID_CONTOUR_DLG ; \ + HelpID = SID_CONTOUR_DLG ; \ + /* ### ACHTUNG: Neuer Text in Resource? Kontur ~bearbeiten... : Kontur bearbeiten... */\ + Text [ de ] = "Kontur ~bearbeiten..." ; \ + Text [ en-US ] = "~Edit Contour..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Editar ~contorno...";\ + Text[ ru ] = "Правка контуров...";\ + Text[ el ] = "Ε~πεξεργασία περιγράμματος...";\ + Text[ nl ] = "Contour be~werken...";\ + Text[ fr ] = "Éditer le ~contour...";\ + Text[ es ] = "Editar ~contorno...";\ + Text[ fi ] = "Muokkaa ~ääriviivaa...";\ + Text[ ca ] = "Edita ~contorn...";\ + Text[ it ] = "Modifica ~contorno...";\ + Text[ sk ] = "~Upraviť obrys...";\ + Text[ da ] = "Rediger kontur...";\ + Text[ sv ] = "Redigera ~kontur...";\ + Text[ pl ] = "~Edytuj kontur...";\ + Text[ pt-BR ] = "~Editar Contorno...";\ + Text[ th ] = "แ~ก้ไขเส้นแสดงรูปร่าง...";\ + Text[ ja ] = "輪郭の編集(~E)...";\ + Text[ ko ] = "윤곽 편집(~E)...";\ + Text[ zh-CN ] = "编辑轮廓(~E)...";\ + Text[ zh-TW ] = "編輯輪廓(~E)...";\ + Text[ tr ] = "~Konturu düzenle...";\ + Text[ hi-IN ] = "परिवे~श संपादन...";\ + Text[ ar ] = "تحرير الخط الكفافي...";\ + Text[ he ] = "Kontur ~bearbeiten...";\ + };\ + + + + +#define MN_WRAP_DRAW \ + MenuItem\ + {\ + Identifier = MN_WRAP ; \ + HelpID = MN_WRAP ; \ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + Identifier = FN_FRAME_NOWRAP ; \ + HelpID = FN_FRAME_NOWRAP ; \ + Text [ de ] = "~Kein Umlauf" ; \ + Text [ en-US ] = "~No Wrap" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Sem ajuste";\ + Text[ ru ] = "~Без обтекания";\ + Text[ el ] = "~Χωρίς αναδίπλωση";\ + Text[ nl ] = "~Geen omloop";\ + Text[ fr ] = "~Pas d'adaptation";\ + Text[ es ] = "~Sin ajuste";\ + Text[ fi ] = "~Ei rivitystä";\ + Text[ ca ] = "~Sense ajust";\ + Text[ it ] = "~Separato";\ + Text[ sk ] = "Be~z obtekania";\ + Text[ da ] = "Ingen te~kstombrydning";\ + Text[ sv ] = "I~ngen textanpassning";\ + Text[ pl ] = "~Bez opływania";\ + Text[ pt-BR ] = "~Sem Ajuste";\ + Text[ th ] = "ไ~ม่ตัด";\ + Text[ ja ] = "上下折り返し(~N)";\ + Text[ ko ] = "문장 배치 없음(~N)";\ + Text[ zh-CN ] = "不环绕(~N)";\ + Text[ zh-TW ] = "不換行(~N)";\ + Text[ tr ] = "~Metin dağılımı yok";\ + Text[ hi-IN ] = "को~ई लपेटना नहीं";\ + Text[ ar ] = "~بدون التفاف";\ + Text[ he ] = "~Kein Umlauf";\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + Identifier = FN_FRAME_WRAP ; \ + HelpID = FN_FRAME_WRAP ; \ + Text [ de ] = "~Seitenumlauf" ; \ + Text [ en-US ] = "~Page Wrap" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Ajuste de página";\ + Text[ ru ] = "Обтекание страницы";\ + Text[ el ] = "Αναδίπλω~ση σελίδας";\ + Text[ nl ] = "~Paginaomloop";\ + Text[ fr ] = "~Renvoi relatif à la page";\ + Text[ es ] = "~Ajuste de página";\ + Text[ fi ] = "~Sivun rivitys";\ + Text[ ca ] = "~Ajust de pàgina";\ + Text[ it ] = "~Intorno";\ + Text[ sk ] = "Obtekanie ~stránky";\ + Text[ da ] = "Sidetekstombrydning";\ + Text[ sv ] = "~Textanpassning sida";\ + Text[ pl ] = "Opływanie ~obustronne";\ + Text[ pt-BR ] = "Ajuste na ~Página";\ + Text[ th ] = "ตัด~หน้า";\ + Text[ ja ] = "両側折り返し(~P)";\ + Text[ ko ] = "페이지 줄 바꿈(~P)";\ + Text[ zh-CN ] = "环绕(~P)";\ + Text[ zh-TW ] = "換頁(~P)";\ + Text[ tr ] = "~Sayfa dağılımı";\ + Text[ hi-IN ] = "पृष्ठ ~लपेटना";\ + Text[ ar ] = "التفاف الصفحة";\ + Text[ he ] = "~Seitenumlauf";\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + Identifier = FN_FRAME_WRAP_IDEAL ; \ + HelpID = FN_FRAME_WRAP_IDEAL ; \ + Text [ de ] = "~Dynamischer Seitenumlauf" ; \ + Text [ en-US ] = "~Optimal Page Wrap" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Ajuste de página ~dinâmico";\ + Text[ ru ] = "Оптимальное обтекание";\ + Text[ el ] = "~Δυναμική αναδίπλωση σελίδας";\ + Text[ nl ] = "~Dynamische paginaomloop";\ + Text[ fr ] = "Renvoi ~dynamique à la page";\ + Text[ es ] = "Ajuste de página ~dinámico";\ + Text[ fi ] = "~Optimaalinen sivurivitys";\ + Text[ ca ] = "Ajust de pàgina ~dinàmic";\ + Text[ it ] = "Scorrimento ~dinamico";\ + Text[ sk ] = "~Optimálne obtekanie stránky";\ + Text[ da ] = "~Dynamisk tekstombrydning";\ + Text[ sv ] = "~Dynamisk textanpassning";\ + Text[ pl ] = "~Opływanie optymalne";\ + Text[ pt-BR ] = "Ajuste ~Ideal na Página";\ + Text[ th ] = "ตัดหน้าที่เ~หมาะที่สุด";\ + Text[ ja ] = "左右動的折り返し(~O)";\ + Text[ ko ] = "최적으로 페이지 줄 바꿈(~O)";\ + Text[ zh-CN ] = "动态环绕(~O)";\ + Text[ zh-TW ] = "自動最適換頁(~O)";\ + Text[ tr ] = "~En iyi sayfa dağılımı";\ + Text[ hi-IN ] = "~योग्य पृष्ठ लपेटना";\ + Text[ ar ] = "التفاف صفحة ديناميكي";\ + Text[ he ] = "~Dynamischer Seitenumlauf";\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + Identifier = FN_FRAME_WRAPTHRU ; \ + HelpID = FN_FRAME_WRAPTHRU ; \ + Text [ de ] = "D~urchlauf" ; \ + Text [ en-US ] = "~Wrap Through" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Através do objecto";\ + Text[ ru ] = "Сквозное обтекание";\ + Text[ el ] = "Δια μέσο~υ";\ + Text[ nl ] = "~Doorloop";\ + Text[ fr ] = "~Continu";\ + Text[ es ] = "~Continuo";\ + Text[ fi ] = "~Rivitä läpi";\ + Text[ ca ] = "~Continu";\ + Text[ it ] = "Attraverso";\ + Text[ sk ] = "Ce~z text";\ + Text[ da ] = "Gennemg~ående";\ + Text[ sv ] = "Textgen~omflöde";\ + Text[ pl ] = "~Przepływanie";\ + Text[ pt-BR ] = "Ajuste A~través";\ + Text[ th ] = "~ตัดผ่าน";\ + Text[ ja ] = "折り返しなし(~W)";\ + Text[ ko ] = "배치 없음(~W)";\ + Text[ zh-CN ] = "贯穿(~W)";\ + Text[ zh-TW ] = "不環繞(~W)";\ + Text[ tr ] = "~Metin arkasına gönder";\ + Text[ hi-IN ] = "~में लपेटना";\ + Text[ ar ] = "عبر";\ + Text[ he ] = "D~urchlauf";\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + Identifier = FN_FRAME_WRAPTHRU_TRANSP ; \ + HelpID = FN_FRAME_WRAPTHRU_TRANSP ; \ + /* ### ACHTUNG: Neuer Text in Resource? Im ~Hintergrund : Durchlauf im ~Hintergrund */\ + /* ### ACHTUNG: Neuer Text in Resource? Im ~Hintergrund : Durchlauf im ~Hintergrund */\ + Text [ de ] = "Im ~Hintergrund" ; \ + Text [ en-US ] = "In ~Background" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "No ~plano de fundo";\ + Text[ ru ] = "На фоне";\ + Text[ el ] = "Σε ~φόντο";\ + Text[ nl ] = "Op ~achtergrond";\ + Text[ fr ] = "À l'~arrière-plan";\ + Text[ es ] = "En el ~fondo";\ + Text[ fi ] = "~Taustalla";\ + Text[ ca ] = "En el ~fons";\ + Text[ it ] = "Attraverso trasparente";\ + Text[ sk ] = "Na ~pozadí";\ + Text[ da ] = "I baggrunden";\ + Text[ sv ] = "I ~bakgrunden";\ + Text[ pl ] = "W ~tle";\ + Text[ pt-BR ] = "No Plano de ~Fundo";\ + Text[ th ] = "ใน~พื้นหลัง";\ + Text[ ja ] = "背景に(~B)";\ + Text[ ko ] = "배경에(~B)";\ + Text[ zh-CN ] = "置于背景(~B)";\ + Text[ zh-TW ] = "置於背景(~B)";\ + Text[ tr ] = "Artalanda";\ + Text[ hi-IN ] = "पृष्ठ~भाग में";\ + Text[ ar ] = "في الخلفية";\ + Text[ he ] = "Im ~Hintergrund";\ + };\ + SEPARATOR ; \ + MN_WRAP_CONTOUR\ + MenuItem\ + {\ + Identifier = FN_WRAP_ANCHOR_ONLY ; \ + HelpID = FN_WRAP_ANCHOR_ONLY ; \ + Text [ de ] = "~Erster Absatz" ; \ + Text [ en-US ] = "~First Paragraph" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Primeiro parágrafo";\ + Text[ ru ] = "Первый абзац";\ + Text[ el ] = "~Πρώτη παράγραφος";\ + Text[ nl ] = "~Eerste alinea";\ + Text[ fr ] = "~1er paragraphe";\ + Text[ es ] = "~Primer párrafo";\ + Text[ fi ] = "~Ensimmäinen kappale";\ + Text[ ca ] = "~Primer paràgraf";\ + Text[ it ] = "~Primo paragrafo";\ + Text[ sk ] = "Pr~vý odstavec";\ + Text[ da ] = "Først~e afsnit";\ + Text[ sv ] = "~Första stycket";\ + Text[ pl ] = "~Pierwszy akapit";\ + Text[ pt-BR ] = "P~rimeiro Parágrafo";\ + Text[ th ] = "ย่อหน้าแ~รก";\ + Text[ ja ] = "最初の段落(~F)";\ + Text[ ko ] = "첫번째 단락(~F)";\ + Text[ zh-CN ] = "第一段落(~F)";\ + Text[ zh-TW ] = "第一段落(~F)";\ + Text[ tr ] = "İlk paragraf";\ + Text[ hi-IN ] = "~पहिला परिच्छेद";\ + Text[ ar ] = "الفقرة الأولى";\ + Text[ he ] = "~Erster Absatz";\ + };\ + SEPARATOR ; \ + MenuItem\ + {\ + Identifier = FN_DRAW_WRAP_DLG ; \ + HelpID = FN_DRAW_WRAP_DLG ; \ + Text [ de ] = "~Bearbeiten..." ; \ + Text [ en-US ] = "~Edit..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Editar...";\ + Text[ ru ] = "Правка...";\ + Text[ el ] = "~Επεξεργασία...";\ + Text[ nl ] = "Be~werken...";\ + Text[ fr ] = "É~diter...";\ + Text[ es ] = "~Editar...";\ + Text[ fi ] = "~Muokkaa...";\ + Text[ ca ] = "~Edita...";\ + Text[ it ] = "~Modifica...";\ + Text[ sk ] = "~Upraviť...";\ + Text[ da ] = "~Rediger...";\ + Text[ sv ] = "~Redigera...";\ + Text[ pl ] = "~Edytuj...";\ + Text[ pt-BR ] = "~Editar...";\ + Text[ th ] = "แ~ก้ไข...";\ + Text[ ja ] = "編集(~E)...";\ + Text[ ko ] = "편집(~E)...";\ + Text[ zh-CN ] = "编辑(~E)...";\ + Text[ zh-TW ] = "編輯(~E)...";\ + Text[ tr ] = "~Düzenle";\ + Text[ hi-IN ] = "~संपादन...";\ + Text[ ar ] = "...تحرير";\ + Text[ he ] = "עריכה...";\ + };\ + };\ + };\ + Text [ de ] = "~Umlauf" ; \ + Text [ en-US ] = "~Wrap" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "A~juste";\ + Text[ ru ] = "~Обтекание";\ + Text[ el ] = "Αναδίπλ~ωση";\ + Text[ nl ] = "~Omloop";\ + Text[ fr ] = "~Adaptation du texte";\ + Text[ es ] = "~Ajuste";\ + Text[ fi ] = "~Rivitä";\ + Text[ ca ] = "~Ajust";\ + Text[ it ] = "~Scorrimento";\ + Text[ sk ] = "~Obtekanie textu";\ + Text[ da ] = "~Tekstombrydning";\ + Text[ sv ] = "~Textanpassning";\ + Text[ pl ] = "~Opływanie";\ + Text[ pt-BR ] = "A~juste";\ + Text[ th ] = "~ตัด";\ + Text[ ja ] = "折り返し(~W)";\ + Text[ ko ] = "문장 배치(~W)";\ + Text[ zh-CN ] = "环绕(~W)";\ + Text[ zh-TW ] = "換行(~W)";\ + Text[ tr ] = "~Metin dağılımı";\ + Text[ hi-IN ] = "~लपेटना";\ + Text[ ar ] = "~التفاف";\ + Text[ he ] = "שביררת שורות";\ + }; + + // Zusaetze Rahmen + +#define MN_MOUSE_FRAME_BEGIN \ + MenuItem\ + {\ + Identifier = MN_WRAP ; \ + HelpID = MN_WRAP ; \ + Text [ de ] = "~Umlauf" ; \ + Text [ en-US ] = "~Wrap" ; \ + Text[ pt ] = "Aj~uste";\ + Text[ nl ] = "~Omloop";\ + Text[ fr ] = "~Adaptation du texte";\ + Text[ es ] = "~Ajuste";\ + Text[ it ] = "~Scorrimento";\ + Text[ da ] = "~Tekstombrydning";\ + Text[ sv ] = "~Textanpassning";\ + Text[ pt-BR ] = "A~juste";\ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + Identifier = FN_FRAME_NOWRAP ; \ + HelpID = FN_FRAME_NOWRAP ; \ + Text [ de ] = "~Kein Umlauf" ; \ + Text [ en-US ] = "~No Wrap" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Sem ajuste";\ + Text[ ru ] = "~Без обтекания";\ + Text[ el ] = "~Χωρίς αναδίπλωση";\ + Text[ nl ] = "~Geen omloop";\ + Text[ fr ] = "~Pas d'adaptation";\ + Text[ es ] = "~Sin ajuste";\ + Text[ fi ] = "~Ei rivitystä";\ + Text[ ca ] = "~Sense ajust";\ + Text[ it ] = "~Separato";\ + Text[ sk ] = "Be~z obtekania";\ + Text[ da ] = "Ingen te~kstombrydning";\ + Text[ sv ] = "I~ngen textanpassning";\ + Text[ pl ] = "~Bez opływania";\ + Text[ pt-BR ] = "~Sem Ajuste";\ + Text[ th ] = "ไ~ม่ตัด";\ + Text[ ja ] = "上下折り返し(~N)";\ + Text[ ko ] = "문장 배치 없음(~N)";\ + Text[ zh-CN ] = "不环绕(~N)";\ + Text[ zh-TW ] = "不換行(~N)";\ + Text[ tr ] = "Metin dağılımını ~kaldır";\ + Text[ hi-IN ] = "को~ई लपेटना नहीं";\ + Text[ ar ] = "بدون التفاف~";\ + Text[ he ] = "~Kein Umlauf";\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + Identifier = FN_FRAME_WRAP ; \ + HelpID = FN_FRAME_WRAP ; \ + Text [ de ] = "~Seitenumlauf" ; \ + Text [ en-US ] = "~Page Wrap" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Ajuste de página";\ + Text[ ru ] = "Обтекание страницы";\ + Text[ el ] = "Αναδίπλω~ση σελίδας";\ + Text[ nl ] = "~Paginaomloop";\ + Text[ fr ] = "R~envoi relatif à la page";\ + Text[ es ] = "~Ajuste de página";\ + Text[ fi ] = "~Sivun rivitys";\ + Text[ ca ] = "~Ajust de pàgina";\ + Text[ it ] = "~Intorno";\ + Text[ sk ] = "~Obtekanie stránky";\ + Text[ da ] = "Sidetekstombrydning";\ + Text[ sv ] = "~Textanpassning sida";\ + Text[ pl ] = "Opływanie ~obustronne";\ + Text[ pt-BR ] = "Ajuste na ~Página";\ + Text[ th ] = "ตัด~หน้า";\ + Text[ ja ] = "両側折り返し(~P)";\ + Text[ ko ] = "페이지 줄 바꿈(~P)";\ + Text[ zh-CN ] = "环绕(~P)";\ + Text[ zh-TW ] = "換頁(~P)";\ + Text[ tr ] = "~Sayfa dağılımı";\ + Text[ hi-IN ] = "पृष्ठ ~लपेटना";\ + Text[ ar ] = "التفاف الصفحة";\ + Text[ he ] = "~Seitenumlauf";\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + Identifier = FN_FRAME_WRAP_IDEAL ; \ + HelpID = FN_FRAME_WRAP_IDEAL ; \ + Text [ de ] = "~Dynamischer Seitenumlauf" ; \ + Text [ en-US ] = "~Optimal Page Wrap" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Ajuste de página ~dinâmico";\ + Text[ ru ] = "Оптимальное обтекание";\ + Text[ el ] = "~Δυναμική αναδίπλωση σελίδας";\ + Text[ nl ] = "D~ynamische paginaomloop";\ + Text[ fr ] = "R~envoi dynamique à la page";\ + Text[ es ] = "Ajuste de página ~dinámico";\ + Text[ fi ] = "~Optimaalinen sivurivitys";\ + Text[ ca ] = "Ajust de pàgina ~dinàmic";\ + Text[ it ] = "Scorrimento ~dinamico";\ + Text[ sk ] = "~Optimálne obtekanie stránky";\ + Text[ da ] = "~Dynamisk tekstombrydning";\ + Text[ sv ] = "~Dynamisk textanpassning sida";\ + Text[ pl ] = "~Opływanie optymalne";\ + Text[ pt-BR ] = "Ajuste ~Ideal na Página";\ + Text[ th ] = "ตัดหน้าที่เ~หมาะที่สุด";\ + Text[ ja ] = "左右動的折り返し(~O)";\ + Text[ ko ] = "최적으로 페이지 줄 바꿈(~O)";\ + Text[ zh-CN ] = "动态环绕(~O)";\ + Text[ zh-TW ] = "自動最適換頁(~O)";\ + Text[ tr ] = "~En iyi sayfa dağılımı";\ + Text[ hi-IN ] = "~योग्य पृष्ठ लपेटना";\ + Text[ ar ] = "التفاف صفحة ديناميكي";\ + Text[ he ] = "~Dynamischer Seitenumlauf";\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + Identifier = FN_FRAME_WRAPTHRU ; \ + HelpID = FN_FRAME_WRAPTHRU ; \ + /* ### ACHTUNG: Neuer Text in Resource? D~urchlauf : ~Durchlauf */\ + /* ### ACHTUNG: Neuer Text in Resource? D~urchlauf : ~Durchlauf */\ + Text [ de ] = "D~urchlauf" ; \ + Text [ en-US ] = "~Wrap Through" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Através do objecto";\ + Text[ ru ] = "Сквозное обтекание";\ + Text[ el ] = "Δια μέσο~υ";\ + Text[ nl ] = "~Doorloop";\ + Text[ fr ] = "~Continu";\ + Text[ es ] = "~Continuo";\ + Text[ fi ] = "~Rivitä läpi";\ + Text[ ca ] = "~Continu";\ + Text[ it ] = "Attraverso";\ + Text[ sk ] = "Ce~z text";\ + Text[ da ] = "Gennemg~ående";\ + Text[ sv ] = "Text~genomflöde";\ + Text[ pl ] = "~Przepływanie";\ + Text[ pt-BR ] = "Ajuste A~través";\ + Text[ th ] = "~ตัดผ่าน";\ + Text[ ja ] = "折り返しなし(~W)";\ + Text[ ko ] = "배치 없음(~W)";\ + Text[ zh-CN ] = "贯穿(~W)";\ + Text[ zh-TW ] = "不環繞(~W)";\ + Text[ tr ] = "~İçinde dağılım";\ + Text[ hi-IN ] = "~में लपेटना";\ + Text[ ar ] = "عبر";\ + Text[ he ] = "D~urchlauf";\ + };\ + MenuItem\ + {\ + RadioCheck = TRUE ; \ + Identifier = FN_FRAME_WRAPTHRU_TRANSP ; \ + HelpID = FN_FRAME_WRAPTHRU_TRANSP ; \ + /* ### ACHTUNG: Neuer Text in Resource? Im ~Hintergrund : Im Hin~tergrund */\ + /* ### ACHTUNG: Neuer Text in Resource? Im ~Hintergrund : Im Hin~tergrund */\ + Text [ de ] = "Im ~Hintergrund" ; \ + Text [ en-US ] = "In ~Background" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "No plano de f~undo";\ + Text[ ru ] = "На фоне";\ + Text[ el ] = "Σε ~φόντο";\ + Text[ nl ] = "~Op achtergrond";\ + Text[ fr ] = "À l'a~rrière-plan";\ + Text[ es ] = "En el ~fondo";\ + Text[ fi ] = "~Taustalla";\ + Text[ ca ] = "En el ~fons";\ + Text[ it ] = "Attraverso trasparente";\ + Text[ sk ] = "Na ~pozadí";\ + Text[ da ] = "I baggrunden";\ + Text[ sv ] = "I ~bakgrunden";\ + Text[ pl ] = "W ~tle";\ + Text[ pt-BR ] = "No Plano de ~Fundo";\ + Text[ th ] = "ใน~พื้นหลัง";\ + Text[ ja ] = "背景に(~B)";\ + Text[ ko ] = "배경에(~B)";\ + Text[ zh-CN ] = "置于背景(~B)";\ + Text[ zh-TW ] = "置於背景(~B)";\ + Text[ tr ] = "Artalanda";\ + Text[ hi-IN ] = "पृष्ठ~भाग में";\ + Text[ ar ] = "في الخلفية";\ + Text[ he ] = "Im ~Hintergrund";\ + };\ + SEPARATOR ; \ + // warum immer hier?? + +#define MN_MOUSE_FRAME_END \ + MenuItem\ + {\ + Identifier = FN_WRAP_ANCHOR_ONLY ; \ + HelpID = FN_WRAP_ANCHOR_ONLY ; \ + Text [ de ] = "~Erster Absatz" ; \ + Text [ en-US ] = "~First Paragraph" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Primeiro parágrafo";\ + Text[ ru ] = "Первый абзац";\ + Text[ el ] = "~Πρώτη παράγραφος";\ + Text[ nl ] = "~Eerste alinea";\ + Text[ fr ] = "~1er paragraphe";\ + Text[ es ] = "~Primer párrafo";\ + Text[ fi ] = "~Ensimmäinen kappale";\ + Text[ ca ] = "~Primer paràgraf";\ + Text[ it ] = "~Primo paragrafo";\ + Text[ sk ] = "Pr~vý odstavec";\ + Text[ da ] = "Først~e afsnit";\ + Text[ sv ] = "~Första stycket";\ + Text[ pl ] = "~Pierwszy akapit";\ + Text[ pt-BR ] = "P~rimeiro parágrafo";\ + Text[ th ] = "ย่อหน้าแ~รก";\ + Text[ ja ] = "最初の段落(~F)";\ + Text[ ko ] = "첫번째 단락(~F)";\ + Text[ zh-CN ] = "第一段落(~F)";\ + Text[ zh-TW ] = "第一段落(~F)";\ + Text[ tr ] = "İlk paragraf";\ + Text[ hi-IN ] = "~पहिला परिच्छेद";\ + Text[ ar ] = "الفقرة الأولى";\ + Text[ he ] = "~Erster Absatz";\ + };\ + };\ + };\ + Text [ x-comment ] = " ";\ + }; + + + +#define MN_ALIGN_FRAME \ + MenuItem\ + {\ + Identifier = MN_SUB_ALIGN ; \ + HelpID = HID_MN_SUB_ALIGN ; \ + Text [ de ] = "~Anordnung" ; \ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + ITEM_FORMAT_FRAME_TO_TOP\ + };\ + MN_ONE_STEP\ + MenuItem\ + {\ + ITEM_FORMAT_FRAME_TO_BOTTOM\ + };\ + };\ + };\ + Text [ en-US ] = "~Arrange" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Disposição";\ + Text[ ru ] = "~Расположить";\ + Text[ el ] = "Τ~ακτοποίηση";\ + Text[ nl ] = "~Positie";\ + Text[ fr ] = "~Disposition";\ + Text[ es ] = "~Disposición";\ + Text[ fi ] = "~Järjestä";\ + Text[ ca ] = "~Posició";\ + Text[ it ] = "~Disponi";\ + Text[ sk ] = "~Usporiadať";\ + Text[ da ] = "Pl~acering";\ + Text[ sv ] = "Pl~acering";\ + Text[ pl ] = "Roz~mieść";\ + Text[ pt-BR ] = "~Organizar";\ + Text[ th ] = "~จัดเรียง";\ + Text[ ja ] = "整列(~A)";\ + Text[ ko ] = "배치(~A)";\ + Text[ zh-CN ] = "排序(~A)";\ + Text[ zh-TW ] = "排序(~A)";\ + Text[ tr ] = "~Düzenle";\ + Text[ hi-IN ] = "~क्रम में रखो";\ + Text[ ar ] = "~ترتيب";\ + Text[ he ] = "סידור";\ + };\ + MenuItem\ + {\ + Identifier = MN_FORMAT_FRM_HORZ ; \ + HelpID = MN_FORMAT_FRM_HORZ ; \ + /* ### ACHTUNG: Neuer Text in Resource? Aus~richtung : Ausrichtung */\ + /* ### ACHTUNG: Neuer Text in Resource? Aus~richtung : Ausrichtung */\ + Text [ de ] = "Aus~richtung" ; \ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + Identifier = FN_FRAME_ALIGN_HORZ_LEFT ; \ + HelpID = FN_FRAME_ALIGN_HORZ_LEFT ; \ + Text [ de ] = "~Links" ; \ + Text [ en-US ] = "~Left" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Esquerda";\ + Text[ ru ] = "~Слева";\ + Text[ el ] = "~Αριστερά";\ + Text[ nl ] = "~Links";\ + Text[ fr ] = "À ~gauche";\ + Text[ es ] = "~Izquierda";\ + Text[ fi ] = "~Vasen";\ + Text[ ca ] = "~Esquerra";\ + Text[ it ] = "A sinistra";\ + Text[ sk ] = "~Vľavo";\ + Text[ da ] = "~Venstre";\ + Text[ sv ] = "~Vänster";\ + Text[ pl ] = "Z ~lewej";\ + Text[ pt-BR ] = "~Esquerda";\ + Text[ th ] = "~ซ้าย";\ + Text[ ja ] = "左(~L)";\ + Text[ ko ] = "왼쪽(~L)";\ + Text[ zh-CN ] = "左(~L)";\ + Text[ zh-TW ] = "左(~L)";\ + Text[ tr ] = "~Sol";\ + Text[ hi-IN ] = "~बायाँ";\ + Text[ ar ] = "يسا~ر";\ + Text[ he ] = "~Links";\ + };\ + MenuItem\ + {\ + Identifier = FN_FRAME_ALIGN_HORZ_CENTER ; \ + HelpID = FN_FRAME_ALIGN_HORZ_CENTER ; \ + Text [ de ] = "~Zentriert" ; \ + Text [ en-US ] = "~Centered" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Centrado";\ + Text[ ru ] = "По центру";\ + Text[ el ] = "Στο ~κέντρο";\ + Text[ nl ] = "~Gecentreerd";\ + Text[ fr ] = "Ce~ntré";\ + Text[ es ] = "~Centrado";\ + Text[ fi ] = "~Keskitetty";\ + Text[ ca ] = "~Centrat";\ + Text[ it ] = "~Centrato";\ + Text[ sk ] = "Na ~stred";\ + Text[ da ] = "~Centreret";\ + Text[ sv ] = "~Centrerat";\ + Text[ pl ] = "P~ośrodku";\ + Text[ pt-BR ] = "~Centralizado";\ + Text[ th ] = "~ตรงกลาง";\ + Text[ ja ] = "中央(~C)";\ + Text[ ko ] = "가운데(~C)";\ + Text[ zh-CN ] = "中(~C)";\ + Text[ zh-TW ] = "置中(~C)";\ + Text[ tr ] = "Ortalanmış";\ + Text[ hi-IN ] = "~केन्द्रित";\ + Text[ ar ] = "توسيط";\ + Text[ he ] = "~Zentriert";\ + };\ + MenuItem\ + {\ + Identifier = FN_FRAME_ALIGN_HORZ_RIGHT ; \ + HelpID = FN_FRAME_ALIGN_HORZ_RIGHT ; \ + Text [ de ] = "~Rechts" ; \ + Text [ en-US ] = "~Right" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Direita";\ + Text[ ru ] = "Справа";\ + Text[ el ] = "~Δεξιά";\ + Text[ nl ] = "~Rechts";\ + Text[ fr ] = "À ~droite";\ + Text[ es ] = "~Derecha";\ + Text[ fi ] = "~Oikea";\ + Text[ ca ] = "~Dreta";\ + Text[ it ] = "Destra";\ + Text[ sk ] = "Vp~ravo";\ + Text[ da ] = "~Højre";\ + Text[ sv ] = "~Höger";\ + Text[ pl ] = "Z ~prawej";\ + Text[ pt-BR ] = "~Direita";\ + Text[ th ] = "~ขวา";\ + Text[ ja ] = "右(~R)";\ + Text[ ko ] = "오른쪽(~R)";\ + Text[ zh-CN ] = "右(~R)";\ + Text[ zh-TW ] = "右(~R)";\ + Text[ tr ] = "Sağ";\ + Text[ hi-IN ] = "~दाहिना";\ + Text[ ar ] = "اليمين";\ + Text[ he ] = "~Rechts";\ + };\ + SEPARATOR ; \ + MenuItem\ + {\ + Identifier = FN_FRAME_ALIGN_VERT_TOP ; \ + HelpID = FN_FRAME_ALIGN_VERT_TOP ; \ + Text [ de ] = "Basis ~oben" ; \ + Text [ en-US ] = "Base at ~Top" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Base para ~cima";\ + Text[ ru ] = "Основа сверху";\ + Text[ el ] = "Βάση - ά~νω";\ + Text[ nl ] = "Basis b~oven";\ + Text[ fr ] = "Base ~en haut";\ + Text[ es ] = "Base ~arriba";\ + Text[ fi ] = "~Perusta ylhäällä";\ + Text[ ca ] = "Base ~amunt";\ + Text[ it ] = "Base in ~alto";\ + Text[ sk ] = "Základ ~hore";\ + Text[ da ] = "Basis øverst";\ + Text[ sv ] = "Ref. linje ~överst";\ + Text[ pl ] = "Podstawa u ~góry";\ + Text[ pt-BR ] = "Base A~cima";\ + Text[ th ] = "ฐานที่ด้าน~บน";\ + Text[ ja ] = "上を基準(~T)";\ + Text[ ko ] = "위를 기준(~T)";\ + Text[ zh-CN ] = "基线上方(~T)";\ + Text[ zh-TW ] = "基線上方(~T)";\ + Text[ tr ] = "Taban üstte";\ + Text[ hi-IN ] = "~ऊपर में आधार";\ + Text[ ar ] = "أعلى الخط القاعدي";\ + Text[ he ] = "Basis ~oben";\ + };\ + MenuItem\ + {\ + Identifier = FN_FRAME_ALIGN_VERT_CENTER ; \ + HelpID = FN_FRAME_ALIGN_VERT_CENTER ; \ + Text [ de ] = "Basis ~mitte" ; \ + Text [ en-US ] = "Base in ~Middle" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Base no ce~ntro";\ + Text[ ru ] = "Основа по средине";\ + Text[ el ] = "Βάση - κέντρ~ο";\ + Text[ nl ] = "Basis ~midden";\ + Text[ fr ] = "Base au ~milieu";\ + Text[ es ] = "Base ~centro";\ + Text[ fi ] = "~Perusta keskellä";\ + Text[ ca ] = "Base ~centre";\ + Text[ it ] = "Base al ce~ntro";\ + Text[ sk ] = "Základ upro~stred";\ + Text[ da ] = "Basis centreret";\ + Text[ sv ] = "Ref. linje ~mitten";\ + Text[ pl ] = "Pod~stawa w środku";\ + Text[ pt-BR ] = "Base no ~Meio";\ + Text[ th ] = "ฐานที่ตรง~กลาง";\ + Text[ ja ] = "中央を基準(~M)";\ + Text[ ko ] = "가운데를 기준(~M)";\ + Text[ zh-CN ] = "字体基线居中(~M)";\ + Text[ zh-TW ] = "字型基線置中(~M)";\ + Text[ tr ] = "Taban ortada";\ + Text[ hi-IN ] = "~मध्य में आधार";\ + Text[ ar ] = "وسط الخط القاعدي";\ + Text[ he ] = "Basis ~mitte";\ + };\ + MenuItem\ + {\ + Identifier = FN_FRAME_ALIGN_VERT_BOTTOM ; \ + HelpID = FN_FRAME_ALIGN_VERT_BOTTOM ; \ + Text [ de ] = "Basis ~unten" ; \ + Text [ en-US ] = "Base at ~Bottom" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Base para ~baixo";\ + Text[ ru ] = "Основа снизу";\ + Text[ el ] = "Βάση - κάτ~ω";\ + Text[ nl ] = "Basis ~beneden";\ + Text[ fr ] = "Base e~n bas";\ + Text[ es ] = "Base a~bajo";\ + Text[ fi ] = "~Perusta alhaalla";\ + Text[ ca ] = "Base a~vall";\ + Text[ it ] = "Base in ~basso";\ + Text[ sk ] = "Základ ~dole";\ + Text[ da ] = "Basis nederst";\ + Text[ sv ] = "Ref. linje ~underst";\ + Text[ pl ] = "Podstawa u ~dołu";\ + Text[ pt-BR ] = "Base A~baixo";\ + Text[ th ] = "ฐานที่ด้าน~ล่าง";\ + Text[ ja ] = "下を基準(~B)";\ + Text[ ko ] = "아래를 기준(~B)";\ + Text[ zh-CN ] = "基线向下(~B)";\ + Text[ zh-TW ] = "基線向下(~B)";\ + Text[ tr ] = "Taban altta";\ + Text[ hi-IN ] = "~तल में आधार";\ + Text[ ar ] = "أسفل الخط القاعدي";\ + Text[ he ] = "Basis ~unten";\ + };\ + };\ + };\ + Text [ en-US ] = "A~lignment" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "A~linhamento";\ + Text[ ru ] = "~Выравнивание";\ + Text[ el ] = "Σ~τοίχιση";\ + Text[ nl ] = "~Uitlijning";\ + Text[ fr ] = "Ali~gnement";\ + Text[ es ] = "A~lineación";\ + Text[ fi ] = "T~asaus";\ + Text[ ca ] = "A~lineació";\ + Text[ it ] = "~Allineamento";\ + Text[ sk ] = "Za~rovnanie";\ + Text[ da ] = "~Justering";\ + Text[ sv ] = "Juste~ring";\ + Text[ pl ] = "~Wyrównanie";\ + Text[ pt-BR ] = "Ali~nhamento";\ + Text[ th ] = "จั~ดตำแหน่ง";\ + Text[ ja ] = "配置(~L)";\ + Text[ ko ] = "맞춤(~L)";\ + Text[ zh-CN ] = "对齐(~L)";\ + Text[ zh-TW ] = "對齊(~L)";\ + Text[ tr ] = "~Hizalama";\ + Text[ hi-IN ] = "~पंक्तिकरण";\ + Text[ ar ] = "~محاذاة";\ + Text[ he ] = "Aus~richtung";\ + };\ + MN_ANCHOR + + + + + + + + +#define MN_GRAFIC \ + MenuItem\ + {\ + Identifier = FN_FORMAT_GRAFIC_DLG ; \ + HelpID = FN_FORMAT_GRAFIC_DLG ; \ + Text [ de ] = "~Grafik..." ; \ + Text [ en-US ] = "~Graphics..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Ima~gem...";\ + Text[ ru ] = "Графический объект...";\ + Text[ el ] = "~Γραφικό...";\ + Text[ nl ] = "~Afbeelding...";\ + Text[ fr ] = "~Image...";\ + Text[ es ] = "~Imagen...";\ + Text[ fi ] = "Gra~fiikka...";\ + Text[ ca ] = "~Imatge...";\ + Text[ it ] = "~Immagine...";\ + Text[ sk ] = "~Obrázky...";\ + Text[ da ] = "Grafik...";\ + Text[ sv ] = "~Grafik...";\ + Text[ pl ] = "Gra~fika...";\ + Text[ pt-BR ] = "~Figura...";\ + Text[ th ] = "~กราฟิค...";\ + Text[ ja ] = "図(~G)...";\ + Text[ ko ] = "그림(~G)...";\ + Text[ zh-CN ] = "图形(~G)...";\ + Text[ zh-TW ] = "圖形(~G)...";\ + Text[ tr ] = "Grafik...";\ + Text[ hi-IN ] = "~सुचित्र...";\ + Text[ ar ] = "...صورة";\ + Text[ he ] = "גרפיקה...";\ + }; + + +#define MN_OLE \ + MenuItem\ + {\ + Identifier = FN_FORMAT_FRAME_DLG ; \ + HelpID = FN_FORMAT_FRAME_DLG ; \ + Text [ de ] = "Objekt..." ; \ + Text [ en-US ] = "Object..." ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Objecto...";\ + Text[ ru ] = "Объект...";\ + Text[ el ] = "Αντικείμενο...";\ + Text[ nl ] = "Object...";\ + Text[ fr ] = "Objet...";\ + Text[ es ] = "Objeto...";\ + Text[ fi ] = "Objekti...";\ + Text[ ca ] = "Objecte...";\ + Text[ it ] = "Oggetto...";\ + Text[ sk ] = "Objekt...";\ + Text[ da ] = "Objekt...";\ + Text[ sv ] = "Objekt...";\ + Text[ pl ] = "Obiekt...";\ + Text[ pt-BR ] = "Objeto...";\ + Text[ th ] = "วัตถุ...";\ + Text[ ja ] = "オブジェクト...";\ + Text[ ko ] = "개체...";\ + Text[ zh-CN ] = "对象...";\ + Text[ zh-TW ] = "物件...";\ + Text[ tr ] = "Nesne...";\ + Text[ hi-IN ] = "वस्तु...";\ + Text[ ar ] = "...كائن";\ + Text[ he ] = "אוביקט...";\ + }; + +#define ITEM_EDIT_READONLY_SELECTION_MODE \ + Identifier = FN_READONLY_SELECTION_MODE ; \ + HelpID = FN_READONLY_SELECTION_MODE ; \ + Text [ de ] = "Text auswhlen" ; \ + Text [ en-US ] = "Select Text"; \ + Text[ pt ] = "Select Text";\ + Text[ ru ] = "Select Text";\ + Text[ el ] = "Select Text";\ + Text[ nl ] = "Select Text";\ + Text[ fr ] = "Sélectionner le texte";\ + Text[ es ] = "Seleccionar texto";\ + Text[ fi ] = "Select Text";\ + Text[ ca ] = "Select Text";\ + Text[ it ] = "Seleziona testo";\ + Text[ sk ] = "Vybrať text";\ + Text[ da ] = "Select Text";\ + Text[ sv ] = "Markera text";\ + Text[ pl ] = "Select Text";\ + Text[ pt-BR ] = "Selecionar texto";\ + Text[ th ] = "Select Text";\ + Text[ ja ] = "テキストの選択";\ + Text[ ko ] = "텍스트 선택";\ + Text[ zh-CN ] = "选择文字";\ + Text[ zh-TW ] = "選取文字";\ + Text[ tr ] = "Metni Seç";\ + Text[ hi-IN ] = "Select Text";\ + Text[ ar ] = "Select Text";\ + Text[ he ] = "בחירת טקסט";\ + +/* --------------------- M E N U --------------------------------- */ +#ifdef MN_SW_WEB + #ifdef MN_SW_PORTAL + Menu CFG_SWWEB_MENU_PORTAL + #else + Menu CFG_SWWEB_MENU + #endif +#elif defined MN_SW_GLOBAL + #ifdef MN_SW_PORTAL + Menu CFG_SWGLOBAL_MENU_PORTAL + #else + Menu CFG_SWGLOBAL_MENU + #endif +#else + #ifdef MN_SW_PORTAL + Menu CFG_SW_MENU_PORTAL + #else + Menu CFG_SW_MENU + #endif +#endif +{ + ItemList = + { +#ifdef MN_SW_PORTAL + #ifdef MN_SW_WEB + MenuItem , MN_WEBFILE_PORT ; + MenuItem , MN_WEBEDIT_PORT ; + MenuItem , MN_WEBVIEW_PORT ; + MenuItem , MN_WEBINS_PORT ; + MenuItem , MN_WEBFORMAT_PORT ; + MenuItem , MN_WEBEXTRA_PORT ; + MenuItem , MN_WEBWIN_PORT ; + MenuItem , MN_HELP ; + #elif defined MN_SW_GLOBAL //1 + MenuItem , MN_GLOBALFILE_PORT ; + MenuItem , MN_GLOBALEDIT_PORT ; + MenuItem , MN_GLOBALVIEW_PORT ; + MenuItem , MN_GLOBALINS_PORT ; + MenuItem , MN_GLOBALFORMAT_PORT ; + MenuItem , MN_GLOBALEXTRA_PORT ; + MenuItem , MN_GLOBALWIN_PORT ; + MenuItem , MN_HELP ; + #else + MenuItem , MN_FILE_PORT ; + MenuItem , MN_EDIT_PORT ; + MenuItem , MN_VIEW_PORT ; + MenuItem , MN_INS_PORT ; + MenuItem , MN_FORMAT_PORT ; + MenuItem , MN_EXTRA_PORT ; + MenuItem , MN_WIN_PORT ; + MenuItem , MN_HELP ; + #endif +#else + #ifdef MN_SW_WEB + MenuItem , MN_WEBFILE ; + MenuItem , MN_WEBEDIT ; + MenuItem , MN_WEBVIEW ; + MenuItem , MN_WEBINS ; + MenuItem , MN_WEBFORMAT ; + MenuItem , MN_WEBEXTRA ; + MenuItem , MN_WEBWIN ; + MenuItem , MN_HELP ; + #elif defined MN_SW_GLOBAL //2 + MenuItem , MN_GLOBALFILE ; + MenuItem , MN_GLOBALEDIT ; + MenuItem , MN_GLOBALVIEW ; + MenuItem , MN_GLOBALINS ; + MenuItem , MN_GLOBALFORMAT ; + MenuItem , MN_GLOBALEXTRA ; + MenuItem , MN_GLOBALWIN ; + MenuItem , MN_HELP ; + #else + MenuItem , MN_FILE ; + MenuItem , MN_EDIT ; + MenuItem , MN_VIEW ; + MenuItem , MN_INS ; + MenuItem , MN_FORMAT ; + MenuItem , MN_EXTRA ; + MenuItem , MN_WIN ; + MenuItem , MN_HELP ; + #endif +#endif + }; +}; + + +/* --------------------- D O C U M E N T -------------------------- */ +#ifdef MN_SW_WEB + #ifdef MN_SW_PORTAL + #define _MN_FILE MN_WEBFILE_PORT + #else + #define _MN_FILE MN_WEBFILE + #endif +#elif defined MN_SW_GLOBAL //3 + #ifdef MN_SW_PORTAL + #define _MN_FILE MN_GLOBALFILE_PORT + #else + #define _MN_FILE MN_GLOBALFILE + #endif +#else + #ifdef MN_SW_PORTAL + #define _MN_FILE MN_FILE_PORT + #else + #define _MN_FILE MN_FILE + #endif +#endif + +MenuItem _MN_FILE +{ + ITEM_FILE_PICKLIST + SubMenu = Menu + { + ItemList = + { + MenuItem + { + ITEM_FILE_NEWDOC + }; + MenuItem + { + ITEM_FILE_OPENDOC + }; + ITEM_FILE_AUTOPILOT + SEPARATOR ; + MenuItem + { + ITEM_FILE_CLOSEDOC + }; + MenuItem + { + ITEM_FILE_SAVEDOC + }; + MenuItem + { + ITEM_FILE_SAVEASDOC + }; + MenuItem + { + ITEM_FILE_SAVEDOCS + }; + MenuItem + { + ITEM_FILE_LASTVERSIONDOC + }; + SEPARATOR ; +#ifndef MN_SW_WEB + MenuItem + { + ITEM_FILE_VERSIONDIALOG + }; + SEPARATOR ; +#endif + MenuItem + { + ITEM_FILE_EXPORTDOC + }; +#ifndef MN_SW_WEB + MenuItem + { + ITEM_FILE_EXPORTDOCASPDF + }; +#endif +#ifdef MN_SW_WEB + MenuItem MN_SUB_SENDTO + { + Text [ de ] = "Senden" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + ITEM_FILE_MAIL_SENDDOC + }; + MenuItem + { + ITEM_FILE_MAIL_SENDDOCASPDF + }; + }; + }; + Text [ en-US ] = "Send"; + Text[ pt ] = "~Enviar"; + Text[ ru ] = "Отправит~ь"; + Text[ el ] = "Α~ποστολή"; + Text[ nl ] = "Ver~zenden"; + Text[ fr ] = "Envo~yer"; + Text[ es ] = "En~viar"; + Text[ fi ] = "Lä~hetä"; + Text[ ca ] = "En~via"; + Text[ it ] = "~Invia"; + Text[ sk ] = "O~doslať"; + Text[ da ] = "S~end"; + Text[ sv ] = "Ski~cka"; + Text[ pl ] = "~Wyślij"; + Text[ pt-BR ] = "~Enviar"; + Text[ th ] = "ส่~ง"; + Text[ ja ] = "送る(~D)"; + Text[ ko ] = "보내기(~D)"; + Text[ zh-CN ] = "输出(~D)"; + Text[ zh-TW ] = "傳送(~D)"; + Text[ tr ] = "~Gönder"; + Text[ hi-IN ] = "भे~जो"; + Text[ ar ] = "إرسال"; + Text[ he ] = "שליחה"; + }; +#endif +#ifndef MN_SW_WEB + MenuItem MN_SUB_SENDTO + { + Text [ de ] = "S~enden" ; + Text [ en-US ] = "Sen~d to" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + ITEM_FILE_MAIL_SENDDOC + }; + MenuItem + { + ITEM_FILE_MAIL_SENDDOCASPDF + }; + SEPARATOR ; + MenuItem + { + Identifier = FN_NEW_GLOBAL_DOC ; + HelpID = FN_NEW_GLOBAL_DOC ; + Text [ de ] = "Global~dokument erzeugen" ; + Text [ en-US ] = "Create Master ~Document" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Criar ~documento-mestre"; + Text[ ru ] = "Создать составной документ"; + Text[ el ] = "~Δημιουργία κυρίου εγγράφου"; + Text[ nl ] = "Master~document maken"; + Text[ fr ] = "Créer un ~document maître"; + Text[ es ] = "Crear documento ~maestro"; + Text[ fi ] = "Luo perus~asiakirja"; + Text[ ca ] = "Crea ~document mestre"; + Text[ it ] = "~Crea documento master"; + Text[ sk ] = "Vytvoriť hlavný ~dokument"; + Text[ da ] = "Opret hoved~dokument"; + Text[ sv ] = "Skapa samlings~dokument"; + Text[ pl ] = "Utwórz ~dokument główny"; + Text[ pt-BR ] = "Criar ~Documento Mestre"; + Text[ th ] = "สร้างเ~อกสารต้นฉบับ"; + Text[ ja ] = "マスタードキュメントの作成(~D)"; + Text[ ko ] = "마스터 문서 만들기(~D)"; + Text[ zh-CN ] = "生成主控文档(~D)"; + Text[ zh-TW ] = "製作主控文件(~D)"; + Text[ tr ] = "~Ana Belge Oluştur"; + Text[ hi-IN ] = "मास्टर ~लेखपत्र उत्पन्न करो"; + Text[ ar ] = "إنشاء مستند شامل"; + Text[ he ] = "Global~dokument erzeugen"; + }; + MenuItem + { + Identifier = FN_NEW_HTML_DOC ; + HelpID = FN_NEW_HTML_DOC ; + Text [ de ] = "~HTML-Dokument erzeugen" ; + Text [ en-US ] = "Create ~HTML Document" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Criar documento ~HTML"; + Text[ ru ] = "Создать веб-страницу"; + Text[ el ] = "Δημιουργία εγγράφου ~HTML"; + Text[ nl ] = "~HTML-document maken"; + Text[ fr ] = "Créer un document ~HTML"; + Text[ es ] = "~Crear documento HTML"; + Text[ fi ] = "Luo ~HTML-asiakirja"; + Text[ ca ] = "Crea document ~HTML "; + Text[ it ] = "Crea documento ~HTML"; + Text[ sk ] = "Vytvoriť ~HTML dokument"; + Text[ da ] = "Opret ~HTML-dokument"; + Text[ sv ] = "Skapa ~HTML-dokument"; + Text[ pl ] = "Utwórz dokument ~HTML"; + Text[ pt-BR ] = "Criar Documento ~HTML"; + Text[ th ] = "สร้างเอกสาร~HTML "; + Text[ ja ] = "~HTML 形式ドキュメントの作成"; + Text[ ko ] = "HTML 문서 작성(~H)"; + Text[ zh-CN ] = "生成 ~HTML 文档"; + Text[ zh-TW ] = "製作 ~HTML 文件"; + Text[ tr ] = "~HTML Belgesi Oluştur"; + Text[ hi-IN ] = "HTML ले~खपत्र उत्पन्न करो"; + Text[ ar ] = "HTML إنشاء مستند"; + Text[ he ] = "~HTML-Dokument erzeugen"; + }; + SEPARATOR ; + MenuItem + { + Identifier = FN_OUTLINE_TO_IMPRESS ; + HelpID = FN_OUTLINE_TO_IMPRESS ; + /* ### ACHTUNG: Neuer Text in Resource? ~Gliederung an Prsentation : ~Gliederung an Prsentation */ + Text [ de ] = "~Gliederung an Prsentation" ; + Text [ en-US ] = "Outline to ~Presentation" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Esquema em ~apresentação"; + Text[ ru ] = "Структуру в презентацию"; + Text[ el ] = "Διάρθρωση προς πα~ρουσίαση"; + Text[ nl ] = "Overzicht naar ~presentatie"; + Text[ fr ] = "P~lan vers présentation"; + Text[ es ] = "~Esquema en presentación"; + Text[ fi ] = "Jäsennys -> ~esitys"; + Text[ ca ] = "Envia a ~presentació"; + Text[ it ] = "~Struttura in presentazione"; + Text[ sk ] = "Osnova do ~prezentácie"; + Text[ da ] = "~Disposition til præsentation"; + Text[ sv ] = "D~isposition till presentation"; + Text[ pl ] = "Konspekt do ~prezentacji"; + Text[ pt-BR ] = "Estrutura de Tópicos para ~Apresentação"; + Text[ th ] = "เค้าร่างไปยัง~การนำเสนอ"; + Text[ ja ] = "プレゼンテーションのアウトライン(~P)"; + Text[ ko ] = "프레젠테이션의 개요(~P)"; + Text[ zh-CN ] = "大纲送至演示文稿(~P)"; + Text[ zh-TW ] = "大綱送至簡報(~P)"; + Text[ tr ] = "~Sunum Çerçevesi"; + Text[ hi-IN ] = "~प्रस्तुति केलिए बाहरी रूपरेखा"; + Text[ ar ] = "مخطط تفصيلي للعرض التقديمي"; + Text[ he ] = "~Gliederung an Präsentation"; + }; + MenuItem + { + Identifier = FN_OUTLINE_TO_CLIPBOARD ; + HelpID = FN_OUTLINE_TO_CLIPBOARD ; + Text [ de ] = "Gliederung zur Zwis~chenablage" ; + Text [ en-US ] = "Outline to ~Clipboard" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Esquema em área de ~transferência"; + Text[ ru ] = "Структуру в буфер обмена"; + Text[ el ] = "Διάρθρωση προς πρό~χειρο"; + Text[ nl ] = "Overzicht naar ~Klembord"; + Text[ fr ] = "Pla~n vers le presse-papiers"; + Text[ es ] = "Esquema al ~portapapeles"; + Text[ fi ] = "Jäsennys -> ~leikepöytä"; + Text[ ca ] = "Envia al porta-~retalls"; + Text[ it ] = "Struttura negli A~ppunti"; + Text[ sk ] = "Osnova do ~schránky"; + Text[ da ] = "Disposition til ~udklipsholder"; + Text[ sv ] = "Disposition till ur~klippet"; + Text[ pl ] = "Konspekt do ~schowka"; + Text[ pt-BR ] = "Estrutura de tópicos para a área de ~transferência"; + Text[ th ] = "เค้าร่างไปยัง~คลิปบอร์ด"; + Text[ ja ] = "クリップボードのアウトライン(~C)"; + Text[ ko ] = "클립보드의 개요(~C)"; + Text[ zh-CN ] = "大纲送至剪贴板(~C)"; + Text[ zh-TW ] = "大綱送到剪貼簿(~C)"; + Text[ tr ] = "~Pano Çercevesi"; + Text[ hi-IN ] = "~क्लिपबोर्ड केलिए बाहरी रूपरेखा"; + Text[ ar ] = "مخطط تفصيلي للحافظة"; + Text[ he ] = "Gliederung zur Zwis~chenablage"; + }; + SEPARATOR ; + MenuItem + { + Identifier = FN_ABSTRACT_NEWDOC ; + HelpID = FN_ABSTRACT_NEWDOC ; + Text [ de ] = "A~utoAbstract erzeugen..." ; + Text [ en-US ] = "Create A~utoAbstract..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Criar Auto~Abstracto..."; + Text[ ru ] = "Создать абстрактное представление..."; + Text[ el ] = "Δημιουργία αυτόματου απο~σπάσματος..."; + Text[ nl ] = "~AutoExtract maken..."; + Text[ fr ] = "Créer une A~utoSynthèse..."; + Text[ es ] = "Crear ~Resumen automático..."; + Text[ fi ] = "Luo automaattinen ~tiivistelmä..."; + Text[ ca ] = "Crea A~utoAbstract..."; + Text[ it ] = "Crea a~bstract automatico..."; + Text[ sk ] = "Vytvoriť a~utomatický konspekt..."; + Text[ da ] = "Opret A~utoAbstract..."; + Text[ sv ] = "Skapa A~utoUtdrag..."; + Text[ pl ] = "Utwórz A~utowyciąg..."; + Text[ pt-BR ] = "Criar Auto~Resumo..."; + Text[ th ] = "สร้างบทคัดย่ออั~ตโนมัติ..."; + Text[ ja ] = "自動抽出の作成(~U)..."; + Text[ ko ] = "자동 요약 만들기(~U)..."; + Text[ zh-CN ] = "生成自动摘要(~U)..."; + Text[ zh-TW ] = "製作自動摘要(~U)..."; + Text[ tr ] = "Otomatik~Özet Yarat..."; + Text[ hi-IN ] = "~स्वचालित ढंग से सारांश उत्पन्न करो..."; + Text[ ar ] = "...AutoAbstract إنشاء"; + Text[ he ] = "A~utoAbstract erzeugen..."; + }; + MenuItem + { + Identifier = FN_ABSTRACT_STARIMPRESS ; + HelpID = FN_ABSTRACT_STARIMPRESS ; + /* ### ACHTUNG: Neuer Text in Resource? AutoAbstract an ~Prsentation... : AutoAbstract an ~Prsentation... */ + Text [ de ] = "AutoAbstract an ~Prsentation..." ; + Text [ en-US ] = "AutoAbst~ract to Presentation..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "AutoAbstracto em ~apresentação..."; + Text[ ru ] = "Абстрактное представление в презентацию..."; + Text[ el ] = "Αυτόματο απόσπασμα προς ~παρουσίαση..."; + Text[ nl ] = "A~utoExtract aan presentatie..."; + Text[ fr ] = "AutoSynthèse vers ~présentation..."; + Text[ es ] = "Resumen automático para ~presentación..."; + Text[ fi ] = "Automaattinen ~tiivistelmä esitykseen..."; + Text[ ca ] = "AutoAbst~ract a presentació..."; + Text[ it ] = "Abstract automatico alla ~presentazione..."; + Text[ sk ] = "Automatický konspekt do p~rezentácie"; + Text[ da ] = "AutoAbstract til ~præsentation..."; + Text[ sv ] = "AutoUtdrag till ~presentation..."; + Text[ pl ] = "Auto~wyciąg do prezentacji..."; + Text[ pt-BR ] = "AutoRes~umo para Apresentação..."; + Text[ th ] = "บทคัด~ย่ออัตโนมัติไปยังการนำเสนอ..."; + Text[ ja ] = "プレゼンテーションの自動抽出(~R)..."; + Text[ ko ] = "프레젠테이션의 자동 요약(~R)..."; + Text[ zh-CN ] = "自动摘要送至演示文稿(~R)..."; + Text[ zh-TW ] = "自動摘要送至簡報(~R)..."; + Text[ tr ] = "AutoAbst~ract to Presentation..."; + Text[ hi-IN ] = "~प्रस्तुति केलिए स्वचालित ढंग से सारांश..."; + Text[ ar ] = "...إلى عرض تقديمي AutoAbstract"; + Text[ he ] = "AutoAbstract an ~Präsentation..."; + }; + }; + Text [ en-US ] = "Send"; + }; + Text [ en-US ] = "Sen~d" ; + Text [ x-comment ] = " "; + + + }; +#endif + SEPARATOR ; + MenuItem + { + ITEM_FILE_DOCINFO + }; + MenuItem + { + ITEM_FILE_DOCTEMPLATE + }; + SEPARATOR ; + MenuItem + { + Identifier = SID_PRINTPREVIEW ; \ + HelpID = SID_PRINTPREVIEW ; \ + Text [ de ] = "Sei~tenansicht/Seitendruck" ; \ + Text [ en-US ] = "Pa~ge Preview" ;\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "~Ver página";\ + Text[ ru ] = "Предварительный просмотр";\ + Text[ el ] = "Π~ροεπισκόπηση σελίδας";\ + Text[ nl ] = "A~fdrukvoorbeeld/Afdrukken";\ + Text[ fr ] = "Aperç~u avant impression";\ + Text[ es ] = "Vi~sta preliminar";\ + Text[ fi ] = "Esi~katselu";\ + Text[ ca ] = "Previsualit~za";\ + Text[ it ] = "~Anteprima di stampa";\ + Text[ sk ] = "Náhľad st~rany";\ + Text[ da ] = "Si~devisning / Sideudskrift";\ + Text[ sv ] = "För~handsgranskning/sidutskrift";\ + Text[ pl ] = "~Podgląd wydruku";\ + Text[ pt-BR ] = "Visualizar Pá~gina";\ + Text[ th ] = "แสดงตัวอย่างห~น้า";\ + Text[ ja ] = "印刷プレビュー(~G)";\ + Text[ ko ] = "인쇄 미리 보기(~G)";\ + Text[ zh-CN ] = "预览页面/印刷版式(~G)";\ + Text[ zh-TW ] = "檢視頁面/列印頁面(~G)";\ + Text[ tr ] = "Sayfa önizleme";\ + Text[ hi-IN ] = "पृष्ठ ~पूर्वदृश्य";\ + Text[ ar ] = "معاينة الصفحة قبل طباعتها";\ + Text[ he ] = "Sei~tenansicht/Seitendruck";\ + }; +#ifdef MAC + MenuItem + { + ITEM_FILE_SETUPPRINTER + }; + MenuItem + { + ITEM_FILE_PRINTDOC + }; +#else + MenuItem + { + ITEM_FILE_PRINTDOC + }; + MenuItem + { + ITEM_FILE_SETUPPRINTER + }; + SEPARATOR ; +#endif +#ifdef MN_SW_PORTAL + MenuItem + { + ITEM_FILE_BACKTOWEBTOP + }; + MenuItem + { + ITEM_FILE_LOGOUT + }; +#else + MenuItem + { + ITEM_FILE_QUITAPP + }; +#endif //MN_SW_PORTAL + }; + }; +}; + +#ifdef MN_SW_WEB + #ifdef MN_SW_PORTAL + #define _MN_EDIT MN_WEBEDIT_PORT + #else + #define _MN_EDIT MN_WEBEDIT + #endif +#elif defined MN_SW_GLOBAL // 4 + #ifdef MN_SW_PORTAL + #define _MN_EDIT MN_GLOBALEDIT_PORT + #else + #define _MN_EDIT MN_GLOBALEDIT + #endif +#else + #ifdef MN_SW_PORTAL + #define _MN_EDIT MN_EDIT_PORT + #else + #define _MN_EDIT MN_EDIT + #endif +#endif + +MenuItem _MN_EDIT +{ + Identifier = FN_EDIT ; + HelpID = FN_EDIT ; + Text [ de ] = "~Bearbeiten" ; + Text [ en-US ] = "~Edit" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + ITEM_EDIT_UNDO + }; + MenuItem + { + ITEM_EDIT_REDO + }; + MenuItem + { + ITEM_EDIT_REPEAT + }; + SEPARATOR ; + MN_PASTE + MenuItem + { + ITEM_EDIT_PASTE + }; + MenuItem + { + Identifier = FN_PASTESPECIAL ; + HelpID = FN_PASTESPECIAL ; +#ifdef MAC + Text [ de ] = "Inhalte einsetzen..." ; + Text[ pt ] = "Colar ~especial..."; + Text[ ru ] = "Вставить как..."; + Text[ el ] = "Ειδική επικόλλ~ηση..."; + Text[ nl ] = "Plakken ~speciaal..."; + Text[ fr ] = "Colla~ge spécial..."; + Text[ es ] = "Pegado ~especial..."; + Text[ fi ] = "Liitä ~määräten..."; + Text[ ca ] = "Enganxament es~pecial..."; + Text[ it ] = "In~colla speciale..."; + Text[ sk ] = "Vložiť i~nak..."; + Text[ da ] = "Indsæt ind~hold..."; + Text[ sv ] = "Klistra in inne~håll..."; + Text[ pl ] = "Wklej ~specjalnie..."; + Text[ pt-BR ] = "Colar ~Especial..."; + Text[ th ] = "วาง~พิเศษ..."; + Text[ ja ] = "形式を選択して貼り付け(~S)..."; + Text[ ko ] = "선택하여 붙여넣기(~S)..."; + Text[ zh-CN ] = "选择性粘贴内容(~S)..."; + Text[ zh-TW ] = "選擇性貼上內容(~S)..."; + Text[ tr ] = "Ö~zel Yapıştır..."; + Text[ hi-IN ] = "~विशेष छिपकाओ..."; + Text[ ar ] = "...لصق خاص"; + Text[ he ] = "הדבקה מיוחדת..."; + #else + Text [ de ] = "In~halte einfgen..." ; + Text [ en-US ] = "Paste ~Special..." ; + /* ### ACHTUNG: Neuer Text in Resource? In~halte einfgen... : In~halte einfgen... */ + Text [ de ] = "In~halte einfgen..." ; + Text[ pt ] = "Colar ~especial..."; + Text[ ru ] = "Вставить как..."; + Text[ el ] = "Ειδική επικόλλ~ηση..."; + Text[ nl ] = "Plakken ~speciaal..."; + Text[ fr ] = "Colla~ge spécial..."; + Text[ es ] = "Pegado ~especial..."; + Text[ fi ] = "Liitä ~määräten..."; + Text[ ca ] = "Enganxament es~pecial..."; + Text[ it ] = "In~colla speciale..."; + Text[ sk ] = "Vložiť i~nak..."; + Text[ da ] = "Indsæt ind~hold..."; + Text[ sv ] = "Klistra in inne~håll..."; + Text[ pl ] = "Wklej ~specjalnie..."; + Text[ pt-BR ] = "Colar ~Especial..."; + Text[ th ] = "วาง~พิเศษ..."; + Text[ ja ] = "形式を選択して貼り付け(~S)..."; + Text[ ko ] = "선택하여 붙여넣기(~S)..."; + Text[ zh-CN ] = "选择性粘贴内容(~S)..."; + Text[ zh-TW ] = "選擇性貼上內容(~S)..."; + Text[ tr ] = "Ö~zel Yapıştır..."; + Text[ hi-IN ] = "~विशेष छिपकाओ..."; + Text[ ar ] = "...لصق خاص"; + #endif + +}; + // MN_CUT + MenuItem + { + ITEM_EDIT_READONLY_SELECTION_MODE + }; + MenuItem + { + ITEM_EDIT_SELECTALL + }; + SEPARATOR ; +#ifndef MN_SW_WEB + MenuItem MN_SUB_REVISE + { + Text [ de ] = "nder~ungen" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = FN_REDLINE_ON ; + HelpID = FN_REDLINE_ON ; + Text [ de ] = "~Aufzeichnen" ; + Text [ en-US ] = "~Record" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Gravar"; + Text[ ru ] = "Записывать"; + Text[ el ] = "Καταγρ~αφή"; + Text[ nl ] = "~Registreren"; + Text[ fr ] = "E~nregistrer"; + Text[ es ] = "~Grabar"; + Text[ fi ] = "~Tallenna"; + Text[ ca ] = "~Desa"; + Text[ it ] = "~Registra"; + Text[ sk ] = "~Zaznamenávať"; + Text[ da ] = "~Registrer"; + Text[ sv ] = "Registrer~a"; + Text[ pl ] = "~Zapisz"; + Text[ pt-BR ] = "~Registro"; + Text[ th ] = "~ระเบียน"; + Text[ ja ] = "記録(~R)"; + Text[ ko ] = "기록(~R)"; + Text[ zh-CN ] = "录制(~R)"; + Text[ zh-TW ] = "錄製(~R)"; + Text[ tr ] = "~Kaydet"; + Text[ hi-IN ] = "~लेखा"; + Text[ ar ] = "تسجيل"; + Text[ he ] = "שמירה"; + }; + MenuItem + { + Identifier = FN_REDLINE_PROTECT ; + HelpID = FN_REDLINE_PROTECT ; + Text [ de ] = "Aufzeichnung ~schtzen..." ; + Text [ en-US ] = "~Protect Records..."; + Text[ pt ] = "~Proteger histórico..."; + Text[ ru ] = "~Защита записи изменений..."; + Text[ el ] = "Προ~στασία καταγραφής..."; + Text[ nl ] = "Registratie ~beveiligen..."; + Text[ fr ] = "~Protéger l'historique..."; + Text[ es ] = "Pro~teger grabación..."; + Text[ fi ] = "~Suojaa tietueet..."; + Text[ ca ] = "Protecció..."; + Text[ it ] = "Proteggi registrazione..."; + Text[ sk ] = "~Zamknúť záznamy..."; + Text[ da ] = "~Beskyt registrering..."; + Text[ sv ] = "~Skydda registrering..."; + Text[ pl ] = "~Chroń rekordy..."; + Text[ pt-BR ] = "~Proteger Registros..."; + Text[ th ] = "~ป้องกันระเบียน..."; + Text[ ja ] = "記録の保護(~P)..."; + Text[ ko ] = "기록 보호(~P)..."; + Text[ zh-CN ] = "保护记录(~P)..."; + Text[ zh-TW ] = "保護記錄(~P)..."; + Text[ tr ] = "~Belgeleri koru..."; + Text[ hi-IN ] = "ले~खाओं को रक्षा करो..."; + Text[ ar ] = "Protect trace..."; + Text[ he ] = "הגנה..."; + }; + MenuItem + { + Identifier = FN_REDLINE_SHOW ; + HelpID = FN_REDLINE_SHOW ; + Text [ de ] = "An~zeigen" ; + Text [ en-US ] = "~Show" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Mostrar"; + Text[ ru ] = "Показать"; + Text[ el ] = "Προβολή"; + Text[ nl ] = "~Weergeven"; + Text[ fr ] = "A~fficher"; + Text[ es ] = "~Mostrar"; + Text[ fi ] = "~Näytä"; + Text[ ca ] = "~Mostra"; + Text[ it ] = "~Mostra"; + Text[ sk ] = "~Zobraziť"; + Text[ da ] = "Vi~s"; + Text[ sv ] = "~Visa"; + Text[ pl ] = "~Pokaż"; + Text[ pt-BR ] = "~Mostrar"; + Text[ th ] = "แ~สดง"; + Text[ ja ] = "表示(~S)"; + Text[ ko ] = "표시(~S)"; + Text[ zh-CN ] = "显示(~S)"; + Text[ zh-TW ] = "顯示(~S)"; + Text[ tr ] = "~Görüntüle"; + Text[ hi-IN ] = "~दिखाओ"; + Text[ ar ] = "إظهار"; + Text[ he ] = "הצגה"; + }; + SEPARATOR ; + MenuItem + { + Identifier = FN_REDLINE_ACCEPT ; + HelpID = FN_REDLINE_ACCEPT ; + Text [ de ] = "Akzeptieren oder ~verwerfen..." ; + Text [ en-US ] = "~Accept or Reject..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Aceitar ou ~rejeitar..."; + Text[ ru ] = "Принять или отклонить..."; + Text[ el ] = "Αποδοχή ή απόρρι~ψη..."; + Text[ nl ] = "A~ccepteren of verwerpen..."; + Text[ fr ] = "Accepter ou ~rejeter..."; + Text[ es ] = "~Aceptar o rechazar..."; + Text[ fi ] = "~Hyväksy tai hylkää..."; + Text[ ca ] = "~Accepta o no..."; + Text[ it ] = "~Accetta o annulla..."; + Text[ sk ] = "Prij~ať alebo odmietnuť..."; + Text[ da ] = "Accepter eller ~forkast..."; + Text[ sv ] = "A~cceptera eller ignorera..."; + Text[ pl ] = "~Akceptuj albo odrzuć..."; + Text[ pt-BR ] = "~Aceitar ou Rejeitar..."; + Text[ th ] = "~ยอมรับหรือปฏิเสธ..."; + Text[ ja ] = "承認または却下(~A)..."; + Text[ ko ] = "적용 또는 무시(~A)..."; + Text[ zh-CN ] = "接受或舍弃(~A)..."; + Text[ zh-TW ] = "接受或捨棄(~A)..."; + Text[ tr ] = "Onayla veya reddet..."; + Text[ hi-IN ] = "~स्वीकार अथवा अस्वीकार..."; + Text[ ar ] = "...قبول أو رفض"; + Text[ he ] = "קבלה או דחיה"; + }; + MenuItem + { + Identifier = FN_REDLINE_COMMENT ; + HelpID = FN_REDLINE_COMMENT ; + Text [ de ] = "~Kommentar..." ; + Text [ en-US ] = "~Comment..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Comentário..."; + Text[ ru ] = "Комментарий..."; + Text[ el ] = "Σ~χόλιο..."; + Text[ nl ] = "~Opmerkingen..."; + Text[ fr ] = "~Commentaire..."; + Text[ es ] = "~Comentario..."; + Text[ fi ] = "~Huomautus..."; + Text[ ca ] = "~Comentari..."; + Text[ it ] = "~Commento..."; + Text[ sk ] = "~Komentár..."; + Text[ da ] = "~Kommentar..."; + Text[ sv ] = "~Kommentar..."; + Text[ pl ] = "~Komentarz..."; + Text[ pt-BR ] = "~Comentário..."; + Text[ th ] = "~ข้อคิดเห็น..."; + Text[ ja ] = "コメント(~C)..."; + Text[ ko ] = "설명(~C)..."; + Text[ zh-CN ] = "注解(~C)..."; + Text[ zh-TW ] = "註解(~C)..."; + Text[ tr ] = "~Açıklama..."; + Text[ hi-IN ] = "~अपवाद..."; + Text[ ar ] = "...تعليق"; + Text[ he ] = "הערה"; + }; + SEPARATOR ; + MenuItem + { + Identifier = SID_DOCUMENT_MERGE ; + HelpID = SID_DOCUMENT_MERGE ; + Text [ de ] = "~Dokument zusammenfhren..." ; + Text [ en-US ] = "~Merge Document..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Unir documento..."; + Text[ ru ] = "Объединить документы..."; + Text[ el ] = "Συγχώνευση εγγράφου..."; + Text[ nl ] = "~Document samenvoegen..."; + Text[ fr ] = "F~usionner le document..."; + Text[ es ] = "~Unir documento..."; + Text[ fi ] = "~Yhdistä asiakirja..."; + Text[ ca ] = "~Combina el document..."; + Text[ it ] = "Unisci ~documento..."; + Text[ sk ] = "~Zlúčiť dokument..."; + Text[ da ] = "Flet ~dokument..."; + Text[ sv ] = "Sammanfoga ~dokument..."; + Text[ pl ] = "~Scal dokumenty..."; + Text[ pt-BR ] = "~Mesclar Documento..."; + Text[ th ] = "~ผสานเอกสาร..."; + Text[ ja ] = "ドキュメントの結合(~M)..."; + Text[ ko ] = "문서 병합(~M)..."; + Text[ zh-CN ] = "合并文档(~M)..."; + Text[ zh-TW ] = "合併文件(~M)..."; + Text[ tr ] = "~Belgeyi Birleştir..."; + Text[ hi-IN ] = "लेख~पत्र मिलाओ..."; + Text[ ar ] = "...دمج المستند"; + Text[ he ] = "מיזוג גרסאות..."; + }; + }; + }; + Text [ en-US ] = "Chan~ges" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Mo~dificações"; + Text[ ru ] = "Изменения"; + Text[ el ] = "Αλλαγές"; + Text[ nl ] = "Wij~zigingen"; + Text[ fr ] = "Modi~fications"; + Text[ es ] = "~Modificaciones"; + Text[ fi ] = "M~uutokset"; + Text[ ca ] = "Can~vis"; + Text[ it ] = "M~odifiche"; + Text[ sk ] = "Sledovanie z~mien"; + Text[ da ] = "Ændrin~ger"; + Text[ sv ] = "~Ändringar"; + Text[ pl ] = "~Zmiany"; + Text[ pt-BR ] = "~Modificações"; + Text[ th ] = "เปลี่ยนแปล~ง"; + Text[ ja ] = "変更(~G)"; + Text[ ko ] = "변경(~G)"; + Text[ zh-CN ] = "更改(~G)"; + Text[ zh-TW ] = "變更(~G)"; + Text[ tr ] = "~Değişiklikler"; + Text[ hi-IN ] = "परि~वर्तनें"; + Text[ ar ] = "تغييرات"; + Text[ he ] = "שינויים"; + }; + MenuItem + { + Identifier = SID_DOCUMENT_COMPARE ; + HelpID = SID_DOCUMENT_COMPARE ; + Text [ de ] = "Dokument ve~rgleichen..." ; + Text [ en-US ] = "Compar~e Document..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Co~mparar documento..."; + Text[ ru ] = "Сравнить документы..."; + Text[ el ] = "Σύγκ~ριση εγγράφου..."; + Text[ nl ] = "Document ve~rgelijken..."; + Text[ fr ] = "Compa~rer le document..."; + Text[ es ] = "~Comparar documento..."; + Text[ fi ] = "Ver~taa asiakirjaa..."; + Text[ ca ] = "Compar~a document..."; + Text[ it ] = "Conf~ronta documento..."; + Text[ sk ] = "Porovnať dokum~enty..."; + Text[ da ] = "S~ammenlign dokument..."; + Text[ sv ] = "~Jämför dokument..."; + Text[ pl ] = "Porównaj dokument~y..."; + Text[ pt-BR ] = "Comp~arar documento..."; + Text[ th ] = "เปรียบเ~ทียบเอกสาร..."; + Text[ ja ] = "ドキュメントの比較(~E)..."; + Text[ ko ] = "문서 비교(~E)..."; + Text[ zh-CN ] = "比较文档(~E)..."; + Text[ zh-TW ] = "比較文件(~E)..."; + Text[ tr ] = "~Belgeyi Karşılaştır"; + Text[ hi-IN ] = "लेखपत्र तुल~ना करो..."; + Text[ ar ] = "...مقارنة المستند"; + Text[ he ] = "Dokument ve~rgleichen..."; + }; +#endif + MenuItem + { + ITEM_EDIT_SEARCH_DLG + }; + MenuItem + { + ITEM_EDIT_NAVIGATOR + }; + MenuItem + { + Identifier = FN_GLOSSARY_DLG ; + HelpID = FN_GLOSSARY_DLG ; + Text [ de ] = "Auto~Text..." ; + Text [ en-US ] = "AutoTe~xt..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Auto~Texto..."; + Text[ ru ] = "Автотекст..."; + Text[ el ] = "Αυτόματο ~Κείμενο..."; + Text[ nl ] = "Auto~Tekst..."; + Text[ fr ] = "~AutoTexte..."; + Text[ es ] = "~Texto automático..."; + Text[ fi ] = "Automaatti~nen teksti..."; + Text[ ca ] = "AutoTe~xt..."; + Text[ it ] = "~Testo automatico..."; + Text[ sk ] = "Automatický te~xt..."; + Text[ da ] = "Auto~Tekst..."; + Text[ sv ] = "Auto~Text..."; + Text[ pl ] = "A~utotekst..."; + Text[ pt-BR ] = "A~utoTexto..."; + Text[ th ] = "ข้อ~ความอัตโนมัติ..."; + Text[ ja ] = "入力支援(~X)..."; + Text[ ko ] = "자동 텍스트(~X)..."; + Text[ zh-CN ] = "自动图文集(~X)..."; + Text[ zh-TW ] = "自動圖文集(~X)..."; + Text[ tr ] = "~Otomatik Metin..."; + Text[ hi-IN ] = "स्वचालि~त ढंग से टेक्स्ट्..."; + Text[ ar ] = "...نص تلقائي"; + Text[ he ] = "Auto~Text..."; + }; + SEPARATOR ; +#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_CHANGE_DBFIELD ; + HelpID = FN_CHANGE_DBFIELD ; + Text [ de ] = "Dat~enbank austauschen..." ; + Text [ en-US ] = "Exc~hange Database..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Substituir ~base de dados..."; + Text[ ru ] = "Активный источник данных..."; + Text[ el ] = "Αλλαγή βάσης δ~εδομένων..."; + Text[ nl ] = "~Database wisselen..."; + Text[ fr ] = "Changer de bas~e de données..."; + Text[ es ] = "~Intercambiar base de datos..."; + Text[ fi ] = "Vaih~da tietokannat..."; + Text[ ca ] = "~Intercanvi amb base de dades..."; + Text[ it ] = "Scambia databas~e..."; + Text[ sk ] = "V~ymeniť databázu..."; + Text[ da ] = "~Udskift database..."; + Text[ sv ] = "Byt databas..."; + Text[ pl ] = "Wy~mień bazę danych..."; + Text[ pt-BR ] = "~Trocar de banco de dados..."; + Text[ th ] = "แลกเปลี่~ยนฐานข้อมูล..."; + Text[ ja ] = "データベースの交換(~H)..."; + Text[ ko ] = "데이터베이스 교환(~H)..."; + Text[ zh-CN ] = "更换数据库(~H)..."; + Text[ zh-TW ] = "替換資料庫(~H)..."; + Text[ tr ] = "~Veritabanını Değiştir..."; + Text[ hi-IN ] = "लेखा~संचय अदला-बदला करो..."; + Text[ ar ] = "استبدال قواعد البيانات..."; + Text[ he ] = "Dat~enbank austauschen..."; + }; +#endif + MenuItem + { + Identifier = FN_EDIT_FIELD ; + HelpID = FN_EDIT_FIELD ; + Text [ de ] = "~Feldbefehl..." ; + Text [ en-US ] = "F~ields..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Ca~mpos..."; + Text[ ru ] = "Поля..."; + Text[ el ] = "Εντολή πεδίου..."; + Text[ nl ] = "V~eldopdracht..."; + Text[ fr ] = "C~hamp..."; + Text[ es ] = "~Campos..."; + Text[ fi ] = "~Kenttä..."; + Text[ ca ] = "Ca~mps..."; + Text[ it ] = "~Comando di campo..."; + Text[ sk ] = "Pol~e..."; + Text[ da ] = "~Felt..."; + Text[ sv ] = "Fältkommando..."; + Text[ pl ] = "~Pola..."; + Text[ pt-BR ] = "~Campos..."; + Text[ th ] = "เข~ตข้อมูล..."; + Text[ ja ] = "フィールド(~I)..."; + Text[ ko ] = "필드(~I)..."; + Text[ zh-CN ] = "字段指令(~I)..."; + Text[ zh-TW ] = "欄位指令(~I)..."; + Text[ tr ] = "~Alanlar..."; + Text[ hi-IN ] = "~क्षेत्रें..."; + Text[ ar ] = "حقل..."; + Text[ he ] = "~Feldbefehl..."; + }; + MenuItem + { + Identifier = FN_EDIT_FOOTNOTE ; + HelpID = FN_EDIT_FOOTNOTE ; + Text [ de ] = "Funote~..." ; + Text [ en-US ] = "Footnote~..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Nota de rodapé..."; + Text[ ru ] = "Сноска..."; + Text[ el ] = "~Υποσημείωση..."; + Text[ nl ] = "~Voetnoot..."; + Text[ fr ] = "Note de bas de pa~ge..."; + Text[ es ] = "No~ta al pie..."; + Text[ fi ] = "A~laviite..."; + Text[ ca ] = "~Nota al peu..."; + Text[ it ] = "~Nota a piè pagina..."; + Text[ sk ] = "Poznámka pod čiarou~..."; + Text[ da ] = "Fodnote~..."; + Text[ sv ] = "Fotnot~..."; + Text[ pl ] = "Przypis ~dolny..."; + Text[ pt-BR ] = "~Nota de rodapé..."; + Text[ th ] = "เชิงอรร~ถ..."; + Text[ ja ] = "脚注(~.)..."; + Text[ ko ] = "각주(~.)..."; + Text[ zh-CN ] = "注脚(~.)..."; + Text[ zh-TW ] = "註腳(~.)..."; + Text[ tr ] = "~Alt bilgi..."; + Text[ hi-IN ] = "~पृष्ठ के नीचे की टीका..."; + Text[ ar ] = "...حواشي سفلية"; + Text[ he ] = "Fußnote~..."; + }; +#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_EDIT_IDX_ENTRY_DLG ; + HelpID = FN_EDIT_IDX_ENTRY_DLG ; + Text [ de ] = "Ver~zeichniseintrag..." ; + Text [ en-US ] = "Index Entr~y..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Entrada de índice..."; + Text[ ru ] = "Элемент указателя..."; + Text[ el ] = "Καταχώριση ε~υρετηρίου..."; + Text[ nl ] = "Inde~xitem..."; + Text[ fr ] = "Entrée d'inde~x..."; + Text[ es ] = "~Entrada del índice..."; + Text[ fi ] = "Hakemisto~merkintä..."; + Text[ ca ] = "Ent~rada d'índex..."; + Text[ it ] = "Voce di ~indice..."; + Text[ sk ] = "Položka re~gistra..."; + Text[ da ] = "In~dekselement..."; + Text[ sv ] = "Förteckningspost..."; + Text[ pl ] = "Wpis ind~eksu..."; + Text[ pt-BR ] = "~Entrada do índice..."; + Text[ th ] = "ราย~การดัชนี..."; + Text[ ja ] = "目次と索引の項目(~Y)..."; + Text[ ko ] = "색인 항목(~Y)..."; + Text[ zh-CN ] = "目录条目(~Y)..."; + Text[ zh-TW ] = "索引項目(~Y)..."; + Text[ tr ] = "Index Girişi"; + Text[ hi-IN ] = "~अनुक्रमणिका प्रविष्टि ..."; + Text[ ar ] = "إدخال فهرسي..."; + Text[ he ] = "Ver~zeichniseintrag..."; + }; + MenuItem + { + Identifier = FN_EDIT_AUTH_ENTRY_DLG ; + HelpID = FN_EDIT_AUTH_ENTRY_DLG ; + Text [ de ] = "Literaturverzeichniseintra~g..." ; + Text [ en-US ] = "~Bibliography Entry..."; + Text [ x-comment ] = " "; + Text[ pt ] = "Entrada ~bibliográfica..."; + Text[ ru ] = "Библиографическая ссылка..."; + Text[ el ] = "Καταχώριση βιβλιο~γραφίας..."; + Text[ nl ] = "~Item voor literatuurlijst..."; + Text[ fr ] = "Entrée de bibliogra~phie..."; + Text[ es ] = "~Entrada bibliográfica..."; + Text[ fi ] = "~Lähdeluettelomerkintä..."; + Text[ ca ] = "Entrada ~bibliogràfica..."; + Text[ it ] = "Voce biblio~grafica..."; + Text[ sk ] = "Po~ložka v zozname použitej literatúry..."; + Text[ da ] = "Litteraturlisteelemen~t..."; + Text[ sv ] = "Litteraturförteckningspost..."; + Text[ pl ] = "Pozy~cja bibliograficzna..."; + Text[ pt-BR ] = "Entrada de ~Bibliografia..."; + Text[ th ] = "รายการ~บรรณานุกรม..."; + Text[ ja ] = "参考文献項目(~B)..."; + Text[ ko ] = "참고 문헌 입력(~B)..."; + Text[ zh-CN ] = "文献目录条目(~B)..."; + Text[ zh-TW ] = "參考文獻目錄條目(~B)..."; + Text[ tr ] = "~Kaynakça Girişi..."; + Text[ hi-IN ] = "~ग्रन्थ-सूची प्रविष्टि..."; + Text[ ar ] = "إدخال في فهرس المراجع..."; + Text[ he ] = "שורת בבליוגרפיה..."; + }; +#endif + MenuItem + { + Identifier = FN_EDIT_HYPERLINK; + HelpID = FN_EDIT_HYPERLINK ; + Text [ de ] = "H~yperlink" ; + Text [ en-US ] = "H~yperlink"; + Text[ pt ] = "Hiper~ligação"; + Text[ ru ] = "Гиперссылка"; + Text[ el ] = "~Υπερ-σύνδεση"; + Text[ nl ] = "H~yperlink"; + Text[ fr ] = "H~yperlien"; + Text[ es ] = "~Hiperenlace"; + Text[ fi ] = "H~yperlinkki"; + Text[ ca ] = "H~iperenllaç"; + Text[ it ] = "H~yperlink"; + Text[ sk ] = "H~ypertextový odkaz"; + Text[ da ] = "H~yperlink"; + Text[ sv ] = "H~yperlänk"; + Text[ pl ] = "~Hiperłącze"; + Text[ pt-BR ] = "H~iperlink"; + Text[ th ] = "เชื่~อมโยงหลายมิติ"; + Text[ ja ] = "ハイパーリンク(~Y)"; + Text[ ko ] = "하이퍼링크(~Y)"; + Text[ zh-CN ] = "超链接(~Y)"; + Text[ zh-TW ] = "超連結(~Y)"; + Text[ tr ] = "Hiperlink"; + Text[ hi-IN ] = "~हाइपरलिंक"; + Text[ ar ] = "ارتباط تشعبي"; + Text[ he ] = "H~yperlink"; + }; + SEPARATOR ; + MenuItem + { + Identifier = FN_EDIT_LINK_DLG ; + HelpID = FN_EDIT_LINK_DLG ; + Text [ de ] = "~Verknpfungen..." ; + Text [ en-US ] = "Lin~ks..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Ligações..."; + Text[ ru ] = "Связи..."; + Text[ el ] = "Σ~υνδέσεις..."; + Text[ nl ] = "K~oppelingen..."; + Text[ fr ] = "~Liens..."; + Text[ es ] = "~Vínculos..."; + Text[ fi ] = "Li~nkit..."; + Text[ ca ] = "En~llaços..."; + Text[ it ] = "Colle~gamenti..."; + Text[ sk ] = "Od~kazy..."; + Text[ da ] = "~Kæder..."; + Text[ sv ] = "~Länkar..."; + Text[ pl ] = "Łą~cza..."; + Text[ pt-BR ] = "~Vínculos..."; + Text[ th ] = "เชื่อมโ~ยง..."; + Text[ ja ] = "リンク(~K)..."; + Text[ ko ] = "링크(~K)..."; + Text[ zh-CN ] = "链接(~K)..."; + Text[ zh-TW ] = "捷徑(~K)..."; + Text[ tr ] = "~Bağlantılar..."; + Text[ hi-IN ] = "लिं~क्स..."; + Text[ ar ] = "...مواقع مرتبطة"; + Text[ he ] = "קישורים..."; + }; +#ifndef MN_SW_PORTAL + MenuItem + { + ITEM_EDIT_PLUGINS_ACTIVE + }; +#endif //MN_SW_PORTAL + MenuItem + { + ITEM_EDIT_IMAP + }; + MenuItem + { + ITEM_EDIT_OBJECT + }; + }; + }; + Text [ x-comment ] = " "; + Text[ pt ] = "~Editar"; + Text[ ru ] = "~Правка"; + Text[ el ] = "~Επεξεργασία"; + Text[ nl ] = "Be~werken"; + Text[ fr ] = "~Édition"; + Text[ es ] = "~Editar"; + Text[ fi ] = "~Muokkaa"; + Text[ ca ] = "~Edita"; + Text[ it ] = "~Modifica"; + Text[ sk ] = "Ú~pravy"; + Text[ da ] = "~Rediger"; + Text[ sv ] = "~Redigera"; + Text[ pl ] = "~Edycja"; + Text[ pt-BR ] = "~Editar"; + Text[ th ] = "แ~ก้ไข"; + Text[ ja ] = "編集(~E)"; + Text[ ko ] = "편집(~E)"; + Text[ zh-CN ] = "编辑(~E)"; + Text[ zh-TW ] = "編輯(~E)"; + Text[ tr ] = "~Düzenle"; + Text[ hi-IN ] = "~संपादन"; + Text[ ar ] = "~تحرير"; + Text[ he ] = "עריכה"; +}; + +#ifdef MN_SW_WEB + #ifdef MN_SW_PORTAL + #define _MN_VIEW MN_WEBVIEW_PORT + #else + #define _MN_VIEW MN_WEBVIEW + #endif +#elif defined MN_SW_GLOBAL //5 + #ifdef MN_SW_PORTAL + #define _MN_VIEW MN_GLOBALVIEW_PORT + #else + #define _MN_VIEW MN_GLOBALVIEW + #endif +#else + #ifdef MN_SW_PORTAL + #define _MN_VIEW MN_VIEW_PORT + #else + #define _MN_VIEW MN_VIEW + #endif +#endif + +MenuItem _MN_VIEW +{ + Identifier = FN_VIEW ; + HelpID = FN_VIEW ; + Text [ de ] = "~Ansicht" ; + Text [ en-US ] = "~View" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + ITEM_VIEW_ATTR_ZOOM + }; +#ifndef MN_SW_WEB +#ifndef MN_SW_PORTAL + SEPARATOR ; + MenuItem + { + ITEM_VIEW_DATA_SOURCE_BROWSER + }; +#endif //MN_SW_PORTAL +#endif + SEPARATOR ; + MenuItem + { + Identifier = MN_SUB_TOOLBAR ; + HelpID = HID_MN_SUB_TOOLBAR ; + Text [ de ] = "S~ymbolleisten" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + ITEM_VIEW_TOGGLEFUNCTIONBAR + }; + MenuItem + { + ITEM_VIEW_TOGGLEOBJECTBAR + }; + MenuItem + { + Identifier = SID_TOGGLETOOLBAR ; + HelpID = SID_TOGGLETOOLBAR ; + Text [ de ] = "~Werkzeugleiste" ; + Text [ en-US ] = "Main ~Toolbar" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Barra de ~ferramentas"; + Text[ ru ] = "Главная панель инструментов"; + Text[ el ] = "Γραμμή εργαλεί~ων"; + Text[ nl ] = "Werk~tuigbalk"; + Text[ fr ] = "Barre d'~instruments"; + Text[ es ] = "Barra de ~herramientas"; + Text[ fi ] = "Päätyök~alurivi"; + Text[ ca ] = "~Barra principal"; + Text[ it ] = "~Barra degli strumenti"; + Text[ sk ] = "Hlavný ~panel nástrojov"; + Text[ da ] = "~Værktøjslinje"; + Text[ sv ] = "~Verktygslist"; + Text[ pl ] = "~Główny pasek narzędzi"; + Text[ pt-BR ] = "Barra de ~Ferramentas Principal"; + Text[ th ] = "แ~ถบเครื่องมือหลัก"; + Text[ ja ] = "標準ツールバー(~T)"; + Text[ ko ] = "주 도구 모음(~T)"; + Text[ zh-CN ] = "主工具栏(~T)"; + Text[ zh-TW ] = "主工具列(~T)"; + Text[ tr ] = "Ana ~araç çubuğu"; + Text[ hi-IN ] = "मुख्य ~औज़ार पट्टी"; + Text[ ar ] = "شريط الأدوات"; + Text[ he ] = "~Werkzeugleiste"; + }; + MenuItem + { + ITEM_INSERT_HYPERLINK_INSERT + }; + MenuItem + { + Identifier = FN_EDIT_FORMULA ; + HelpID = FN_EDIT_FORMULA ; + Text [ de ] = "~Rechenleiste" ; + Text [ en-US ] = "Fo~rmula Bar" ; + Text[ pt ] = "Fo~rmularbar"; + Text[ ru ] = "Fo~rmularbar"; + Text[ el ] = "Fo~rmularbar"; + Text[ nl ] = "Fo~rmularbar"; + Text[ fr ] = "Barre de ~calcul"; + Text[ es ] = "~Barra de fórmulas"; + Text[ fi ] = "Fo~rmularbar"; + Text[ ca ] = "Fo~rmula Bar"; + Text[ it ] = "~Barra di calcolo"; + Text[ sk ] = "Pa~nel vzorcov"; + Text[ da ] = "Fo~rmularbar"; + Text[ sv ] = "For~mellist"; + Text[ pl ] = "Fo~rmularbar"; + Text[ pt-BR ] = "Barra de fórmulas"; + Text[ th ] = "Fo~rmula Bar"; + Text[ ja ] = "数式バー(~R)"; + Text[ ko ] = "수식 표시줄(~R)"; + Text[ zh-CN ] = "编辑栏(~R)"; + Text[ zh-TW ] = "編輯列(~R)"; + Text[ tr ] = "~Formül Çubuğu"; + Text[ hi-IN ] = "Fo~rmula Bar"; + Text[ ar ] = "Fo~rmularbar"; + Text[ he ] = "~Rechenleiste"; + }; + SEPARATOR ; + MenuItem + { + Identifier = SID_CUSTOMIZETOOLBOX ; + HelpID = SID_CUSTOMIZETOOLBOX ; + Text [ de ] = "~Bearbeiten..." ; + Text [ en-US ] = "Customi~ze..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Personalizar..."; + Text[ ru ] = "Настроить..."; + Text[ el ] = "Επεξεργασία..."; + Text[ nl ] = "B~ewerken..."; + Text[ fr ] = "~Personnaliser..."; + Text[ es ] = "~Personalizar..."; + Text[ fi ] = "M~ukauta..."; + Text[ ca ] = "Personalit~za..."; + Text[ it ] = "~Modifica..."; + Text[ sk ] = "Prispôso~biť... "; + Text[ da ] = "~Rediger..."; + Text[ sv ] = "~Redigera..."; + Text[ pl ] = "~Dostosuj..."; + Text[ pt-BR ] = "~Personalizar..."; + Text[ th ] = "กำหนดเ~อง..."; + Text[ ja ] = "カスタマイズ(~Z)..."; + Text[ ko ] = "사용자 정의(~Z)..."; + Text[ zh-CN ] = "编辑(~Z)..."; + Text[ zh-TW ] = "編輯(~Z)..."; + Text[ tr ] = "Özelleştir..."; + Text[ hi-IN ] = "व्य~वस्था करो..."; + Text[ ar ] = "...تخصيص"; + Text[ he ] = "~Bearbeiten..."; + }; + }; + }; + Text [ en-US ] = "~Toolbars" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Barras de ~ferramentas"; + Text[ ru ] = "Панели инструментов"; + Text[ el ] = "Γραμμές εργαλεί~ων"; + Text[ nl ] = "Werk~balken"; + Text[ fr ] = "Barres d'~outils"; + Text[ es ] = "Barras de ~símbolos"; + Text[ fi ] = "~Työkalurivit"; + Text[ ca ] = "~Barres d'eines"; + Text[ it ] = "~Barre dei simboli"; + Text[ sk ] = "Panely nás~trojov"; + Text[ da ] = "I~konlinjer"; + Text[ sv ] = "S~ymbollister"; + Text[ pl ] = "Paski na~rzędzi"; + Text[ pt-BR ] = "Barras de ~Ferramentas"; + Text[ th ] = "แ~ถบเครื่องมือ"; + Text[ ja ] = "ツールバー(~T)"; + Text[ ko ] = "도구 모음(~T)"; + Text[ zh-CN ] = "图标栏(~T)"; + Text[ zh-TW ] = "工具列(~T)"; + Text[ tr ] = "~Araç çubukları"; + Text[ hi-IN ] = "औ~ज़ार पट्टी"; + Text[ ar ] = "أشرطة الرموز"; + Text[ he ] = "סרגלי כלים"; + }; + MenuItem + { + Identifier = FN_RULER ; + HelpID = FN_RULER ; + Text [ de ] = "~Lineal" ; + Text [ en-US ] = "~Ruler" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Régua"; + Text[ ru ] = "Линейка"; + Text[ el ] = "Χάρακας"; + Text[ nl ] = "~Liniaal"; + Text[ fr ] = "~Règle"; + Text[ es ] = "~Regla"; + Text[ fi ] = "~Viivain"; + Text[ ca ] = "~Regle"; + Text[ it ] = "Righe~llo"; + Text[ sk ] = "P~ravítko"; + Text[ da ] = "~Lineal"; + Text[ sv ] = "~Linjal"; + Text[ pl ] = "Lini~jka"; + Text[ pt-BR ] = "~Régua"; + Text[ th ] = "ไ~ม้บรรทัด"; + Text[ ja ] = "ルーラ(~R)"; + Text[ ko ] = "눈금자(~R)"; + Text[ zh-CN ] = "标尺(~R)"; + Text[ zh-TW ] = "標尺(~R)"; + Text[ tr ] = "~Cetvel"; + Text[ hi-IN ] = "~रूलर"; + Text[ ar ] = "المسطرة"; + Text[ he ] = "סרגל"; + }; + MenuItem + { + ITEM_VIEW_TOGGLESTATUSBAR + }; + MenuItem + { + ITEM_VIEW_TOGGLEIMESTATUSWINDOW + }; + SEPARATOR ; + MenuItem + { + Identifier = FN_VIEW_BOUNDS ; + HelpID = FN_VIEW_BOUNDS ; + Text [ de ] = "Te~xtbegrenzungen" ; + Text [ en-US ] = "Te~xt Boundaries" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Limites do texto"; + Text[ ru ] = "Границы текста"; + Text[ el ] = "Όρια ~κειμένου"; + Text[ nl ] = "T~ekstbegrenzingen"; + Text[ fr ] = "Délimitations du te~xte"; + Text[ es ] = "~Límites del texto"; + Text[ fi ] = "T~ekstin rajat"; + Text[ ca ] = "Límits del te~xt "; + Text[ it ] = "~Margini del testo"; + Text[ sk ] = "Hranice te~xtu"; + Text[ da ] = "T~ekstmargener"; + Text[ sv ] = "Te~xtbegränsningar"; + Text[ pl ] = "Granice te~kstu"; + Text[ pt-BR ] = "Li~mites do Texto"; + Text[ th ] = "เขตแดนข้อ~ความ"; + Text[ ja ] = "テキストの境界(~X)"; + Text[ ko ] = "텍스트 경계선(~X)"; + Text[ zh-CN ] = "正文边界(~X)"; + Text[ zh-TW ] = "內文邊界(~X)"; + Text[ tr ] = "~Metin sınırları"; + Text[ hi-IN ] = "~टेक्स्ट् सीमा"; + Text[ ar ] = "حدود النص"; + Text[ he ] = "גבולות טקסט"; + }; + MenuItem + { + Identifier = FN_VIEW_MARKS ; + HelpID = FN_VIEW_MARKS ; + Text [ de ] = "Ma~rkierungen" ; + Text [ en-US ] = "Fie~ld Shadings" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Sombreados"; + Text[ ru ] = "Затенение полей"; + Text[ el ] = "Σημάδια"; + Text[ nl ] = "~Markeringen"; + Text[ fr ] = "M~arques"; + Text[ es ] = "~Marcas"; + Text[ fi ] = "Kentän va~rjostus"; + Text[ ca ] = "~Ombres de camp"; + Text[ it ] = "Contra~ssegni"; + Text[ sk ] = "~Tieňovanie poľa"; + Text[ da ] = "Ma~rkeringer"; + Text[ sv ] = "Ma~rkeringar"; + Text[ pl ] = "Cieniowanie pó~l"; + Text[ pt-BR ] = "~Sombreamento de campo"; + Text[ th ] = "แรเงาเขตข้~อมูล"; + Text[ ja ] = "灰色のバックで強調(~L)"; + Text[ ko ] = "필드 음영(~L)"; + Text[ zh-CN ] = "字段背景颜色(~L)"; + Text[ zh-TW ] = "欄位背景顏色(~L)"; + Text[ tr ] = "Alan gö~lgeleme"; + Text[ hi-IN ] = "क्षे~त्र छाया"; + Text[ ar ] = "تحديد"; + Text[ he ] = "הצללת שדות"; + }; + MenuItem + { + Identifier = FN_VIEW_FIELDNAME ; + HelpID = FN_VIEW_FIELDNAME ; + Text [ de ] = "~Feldbefehle" ; + Text [ en-US ] = "~Fields" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Ca~mpos"; + Text[ ru ] = "Поля"; + Text[ el ] = "Εντολές πεδίου"; + Text[ nl ] = "~Veldopdrachten"; + Text[ fr ] = "C~hamps"; + Text[ es ] = "~Campos"; + Text[ fi ] = "~Kentät"; + Text[ ca ] = "~Camps"; + Text[ it ] = "~Comandi di campo"; + Text[ sk ] = "~Pole"; + Text[ da ] = "~Felter"; + Text[ sv ] = "~Fältkommandon"; + Text[ pl ] = "~Pola"; + Text[ pt-BR ] = "~Campos"; + Text[ th ] = "เ~ขตข้อมูล"; + Text[ ja ] = "フィールド(~F)"; + Text[ ko ] = "필드(~F)"; + Text[ zh-CN ] = "字段指令(~F)"; + Text[ zh-TW ] = "欄位指令(~F)"; + Text[ tr ] = "~Alan öğeleri"; + Text[ hi-IN ] = "~क्षेत्र"; + Text[ ar ] = "حقول"; + Text[ he ] = "שדות"; + }; + MenuItem + { + Identifier = FN_VIEW_META_CHARS ; + HelpID = FN_VIEW_META_CHARS ; + Text [ de ] = "Steuer~zeichen" ; + Text [ en-US ] = "~Nonprinting Characters" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Caracteres não imprimíveis"; + Text[ ru ] = "Непечатаемые символы"; + Text[ el ] = "Μη εκτ~υπώσιμοι χαρακτήρες"; + Text[ nl ] = "Bes~turingstekens"; + Text[ fr ] = "~Caractères non imprimables"; + Text[ es ] = "Caracteres ~no imprimibles"; + Text[ fi ] = "T~ulostumattomat merkit"; + Text[ ca ] = "Caràcters no ~imprimibles"; + Text[ it ] = "Caratteri n~on stampabili"; + Text[ sk ] = "~Riadiace znaky"; + Text[ da ] = "Kontrol~tegn"; + Text[ sv ] = "Ko~ntrolltecken"; + Text[ pl ] = "Znaki ~niedrukowalne"; + Text[ pt-BR ] = "Caracteres Não im~primíveis"; + Text[ th ] = "ไ~ม่พิมพ์ตัวอักขระ"; + Text[ ja ] = "編集記号(~N)"; + Text[ ko ] = "인쇄할 수 없는 문자(~N)"; + Text[ zh-CN ] = "控制符号(~N)"; + Text[ zh-TW ] = "控制符號(~N)"; + Text[ tr ] = "~Denetim karakterleri"; + Text[ hi-IN ] = "~छपाई करने अयोग्य अक्षरें"; + Text[ ar ] = "أحرف لا تُطبع"; + Text[ he ] = "תוים בלתי נראים"; + }; + MenuItem + { + Identifier = FN_VIEW_HIDDEN_PARA ; + HelpID = FN_VIEW_HIDDEN_PARA ; + /* ### ACHTUNG: Neuer Text in Resource? ~Versteckte Abstze : ~Versteckte Abstze */ + Text [ de ] = "~Versteckte Abstze" ; + Text [ en-US ] = "~Hidden Paragraphs" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Parágrafos ocultos"; + Text[ ru ] = "Скрытые абзацы"; + Text[ el ] = "Κρυ~φές παράγραφοι"; + Text[ nl ] = "Ve~rborgen alinea's"; + Text[ fr ] = "~Paragraphes masqués"; + Text[ es ] = "Párrafos ~ocultos"; + Text[ fi ] = "~Piilotetut kappaleet"; + Text[ ca ] = "Paràgrafs ~amagats"; + Text[ it ] = "~Paragrafi nascosti"; + Text[ sk ] = "~Skryté odstavce"; + Text[ da ] = "Sk~julte afsnit"; + Text[ sv ] = "Dold~a stycken"; + Text[ pl ] = "~Ukryte akapity"; + Text[ pt-BR ] = "Parágrafos ~Ocultos"; + Text[ th ] = "ย่อหน้าที่~ซ่อนไว้"; + Text[ ja ] = "隠し段落(~H)"; + Text[ ko ] = "숨겨진 단락(~H)"; + Text[ zh-CN ] = "隐入的段落(~H)"; + Text[ zh-TW ] = "隱入的段落(~H)"; + Text[ tr ] = "~Gizli paragraflar"; + Text[ hi-IN ] = "छिपा हु~आ परिच्छेद"; + Text[ ar ] = "فقرات مخفية"; + Text[ he ] = "פסקאות נסתרות"; + }; + SEPARATOR ; +#ifndef MN_SW_WEB + MenuItem + { + ITEM_VIEW_BROWSER_MODE + }; +#else + MenuItem + { + Identifier = FN_PRINT_LAYOUT ; + HelpID = FN_PRINT_LAYOUT ; + Text [ de ] = "~Druck - Layout" ; + Text [ en-US ] = "~Print Layout" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Configuração da impressão"; + Text[ ru ] = "Разметка печати"; + Text[ el ] = "~Διάταξη εκτύπωσης"; + Text[ nl ] = "~Afdruklay-out"; + Text[ fr ] = "~Mise en page d'impression"; + Text[ es ] = "~Configuración de impresión"; + Text[ fi ] = "~Tulostusasettelu"; + Text[ ca ] = "Im~primeix disseny"; + Text[ it ] = "Layout di ~stampa"; + Text[ sk ] = "Formát ~tlače"; + Text[ da ] = "~Udskriftslayout"; + Text[ sv ] = "~Utskriftslayout"; + Text[ pl ] = "Układ w~ydruku"; + Text[ pt-BR ] = "~Layout de Impressão"; + Text[ th ] = "~พิมพ์เค้าโครง"; + Text[ ja ] = "印刷レイアウト(~P)"; + Text[ ko ] = "인쇄 모양(~P)"; + Text[ zh-CN ] = "印刷版式(~P)"; + Text[ zh-TW ] = "列印版式(~P)"; + Text[ tr ] = "~Baskı düzeni"; + Text[ hi-IN ] = "~छपाई अभिन्यास"; + Text[ ar ] = "تخطيط الطباعة"; + Text[ he ] = "~Druck - Layout"; + }; + MenuItem + { + Identifier = SID_SOURCEVIEW ; + HelpID = HID_SOURCEVIEW ; + Text [ de ] = "HTML - ~Quelltext" ; + Text [ en-US ] = "HT~ML - Source" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Fonte ~HTML"; + Text[ ru ] = "Исходный текст HTM~L"; + Text[ el ] = "HT~ML - Προέλευση"; + Text[ nl ] = "~HTML-brontekst"; + Text[ fr ] = "HTML - ~Source"; + Text[ es ] = "~HTML - Texto fuente"; + Text[ fi ] = "~HTML-lähde"; + Text[ ca ] = "Font HT~ML "; + Text[ it ] = "Testo sorgente HTM~L"; + Text[ sk ] = "HT~ML - zdroj"; + Text[ da ] = "HTML-kil~detekst"; + Text[ sv ] = "HTML-källtext"; + Text[ pl ] = "Tekst źródłowy HT~ML"; + Text[ pt-BR ] = "Origem HT~ML"; + Text[ th ] = "แหล่ง HT~ML "; + Text[ ja ] = "HT~ML ソーステキスト"; + Text[ ko ] = "HTML 원본(~M)"; + Text[ zh-CN ] = "HT~ML 源文本"; + Text[ zh-TW ] = "HT~ML 原始檔"; + Text[ tr ] = "~HTML Kaynağı"; + Text[ hi-IN ] = "HT~ML मूल"; + Text[ ar ] = "نص مصدر HTML"; + Text[ he ] = "HTML - ~Quelltext"; + }; +#endif + ITEM_VIEW_SCREENMODE + }; + }; + Text [ x-comment ] = " "; + Text[ pt ] = "~Ver"; + Text[ ru ] = "~Вид"; + Text[ el ] = "Προ~βολή"; + Text[ nl ] = "Beel~d"; + Text[ fr ] = "~Affichage"; + Text[ es ] = "~Ver"; + Text[ fi ] = "~Näytä"; + Text[ ca ] = "~Visualitza"; + Text[ it ] = "~Visualizza"; + Text[ sk ] = "~Zobraziť"; + Text[ da ] = "~Vis"; + Text[ sv ] = "Vi~sa"; + Text[ pl ] = "~Widok"; + Text[ pt-BR ] = "~Ver"; + Text[ th ] = "~มุมมอง"; + Text[ ja ] = "表示(~V)"; + Text[ ko ] = "보기(~V)"; + Text[ zh-CN ] = "视图(~V)"; + Text[ zh-TW ] = "檢視(~V)"; + Text[ tr ] = "~Görünüm"; + Text[ hi-IN ] = "~दृश्य"; + Text[ ar ] = "~عرض"; + Text[ he ] = "תצוגה"; +}; + +#ifdef MN_SW_WEB + #ifdef MN_SW_PORTAL + #define _MN_INS MN_WEBINS_PORT + #else + #define _MN_INS MN_WEBINS + #endif +#elif defined MN_SW_GLOBAL //6 + #ifdef MN_SW_PORTAL + #define _MN_INS MN_GLOBALINS_PORT + #else + #define _MN_INS MN_GLOBALINS + #endif +#else + #ifdef MN_SW_PORTAL + #define _MN_INS MN_INS_PORT + #else + #define _MN_INS MN_INS + #endif +#endif + +MenuItem _MN_INS +{ + Identifier = MN_INS ; + HelpID = MN_INS ; + /* ### ACHTUNG: Neuer Text in Resource? ~Einfgen : ~Einfgen */ + Text [ de ] = "~Einfgen" ; + Text [ en-US ] = "~Insert" ; + SubMenu = Menu + { + ItemList = + { +#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_INSERT_BREAK_DLG ; + HelpID = FN_INSERT_BREAK_DLG ; + Text [ de ] = "Manueller ~Umbruch..." ; + Text [ en-US ] = "Manual ~Break..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Quebra manual..."; + Text[ ru ] = "Разрыв..."; + Text[ el ] = "Χειροκίνητη αλλαγή..."; + Text[ nl ] = "~Handmatig einde..."; + Text[ fr ] = "~Saut manuel..."; + Text[ es ] = "~Salto manual..."; + Text[ fi ] = "Manuaal~inen vaihto..."; + Text[ ca ] = "Sa~lt manual..."; + Text[ it ] = "Interruzione ~manuale..."; + Text[ sk ] = "Ručné ~zalomenie..."; + Text[ da ] = "Man~uelt sideskift..."; + Text[ sv ] = "Man~uell brytning..."; + Text[ pl ] = "~Ręczny podział..."; + Text[ pt-BR ] = "Que~bra Manual..."; + Text[ th ] = "แ~บ่งด้วยตนเอง..."; + Text[ ja ] = "任意区切り(~B)..."; + Text[ ko ] = "수동 나누기(~B)..."; + Text[ zh-CN ] = "手动换行(~B)..."; + Text[ zh-TW ] = "手動換行(~B)..."; + Text[ tr ] = "~Manüel kesme"; + Text[ hi-IN ] = "मानुवल ~खण्डन..."; + Text[ ar ] = "...فاصل يدوي"; + Text[ he ] = "Manueller ~Umbruch..."; + }; +#endif + MenuItem + { + Identifier = MN_SUB_FIELD ; + HelpID = HID_MN_SUB_FIELD ; + Text [ de ] = "~Feldbefehl" ; + Text [ en-US ] = "Fiel~ds" ; + /* ### ACHTUNG: Neuer Text in Resource? Feldbefehle einfgen : Feldbefehle einfgen */ + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = FN_INSERT_FLD_DATE ; + HelpID = FN_INSERT_FLD_DATE ; + Text [ de ] = "~Datum" ; + Text [ en-US ] = "~Date" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Data"; + Text[ ru ] = "Дата"; + Text[ el ] = "Ημερομηνία"; + Text[ nl ] = "~Datum"; + Text[ fr ] = "~Date"; + Text[ es ] = "~Fecha"; + Text[ fi ] = "~Päivämäärä"; + Text[ ca ] = "~Data"; + Text[ it ] = "~Data"; + Text[ sk ] = "~Dátum"; + Text[ da ] = "~Dato"; + Text[ sv ] = "~Datum"; + Text[ pl ] = "~Data"; + Text[ pt-BR ] = "~Data"; + Text[ th ] = "~วันที่"; + Text[ ja ] = "日付(~D)"; + Text[ ko ] = "날짜(~D)"; + Text[ zh-CN ] = "日期(~D)"; + Text[ zh-TW ] = "日期(~D)"; + Text[ tr ] = "~Tarih"; + Text[ hi-IN ] = "~दिनांक"; + Text[ ar ] = "التاريخ"; + Text[ he ] = "תאריך"; + }; + MenuItem + { + Identifier = FN_INSERT_FLD_TIME ; + HelpID = FN_INSERT_FLD_TIME ; + Text [ de ] = "~Uhrzeit" ; + Text [ en-US ] = "~Time" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Hora"; + Text[ ru ] = "Время"; + Text[ el ] = "Ώ~ρα"; + Text[ nl ] = "~Tijd"; + Text[ fr ] = "~Heure"; + Text[ es ] = "~Hora"; + Text[ fi ] = "~Aika"; + Text[ ca ] = "~Hora"; + Text[ it ] = "O~rario"; + Text[ sk ] = "Ča~s"; + Text[ da ] = "~Klokkeslæt"; + Text[ sv ] = "~Klockslag"; + Text[ pl ] = "~Godzina"; + Text[ pt-BR ] = "~Hora"; + Text[ th ] = "เ~วลา"; + Text[ ja ] = "時刻(~T)"; + Text[ ko ] = "시간(~T)"; + Text[ zh-CN ] = "时间(~T)"; + Text[ zh-TW ] = "時間(~T)"; + Text[ tr ] = "~Zaman"; + Text[ hi-IN ] = "~समय"; + Text[ ar ] = "الوقت"; + Text[ he ] = "שעה"; + }; + MenuItem + { + Identifier = FN_INSERT_FLD_PGNUMBER ; + HelpID = FN_INSERT_FLD_PGNUMBER ; + Text [ de ] = "~Seitennummer" ; + Text [ en-US ] = "~Page Number" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Número de ~página"; + Text[ ru ] = "Номер страницы"; + Text[ el ] = "Αριθμός ~σελίδας"; + Text[ nl ] = "~Paginanummer"; + Text[ fr ] = "~Numéro de page"; + Text[ es ] = "~Número de página"; + Text[ fi ] = "~Sivunumero"; + Text[ ca ] = "~Números de pàgina"; + Text[ it ] = "Numeri di pa~gina"; + Text[ sk ] = "Číslo ~stránky"; + Text[ da ] = "~Sidetal"; + Text[ sv ] = "~Sidnummer"; + Text[ pl ] = "Numery ~stron"; + Text[ pt-BR ] = "Números de ~Página"; + Text[ th ] = "เลข~หน้า"; + Text[ ja ] = "ページ番号(~P)"; + Text[ ko ] = "페이지 번호(~P)"; + Text[ zh-CN ] = "页码(~P)"; + Text[ zh-TW ] = "頁碼(~P)"; + Text[ tr ] = "~Sayfa Numarası"; + Text[ hi-IN ] = "पृष्ठ ~संख्या"; + Text[ ar ] = "رقم الصفحة"; + Text[ he ] = "~Seitennummer"; + }; + MenuItem + { + Identifier = FN_INSERT_FLD_PGCOUNT ; + HelpID = FN_INSERT_FLD_PGCOUNT ; + /* ### ACHTUNG: Neuer Text in Resource? Seitenan~zahl : Seitenanzahl */ + Text [ de ] = "Seitenan~zahl" ; + Text [ en-US ] = "Page ~Count" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Contar páginas"; + Text[ ru ] = "Количество страниц"; + Text[ el ] = "~Σύνολο σελιδών"; + Text[ nl ] = "Aa~ntal pagina's"; + Text[ fr ] = "Nom~bre de pages"; + Text[ es ] = "~Contar páginas"; + Text[ fi ] = "Sivum~äärä"; + Text[ ca ] = "~Compte pàgines"; + Text[ it ] = "Numero di ~pagine"; + Text[ sk ] = "~Počet stránok"; + Text[ da ] = "Side~antal"; + Text[ sv ] = "Sida~ntal"; + Text[ pl ] = "~Liczba stron"; + Text[ pt-BR ] = "~Total de Páginas"; + Text[ th ] = "~นับหน้า"; + Text[ ja ] = "ページ総数(~C)"; + Text[ ko ] = "페이지 수(~C)"; + Text[ zh-CN ] = "页数(~C)"; + Text[ zh-TW ] = "頁數(~C)"; + Text[ tr ] = "Sayfa ~sayısı"; + Text[ hi-IN ] = "पृष्ठ ~गिनती"; + Text[ ar ] = "عدد الصفحات"; + Text[ he ] = "סך הכל עמודיםl"; + }; +#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_INSERT_FLD_TOPIC ; + HelpID = FN_INSERT_FLD_TOPIC ; + Text [ de ] = "~Thema" ; + Text [ en-US ] = "~Subject" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Assunto"; + Text[ ru ] = "Тема"; + Text[ el ] = "~Θέμα"; + Text[ nl ] = "~Onderwerp"; + Text[ fr ] = "~Sujet"; + Text[ es ] = "~Asunto"; + Text[ fi ] = "A~ihe"; + Text[ ca ] = "~Assumpte"; + Text[ it ] = "Argo~mento"; + Text[ sk ] = "~Predmet"; + Text[ da ] = "~Emne"; + Text[ sv ] = "~Ämne"; + Text[ pl ] = "T~emat"; + Text[ pt-BR ] = "~Assunto"; + Text[ th ] = "~ชื่อเรื่อง"; + Text[ ja ] = "テーマ(~S)"; + Text[ ko ] = "주제(~S)"; + Text[ zh-CN ] = "主题(~S)"; + Text[ zh-TW ] = "主題(~S)"; + Text[ tr ] = "~Konu"; + Text[ hi-IN ] = "~विषय"; + Text[ ar ] = "الموضوع"; + Text[ he ] = "נושא"; + }; +#endif + MenuItem + { + Identifier = FN_INSERT_FLD_TITLE ; + HelpID = FN_INSERT_FLD_TITLE ; + /* ### ACHTUNG: Neuer Text in Resource? T~itel : Titel */ + Text [ de ] = "T~itel" ; + Text [ en-US ] = "~Title" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Título"; + Text[ ru ] = "Заголовок"; + Text[ el ] = "Τίτλος"; + Text[ nl ] = "Tite~l"; + Text[ fr ] = "~Titre"; + Text[ es ] = "~Título"; + Text[ fi ] = "~Otsikko"; + Text[ ca ] = "~Títol"; + Text[ it ] = "T~itolo"; + Text[ sk ] = "~Nadpis"; + Text[ da ] = "T~itel"; + Text[ sv ] = "T~itel"; + Text[ pl ] = "Tyt~uł"; + Text[ pt-BR ] = "~Título"; + Text[ th ] = "~ชื่อ"; + Text[ ja ] = "タイトル(~T)"; + Text[ ko ] = "제목(~T)"; + Text[ zh-CN ] = "标题(~T)"; + Text[ zh-TW ] = "標題(~T)"; + Text[ tr ] = "~Başlık"; + Text[ hi-IN ] = "~शीर्षक"; + Text[ ar ] = "العنوان"; + Text[ he ] = "כותרת"; + }; + MenuItem + { + Identifier = FN_INSERT_FLD_AUTHOR ; + HelpID = FN_INSERT_FLD_AUTHOR ; + /* ### ACHTUNG: Neuer Text in Resource? Aut~or : Autor */ + Text [ de ] = "Aut~or" ; + Text [ en-US ] = "~Author" ; + Text [ x-comment ] = " "; + Text[ pt ] = "A~utor"; + Text[ ru ] = "Автор"; + Text[ el ] = "Συντάκτης"; + Text[ nl ] = "A~uteur"; + Text[ fr ] = "Auteur"; + Text[ es ] = "A~utor"; + Text[ fi ] = "~Tekijä"; + Text[ ca ] = "A~utor"; + Text[ it ] = "Aut~ore"; + Text[ sk ] = "~Autor"; + Text[ da ] = "F~orfatter"; + Text[ sv ] = "~Författare"; + Text[ pl ] = "~Autor"; + Text[ pt-BR ] = "Au~tor"; + Text[ th ] = "~ผู้เขียน"; + Text[ ja ] = "作成者(~A)"; + Text[ ko ] = "작성자(~A)"; + Text[ zh-CN ] = "作者(~A)"; + Text[ zh-TW ] = "作者(~A)"; + Text[ tr ] = "~Yazan"; + Text[ hi-IN ] = "~लेखक"; + Text[ ar ] = "المؤلف"; + Text[ he ] = "מחבר"; + }; + SEPARATOR ; + MenuItem + { + Identifier = FN_INSERT_FIELD ; + HelpID = FN_INSERT_FIELD ; + Text [ de ] = "~Andere..." ; + Text [ en-US ] = "~Other..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Outros..."; + Text[ ru ] = "~Дополнительно..."; + Text[ el ] = "Άλλ~α..."; + Text[ nl ] = "~Andere..."; + Text[ fr ] = "~Autres..."; + Text[ es ] = "~Otros..."; + Text[ fi ] = "~Muu..."; + Text[ ca ] = "A~ltres..."; + Text[ it ] = "~Altro..."; + Text[ sk ] = "I~né..."; + Text[ da ] = "A~ndre..."; + Text[ sv ] = "~Andra..."; + Text[ pl ] = "~Inne..."; + Text[ pt-BR ] = "~Outro..."; + Text[ th ] = "~อื่น ๆ..."; + Text[ ja ] = "その他(~O)..."; + Text[ ko ] = "기타(~O)..."; + Text[ zh-CN ] = "其他(~O)..."; + Text[ zh-TW ] = "其他(~O)..."; + Text[ tr ] = "~Diğer..."; + Text[ hi-IN ] = "~अन्य ..."; + Text[ ar ] = "أخرى..."; + Text[ he ] = "~Andere..."; + }; + }; + }; + Text [ x-comment ] = " "; + Text[ pt ] = "Ca~mpos"; + Text[ ru ] = "Поля"; + Text[ el ] = "Εντολή πεδίου"; + Text[ nl ] = "Veldopd~racht"; + Text[ fr ] = "C~hamp"; + Text[ es ] = "~Campos"; + Text[ fi ] = "Kentt~ä"; + Text[ ca ] = "Cam~ps"; + Text[ it ] = "Comando di cam~po"; + Text[ sk ] = "Po~le"; + Text[ da ] = "~Felt"; + Text[ sv ] = "~Fältkommando"; + Text[ pl ] = "Po~la"; + Text[ pt-BR ] = "Ca~mpos"; + Text[ th ] = "เขตข้~อมูล"; + Text[ ja ] = "フィールド(~D)"; + Text[ ko ] = "필드(~D)"; + Text[ zh-CN ] = "字段指令(~D)"; + Text[ zh-TW ] = "欄位指令(~D)"; + Text[ tr ] = "Alan ~öğeleri"; + Text[ hi-IN ] = "~क्षेत्रें"; + Text[ ar ] = "حقل"; + Text[ he ] = "~Feldbefehl"; + }; + MenuItem + { + Identifier = FN_INSERT_SYMBOL ; + HelpID = FN_INSERT_SYMBOL ; + Text [ de ] = "~Sonderzeichen..." ; + Text [ en-US ] = "S~pecial Character..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Carac~teres especiais..."; + Text[ ru ] = "Cимволы..."; + Text[ el ] = "Ειδικοί χαρακτήρε~ς..."; + Text[ nl ] = "~Speciale tekens..."; + Text[ fr ] = "~Caractères spéciaux..."; + Text[ es ] = "S~ímbolos..."; + Text[ fi ] = "Merkk~i..."; + Text[ ca ] = "Caràcter ~especial..."; + Text[ it ] = "Carattere ~speciale..."; + Text[ sk ] = "Š~peciálny znak..."; + Text[ da ] = "~Specialtegn..."; + Text[ sv ] = "~Specialtecken..."; + Text[ pl ] = "Znaki specjalne..."; + Text[ pt-BR ] = "Caracter Es~pecial..."; + Text[ th ] = "ตัวอักขระพิเ~ศษ..."; + Text[ ja ] = "記号と特殊文字(~P)..."; + Text[ ko ] = "기호 및 특수 문자(~P)..."; + Text[ zh-CN ] = "特殊字符(~P)..."; + Text[ zh-TW ] = "特殊字元(~P)..."; + Text[ tr ] = "Ö~zel karakterler..."; + Text[ hi-IN ] = "वि~शेष अक्षर..."; + Text[ ar ] = "...رموز خاصة"; + Text[ he ] = "~Sonderzeichen..."; + }; + SEPARATOR ; + MenuItem + { + Identifier = FN_INSERT_REGION ; + HelpID = FN_INSERT_REGION; + Text [ de ] = "Bereic~h..." ; + Text [ en-US ] = "~Section..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Secção..."; + Text[ ru ] = "Раздел..."; + Text[ el ] = "Ενότ~ητα..."; + Text[ nl ] = "Bereik~..."; + Text[ fr ] = "Secti~on..."; + Text[ es ] = "~Sección..."; + Text[ fi ] = "~Osa..."; + Text[ ca ] = "~Secció..."; + Text[ it ] = "Se~zione..."; + Text[ sk ] = "~Sekcia..."; + Text[ da ] = "Områd~e..."; + Text[ sv ] = "Område..."; + Text[ pl ] = "Sek~cja..."; + Text[ pt-BR ] = "~Seção..."; + Text[ th ] = "~ส่วน..."; + Text[ ja ] = "範囲(~S)..."; + Text[ ko ] = "구역(~S)..."; + Text[ zh-CN ] = "区域(~S)..."; + Text[ zh-TW ] = "區域(~S)..."; + Text[ tr ] = "~Bölüm..."; + Text[ hi-IN ] = "~विभाग..."; + Text[ ar ] = "نطاق..."; + Text[ he ] = "מיקטע..."; + }; + ITEM_HYPERLINK_DIALOG + SEPARATOR ; +#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_INSERT_PAGEHEADER ; + HelpID = FN_INSERT_PAGEHEADER ; + Text [ de ] = "Ko~pfzeile" ; + Text [ en-US ] = "He~ader" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Cabeçalho"; + Text[ ru ] = "Верхний колонтитул"; + Text[ el ] = "Κε~φαλίδα"; + Text[ nl ] = "Ko~ptekst"; + Text[ fr ] = "~En-tête"; + Text[ es ] = "~Encabezamiento"; + Text[ fi ] = "~Ylätunniste"; + Text[ ca ] = "C~apçalera"; + Text[ it ] = "Ri~ga d'intestazione"; + Text[ sk ] = "Záhl~avie"; + Text[ da ] = "Side~hoved"; + Text[ sv ] = "Sidhuvud"; + Text[ pl ] = "Na~główek"; + Text[ pt-BR ] = "~Cabeçalho"; + Text[ th ] = "ส่วนหั~ว"; + Text[ ja ] = "ヘッダ(~A)"; + Text[ ko ] = "머리글(~A)"; + Text[ zh-CN ] = "页眉(~A)"; + Text[ zh-TW ] = "頁首(~A)"; + Text[ tr ] = "Başlık"; + Text[ hi-IN ] = "पृष्ठ के ~ऊपर की टीका"; + Text[ ar ] = "رأس الصفحة"; + Text[ he ] = "כותרת עליונה"; + }; + MenuItem + { + Identifier = FN_INSERT_PAGEFOOTER ; + HelpID = FN_INSERT_PAGEFOOTER ; + /* ### ACHTUNG: Neuer Text in Resource? Fu~zeile : F~uzeile */ + /* ### ACHTUNG: Neuer Text in Resource? Fu~zeile : F~uzeile */ + Text [ de ] = "Fu~zeile" ; + Text [ en-US ] = "Foote~r" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Ro~dapé"; + Text[ ru ] = "Нижний колонтитул"; + Text[ el ] = "Υπο~σέλιδο"; + Text[ nl ] = "V~oettekst"; + Text[ fr ] = "Pie~d de page"; + Text[ es ] = "~Pie de página"; + Text[ fi ] = "Ala~selite"; + Text[ ca ] = "Pe~u"; + Text[ it ] = "Pi~è di pagina"; + Text[ sk ] = "Zá~pätie"; + Text[ da ] = "S~idefod"; + Text[ sv ] = "Sidfot"; + Text[ pl ] = "~Stopka"; + Text[ pt-BR ] = "~Rodapé"; + Text[ th ] = "ส่วนท้า~ย"; + Text[ ja ] = "フッタ(~R)"; + Text[ ko ] = "바닥글(~R)"; + Text[ zh-CN ] = "页脚(~R)"; + Text[ zh-TW ] = "頁尾(~R)"; + Text[ tr ] = "Dipnot"; + Text[ hi-IN ] = "पृष्ठ के अधोभाग की टीका"; + Text[ ar ] = "تذييل الصفحة"; + Text[ he ] = "כותרת תחתונה"; + }; +#endif + MenuItem + { + Identifier = FN_INSERT_FOOTNOTE_DLG ; + HelpID = FN_INSERT_FOOTNOTE_DLG ; + Text [ de ] = "Funote~..." ; + Text [ en-US ] = "Footnote~..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Nota de rodapé..."; + Text[ ru ] = "Сноска..."; + Text[ el ] = "Υποσημείωση~..."; + Text[ nl ] = "~Voetnoot..."; + Text[ fr ] = "Note de bas de pa~ge..."; + Text[ es ] = "~Nota al pie..."; + Text[ fi ] = "~Alaviite..."; + Text[ ca ] = "N~ota al peu..."; + Text[ it ] = "No~ta a piè pagina..."; + Text[ sk ] = "Poznámka pod čiarou~..."; + Text[ da ] = "Fodnote~..."; + Text[ sv ] = "Fotnot~..."; + Text[ pl ] = "Przypis ~dolny..."; + Text[ pt-BR ] = "~Nota de Rodapé..."; + Text[ th ] = "เชิง~อรรถ..."; + Text[ ja ] = "脚注(~.)..."; + Text[ ko ] = "각주(~.)..."; + Text[ zh-CN ] = "注脚(~.)..."; + Text[ zh-TW ] = "註腳(~.)..."; + Text[ tr ] = "~Alt bilgi..."; + Text[ hi-IN ] = "पृष्ठ के ~नीचे की टीका..."; + Text[ ar ] = "...حاشية سفلية"; + Text[ he ] = "הערת שוליים..."; + }; +#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_INSERT_CAPTION ; + HelpID = FN_INSERT_CAPTION ; + Text [ de ] = "Bes~chriftung..." ; + Text [ en-US ] = "Caption..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Legenda..."; + Text[ ru ] = "Название..."; + Text[ el ] = "Λεζάντα..."; + Text[ nl ] = "~Bijschrift..."; + Text[ fr ] = "L~égende..."; + Text[ es ] = "~Etiqueta..."; + Text[ fi ] = "Kuvaotsikko..."; + Text[ ca ] = "Contingut..."; + Text[ it ] = "Di~citura..."; + Text[ sk ] = "Popisok..."; + Text[ da ] = "Bil~ledtekst..."; + Text[ sv ] = "Bildtext..."; + Text[ pl ] = "Podpis..."; + Text[ pt-BR ] = "Legenda..."; + Text[ th ] = "คำบรรยายภาพ..."; + Text[ ja ] = "図表番号..."; + Text[ ko ] = "캡션..."; + Text[ zh-CN ] = "标签..."; + Text[ zh-TW ] = "標籤..."; + Text[ tr ] = "Başlık..."; + Text[ hi-IN ] = "कॉप्शन्..."; + Text[ ar ] = "تسمية توضيحية..."; + Text[ he ] = "Bes~chriftung..."; + }; +#endif + MenuItem + { + Identifier = FN_INSERT_BOOKMARK ; + HelpID = FN_INSERT_BOOKMARK ; + Text [ de ] = "Te~xtmarke..." ; + Text [ en-US ] = "Bookmar~k..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Marcador de te~xto..."; + Text[ ru ] = "Закладка..."; + Text[ el ] = "Σημάδι κειμένου..."; + Text[ nl ] = "~Tekstmarkering..."; + Text[ fr ] = "Re~père de texte..."; + Text[ es ] = "~Marca de texto..."; + Text[ fi ] = "Kirja~nmerkki..."; + Text[ ca ] = "Marca~dor..."; + Text[ it ] = "Segnali~bro..."; + Text[ sk ] = "Zálož~ka..."; + Text[ da ] = "Te~kstmarkering..."; + Text[ sv ] = "~Bokmärke..."; + Text[ pl ] = "Z~akładka..."; + Text[ pt-BR ] = "Ma~rcador..."; + Text[ th ] = "ที่คั่~น..."; + Text[ ja ] = "テキストマーク(~K)..."; + Text[ ko ] = "책갈피(~K)..."; + Text[ zh-CN ] = "书签(~K)..."; + Text[ zh-TW ] = "內文標籤(~K)..."; + Text[ tr ] = "~Yer imi..."; + Text[ hi-IN ] = "पृष्ठ~संकेत..."; + Text[ ar ] = "...إشارة مرجعية"; + Text[ he ] = "סימניה"; + }; +#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_INSERT_REF_FIELD ; + HelpID = FN_INSERT_REF_FIELD ; + Text [ de ] = "~Querverweis..." ; + Text [ en-US ] = "Cross-reference..."; + Text [ x-comment ] = " "; + Text[ pt ] = "R~eferência..."; + Text[ ru ] = "Перекрестная ссылка..."; + Text[ el ] = "Παραπομπή..."; + Text[ nl ] = "~Kruisverwijzing..."; + Text[ fr ] = "~Renvoi..."; + Text[ es ] = "~Referencia..."; + Text[ fi ] = "Ristiviite..."; + Text[ ca ] = "Referència creuada..."; + Text[ it ] = "Ri~ferimento incrociato..."; + Text[ sk ] = "Krížový odkaz..."; + Text[ da ] = "Krydshen~visning..."; + Text[ sv ] = "Korshänvisning..."; + Text[ pl ] = "Odsyłacz..."; + Text[ pt-BR ] = "Referência cruzada..."; + Text[ th ] = "อ้างอิงไขว้..."; + Text[ ja ] = "参照..."; + Text[ ko ] = "상호 참조..."; + Text[ zh-CN ] = "参照..."; + Text[ zh-TW ] = "參照..."; + Text[ tr ] = "~Çapraz başvuru..."; + Text[ hi-IN ] = "क्रॉस-रेफरेन्स..."; + Text[ ar ] = "...إسنادات ترافقية"; + Text[ he ] = "מראה מקום"; + }; +#endif + MenuItem + { + Identifier = FN_POSTIT ; + HelpID = FN_POSTIT ; + Text [ de ] = "~Notiz..." ; + Text [ en-US ] = "Not~e..." ; + /* ### ACHTUNG: Neuer Text in Resource? Einfgen oder bearbeiten einer Notiz : Einfgen oder bearbeiten einer Notiz */ + Text [ x-comment ] = " "; + Text[ pt ] = "~Anotação..."; + Text[ ru ] = "Примечание..."; + Text[ el ] = "Σημείωση..."; + Text[ nl ] = "~Aantekening..."; + Text[ fr ] = "~Note..."; + Text[ es ] = "~Nota..."; + Text[ fi ] = "Ko~mmentti..."; + Text[ ca ] = "~Nota..."; + Text[ it ] = "~Nota..."; + Text[ sk ] = "Poznámk~a..."; + Text[ da ] = "~Note..."; + Text[ sv ] = "~Anteckning..."; + Text[ pl ] = "Notatka..."; + Text[ pt-BR ] = "A~notação..."; + Text[ th ] = "หมายเห~ตุ..."; + Text[ ja ] = "コメント(~E)..."; + Text[ ko ] = "메모(~E)..."; + Text[ zh-CN ] = "备注(~E)..."; + Text[ zh-TW ] = "備註(~E)..."; + Text[ tr ] = "~Not..."; + Text[ hi-IN ] = "सू~चना..."; + Text[ ar ] = "...ملاحظة"; + Text[ he ] = "~Notiz..."; + }; +#ifdef SOLAR_JAVA + MenuItem + { + Identifier = FN_JAVAEDIT ; + HelpID = FN_JAVAEDIT ; + Text [ de ] = "Script..." ; + Text [ en-US ] = "S~cript..." ; + Text[ pt ] = "Script..."; + Text[ ru ] = "Скрипт..."; + Text[ el ] = "~Δέσμη ενεργειών..."; + Text[ nl ] = "Script..."; + Text[ fr ] = "Script..."; + Text[ es ] = "Script..."; + Text[ fi ] = "Komentosarj~a..."; + Text[ ca ] = "S~cript..."; + Text[ it ] = "Script..."; + Text[ sk ] = "S~kript..."; + Text[ da ] = "Script..."; + Text[ sv ] = "Skript..."; + Text[ pl ] = "S~krypt..."; + Text[ pt-BR ] = "S~cript..."; + Text[ th ] = "ส~คริปต์..."; + Text[ ja ] = "スクリプト(~C)..."; + Text[ ko ] = "스크립트(~C)..."; + Text[ zh-CN ] = "脚本(~C)..."; + Text[ zh-TW ] = "程式檔(~C)..."; + Text[ tr ] = "Script..."; + Text[ hi-IN ] = "स्क्रि~प्ट्..."; + Text[ ar ] = "...شكل الخط"; + Text[ he ] = "קוד לביצוע..."; + }; +#endif + +#ifndef MN_SW_WEB + MenuItem + { + Identifier = MN_DIRSUBMENU ; + HelpID = MN_DIRSUBMENU ; + Text [ de ] = "~Verzeichnisse" ; + Text [ en-US ] = "Inde~xes and Tables" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = FN_INSERT_IDX_ENTRY_DLG ; + HelpID = FN_INSERT_IDX_ENTRY_DLG ; + Text [ de ] = "Eintra~g..." ; + Text [ en-US ] = "~Entry..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Entrada..."; + Text[ ru ] = "Элемент..."; + Text[ el ] = "Καταχώριση..."; + Text[ nl ] = "I~tem..."; + Text[ fr ] = "~Entrée..."; + Text[ es ] = "~Entrada..."; + Text[ fi ] = "~Merkintä..."; + Text[ ca ] = "~Entrada..."; + Text[ it ] = "~Voce..."; + Text[ sk ] = "~Položka..."; + Text[ da ] = "Inde~ks..."; + Text[ sv ] = "Post..."; + Text[ pl ] = "~Wpis..."; + Text[ pt-BR ] = "~Entrada..."; + Text[ th ] = "~รายการ..."; + Text[ ja ] = "目次と索引の項目登録(~E)..."; + Text[ ko ] = "색인 및 목차 항목(~E)..."; + Text[ zh-CN ] = "条目(~E)..."; + Text[ zh-TW ] = "項目(~E)..."; + Text[ tr ] = "~Giriş..."; + Text[ hi-IN ] = "~प्रविष्टि..."; + Text[ ar ] = "إدخال..."; + Text[ he ] = "שורה..."; + }; + MenuItem + { + Identifier = FN_INSERT_MULTI_TOX; + HelpID = FN_INSERT_MULTI_TOX; + Text [ de ] = "~Verzeichnisse..." ; + Text [ en-US ] = "~Indexes and Tables..."; + Text [ x-comment ] = " "; + Text[ pt ] = "~Índices..."; + Text[ ru ] = "Оглавление и указатели..."; + Text[ el ] = "Ε~υρετήρια..."; + Text[ nl ] = "Inde~x..."; + Text[ fr ] = "~Index..."; + Text[ es ] = "Índi~ces..."; + Text[ fi ] = "Hakemistot ~ja luettelot..."; + Text[ ca ] = "~Índex..."; + Text[ it ] = "In~dici..."; + Text[ sk ] = "Re~gistre a tabuľky..."; + Text[ da ] = "~Indeks..."; + Text[ sv ] = "Förteckningar..."; + Text[ pl ] = "~Indeksy i spis treści..."; + Text[ pt-BR ] = "Índ~ices e Tabelas..."; + Text[ th ] = "~ดัชนี..."; + Text[ ja ] = "目次と索引(~I)..."; + Text[ ko ] = "색인 및 목차(~I)..."; + Text[ zh-CN ] = "目录(~I)..."; + Text[ zh-TW ] = "目錄(~I)..."; + Text[ tr ] = "~Dizinler ve tablolar..."; + Text[ hi-IN ] = "~अनुक्रमणियाँ और सारणियाँ..."; + Text[ ar ] = "فهارس..."; + Text[ he ] = "מפתחות וטבלאות"; + }; + MenuItem + { + Identifier = FN_INSERT_AUTH_ENTRY_DLG ; + HelpID = FN_INSERT_AUTH_ENTRY_DLG ; + Text [ de ] = "~Literaturverzeichniseintrag..." ; + + Text [ en-US ] = "~Bibliography Entry..."; + Text [ x-comment ] = " "; + Text[ pt ] = "Entrada ~bibliográfica..."; + Text[ ru ] = "Библиографическая ссылка..."; + Text[ el ] = "Καταχώριση βιβ~λιογραφίας..."; + Text[ nl ] = "~Item voor literatuurlijst..."; + Text[ fr ] = "Entrée de biblio~graphie..."; + Text[ es ] = "~Entrada bibliográfica..."; + Text[ fi ] = "~Lähdeluettelomerkintä..."; + Text[ ca ] = "~Entrada bibliogràfica..."; + Text[ it ] = "Voce bib~liografica..."; + Text[ sk ] = "Po~ložka v zozname použitej literatúry..."; + Text[ da ] = "~Litteraturlisteelement..."; + Text[ sv ] = "Litteraturförteckningspost..."; + Text[ pl ] = "Pozy~cja bibliograficzna..."; + Text[ pt-BR ] = "Entrada de ~Bibliografia..."; + Text[ th ] = "รายการ~บรรณานุกรม..."; + Text[ ja ] = "参考文献項目(~B)..."; + Text[ ko ] = "참고 문헌 항목(~B)..."; + Text[ zh-CN ] = "文献目录条目(~B)..."; + Text[ zh-TW ] = "參考文獻目錄條目(~B)..."; + Text[ tr ] = "~Kaynakça girişi..."; + Text[ hi-IN ] = "~ग्रन्थ-सूची प्रविष्टि..."; + Text[ ar ] = "إدخال في فهرس المراجع..."; + Text[ he ] = "שורת בבליוגרפיה..."; + }; + }; + }; + Text [ x-comment ] = " "; + Text[ pt ] = "Índ~ices"; + Text[ ru ] = "Оглавление и указатели"; + Text[ el ] = "Ευ~ρετήρια"; + Text[ nl ] = "~Indices"; + Text[ fr ] = "Inde~x"; + Text[ es ] = "Í~ndices"; + Text[ fi ] = "Hakemis~tot ja luettelot"; + Text[ ca ] = "Índe~xs"; + Text[ it ] = "In~dici"; + Text[ sk ] = "Re~gistre a tabuľky"; + Text[ da ] = "Ele~ment..."; + Text[ sv ] = "~Förteckningar"; + Text[ pl ] = "Ind~eksy i spis treści"; + Text[ pt-BR ] = "Índ~ices e Tabelas"; + Text[ th ] = "ดัช~นี"; + Text[ ja ] = "目次と索引(~X)"; + Text[ ko ] = "색인 및 목차(~X)"; + Text[ zh-CN ] = "目录(~X)"; + Text[ zh-TW ] = "目錄(~X)"; + Text[ tr ] = "Dizinler ve tablolar"; + Text[ hi-IN ] = "अ~नुक्रमणियाँ और सारणियाँ"; + Text[ ar ] = "فهارس"; + Text[ he ] = "~Verzeichnisse"; + }; + SEPARATOR ; + MenuItem + { + Identifier = FN_ENVELOP ; + HelpID = FN_ENVELOP ; + Text [ de ] = "~Briefumschlag..." ; + Text [ en-US ] = "En~velope..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "En~velope..."; + Text[ ru ] = "Конверт..."; + Text[ el ] = "Φάκελος επιστολής..."; + Text[ nl ] = "~Envelop..."; + Text[ fr ] = "En~veloppe..."; + Text[ es ] = "~Sobre..."; + Text[ fi ] = "Kirje~kuori..."; + Text[ ca ] = "So~bre..."; + Text[ it ] = "B~usta..."; + Text[ sk ] = "O~bálka..."; + Text[ da ] = "~Konvolut..."; + Text[ sv ] = "Kuvert..."; + Text[ pl ] = "K~operta..."; + Text[ pt-BR ] = "En~velope..."; + Text[ th ] = "ซอง~จดหมาย..."; + Text[ ja ] = "封筒(~V)..."; + Text[ ko ] = "편지봉투(~V)..."; + Text[ zh-CN ] = "信封(~V)..."; + Text[ zh-TW ] = "信封(~V)..."; + Text[ tr ] = "~Zarf..."; + Text[ hi-IN ] = "लि~फाफा..."; + Text[ ar ] = "...ظرف"; + Text[ he ] = "...מעטפה"; + }; +#endif //MN_SW_WEB + SEPARATOR ; + MenuItem + { + Identifier = FN_INSERT_FRAME ; + HelpID = FN_INSERT_FRAME ; + Text [ de ] = "~Rahmen..." ; + Text [ en-US ] = "Fra~me..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Mold~ura..."; + Text[ ru ] = "Врезка..."; + Text[ el ] = "Πλαίσιο..."; + Text[ nl ] = "Ka~der..."; + Text[ fr ] = "Ca~dre..."; + Text[ es ] = "Mar~co..."; + Text[ fi ] = "K~ehys..."; + Text[ ca ] = "~Marc..."; + Text[ it ] = "Co~rnice..."; + Text[ sk ] = "Rá~mec..."; + Text[ da ] = "R~amme..."; + Text[ sv ] = "~Ram..."; + Text[ pl ] = "Ra~mka..."; + Text[ pt-BR ] = "~Moldura..."; + Text[ th ] = "กรอ~บ..."; + Text[ ja ] = "枠(~M)..."; + Text[ ko ] = "프레임(~M)..."; + Text[ zh-CN ] = "框(~M)..."; + Text[ zh-TW ] = "文字方塊(~M)..."; + Text[ tr ] = "Ç~erçeve..."; + Text[ hi-IN ] = "फ्रे~म ..."; + Text[ ar ] = "كادر..."; + Text[ he ] = "~Rahmen..."; + }; + MenuItem + { + Identifier = FN_INSERT_TABLE ; + HelpID = FN_INSERT_TABLE ; + Text [ de ] = "~Tabelle..." ; + Text [ en-US ] = "~Table..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Ta~bela..."; + Text[ ru ] = "Таблица..."; + Text[ el ] = "Πίνα~κας..."; + Text[ nl ] = "Tabe~l..."; + Text[ fr ] = "~Tableau..."; + Text[ es ] = "~Tabla..."; + Text[ fi ] = "Taul~ukko..."; + Text[ ca ] = "~Taula..."; + Text[ it ] = "~Tabella..."; + Text[ sk ] = "~Tabuľka..."; + Text[ da ] = "~Tabel..."; + Text[ sv ] = "~Tabell..."; + Text[ pl ] = "~Tabela..."; + Text[ pt-BR ] = "~Tabela..."; + Text[ th ] = "~ตาราง..."; + Text[ ja ] = "表(~T)..."; + Text[ ko ] = "표(~T)..."; + Text[ zh-CN ] = "表格(~T)..."; + Text[ zh-TW ] = "表格(~T)..."; + Text[ tr ] = "~Tablo..."; + Text[ hi-IN ] = "~सारणी..."; + Text[ ar ] = "...جدول"; + Text[ he ] = "טבלה..."; + }; + MenuItem + { + Identifier = FN_INSERT_HRULER ; + HelpID = FN_INSERT_HRULER ; + Text [ de ] = "Horizontale ~Linie..." ; + Text [ en-US ] = "Hori~zontal Ruler..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Linha horizontal..."; + Text[ ru ] = "Горизонтальная линия..."; + Text[ el ] = "Οριζόντια γραμμή..."; + Text[ nl ] = "Hori~zontale lijn..."; + Text[ fr ] = "~Ligne horizontale..."; + Text[ es ] = "Línea ~horizontal..."; + Text[ fi ] = "Vaaka~viiva..."; + Text[ ca ] = "Línia horit~zontal..."; + Text[ it ] = "Linea ori~zzontale..."; + Text[ sk ] = "Vodo~rovná čiara..."; + Text[ da ] = "Vandret lin~je..."; + Text[ sv ] = "Horisontell ~linje..."; + Text[ pl ] = "Linia po~zioma..."; + Text[ pt-BR ] = "Linha Hori~zontal..."; + Text[ th ] = "เส้นตามแนวน~อน..."; + Text[ ja ] = "水平線(~Z)..."; + Text[ ko ] = "가로선(~Z)..."; + Text[ zh-CN ] = "水平线(~Z)..."; + Text[ zh-TW ] = "水平線(~Z)..."; + Text[ tr ] = "~Yatay Cetvel..."; + Text[ hi-IN ] = "सम~तल रेखा..."; + Text[ ar ] = "...خط أفقي"; + Text[ he ] = "Horizontale ~Linie..."; + }; +#if (!defined MN_SW_WEB && !defined MN_SW_PORTAL) + MenuItem + { + Identifier = MN_SUB_GRAPHIC ; + HelpID = HID_MN_SUB_GRAPHIC ; + Text [ de ] = "~Grafik" ; + Text [ en-US ] = "~Graphics" ; + + /* ### ACHTUNG: Neuer Text in Resource? Grafiken einfgen : Grafiken einfgen */ + SubMenu = Menu + { + ItemList = + { + MenuItem + { + ITEM_INSERT_INSERT_GRAPHIC + Text [ de ] = "Aus ~Datei..." ; + Text [ en-US ] = "From ~File..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "A partir de ~ficheiro..."; + Text[ ru ] = "Из файла..."; + Text[ el ] = "Από αρ~χείο..."; + Text[ nl ] = "Uit ~bestand..."; + Text[ fr ] = "À partir d'un ~fichier..."; + Text[ es ] = "De ~archivo..."; + Text[ fi ] = "~Tiedostosta..."; + Text[ ca ] = "Del ~fitxer..."; + Text[ it ] = "Da ~file..."; + Text[ sk ] = "Zo ~súboru..."; + Text[ da ] = "Fra ~fil..."; + Text[ sv ] = "Från ~fil..."; + Text[ pl ] = "Z ~pliku..."; + Text[ pt-BR ] = "~Do Arquivo..."; + Text[ th ] = "จากแ~ฟ้ม..."; + Text[ ja ] = "ファイルから(~F)..."; + Text[ ko ] = "파일로부터(~F)..."; + Text[ zh-CN ] = "从文件(~F)..."; + Text[ zh-TW ] = "從檔案(~F)..."; + Text[ tr ] = "~Dosyadan..."; + Text[ hi-IN ] = "~फाइल से..."; + Text[ ar ] = "...من ملف"; + Text[ he ] = "Aus ~Datei..."; + }; +#ifndef MN_SW_PORTAL +#if defined WIN || defined WNT || defined UNX + ITEM_INSERT_TWAIN_MENU +#endif +#endif //MN_SW_PORTAL + }; + }; + Text [ x-comment ] = " "; + Text[ pt ] = "~Imagem"; + Text[ ru ] = "Графический объект"; + Text[ el ] = "~Γραφικό"; + Text[ nl ] = "Afbeeldi~ng"; + Text[ fr ] = "I~mage"; + Text[ es ] = "~Imagen"; + Text[ fi ] = "~Grafiikka"; + Text[ ca ] = "~Gràfics"; + Text[ it ] = "Immagin~e"; + Text[ sk ] = "~Obrázky"; + Text[ da ] = "~Grafik"; + Text[ sv ] = "~Grafik"; + Text[ pl ] = "Gra~fika"; + Text[ pt-BR ] = "~Figura"; + Text[ th ] = "~กราฟิค"; + Text[ ja ] = "図(~G)"; + Text[ ko ] = "그림(~G)"; + Text[ zh-CN ] = "图形(~G)"; + Text[ zh-TW ] = "圖形(~G)"; + Text[ tr ] = "~Grafik"; + Text[ hi-IN ] = "~सुचित्र"; + Text[ ar ] = "صورة"; + Text[ he ] = "גרפיקה"; + }; +#else + MenuItem + { + ITEM_INSERT_INSERT_GRAPHIC + }; +#endif + //#ifndef MN_SW_WEB +#ifdef MN_SW_PORTAL + ITEM_INSERT_OBJECT_PORTAL +#else + MenuItem + { + Identifier = SID_MN_INSERT_OBJECT_DLGS ; + HelpID = SID_MN_INSERT_OBJECT_DLGS ; + Text [ de ] = "~Objekt" ; + Text [ en-US ] = "~Object" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = SID_INSERT_OBJECT ; + HelpID = SID_INSERT_OBJECT ; + Text [ de ] = "~OLE-Objekt..." ; + Text [ en-US ] = "~OLE Object..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Objecto O~LE..."; + Text[ ru ] = "OLE объект..."; + Text[ el ] = "Αντικείμενο ~OLE..."; + Text[ nl ] = "~OLE-object..."; + Text[ fr ] = "Objet ~OLE..."; + Text[ es ] = "Objeto ~OLE..."; + Text[ fi ] = "~OLE-objekti..."; + Text[ ca ] = "~Objecte OLE..."; + Text[ it ] = "~Oggetto OLE..."; + Text[ sk ] = "~OLE objekt..."; + Text[ da ] = "~OLE-objekt..."; + Text[ sv ] = "~OLE-objekt..."; + Text[ pl ] = "~Obiekt OLE..."; + Text[ pt-BR ] = "Objeto ~OLE..."; + Text[ th ] = "วัตถุ ~OLE ..."; + Text[ ja ] = "~OLE オブジェクト..."; + Text[ ko ] = "~OLE 개체..."; + Text[ zh-CN ] = "~OLE 对象..."; + Text[ zh-TW ] = "~OLE 物件..."; + Text[ tr ] = "~OLE Nesnesi..."; + Text[ hi-IN ] = "~OLE वस्तु..."; + Text[ ar ] = "...OLE كائن"; + Text[ he ] = "~OLE Object..."; + }; + TMP_SID_INSERT_PLUGIN + TMP_SID_INSERT_SOUND + TMP_SID_INSERT_VIDEO +#ifdef SOLAR_JAVA + MenuItem + { + Identifier = SID_INSERT_APPLET ; + HelpID = SID_INSERT_APPLET ; + Text [ de ] = "~Applet..." ; + Text [ en-US ] = "~Applet..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Applet..."; + Text[ ru ] = "~Апплет..."; + Text[ el ] = "Μικροεφ~αρμογή..."; + Text[ nl ] = "~Applet..."; + Text[ fr ] = "~Applet..."; + Text[ es ] = "~Miniaplicación..."; + Text[ fi ] = "~Sovelma..."; + Text[ ca ] = "~Applet..."; + Text[ it ] = "~Applet..."; + Text[ sk ] = "~Applet..."; + Text[ da ] = "~Applet..."; + Text[ sv ] = "~Applet..."; + Text[ pl ] = "~Aplet..."; + Text[ pt-BR ] = "~Applet..."; + Text[ th ] = "แ~อ็พเพล็ต..."; + Text[ ja ] = "アプレット(~A)..."; + Text[ ko ] = "애플릿(~A)..."; + Text[ zh-CN ] = "~Applet..."; + Text[ zh-TW ] = "~Applet..."; + Text[ tr ] = "~Applet..."; + Text[ hi-IN ] = "~एप्लेट्..."; + Text[ ar ] = "...تطبيق صغير"; + Text[ he ] = "תוכניתונת"; + }; +#endif + MenuItem + { + Identifier = FN_INSERT_SMA ; + HelpID = FN_INSERT_SMA ; + Text [ de ] = "~Formel" ; + Text [ en-US ] = "~Formula" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Fórmula"; + Text[ ru ] = "Формула..."; + Text[ el ] = "Τύπος..."; + Text[ nl ] = "~Formule"; + Text[ fr ] = "~Formule"; + Text[ es ] = "~Fórmula"; + Text[ fi ] = "~Kaava"; + Text[ ca ] = "~Fórmula"; + Text[ it ] = "~Formula"; + Text[ sk ] = "V~zorec"; + Text[ da ] = "~Formel"; + Text[ sv ] = "~Formel..."; + Text[ pl ] = "~Formuła"; + Text[ pt-BR ] = "~Fórmula"; + Text[ th ] = "~สูตร"; + Text[ ja ] = "数式(~F)..."; + Text[ ko ] = "수식(~F)..."; + Text[ zh-CN ] = "公式(~F)..."; + Text[ zh-TW ] = "公式(~F)..."; + Text[ tr ] = "~Formül"; + Text[ hi-IN ] = "~सूत्र"; + Text[ ar ] = "صيغة"; + Text[ he ] = "נוסחה"; + }; + MenuItem + { + ITEM_INSERT_INSERT_DIAGRAM + }; + }; + }; + Text [ x-comment ] = " "; + Text[ pt ] = "~Objecto"; + Text[ ru ] = "Объект"; + Text[ el ] = "Αντικείμεν~ο"; + Text[ nl ] = "Ob~ject"; + Text[ fr ] = "Ob~jet"; + Text[ es ] = "~Objeto"; + Text[ fi ] = "O~bjekti"; + Text[ ca ] = "Ob~jecte"; + Text[ it ] = "~Oggetto"; + Text[ sk ] = "~Objekt"; + Text[ da ] = "~Objekt"; + Text[ sv ] = "~Objekt"; + Text[ pl ] = "O~biekt"; + Text[ pt-BR ] = "~Objeto"; + Text[ th ] = "~วัตถุ"; + Text[ ja ] = "オブジェクト(~O)"; + Text[ ko ] = "개체(~O)"; + Text[ zh-CN ] = "对象(~O)"; + Text[ zh-TW ] = "物件(~O)"; + Text[ tr ] = "~Nesne"; + Text[ hi-IN ] = "~वस्तु"; + Text[ ar ] = "كائن"; + Text[ he ] = "אוביקט"; + }; +#endif //MN_SW_PORTAL + + //#else +#if 0 + MenuItem + { + Identifier = SID_INSERT_PLUGIN ; + HelpID = SID_INSERT_PLUGIN ; + Text [ de ] = "PlugIn..." ; + Text [ en-US ] = "Plug-in..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "PlugIn..."; + Text[ ru ] = "Подключаемый модуль..."; + Text[ el ] = "Συνδεόμενη υπομονάδα..."; + Text[ nl ] = "PlugIn..."; + Text[ fr ] = "Plug-in..."; + Text[ es ] = "Plug-in..."; + Text[ fi ] = "Lisäosa..."; + Text[ ca ] = "Extensió..."; + Text[ it ] = "PlugIn..."; + Text[ sk ] = "Zásuvný modul..."; + Text[ da ] = "PlugIn..."; + Text[ sv ] = "Plug-in..."; + Text[ pl ] = "Wtyczka plug-in..."; + Text[ pt-BR ] = "Plug-in..."; + Text[ th ] = "ปลั๊กอิน..."; + Text[ ja ] = "プラグイン..."; + Text[ ko ] = "플러그인..."; + Text[ zh-CN ] = "Plug-In ..."; + Text[ zh-TW ] = "PlugIn..."; + Text[ tr ] = "Takı..."; + Text[ hi-IN ] = "प्लग-इन..."; + Text[ ar ] = "...توصيل"; + Text[ he ] = "תוכנה מיתווספת..."; + }; + MenuItem + { + Identifier = SID_INSERT_APPLET ; + HelpID = SID_INSERT_APPLET ; + Text [ de ] = "Applet..." ; + Text [ en-US ] = "Applet..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Applet..."; + Text[ ru ] = "Апплет..."; + Text[ el ] = "Μικροεφαρμογή..."; + Text[ nl ] = "Applet..."; + Text[ fr ] = "Applet..."; + Text[ es ] = "Miniaplicación..."; + Text[ fi ] = "Sovelma..."; + Text[ ca ] = "Applet..."; + Text[ it ] = "Applet..."; + Text[ sk ] = "Applet..."; + Text[ da ] = "Applet..."; + Text[ sv ] = "Applet..."; + Text[ pl ] = "Aplet..."; + Text[ pt-BR ] = "Applet..."; + Text[ th ] = "แอ็พเพล็ต..."; + Text[ ja ] = "アプレット..."; + Text[ ko ] = "애플릿..."; + Text[ zh-CN ] = "Applet..."; + Text[ zh-TW ] = "Applet..."; + Text[ tr ] = "Applet..."; + Text[ hi-IN ] = "एप्लेट्..."; + Text[ ar ] = "...تطبيق صغير"; + Text[ he ] = "תוכניתונת..."; + }; +#endif + MenuItem + { + Identifier = SID_INSERT_FLOATINGFRAME ; + HelpID = SID_INSERT_FLOATINGFRAME ; + Text [ de ] = "Fra~me" ; + Text [ en-US ] = "Float~ing Frame" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Moldura ~flutuante"; + Text[ ru ] = "Фрейм"; + Text[ el ] = "Κινού~μενο πλαίσιο"; + Text[ nl ] = "~Kader"; + Text[ fr ] = "Cad~re"; + Text[ es ] = "~Marco"; + Text[ fi ] = "Irral~linen kehys"; + Text[ ca ] = "Marc ~flotant"; + Text[ it ] = "Fr~ame"; + Text[ sk ] = "P~lávajúci rámec"; + Text[ da ] = "~Ramme"; + Text[ sv ] = "Ra~mteknik"; + Text[ pl ] = "Ramka przesta~wna"; + Text[ pt-BR ] = "~Moldura Flutuante"; + Text[ th ] = "กรอบลอ~ย"; + Text[ ja ] = "フレーム(~I)"; + Text[ ko ] = "부동 프레임(~I)"; + Text[ zh-CN ] = "框对象(~I)"; + Text[ zh-TW ] = "訊框(~I)"; + Text[ tr ] = "Kayan çerçeve"; + Text[ hi-IN ] = "फ्लोटिं~ग फ्रेम"; + Text[ ar ] = "إطار"; + Text[ he ] = "Fra~me"; + }; + SEPARATOR ; + MenuItem + { + ITEM_INSERT_INSERTDOC + }; + }; + }; + Text [ x-comment ] = " "; + Text[ pt ] = "~Inserir"; + Text[ ru ] = "Вст~авка"; + Text[ el ] = "Εισαγ~ωγή"; + Text[ nl ] = "~Invoegen"; + Text[ fr ] = "~Insertion"; + Text[ es ] = "~Insertar"; + Text[ fi ] = "Lis~ää"; + Text[ ca ] = "~Insereix"; + Text[ it ] = "~Inserisci"; + Text[ sk ] = "V~ložiť"; + Text[ da ] = "Sæt i~nd"; + Text[ sv ] = "~Infoga"; + Text[ pl ] = "W~staw"; + Text[ pt-BR ] = "~Inserir"; + Text[ th ] = "แ~ทรก"; + Text[ ja ] = "挿入(~I)"; + Text[ ko ] = "삽입(~I)"; + Text[ zh-CN ] = "插入(~I)"; + Text[ zh-TW ] = "插入(~I)"; + Text[ tr ] = "~Ekle"; + Text[ hi-IN ] = "~जोड़ो"; + Text[ ar ] = "إد~راج"; + Text[ he ] = "הוספה"; +}; + +#ifdef MN_SW_WEB + #ifdef MN_SW_PORTAL + #define _MN_FORMAT MN_WEBFORMAT_PORT + #else + #define _MN_FORMAT MN_WEBFORMAT + #endif +#elif defined MN_SW_GLOBAL //7 + #ifdef MN_SW_PORTAL + #define _MN_FORMAT MN_GLOBALFORMAT_PORT + #else + #define _MN_FORMAT MN_GLOBALFORMAT + #endif +#else + #ifdef MN_SW_PORTAL + #define _MN_FORMAT MN_FORMAT_PORT + #else + #define _MN_FORMAT MN_FORMAT + #endif +#endif + +MenuItem _MN_FORMAT +{ + Identifier = SID_OBJECTMENU0 ; + HelpID = SID_OBJECTMENU0 ; + // Identifier = FN_FORMAT; + // HelpID = FN_FORMAT; + Text [ de ] = "~Format" ; + Text [ en-US ] = "F~ormat" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Fo~rmatar"; + Text[ ru ] = "Фор~мат"; + Text[ el ] = "Μορ~φή"; + Text[ nl ] = "~Opmaak"; + Text[ fr ] = "Forma~t"; + Text[ es ] = "~Formato"; + Text[ fi ] = "Muotoil~e"; + Text[ ca ] = "F~ormat"; + Text[ it ] = "F~ormato"; + Text[ sk ] = "~Formát"; + Text[ da ] = "Forma~ter"; + Text[ sv ] = "F~ormat"; + Text[ pl ] = "~Format"; + Text[ pt-BR ] = "~Formatar"; + Text[ th ] = "รู~ปแบบ"; + Text[ ja ] = "書式(~O)"; + Text[ ko ] = "서식(~O)"; + Text[ zh-CN ] = "格式(~O)"; + Text[ zh-TW ] = "格式(~O)"; + Text[ tr ] = "~Biçim"; + Text[ hi-IN ] = "र~चना"; + Text[ ar ] = "تنس~يق"; + Text[ he ] = "עיצוב"; +}; +#ifndef MN_SW_PORTAL + #ifdef MN_SW_WEB + Menu MN_OBJECTMENU_WEBTEXT + #elif defined MN_SW_GLOBAL + Menu MN_OBJECTMENU_GLOBALTEXT + #else + Menu MN_OBJECTMENU_TEXT + #endif +{ + ItemList = + { + MN_RESET + SEPARATOR ; + MN_TXT + MenuItem + { + Identifier = FN_EDIT_REGION ; + HelpID = FN_EDIT_REGION ; + Text [ de ] = "Bereic~he..." ; + Text [ en-US ] = "Sections..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Se~cções..."; + Text[ ru ] = "Области..."; + Text[ el ] = "Ενότ~ητες..."; + Text[ nl ] = "Be~reiken..."; + Text[ fr ] = "Sec~tions..."; + Text[ es ] = "Secci~ones..."; + Text[ fi ] = "Osiot..."; + Text[ ca ] = "Sections..."; + Text[ it ] = "Se~zioni..."; + Text[ sk ] = "Sekcie..."; + Text[ da ] = "Områder..."; + Text[ sv ] = "Områden..."; + Text[ pl ] = "Sekcje..."; + Text[ pt-BR ] = "Seções..."; + Text[ th ] = "ส่วน..."; + Text[ ja ] = "範囲..."; + Text[ ko ] = "구역..."; + Text[ zh-CN ] = "区域..."; + Text[ zh-TW ] = "區域..."; + Text[ tr ] = "Bölümler..."; + Text[ hi-IN ] = "Sections..."; + Text[ ar ] = "نطاقات"; + Text[ he ] = "חלקי מסמך..."; + }; + MenuItem + { + Text [ de ] = "Spa~lten..." ; + Identifier = FN_FORMAT_COLUMN ; + HelpID = FN_FORMAT_COLUMN ; + Text [ en-US ] = "Co~lumns..."; + Text [ x-comment ] = " "; + Text[ pt ] = "Co~lunas..."; + Text[ ru ] = "Колонки..."; + Text[ el ] = "Στή~λες..."; + Text[ nl ] = "Ko~lommen..."; + Text[ fr ] = "Co~lonnes..."; + Text[ es ] = "Co~lumnas..."; + Text[ fi ] = "Sarak~keet"; + Text[ ca ] = "Co~lumns..."; + Text[ it ] = "Co~lonne..."; + Text[ sk ] = "~Stĺpce..."; + Text[ da ] = "Kolonner..."; + Text[ sv ] = "Ko~lumner..."; + Text[ pl ] = "Kolumny..."; + Text[ pt-BR ] = "Co~lunas..."; + Text[ th ] = "คอ~ลัมน์..."; + Text[ ja ] = "段組み(~L)..."; + Text[ ko ] = "단(~L)..."; + Text[ zh-CN ] = "栏(~L)..."; + Text[ zh-TW ] = "欄(~L)..."; + Text[ tr ] = "~Sütunlar..."; + Text[ hi-IN ] = "Co~lumns..."; + Text[ ar ] = "أعمدة..."; + Text[ he ] = "טורים"; + }; + SEPARATOR ; + ITEM_TRANSLITERATE_MENU + SEPARATOR ; +#ifndef MN_SW_WEB + MN_RUBY_DIALOG +#endif + MN_NUMBERING + MN_ALWAYS + MN_AUTOFORMAT + }; +}; + +#if (!defined MN_SW_WEB && !defined MN_SW_GLOBAL) +Menu MN_OBJECTMENU_LIST +{ + ItemList = + { + MN_RESET + SEPARATOR ; + MN_TXT + SEPARATOR ; + ITEM_TRANSLITERATE_MENU + SEPARATOR ; + MN_RUBY_DIALOG + MN_NUMBERING + MN_ALWAYS + MN_AUTOFORMAT + }; +}; + +Menu MN_OBJECTMENU_TABLE +{ + ItemList = + { + MN_RESET + SEPARATOR ; + MN_TXT + MenuItem + { + Identifier = FN_EDIT_REGION ; + HelpID = FN_EDIT_REGION ; + Text [ de ] = "Bereic~he..." ; + Text [ en-US ] = "Sections..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Categorias..."; + Text[ ru ] = "Области..."; + Text[ el ] = "Ενότ~ητες..."; + Text[ nl ] = "Be~reiken..."; + Text[ fr ] = "Sec~tions..."; + Text[ es ] = "~Secciones..."; + Text[ fi ] = "Osiot..."; + Text[ ca ] = "Sections..."; + Text[ it ] = "Se~zioni..."; + Text[ sk ] = "Sekcie..."; + Text[ da ] = "Områder..."; + Text[ sv ] = "Områden..."; + Text[ pl ] = "Sekcje..."; + Text[ pt-BR ] = "Seções..."; + Text[ th ] = "ส่วน..."; + Text[ ja ] = "範囲..."; + Text[ ko ] = "구역..."; + Text[ zh-CN ] = "区域..."; + Text[ zh-TW ] = "區域..."; + Text[ tr ] = "Bölümler..."; + Text[ hi-IN ] = "Sections..."; + Text[ ar ] = "نطاقات..."; + Text[ he ] = "חלקי מסמך..."; + }; + SEPARATOR ; + ITEM_TRANSLITERATE_MENU + SEPARATOR ; +#ifndef MN_SW_WEB + MN_RUBY_DIALOG +#endif + MN_NUMBERING + // SEPARATOR; + // MN_BB + SEPARATOR ; + MN_TAB1 + MN_TAB2 + MN_ALWAYS + MenuItem + { + ITEM_FORMAT_AUTOFORMAT + }; + }; +}; + +Menu MN_OBJECTMENU_FRAME +{ + ItemList = + { + MN_FRM + SEPARATOR ; + MN_ALIGN_FRAME + MN_MOUSE_FRAME_BEGIN + MN_MOUSE_FRAME_END + MN_ALWAYS + }; +}; + +Menu MN_OBJECTMENU_OLE +{ + ItemList = + { + MN_OLE + SEPARATOR ; + MN_ALIGN_FRAME + MN_MOUSE_FRAME_BEGIN + MN_WRAP_CONTOUR + MN_EDIT_CONTOUR + MN_MOUSE_FRAME_END + MN_ALWAYS + }; +}; + +Menu MN_OBJECTMENU_GRAFIK +{ + ItemList = + { + MN_GRAFIC + SEPARATOR ; + MN_ALIGN_FRAME + MN_MOUSE_FRAME_BEGIN + MN_WRAP_CONTOUR + MN_EDIT_CONTOUR + MN_MOUSE_FRAME_END + MN_ALWAYS + }; +}; + +Menu MN_OBJECTMENU_DRAW +{ + ItemList = + { + MN_DRAW1 + MN_DRWTXTATTR + MenuItem + { + ITEM_FORMAT_ATTR_TRANSFORM + }; + MN_NAME_GROUP + SEPARATOR ; + MN_DRAW2 + MN_ANCHOR + MN_WRAP_DRAW + SEPARATOR ; + MN_DRAW3 + SEPARATOR ; + MN_FONTWORK + }; +}; + +Menu MN_OBJECTMENU_DRAWFORM +{ + ItemList = + { + MenuItem + { + ITEM_FORMAT_ATTR_TRANSFORM + }; + MN_NAME_GROUP + MN_FORM + SEPARATOR ; + MN_DRAW6 + MN_ANCHOR + MN_WRAP_DRAW + SEPARATOR ; + MN_DRAW3 + }; +}; + +Menu MN_OBJECTMENU_DRWTXT +{ + ItemList = + { + MN_RESET + SEPARATOR ; + MN_TEXT_ATTR + SEPARATOR ; + MN_DRWTXT + SEPARATOR ; + ITEM_TRANSLITERATE_MENU + SEPARATOR ; + MN_DRWTXTATTR + MN_FONTWORK + }; +}; +#endif // MN_SW_WEB +#endif //MN_SW_PORTAL + +#ifdef MN_SW_WEB + #ifdef MN_SW_PORTAL + #define _MN_EXTRA MN_WEBEXTRA_PORT + #else + #define _MN_EXTRA MN_WEBEXTRA + #endif +#elif defined MN_SW_GLOBAL //8 + #ifdef MN_SW_PORTAL + #define _MN_EXTRA MN_GLOBALEXTRA_PORT + #else + #define _MN_EXTRA MN_GLOBALEXTRA + #endif +#else + #ifdef MN_SW_PORTAL + #define _MN_EXTRA MN_EXTRA_PORT + #else + #define _MN_EXTRA MN_EXTRA + #endif +#endif + +MenuItem _MN_EXTRA +{ + Identifier = ITEM_TOOLS_ID ; + HelpID = FN_EXTRA ; + Text [ de ] = "E~xtras" ; + Text [ en-US ] = "~Tools" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = MN_SUB_SPELLING ; + HelpID = HID_MN_SUB_SPELLING ; + Text [ de ] = "~Rechtschreibprfung" ; + Text [ en-US ] = "~Spellcheck" ; + /* ### ACHTUNG: Neuer Text in Resource? Rechtschreibprfung : Rechtschreibprfung */ + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = FN_SPELLING_DLG ; + HelpID = FN_SPELLING_DLG ; + /* ### ACHTUNG: Neuer Text in Resource? ~Prfen... : ~Prfen... */ + Text [ de ] = "~Prfen..." ; + Text [ en-US ] = "~Check..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Verificar..."; + Text[ ru ] = "Проверка..."; + Text[ el ] = "Έ~λεγχος..."; + Text[ nl ] = "~Controleren..."; + Text[ fr ] = "~Vérification..."; + Text[ es ] = "~Revisar..."; + Text[ fi ] = "~Tarkista..."; + Text[ ca ] = "~Comprova..."; + Text[ it ] = "~Avvia..."; + Text[ sk ] = "~Kontrola..."; + Text[ da ] = "~Kontroller..."; + Text[ sv ] = "~Kontrollera..."; + Text[ pl ] = "~Sprawdź..."; + Text[ pt-BR ] = "~Verificar..."; + Text[ th ] = "~ตรวจสอบ..."; + Text[ ja ] = "スペルチェック(~C)..."; + Text[ ko ] = "검사(~C)..."; + Text[ zh-CN ] = "检查(~C)..."; + Text[ zh-TW ] = "檢查(~C)..."; + Text[ tr ] = "~Denetim..."; + Text[ hi-IN ] = "~जाँच..."; + Text[ ar ] = "...تدقيق"; + Text[ he ] = "בדיקה..."; + }; + MenuItem + { + Identifier = SID_AUTOSPELL_CHECK ; + HelpID = SID_AUTOSPELL_CHECK ; + /* ### ACHTUNG: Neuer Text in Resource? ~Automatisch prfen : ~Automatisch prfen */ + Text [ de ] = "~Automatisch prfen" ; + Text [ en-US ] = "~AutoSpellcheck" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Verificação automática"; + Text[ ru ] = "Автопроверка орфографии"; + Text[ el ] = "~Αυτόματος ορθογραφικός έλεγχος"; + Text[ nl ] = "~Automatisch controleren"; + Text[ fr ] = "Vérification ~automatique"; + Text[ es ] = "Revisión ~automática"; + Text[ fi ] = "~Automaattinen oikoluku"; + Text[ ca ] = "~Autocorreció"; + Text[ it ] = "~Controllo automatico"; + Text[ sk ] = "~Automatická kontrola pravopisu"; + Text[ da ] = "~Automatisk stavekontrol"; + Text[ sv ] = "Kontrollera ~automatiskt"; + Text[ pl ] = "~Automatyczne sprawdzanie pisowni"; + Text[ pt-BR ] = "~Verificação automática"; + Text[ th ] = "ตรวจสอบการสะกด~อัตโนมัติ"; + Text[ ja ] = "自動スペルチェック(~A)"; + Text[ ko ] = "자동 맞춤법 검사(~A)"; + Text[ zh-CN ] = "自动检查拼写(~A)"; + Text[ zh-TW ] = "自動檢查拼寫(~A)"; + Text[ tr ] = "~Otomatik denetim"; + Text[ hi-IN ] = "स्वचालित ~ढंग से अक्षर की जाँच"; + Text[ ar ] = "تدقيق تلقائي"; + Text[ he ] = "איות אוטומטי"; + }; + }; + }; + Text [ x-comment ] = " "; + Text[ pt ] = "~Ortografia"; + Text[ ru ] = "Проверка орфографии"; + Text[ el ] = "Ο~ρθογραφικός έλεγχος"; + Text[ nl ] = "~Spellingcontrole"; + Text[ fr ] = "Vérification orthographique"; + Text[ es ] = "~Revisión ortográfica"; + Text[ fi ] = "~Oikeinkirjoituksen tarkistus"; + Text[ ca ] = "O~rtografia"; + Text[ it ] = "Controllo ~ortografico"; + Text[ sk ] = "~Kontrola pravopisu"; + Text[ da ] = "Sta~vekontrol"; + Text[ sv ] = "~Rättstavning"; + Text[ pl ] = "~Pisownia"; + Text[ pt-BR ] = "Verificação ~Ortográfica"; + Text[ th ] = "~ตรวจสอบการสะกด"; + Text[ ja ] = "文書校正(~S)"; + Text[ ko ] = "맞춤법 검사(~S)"; + Text[ zh-CN ] = "拼写检查(~S)"; + Text[ zh-TW ] = "拼寫檢查(~S)"; + Text[ tr ] = "İ~mla denetimi"; + Text[ hi-IN ] = "~अक्षर की जाँच"; + Text[ ar ] = "تدقيق إملائي"; + Text[ he ] = "בדיקת איות"; + }; + MenuItem + { + ITEM_HANGUL_HANJA_CONVERSION + }; + MenuItem + { + Identifier = FN_THESAURUS_DLG ; + HelpID = FN_THESAURUS_DLG ; + Text [ de ] = "T~hesaurus..." ; + Text [ en-US ] = "~Thesaurus..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Sinónimos..."; + Text[ ru ] = "Тезаурус..."; + Text[ el ] = "Θ~ησαυρός λέξεων..."; + Text[ nl ] = "~Thesaurus..."; + Text[ fr ] = "~Dictionnaire des synonymes..."; + Text[ es ] = "~Diccionario de sinónimos..."; + Text[ fi ] = "Synonyym~isanasto..."; + Text[ ca ] = "~Thesaurus..."; + Text[ it ] = "Sinoni~mi..."; + Text[ sk ] = "Slovník ~synoným..."; + Text[ da ] = "~Synonymordbog..."; + Text[ sv ] = "~Synonymordlista..."; + Text[ pl ] = "~Tezaurus..."; + Text[ pt-BR ] = "~Dicionário de Sinônimos"; + Text[ th ] = "~อรรถาภิธาน..."; + Text[ ja ] = "類義語辞典(~T)..."; + Text[ ko ] = "동의어 사전(~T)..."; + Text[ zh-CN ] = "同义词词典(~T)..."; + Text[ zh-TW ] = "同義詞詞典(~T)..."; + Text[ tr ] = "~Eşanlamlılar..."; + Text[ hi-IN ] = "~विश्वकोश..."; + Text[ ar ] = "قاموس المرادفات..."; + Text[ he ] = "מלים נרדפות..."; + }; +#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_HYPHENATE_OPT_DLG ; + HelpID = FN_HYPHENATE_OPT_DLG ; + Text [ de ] = "Silben~trennung..." ; + Text [ en-US ] = "~Hyphenation..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Divisão silábica..."; + Text[ ru ] = "Расстановка переносов..."; + Text[ el ] = "Συλλαβισμός..."; + Text[ nl ] = "~Woordafbreking..."; + Text[ fr ] = "~Coupure des mots..."; + Text[ es ] = "~Separación silábica..."; + Text[ fi ] = "~Tavutus..."; + Text[ ca ] = "~Separació en síl.labes..."; + Text[ it ] = "~Sillabazione..."; + Text[ sk ] = "~Delenie slov..."; + Text[ da ] = "~Orddeling..."; + Text[ sv ] = "Avs~tavning..."; + Text[ pl ] = "~Dzielenie wyrazów..."; + Text[ pt-BR ] = "Divisão ~Silábica..."; + Text[ th ] = "ใ~ช้ยัติภังค์..."; + Text[ ja ] = "ハイフネーション(~H)..."; + Text[ ko ] = "하이픈 넣기(~H)..."; + Text[ zh-CN ] = "连字符(~H)..."; + Text[ zh-TW ] = "連字符(~H)..."; + Text[ tr ] = "~Ayırma..."; + Text[ hi-IN ] = "~हाइफनेशन..."; + Text[ ar ] = "فصل المقاطع..."; + Text[ he ] = "שבירת מלים..."; + }; +#endif + SEPARATOR ; + MenuItem + { + Identifier = SID_AUTO_CORRECT_DLG; + HelpID = SID_AUTO_CORRECT_DLG; + Text [ de ] = "~AutoKorrektur/AutoFormat..." ; + Text [ en-US ] = "~AutoCorrect/AutoFormat..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~AutoCorrecção/AutoFormato..."; + Text[ ru ] = "Автозамена/автоформат..."; + Text[ el ] = "~Αυτόματη διόρθωση/Αυτόματη μορφοποίηση..."; + Text[ nl ] = "A~utoCorrectie/AutoOpmaak..."; + Text[ fr ] = "AutoCo~rrection/AutoFormat..."; + Text[ es ] = "~Corrección/Formateado automático..."; + Text[ fi ] = "Automaattinen ~korjaus/muotoilu..."; + Text[ ca ] = "~Autocorrecció/autoformat..."; + Text[ it ] = "Correzione/Formattazione a~utomatica..."; + Text[ sk ] = "~Automatické opravy/formát..."; + Text[ da ] = "~AutoKorrektur/AutoFormat..."; + Text[ sv ] = "~AutoKorrigering/AutoFormat..."; + Text[ pl ] = "Autokorekta/Auto~formatowanie..."; + Text[ pt-BR ] = "~AutoCorreção/AutoFormatação..."; + Text[ th ] = "แก้ไขให้ถูกต้อง~อัตโนมัติ/รูปแบบอัตโนมัติ..."; + Text[ ja ] = "オートコレクト/オートフォーマット(~A)..."; + Text[ ko ] = "자동 수정/자동 서식(~A)..."; + Text[ zh-CN ] = "自动更正/自动格式(~A)..."; + Text[ zh-TW ] = "自動校正/自動格式(~A)..."; + Text[ tr ] = "~Otomatik düzeltme/formatlama..."; + Text[ hi-IN ] = "~स्वचालित ढंग से ठीक करो/स्वचालित ढंग से रचना करो..."; + Text[ ar ] = "...تصحيح تلقائي/تنسيق تلقائي"; + Text[ he ] = "תיקון אוטומטי/עיצוב אוטומטי..."; + }; +#ifndef MN_SW_WEB + SEPARATOR ; + MenuItem + { + Identifier = FN_NUMBERING_OUTLINE_DLG ; + HelpID = FN_NUMBERING_OUTLINE_DLG ; + Text [ de ] = "~Kapitelnummerierung..." ; + Text [ en-US ] = "Outline ~Numbering..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "N~umeração de capítulos..."; + Text[ ru ] = "Структура нумерации..."; + Text[ el ] = "Αρίθμηση ~κεφαλαίων..."; + Text[ nl ] = "Hoofdstuk~nummering..."; + Text[ fr ] = "Numérotation des c~hapitres..."; + Text[ es ] = "~Numeración de capítulos..."; + Text[ fi ] = "Jäsennys~numerointi..."; + Text[ ca ] = "Numeració de ca~pítols..."; + Text[ it ] = "Numera~zione capitolo..."; + Text[ sk ] = "Číslova~nie osnovy..."; + Text[ da ] = "~Kapitelnummerering..."; + Text[ sv ] = "~Kapitelnumrering..."; + Text[ pl ] = "Num~eracja konspektu..."; + Text[ pt-BR ] = "~Numeração da Estrutura de Tópicos..."; + Text[ th ] = "เค้าร่าง~ลำดับตัวเลข..."; + Text[ ja ] = "章番号付け(~N)..."; + Text[ ko ] = "장 번호 매기기(~N)..."; + Text[ zh-CN ] = "章节编号(~N)..."; + Text[ zh-TW ] = "章節編號(~N)..."; + Text[ tr ] = "Özet ~numaralama..."; + Text[ hi-IN ] = "बाहरी रूपरेखा को ~संख्या देना..."; + Text[ ar ] = "...ترقيم الفصول"; + Text[ he ] = "מיספור פסקאות..."; + }; + MenuItem + { + Identifier = FN_LINE_NUMBERING_DLG ; + HelpID = FN_LINE_NUMBERING_DLG ; + Text [ de ] = "~Zeilennummerierung..." ; + Text [ en-US ] = "~Line Numbering..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Numeração de linhas..."; + Text[ ru ] = "Нумерация строк..."; + Text[ el ] = "Αρί~θμηση γραμμών..."; + Text[ nl ] = "~Regelnummering..."; + Text[ fr ] = "Numérotation des ~lignes..."; + Text[ es ] = "~Numeración de líneas..."; + Text[ fi ] = "~Rivien numerointi..."; + Text[ ca ] = "Numeració de ~línies..."; + Text[ it ] = "Numerazione rig~he..."; + Text[ sk ] = "Čís~lovanie riadkov..."; + Text[ da ] = "~Linjenummerering..."; + Text[ sv ] = "Ra~dnumrering..."; + Text[ pl ] = "~Numeracja wierszy..."; + Text[ pt-BR ] = "Numeração de ~Linhas..."; + Text[ th ] = "ลำดับตัวเลข~บรรทัด..."; + Text[ ja ] = "行番号付け(~L)..."; + Text[ ko ] = "줄 번호 매기기(~L)..."; + Text[ zh-CN ] = "行编号(~L)..."; + Text[ zh-TW ] = "行編號(~L)..."; + Text[ tr ] = "~Satır numaralama..."; + Text[ hi-IN ] = "~रेखा संख्या देना..."; + Text[ ar ] = "...ترقيم الأسطر"; + Text[ he ] = "מיספור שורות..."; + }; +#endif + MenuItem + { + Identifier = FN_FORMAT_FOOTNOTE_DLG ; + HelpID = FN_FORMAT_FOOTNOTE_DLG ; + /* ### ACHTUNG: Neuer Text in Resource? ~Funoten... : ~Funoten... */ + Text [ de ] = "~Funoten..." ; + Text [ en-US ] = "~Footnotes..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Notas de rodapé..."; + Text[ ru ] = "Сноски..."; + Text[ el ] = "Υποσημειώσεις..."; + Text[ nl ] = "~Voetnoten..."; + Text[ fr ] = "~Notes de bas de page..."; + Text[ es ] = "Notas al ~pie..."; + Text[ fi ] = "~Alaviitteet..."; + Text[ ca ] = "~Notes al peu..."; + Text[ it ] = "Note a piè pagina..."; + Text[ sk ] = "Po~známky pod čiarou..."; + Text[ da ] = "~Fodnoter..."; + Text[ sv ] = "~Fotnoter..."; + Text[ pl ] = "Pr~zypisy dolne..."; + Text[ pt-BR ] = "N~otas de Rodapé..."; + Text[ th ] = "เ~ชิงอรรถ..."; + Text[ ja ] = "脚注(~F)..."; + Text[ ko ] = "각주 및 미주(~F)..."; + Text[ zh-CN ] = "注脚(~F)..."; + Text[ zh-TW ] = "註腳(~F)..."; + Text[ tr ] = "~Dipnotlar..."; + Text[ hi-IN ] = "~पृष्ठ के नीचे की टीका..."; + Text[ ar ] = "...حواشي سفلية"; + Text[ he ] = "הערות שוליים..."; + }; + SEPARATOR ; + MenuItem + { + ITEM_INSERT_GALLERY + }; + SEPARATOR ; + MenuItem + { + ITEM_EDIT_BIBLIOGRAPHY + }; + ITEM_DATASOURCE_ADMINISTRATION + SEPARATOR ; +#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_QRY_MERGE ; + HelpID = FN_QRY_MERGE ; + Text [ de ] = "Se~riendruck..." ; + Text [ en-US ] = "~Mail Merge..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Mail Merge..."; + Text[ ru ] = "~Циркулярное письмо..."; + Text[ el ] = "Εγκύκλιος επιστολή..."; + Text[ nl ] = "S~tandaardbrief..."; + Text[ fr ] = "~Mailing..."; + Text[ es ] = "~Impresión en serie..."; + Text[ fi ] = "~Mail Merge..."; + Text[ ca ] = "D'una~ carta..."; + Text[ it ] = "~Stampa in serie..."; + Text[ sk ] = "For~mulárové listy..."; + Text[ da ] = "~Mail Merge..."; + Text[ sv ] = "Ko~pplad utskrift..."; + Text[ pl ] = "List seryjny..."; + Text[ pt-BR ] = "~Mala direta..."; + Text[ th ] = "แ~บบจดหมาย..."; + Text[ ja ] = "差し込み印刷(~M)..."; + Text[ ko ] = "편지 병합(~M)..."; + Text[ zh-CN ] = "邮件合并(~M)..."; + Text[ zh-TW ] = "合併列印(~M)..."; + Text[ tr ] = "~Posta Birleştir"; + Text[ hi-IN ] = "~Mail Merge..."; + Text[ ar ] = "خطاب مسلسل..."; + Text[ he ] = "~Mail Merge..."; + }; + SEPARATOR ; +#endif + MenuItem + { + Identifier = FN_CONVERT_TEXT_TABLE ; + HelpID = FN_CONVERT_TEXT_TABLE ; + Text [ de ] = "Te~xt <-> Tabelle..." ; + Text [ en-US ] = "Te~xt <-> Table..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Te~xto <-> Tabela..."; + Text[ ru ] = "Текст <-> Таблица..."; + Text[ el ] = "Κείμενο <-> Πίνακας..."; + Text[ nl ] = "~Tekst <-> Tabel..."; + Text[ fr ] = "T~exte <-> tableau..."; + Text[ es ] = "~Texto <-> Tabla..."; + Text[ fi ] = "Teks~ti <-> taulukko..."; + Text[ ca ] = "Te~xt <-> Taules..."; + Text[ it ] = "T~esto <-> Tabella..."; + Text[ sk ] = "Te~xt <-> Tabuľka..."; + Text[ da ] = "Te~kst <-> Tabel..."; + Text[ sv ] = "Text <-> Tabell..."; + Text[ pl ] = "Tek~st <-> tabela..."; + Text[ pt-BR ] = "Te~xto <-> Tabela..."; + Text[ th ] = "ข้อ~ความ <-> ตาราง..."; + Text[ ja ] = "テキストと表の変換(~X)..."; + Text[ ko ] = "텍스트 <-> 표 변환(~X)..."; + Text[ zh-CN ] = "文字和表格互换(~X)..."; + Text[ zh-TW ] = "文字和表格互換(~X)..."; + Text[ tr ] = "~Metin <->Tablo Dönüşümü..."; + Text[ hi-IN ] = "~टेक्स्ट् <-> सारणी..."; + Text[ ar ] = "نص <-> جدول..."; + Text[ he ] = "Te~xt <-> Tabelle..."; + }; + MenuItem + { + Identifier = FN_SORTING_DLG ; + HelpID = FN_SORTING_DLG ; + Text [ de ] = "S~ortieren..." ; + Text [ en-US ] = "So~rt..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Ordenar..."; + Text[ ru ] = "Сортировать..."; + Text[ el ] = "Τα~ξινόμηση..."; + Text[ nl ] = "So~rteren..."; + Text[ fr ] = "~Trier..."; + Text[ es ] = "O~rdenar..."; + Text[ fi ] = "L~ajittele..."; + Text[ ca ] = "O~rdena..."; + Text[ it ] = "O~rdina..."; + Text[ sk ] = "T~riediť..."; + Text[ da ] = "S~orter..."; + Text[ sv ] = "Sortera..."; + Text[ pl ] = "So~rtuj..."; + Text[ pt-BR ] = "O~rdenar..."; + Text[ th ] = "เรีย~ง..."; + Text[ ja ] = "並べ替え(~R)..."; + Text[ ko ] = "정렬(~R)..."; + Text[ zh-CN ] = "排序(~R)..."; + Text[ zh-TW ] = "排序(~R)..."; + Text[ tr ] = "~Sırala..."; + Text[ hi-IN ] = "सो~र्ट करो..."; + Text[ ar ] = "...فرز"; + Text[ he ] = "S~ortieren..."; + }; + MenuItem + { + Identifier = FN_CALCULATE ; + HelpID = FN_CALCULATE ; + Text [ de ] = "~Berechnen" ; + Text [ en-US ] = "Calculat~e" ; + Text [ x-comment ] = " "; + Text[ pt ] = "C~alcular"; + Text[ ru ] = "Вычислить"; + Text[ el ] = "~Υπολογισμός"; + Text[ nl ] = "~Berekenen"; + Text[ fr ] = "Calc~uler"; + Text[ es ] = "C~alcular"; + Text[ fi ] = "Las~ke"; + Text[ ca ] = "Ca~lcula"; + Text[ it ] = "C~alcola"; + Text[ sk ] = "S~počítať"; + Text[ da ] = "~Beregn"; + Text[ sv ] = "Beräkna"; + Text[ pl ] = "Obli~cz"; + Text[ pt-BR ] = "Cal~cular"; + Text[ th ] = "คำนว~ณ"; + Text[ ja ] = "計算(~E)"; + Text[ ko ] = "계산(~E)"; + Text[ zh-CN ] = "计算(~E)"; + Text[ zh-TW ] = "計算(~E)"; + Text[ tr ] = "~Hesapla"; + Text[ hi-IN ] = "ग~णना करो"; + Text[ ar ] = "حساب الناتج"; + Text[ he ] = "~Berechnen"; + }; +#ifndef MN_SW_WEB + MenuItem + { + Identifier = MN_SUB_UPDATE ; + HelpID = HID_MN_SUB_UPDATE ; + Text [ de ] = "Akt~ualisieren" ; + Text [ en-US ] = "~Update" ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = FN_UPDATE_ALL ; + HelpID = FN_UPDATE_ALL ; + Text [ de ] = "~Alles Aktualisieren" ; + Text [ en-US ] = "~Update All" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Actualizar ~tudo"; + Text[ ru ] = "Обновить все"; + Text[ el ] = "Ενημέρωση όλων"; + Text[ nl ] = "~Alles bijwerken"; + Text[ fr ] = "~Tout actualiser"; + Text[ es ] = "~Actualizar todo"; + Text[ fi ] = "~Päivitä kaikki"; + Text[ ca ] = "~Actualitza tot"; + Text[ it ] = "~Aggiorna tutto"; + Text[ sk ] = "~Aktualizovať všetko"; + Text[ da ] = "Opdater ~alt"; + Text[ sv ] = "Uppdatera allt"; + Text[ pl ] = "~Aktualizuj wszystko"; + Text[ pt-BR ] = "At~ualizar Tudo"; + Text[ th ] = "~ปรับปรุงทั้งหมด"; + Text[ ja ] = "すべて更新(~U)"; + Text[ ko ] = "모두 업데이트(~U)"; + Text[ zh-CN ] = "全部更新(~U)"; + Text[ zh-TW ] = "全部更新(~U)"; + Text[ tr ] = "~Tümünü güncelle"; + Text[ hi-IN ] = "~सब अपडेट् करो"; + Text[ ar ] = "تحديث الكل"; + Text[ he ] = "עידכון כולל"; + }; + SEPARATOR ; + MenuItem + { + Identifier = FN_UPDATE_FIELDS ; + HelpID = FN_UPDATE_FIELDS ; + Text [ de ] = "~Felder" ; + Text [ en-US ] = "~Fields" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Campos"; + Text[ ru ] = "Поля"; + Text[ el ] = "Πε~δία"; + Text[ nl ] = "~Velden"; + Text[ fr ] = "C~hamps"; + Text[ es ] = "~Campos"; + Text[ fi ] = "~Kentät"; + Text[ ca ] = "~Camps"; + Text[ it ] = "Ca~mpi"; + Text[ sk ] = "Po~le"; + Text[ da ] = "~Felter"; + Text[ sv ] = "Fält"; + Text[ pl ] = "~Pola"; + Text[ pt-BR ] = "~Campos"; + Text[ th ] = "เ~ขตข้อมูล"; + Text[ ja ] = "フィールド(~F)"; + Text[ ko ] = "필드(~F)"; + Text[ zh-CN ] = "字段(~F)"; + Text[ zh-TW ] = "欄位(~F)"; + Text[ tr ] = "~Alanlar"; + Text[ hi-IN ] = "~क्षेत्रें"; + Text[ ar ] = "حقول"; + Text[ he ] = "שדות"; + }; + MenuItem + { + Identifier = FN_UPDATE_ALL_LINKS ; + HelpID = FN_UPDATE_ALL_LINKS ; + Text [ de ] = "Verkn~pfungen" ; + Text [ en-US ] = "~Links" ; + Text [ x-comment ] = " "; + Text[ pt ] = "~Ligações"; + Text[ ru ] = "Связи"; + Text[ el ] = "Σ~υνδέσεις"; + Text[ nl ] = "Koppe~lingen"; + Text[ fr ] = "~Liens"; + Text[ es ] = "~Vínculos"; + Text[ fi ] = "~Linkit"; + Text[ ca ] = "~Enllaços"; + Text[ it ] = "~Collegamenti"; + Text[ sk ] = "~Odkazy"; + Text[ da ] = "Kæ~der"; + Text[ sv ] = "Länkar"; + Text[ pl ] = "Łą~cza"; + Text[ pt-BR ] = "~Vínculos"; + Text[ th ] = "เ~ชื่อมโยง"; + Text[ ja ] = "リンク(~L)"; + Text[ ko ] = "링크(~L)"; + Text[ zh-CN ] = "链接(~L)"; + Text[ zh-TW ] = "捷徑(~L)"; + Text[ tr ] = "~Bağlantılar"; + Text[ hi-IN ] = "~लिंक्स"; + Text[ ar ] = "مواقع مرتبطة"; + Text[ he ] = "קישורים"; + }; + MenuItem + { + Identifier = FN_UPDATE_CHARTS ; + HelpID = FN_UPDATE_CHARTS ; + Text [ de ] = "Alle Dia~gramme" ; + Text [ en-US ] = "All ~Charts"; + Text [ x-comment ] = " "; + Text[ pt ] = "~Todos os gráficos"; + Text[ ru ] = "Все диаграммы"; + Text[ el ] = "Όλα τα δια~γράμματα"; + Text[ nl ] = "Alle ~diagrammen"; + Text[ fr ] = "Tous les ~diagrammes"; + Text[ es ] = "Todos los ~diagramas"; + Text[ fi ] = "Kaikki ~kaaviot"; + Text[ ca ] = "Tots els ~gràfics"; + Text[ it ] = "Tutti i dia~grammi"; + Text[ sk ] = "Všetky ~grafy"; + Text[ da ] = "Alle dia~grammer"; + Text[ sv ] = "Alla diagram"; + Text[ pl ] = "W~szystkie wykresy"; + Text[ pt-BR ] = "Todos os ~Gráficos"; + Text[ th ] = "แ~ผนภูมิทั้งหมด"; + Text[ ja ] = "すべてのグラフ(~C)"; + Text[ ko ] = "모든 차트(~C)"; + Text[ zh-CN ] = "全部的图表(~C)"; + Text[ zh-TW ] = "全部的圖表(~C)"; + Text[ tr ] = "Tüm ~şemalar"; + Text[ hi-IN ] = "सब ~चार्ट"; + Text[ ar ] = "كل الرسومات البيانية"; + Text[ he ] = "Alle Dia~gramme"; + }; + MenuItem + { + Identifier = FN_UPDATE_CUR_TOX ; + HelpID = FN_UPDATE_CUR_TOX ; + Text [ de ] = "Aktuelles ~Verzeichnis" ; + Text [ en-US ] = "Current ~Index" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Índice ~activo"; + Text[ ru ] = "Текущий указатель"; + Text[ el ] = "Τρέχον ε~υρετήριο"; + Text[ nl ] = "Huidige ~index"; + Text[ fr ] = "~Index actif"; + Text[ es ] = "~Índice actual"; + Text[ fi ] = "~Nykyinen hakemisto"; + Text[ ca ] = "~Índex actual"; + Text[ it ] = "Indice att~uale"; + Text[ sk ] = "Súčasný re~gister"; + Text[ da ] = "Aktuelt ~bibliotek"; + Text[ sv ] = "Aktuell förteckning"; + Text[ pl ] = "Bieżący ~indeks"; + Text[ pt-BR ] = "Índ~ice Atual"; + Text[ th ] = "~ดัชนีปัจจุบัน"; + Text[ ja ] = "現在の目次や索引(~I)"; + Text[ ko ] = "현재 색인 및 목차(~I)"; + Text[ zh-CN ] = "当前的目录(~I)"; + Text[ zh-TW ] = "目前的目錄(~I)"; + Text[ tr ] = "Yürürlükteki ~dizin"; + Text[ hi-IN ] = "वर्तमान ~अनुक्रमणिका"; + Text[ ar ] = "الفهرس الحالي"; + Text[ he ] = "Aktuelles ~Verzeichnis"; + }; + MenuItem + { + Identifier = FN_UPDATE_TOX ; + HelpID = FN_UPDATE_TOX ; + Text [ de ] = "Alle Ver~zeichnisse" ; + Text [ en-US ] = "~All Indexes and Tables" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Indices ~todos"; + Text[ ru ] = "Все оглавления и указатели"; + Text[ el ] = "Όλα τα ε~υρετήρια"; + Text[ nl ] = "~Alle registers"; + Text[ fr ] = "Tous les inde~x"; + Text[ es ] = "~Todos los índices"; + Text[ fi ] = "Kaikki ~hakemistot ja luettelot"; + Text[ ca ] = "~Tots els índexs"; + Text[ it ] = "T~utti gli indici"; + Text[ sk ] = "~Všetky registre a tabuľky"; + Text[ da ] = "Alle bib~lioteker"; + Text[ sv ] = "Alla förteckningar"; + Text[ pl ] = "~Wszystkie indeksy i spisy treści"; + Text[ pt-BR ] = "Todos os índices e ta~belas"; + Text[ th ] = "ดัชนี~ทั้งหมด"; + Text[ ja ] = "すべての目次と索引(~A)"; + Text[ ko ] = "모든 색인 및 목차(~A)"; + Text[ zh-CN ] = "全部的目录(~A)"; + Text[ zh-TW ] = "全部的目錄(~A)"; + Text[ tr ] = "~Tüm dizinler ve tablolar"; + Text[ hi-IN ] = "~सब अनुक्रमणिका"; + Text[ ar ] = "كل الفهارس"; + Text[ he ] = "Alle Ver~zeichnisse"; + }; +#endif + MenuItem + { + Identifier = FN_REPAGINATE ; + HelpID = FN_REPAGINATE ; + Text [ de ] = "Se~itenformatierung" ; + Text [ en-US ] = "Page Formatting" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Formatar pág~inas"; + Text[ ru ] = "Форматирование страницы"; + Text[ el ] = "Μορφοποίηση σελίδας"; + Text[ nl ] = "~Paginaopmaak"; + Text[ fr ] = "~Formatage de page"; + Text[ es ] = "~Formateado de página"; + Text[ fi ] = "Sivun muotoilu"; + Text[ ca ] = "Format de pàgina"; + Text[ it ] = "~Reimpagina"; + Text[ sk ] = "Formátovanie stránky"; + Text[ da ] = "Sid~eformatering"; + Text[ sv ] = "Sidformatering"; + Text[ pl ] = "Formatowanie strony"; + Text[ pt-BR ] = "Formatação de Páginas"; + Text[ th ] = "จัดรูปแบบหน้า"; + Text[ ja ] = "ページの書式設定"; + Text[ ko ] = "페이지 서식 설정"; + Text[ zh-CN ] = "页面格式"; + Text[ zh-TW ] = "頁面格式"; + Text[ tr ] = "Sayfa formatlama"; + Text[ hi-IN ] = "पृष्ठ रचना करना"; + Text[ ar ] = "تنسيق الصفحات"; + Text[ he ] = "עיצוב דפים"; + }; +#ifndef MN_SW_WEB + }; + }; + Text [ x-comment ] = " "; + Text[ pt ] = "~Actualizar"; + Text[ ru ] = "Обновить"; + Text[ el ] = "Ενημέρ~ωση"; + Text[ nl ] = "~Bijwerken"; + Text[ fr ] = "~Actualiser"; + Text[ es ] = "Act~ualizar"; + Text[ fi ] = "~Päivitä"; + Text[ ca ] = "Act~ualitza"; + Text[ it ] = "A~ggiorna"; + Text[ sk ] = "~Aktualizovať"; + Text[ da ] = "Opda~ter"; + Text[ sv ] = "Uppdatera"; + Text[ pl ] = "~Aktualizuj"; + Text[ pt-BR ] = "At~ualizar"; + Text[ th ] = "~ปรับปรุง"; + Text[ ja ] = "更新(~U)"; + Text[ ko ] = "업데이트(~U)"; + Text[ zh-CN ] = "更新(~U)"; + Text[ zh-TW ] = "更新(~U)"; + Text[ tr ] = "~Güncelle"; + Text[ hi-IN ] = "अप~डेट् करो"; + Text[ ar ] = "التحديث"; + Text[ he ] = "עידכון"; + }; +#endif + SEPARATOR ; + MenuItem + { + Identifier = MN_SUB_MACRO; + HelpID = HID_MN_SUB_MACRO; + ITEM_TOOLS_BASICCHOOSER + }; + MenuItem + { + ITEM_OPEN_XML_FILTERSETTINGS + }; + MenuItem + { + ITEM_TOOLS_CONFIG + }; + ITEM_MN_OPTIONS + }; + }; + Text [ x-comment ] = " "; + Text[ pt ] = "Ferra~mentas"; + Text[ ru ] = "~Сервис"; + Text[ el ] = "Ε~ργαλεία"; + Text[ nl ] = "E~xtra"; + Text[ fr ] = "~Outils"; + Text[ es ] = "~Herramientas"; + Text[ fi ] = "Ty~ökalut"; + Text[ ca ] = "Ei~nes"; + Text[ it ] = "~Strumenti"; + Text[ sk ] = "~Nástroje"; + Text[ da ] = "Fun~ktioner"; + Text[ sv ] = "~Verktyg"; + Text[ pl ] = "~Narzędzia"; + Text[ pt-BR ] = "Ferra~mentas"; + Text[ th ] = "เ~ครื่องมือ"; + Text[ ja ] = "ツール(~T)"; + Text[ ko ] = "도구(~T)"; + Text[ zh-CN ] = "工具(~T)"; + Text[ zh-TW ] = "工具(~T)"; + Text[ tr ] = "~Araçlar"; + Text[ hi-IN ] = "~औज़ार"; + Text[ ar ] = "أ~دوات"; + Text[ he ] = "כלים"; +}; + +#ifdef MN_SW_WEB +#define MN_FRM_CAPTION_ITEM +#else +#define MN_FRM_CAPTION_ITEM \ + MenuItem\ + {\ + Identifier = FN_INSERT_CAPTION ;\ + HelpID = FN_INSERT_CAPTION ;\ + Text [ de ] = "Bes~chriftung..." ;\ + Text [ en-US ] = "~Caption..." ;\ + Text[ pt ] = "~Legenda...";\ + Text[ ru ] = "Название...";\ + Text[ el ] = "Λεζ~άντα...";\ + Text[ nl ] = "~Kop...";\ + Text[ fr ] = "L~égende...";\ + Text[ es ] = "~Etiqueta...";\ + Text[ fi ] = "~Kuvaotsikko...";\ + Text[ ca ] = "~Etiqueta...";\ + Text[ it ] = "Di~citura...";\ + Text[ sk ] = "~Popisok...";\ + Text[ da ] = "Billedtekst...";\ + Text[ sv ] = "Bildtext...";\ + Text[ pl ] = "~Podpis...";\ + Text[ pt-BR ] = "~Legenda...";\ + Text[ th ] = "~คำบรรยายภาพ...";\ + Text[ ja ] = "図表番号(~C)...";\ + Text[ ko ] = "캡션(~C)...";\ + Text[ zh-CN ] = "说明(~C)...";\ + Text[ zh-TW ] = "標籤(~C)...";\ + Text[ tr ] = "~Resim yazısı...";\ + Text[ hi-IN ] = "~कॉप्शन्...";\ + Text[ ar ] = "تسمية توضيحية...";\ + Text[ he ] = "Bes~chriftung...";\ + }; +#endif + +#define _MN_EDIT_FIELD \ + MenuItem \ + { \ + Identifier = FN_EDIT_FIELD ; \ + HelpID = FN_EDIT_FIELD ; \ + Text [ de ] = "~Feldbefehl..." ; \ + Text [ en-US ] = "Fields..." ; \ + Text[ pt ] = "Ca~mpos...";\ + Text[ ru ] = "Поле...";\ + Text[ el ] = "Εντολή πε~δίου...";\ + Text[ nl ] = "~Veldopdrachten...";\ + Text[ fr ] = "~Champ...";\ + Text[ es ] = "~Campo...";\ + Text[ fi ] = "Kentät...";\ + Text[ ca ] = "~Camps...";\ + Text[ it ] = "~Comando di campo...";\ + Text[ sk ] = "Polia...";\ + Text[ da ] = "~Felt...";\ + Text[ sv ] = "~Fältkommando...";\ + Text[ pl ] = "Pole...";\ + Text[ pt-BR ] = "~Campos...";\ + Text[ th ] = "เข~ตข้อมูล...";\ + Text[ ja ] = "フィールド...";\ + Text[ ko ] = "필드...";\ + Text[ zh-CN ] = "字段指令...";\ + Text[ zh-TW ] = "欄位指令...";\ + Text[ tr ] = "Alanlar...";\ + Text[ hi-IN ] = "Fields...";\ + Text[ ar ] = "حقل...";\ + Text[ he ] = "~Feldbefehl...";\ + }; +#define _MN_EDIT_FOOTNOTE \ + MenuItem \ + { \ + Identifier = FN_EDIT_FOOTNOTE ; \ + HelpID = FN_EDIT_FOOTNOTE ; \ + Text [ de ] = "Funote~..." ; \ + Text [ en-US ] = "Footnote~..." ; \ + Text[ pt ] = "~Nota de rodapé...";\ + Text[ ru ] = "Сноска...";\ + Text[ el ] = "Υπο~σημείωση...";\ + Text[ nl ] = "~Voetnoot...";\ + Text[ fr ] = "Note de bas de pa~ge...";\ + Text[ es ] = "No~ta al pie...";\ + Text[ fi ] = "~Alaviitteet";\ + Text[ ca ] = "~Nota al peu...";\ + Text[ it ] = "~Nota a piè pagina...";\ + Text[ sk ] = "Poznámka pod čiarou~...";\ + Text[ da ] = "Fo~dnote...";\ + Text[ sv ] = "Fotnot~...";\ + Text[ pl ] = "Przypis d~olny...";\ + Text[ pt-BR ] = "Nota~ de rodapé...";\ + Text[ th ] = "เ~ชิงอรรถ...";\ + Text[ ja ] = "脚注(~.)...";\ + Text[ ko ] = "각주(~.)...";\ + Text[ zh-CN ] = "注脚~...";\ + Text[ zh-TW ] = "註腳~...";\ + Text[ tr ] = "~Altbilgi...";\ + Text[ hi-IN ] = "Footnote~...";\ + Text[ ar ] = "حاشية سفلية...";\ + Text[ he ] = "Fußnote~...";\ + }; +#ifdef MN_SW_WEB + #define _MN_EDIT_IDX_ENTRY_DLG + #define _MN_EDIT_BIB_ENTRY_DLG +#else + #define _MN_EDIT_IDX_ENTRY_DLG \ + MenuItem \ + { \ + Identifier = FN_EDIT_IDX_ENTRY_DLG ; \ + HelpID = FN_EDIT_IDX_ENTRY_DLG ; \ + Text [ de ] = "Ver~zeichniseintrag..." ; \ + Text [ en-US ] = "Inde~x Entry..." ; \ + Text[ pt ] = "~Entrada do índice...";\ + Text[ ru ] = "Элемент указателя...";\ + Text[ el ] = "Καταχώριση ε~υρετηρίου...";\ + Text[ nl ] = "~Indexitem...";\ + Text[ fr ] = "Entrée d'inde~x...";\ + Text[ es ] = "~Entrada del índice...";\ + Text[ fi ] = "Hakemisto~merkintä";\ + Text[ ca ] = "Ent~rada d'índex...";\ + Text[ it ] = "Voce di ~indice...";\ + Text[ sk ] = "~Položka obsahu...";\ + Text[ da ] = "Indekselement...";\ + Text[ sv ] = "Förteckningspost...";\ + Text[ pl ] = "Wpis z indeksu...";\ + Text[ pt-BR ] = "~Índice...";\ + Text[ th ] = "ราย~การดัชนี...";\ + Text[ ja ] = "目次と索引(~X)...";\ + Text[ ko ] = "색인 및 목차(~X)...";\ + Text[ zh-CN ] = "目录条目(~X)...";\ + Text[ zh-TW ] = "索引條目(~X)...";\ + Text[ tr ] = "İ~ndis Girdisi...";\ + Text[ hi-IN ] = "Inde~x Entry...";\ + Text[ ar ] = "إدخال فهرسي...";\ + Text[ he ] = "Ver~zeichniseintrag...";\ + }; +#define _MN_EDIT_BIB_ENTRY_DLG \ + MenuItem \ + { \ + Identifier = FN_EDIT_AUTH_ENTRY_DLG ; \ + HelpID = FN_EDIT_AUTH_ENTRY_DLG ; \ + Text [ de ] = "~Literaturverzeichniseintrag..." ; \ + Text [ en-US ] = "~Bibliography Entry..."; \ + Text[ pt ] = "Entrada ~bibliográfica...";\ + Text[ ru ] = "Элемент списка литературы...";\ + Text[ el ] = "Καταχώριση βιβ~λιογραφίας...";\ + Text[ nl ] = "~Item voor literatuurlijst...";\ + Text[ fr ] = "Entrée de biblio~graphie...";\ + Text[ es ] = "~Entrada bibliográfica...";\ + Text[ fi ] = "~Bibliografiamerkintä";\ + Text[ ca ] = "~Entrada bibliogràfica...";\ + Text[ it ] = "Voce bib~liografica...";\ + Text[ sk ] = "Po~ložka v zozname použitej literatúry...";\ + Text[ da ] = "Litteraturlisteelement...";\ + Text[ sv ] = "~Litteraturförteckningspost...";\ + Text[ pl ] = "Wpis bibliograficzny...";\ + Text[ pt-BR ] = "Entrada bibliográfica...";\ + Text[ th ] = "รายการ~บรรณานุกรม...";\ + Text[ ja ] = "参考文献項目(~B)...";\ + Text[ ko ] = "참고 문헌 항목(~B)...";\ + Text[ zh-CN ] = "文献目录条目( ~B)...";\ + Text[ zh-TW ] = "參考文獻目錄條目(~B)...";\ + Text[ tr ] = "~Kaynakça Girişi...";\ + Text[ hi-IN ] = "~Bibliography Entry...";\ + Text[ ar ] = "إدخال في فهرس المراجع...";\ + Text[ he ] = "שורת בבליוגרפיה...";\ + }; \ + SEPARATOR ; +#endif + +#define _MN_EDIT_OPEN_HYPERLINK \ + MenuItem \ + { \ + ITEM_OPEN_HYPERLINK \ + }; + +#ifdef MN_SW_WEB +#define _DEFAULT_TEXT_EDIT_ELEMENTS \ + _MN_EDIT_FIELD \ + _MN_EDIT_FOOTNOTE \ + MenuItem \ + { \ + ITEM_POPUP_TEMPLATE_EDIT \ + }; \ + SEPARATOR ; \ + _MN_EDIT_OPEN_HYPERLINK +#else +#define _DEFAULT_TEXT_EDIT_ELEMENTS \ + _MN_EDIT_FIELD \ + _MN_EDIT_FOOTNOTE \ + _MN_EDIT_IDX_ENTRY_DLG \ + _MN_EDIT_BIB_ENTRY_DLG \ + MenuItem \ + { \ + ITEM_POPUP_TEMPLATE_EDIT \ + }; \ + SEPARATOR ; \ + _MN_EDIT_OPEN_HYPERLINK +#endif + +#ifndef MN_SW_PORTAL +#ifdef MN_SW_WEB + Menu MN_WEB_TEXT_POPUPMENU +#elif defined MN_SW_GLOBAL + Menu MN_GLOBAL_TEXT_POPUPMENU +#else + Menu MN_TEXT_POPUPMENU +#endif +{ + ItemList = + { + MN_RESET + SEPARATOR ; + MN_TEXT_ATTR + SEPARATOR ; + MN_TXT + MN_NUMBERING + ITEM_TRANSLITERATE_MENU + SEPARATOR ; +#ifndef MN_SW_WEB + MenuItem + { + Identifier = FN_UPDATE_CUR_TOX ; + HelpID = FN_UPDATE_CUR_TOX ; + Text [ de ] = "Ver~zeichnis aktualisieren" ; + Text [ en-US ] = "~Update Index/Table"; + Text[ pt ] = "Actualizar ín~dice"; + Text[ ru ] = "~Обновление указателя"; + Text[ el ] = "Ενημέρ~ωση ευρετηρίου"; + Text[ nl ] = "~Index actualiseren"; + Text[ fr ] = "A~ctualiser l'index"; + Text[ es ] = "Actuali~zar índice"; + Text[ fi ] = "~Päivitä hakemisto"; + Text[ ca ] = "~Update Index/Table"; + Text[ it ] = "Aggiorna ~indice"; + Text[ sk ] = "Akt~ualizovať index/tabuľku"; + Text[ da ] = "Opdater indeks"; + Text[ sv ] = "Uppdatera förteckning"; + Text[ pl ] = "~Aktualizuj indeks"; + Text[ pt-BR ] = "Atualizar índice/tabelas"; + Text[ th ] = "~ปรับปรุงดัชนี"; + Text[ ja ] = "目次と索引の更新(~U)"; + Text[ ko ] = "색인 및 목차 업데이트(~U)"; + Text[ zh-CN ] = "更新目录(~U)"; + Text[ zh-TW ] = "更新目錄(~U)"; + Text[ tr ] = "İ~ndisi/Tabloyu Güncelle"; + Text[ hi-IN ] = "~Update Index/Table"; + Text[ ar ] = "تحديث فهرس"; + Text[ he ] = "Ver~zeichnis aktualisieren"; + }; + MenuItem + { + Identifier = FN_EDIT_CURRENT_TOX; + HelpID = FN_EDIT_CURRENT_TOX; + Text [ de ] = "V~erzeichnis bearbeiten" ; + Text [ en-US ] = "~Edit Index/Table"; + Text[ pt ] = "~Editar índice"; + Text[ ru ] = "~Правка указателя"; + Text[ el ] = "~Επεξεργασία ευρετηρίου"; + Text[ nl ] = "~Index bewerken"; + Text[ fr ] = "Édit~er l'index"; + Text[ es ] = "Edit~ar índice"; + Text[ fi ] = "~Muokkaa hakemistoa"; + Text[ ca ] = "~Edit Index/Table"; + Text[ it ] = "Modi~fica indice"; + Text[ sk ] = "~Upraviť index/tabuľku"; + Text[ da ] = "Rediger indeks"; + Text[ sv ] = "Redigera fört~eckning"; + Text[ pl ] = "~Edytuj indeks"; + Text[ pt-BR ] = "Editar índice/tabelas"; + Text[ th ] = "แ~ก้ไขดัชนี"; + Text[ ja ] = "目次と索引の編集(~E)"; + Text[ ko ] = "색인 및 목차 편집(~E)"; + Text[ zh-CN ] = "编辑目录(~E)"; + Text[ zh-TW ] = "編輯目錄(~E)"; + Text[ tr ] = "İ~ndisi/Tabloyu Düzenle"; + Text[ hi-IN ] = "~Edit Index/Table"; + Text[ ar ] = "تحرير فهرس"; + Text[ he ] = "V~erzeichnis bearbeiten"; + }; + MenuItem + { + Identifier = FN_REMOVE_CUR_TOX; + HelpID = FN_REMOVE_CUR_TOX; + Text [ de ] = "Verzeichnis l~schen" ; + Text [ en-US ] = "Delete Index/Table"; + Text[ pt ] = "Eliminar ín~dice"; + Text[ ru ] = "~Удалить указатель"; + Text[ el ] = "Διαγραφή ε~υρετηρίου"; + Text[ nl ] = "~Index wissen"; + Text[ fr ] = "S~upprimer l'index"; + Text[ es ] = "Borrar el í~ndice"; + Text[ fi ] = "Poista hakemisto"; + Text[ ca ] = "Delete Index/Table"; + Text[ it ] = "Rimuo~vi indice"; + Text[ sk ] = "Zmazať index/tabuľku"; + Text[ da ] = "Slet indeks"; + Text[ sv ] = "Radera f~örteckning"; + Text[ pl ] = "~Usuń ideks"; + Text[ pt-BR ] = "Excluir índice/tabelas"; + Text[ th ] = "ลบดัชนี"; + Text[ ja ] = "目次と索引の削除"; + Text[ ko ] = "색인 및 목차 삭제"; + Text[ zh-CN ] = "删除目录"; + Text[ zh-TW ] = "刪除目錄"; + Text[ tr ] = "İndisi/Tabloyu Sil"; + Text[ hi-IN ] = "Delete Index/Table"; + Text[ ar ] = "حذف فهرس"; + Text[ he ] = "Verzeichnis l~öschen"; + }; + SEPARATOR ; +#endif + _DEFAULT_TEXT_EDIT_ELEMENTS + }; +}; + +#endif //MN_SW_PORTAL + + +/*------------------------------------------------------------------------- + Fenster und Hilfe +-------------------------------------------------------------------------*/ + +#ifdef MN_SW_PORTAL + #ifdef MN_SW_WEB + #define _MN_WIN MN_WEBWIN_PORT + #elif defined MN_SW_GLOBAL + #define _MN_WIN MN_GLOBALWIN_PORT + #else + #define _MN_WIN MN_WIN_PORT + #endif + MenuItem _MN_WIN + { + ITEM_WINDOW_MDIWINDOWLIST + SubMenu = Menu + { + ItemList = + { + GLOBLMN_CLONEWIN + }; + }; + }; + #else + ITEM_WINDOW_MENU + #if !defined MN_SW_WEB && !defined MN_SW_GLOBAL + ITEM_HELP_MENU + #endif +#endif //MN_SW_PORTAL + +#endif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/binfilter/bf_sw/source/ui/inc/swstbctl.hxx b/binfilter/bf_sw/source/ui/inc/swstbctl.hxx new file mode 100644 index 000000000000..9edd396a9131 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/swstbctl.hxx @@ -0,0 +1,58 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWSTBCTL_HXX +#define _SWSTBCTL_HXX + +// include --------------------------------------------------------------- + +#include <bf_sfx2/stbitem.hxx> +namespace binfilter { + +// class SwHyperlinkControl ------------------------------------------------ + +class SwHyperlinkControl : public SfxStatusBarControl +{ +public: + virtual void StateChanged( USHORT nSID, SfxItemState eState, + const SfxPoolItem* pState ); + + SFX_DECL_STATUSBAR_CONTROL(); + + SwHyperlinkControl( USHORT nId, StatusBar& rStb, SfxBindings& rBind ); + +private: + BOOL bState; + void DrawItemText_Impl(); + +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/syncbtn.hxx b/binfilter/bf_sw/source/ui/inc/syncbtn.hxx new file mode 100644 index 000000000000..de11a3186eb8 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/syncbtn.hxx @@ -0,0 +1,68 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWSYNCBTN_HXX +#define _SWSYNCBTN_HXX + +#include <bf_sfx2/childwin.hxx> + +#ifdef _SYNCDLG + +#include <bf_sfx2/basedlgs.hxx> + +#include <vcl/button.hxx> +namespace binfilter { + +class SwWrtShell; + +/*------------------------------------------------------------------------ + Beschreibung: +------------------------------------------------------------------------*/ + +} //namespace binfilter +#endif + +/*------------------------------------------------------------------------ + Beschreibung: +------------------------------------------------------------------------*/ +namespace binfilter {//STRIP009 +class SwSyncChildWin : public SfxChildWindow +{ +public: + SwSyncChildWin( Window* , + USHORT nId, + SfxBindings*, + SfxChildWinInfo* ); + + SFX_DECL_CHILDWINDOW( SwSyncChildWin ); +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/table.hrc b/binfilter/bf_sw/source/ui/inc/table.hrc new file mode 100644 index 000000000000..1608a0170a95 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/table.hrc @@ -0,0 +1,31 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#include "rcid.hrc" + + + diff --git a/binfilter/bf_sw/source/ui/inc/tabsh.hxx b/binfilter/bf_sw/source/ui/inc/tabsh.hxx new file mode 100644 index 000000000000..105a351b8b69 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/tabsh.hxx @@ -0,0 +1,53 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWTABSH_HXX +#define _SWTABSH_HXX + +#include "basesh.hxx" +namespace binfilter { + +class SwTableShell: public SwBaseShell +{ +public: + SFX_DECL_INTERFACE(SW_TABSHELL); + TYPEINFO(); + + void GetState(SfxItemSet &); + void GetFrmBorderState(SfxItemSet &rSet); + void GetLineStyleState(SfxItemSet &rSet); + void ExecTableStyle(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecTableStyle(SfxRequest& rReq); + + void ExecNumberFormat(SfxRequest& rReq){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecNumberFormat(SfxRequest& rReq); + + SwTableShell(SwView &rView); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/tblctrl.hxx b/binfilter/bf_sw/source/ui/inc/tblctrl.hxx new file mode 100644 index 000000000000..8833eab7bb7a --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/tblctrl.hxx @@ -0,0 +1,59 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _TBLCTRL_HXX +#define _TBLCTRL_HXX + + +#include <bf_sfx2/tbxctrl.hxx> +namespace binfilter { + + +//---------------------------------------------------------------------------- +// +//---------------------------------------------------------------------------- + +class SwTableOptimizeCtrl : public SfxToolBoxControl +{ + +public: + SFX_DECL_TOOLBOX_CONTROL(); + + SwTableOptimizeCtrl( USHORT nId, ToolBox& rTbx, SfxBindings& rBind ); + ~SwTableOptimizeCtrl(); + + +}; + +// +//---------------------------------------------------------------------------- + +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/tbxanchr.hxx b/binfilter/bf_sw/source/ui/inc/tbxanchr.hxx new file mode 100644 index 000000000000..6c7f04b1dc34 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/tbxanchr.hxx @@ -0,0 +1,48 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _TBXANCHR_HXX +#define _TBXANCHR_HXX + +#include <bf_sfx2/tbxctrl.hxx> +namespace binfilter { + +class SwTbxAnchor : public SfxToolBoxControl +{ + USHORT nActAnchorId; + +public: + + SFX_DECL_TOOLBOX_CONTROL(); + SwTbxAnchor( USHORT nId, ToolBox& rTbx, SfxBindings& rBind ); + ~SwTbxAnchor(); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/textsh.hxx b/binfilter/bf_sw/source/ui/inc/textsh.hxx new file mode 100644 index 000000000000..26e7316c4994 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/textsh.hxx @@ -0,0 +1,81 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SWTEXTSH_HXX +#define _SWTEXTSH_HXX + +#include <basesh.hxx> +class Button; +namespace binfilter { + + +class SvxHyperlinkItem; + +class SwTextShell: public SwBaseShell +{ + + +public: + SFX_DECL_INTERFACE(SW_TEXTSHELL); + TYPEINFO(); + + + void GetState(SfxItemSet &); + + void ExecInsert(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecInsert(SfxRequest &); + void StateInsert(SfxItemSet&); + void ExecEnterNum(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecEnterNum(SfxRequest &); + void ExecBasicMove(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecBasicMove(SfxRequest &); + void ExecMove(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecMove(SfxRequest &); + void ExecMovePage(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecMovePage(SfxRequest &); + void ExecMoveCol(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecMoveCol(SfxRequest &); + void ExecMoveLingu(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecMoveLingu(SfxRequest &); + void ExecMoveMisc(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecMoveMisc(SfxRequest &); + void StateField(SfxItemSet &); + void ExecIdx(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecIdx(SfxRequest &); + void GetIdxState(SfxItemSet &); + void ExecGlossary(SfxRequest &);//STRIP001 void ExecGlossary(SfxRequest &); + + void ExecCharAttr(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecCharAttr(SfxRequest &); + void ExecCharAttrArgs(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecCharAttrArgs(SfxRequest &); + void ExecParaAttr(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecParaAttr(SfxRequest &); + void ExecParaAttrArgs(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecParaAttrArgs(SfxRequest &); + void ExecAttr(SfxRequest &); + void ExecDB(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecDB(SfxRequest &); + void ExecTransliteration(SfxRequest &){DBG_BF_ASSERT(0, "STRIP");} ;//STRIP001 void ExecTransliteration(SfxRequest &); + + void GetAttrState(SfxItemSet &); + + SwTextShell(SwView &rView); + virtual ~SwTextShell(); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/tmplctrl.hxx b/binfilter/bf_sw/source/ui/inc/tmplctrl.hxx new file mode 100644 index 000000000000..a079e72a7edb --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/tmplctrl.hxx @@ -0,0 +1,59 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _TMPLCTRL_HXX +#define _TMPLCTRL_HXX + +// include --------------------------------------------------------------- + +#include <bf_sfx2/stbitem.hxx> + +#include <tools/string.hxx> +namespace binfilter { + + +// class BookmarkToolBoxControl ------------------------------------------- + +class SwTemplateControl : public SfxStatusBarControl +{ +protected: +public: + + SFX_DECL_STATUSBAR_CONTROL(); + + SwTemplateControl( USHORT nId, StatusBar& rStb, SfxBindings& rBind ); + ~SwTemplateControl(); + +private: + String sTemplate; +}; + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/toolbox.hrc b/binfilter/bf_sw/source/ui/inc/toolbox.hrc new file mode 100644 index 000000000000..f6429425fef2 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/toolbox.hrc @@ -0,0 +1,658 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT +#ifndef _TOOLBOX_HRC +#define _TOOLBOX_HRC +#include "shells.hrc" +#include "globals.hrc" +#include "cmdid.h" +#define MN_FONT\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_CHAR_FONT;\ + HelpID = SID_ATTR_CHAR_FONT;\ + };\ + ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; \ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_CHAR_FONTHEIGHT ; \ + HelpID = SID_ATTR_CHAR_FONTHEIGHT ; \ + };\ + ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; + +#define MN_TEXT1( HIDE )\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_CHAR_WEIGHT ; \ + HelpID = SID_ATTR_CHAR_WEIGHT ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_CHAR_POSTURE ; \ + HelpID = SID_ATTR_CHAR_POSTURE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_CHAR_UNDERLINE ; \ + HelpID = SID_ATTR_CHAR_UNDERLINE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_SET_SUPER_SCRIPT;\ + HelpID = FN_SET_SUPER_SCRIPT;\ + Hide = HIDE;\ + };\ + ToolBoxItem\ + {\ + Identifier = FN_SET_SUB_SCRIPT;\ + HelpID = FN_SET_SUB_SCRIPT;\ + Hide = HIDE;\ + };\ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_ADJUST_LEFT ; \ + HelpID = SID_ATTR_PARA_ADJUST_LEFT ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_ADJUST_CENTER ; \ + HelpID = SID_ATTR_PARA_ADJUST_CENTER ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_ADJUST_RIGHT ; \ + HelpID = SID_ATTR_PARA_ADJUST_RIGHT ; \ + RadioCheck = TRUE ; \ + };\ + +#define MN_TEXT1_RTL( HIDE )\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_CHAR_WEIGHT ; \ + HelpID = SID_ATTR_CHAR_WEIGHT ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_CHAR_POSTURE ; \ + HelpID = SID_ATTR_CHAR_POSTURE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_CHAR_UNDERLINE ; \ + HelpID = SID_ATTR_CHAR_UNDERLINE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_SET_SUPER_SCRIPT;\ + HelpID = FN_SET_SUPER_SCRIPT;\ + Hide = HIDE;\ + };\ + ToolBoxItem\ + {\ + Identifier = FN_SET_SUB_SCRIPT;\ + HelpID = FN_SET_SUB_SCRIPT;\ + Hide = HIDE;\ + };\ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_ADJUST_RIGHT ; \ + HelpID = SID_ATTR_PARA_ADJUST_RIGHT ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_ADJUST_CENTER ; \ + HelpID = SID_ATTR_PARA_ADJUST_CENTER ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_ADJUST_LEFT ; \ + HelpID = SID_ATTR_PARA_ADJUST_LEFT ; \ + RadioCheck = TRUE ; \ + };\ + +#define MN_TEXT1_BLOCK \ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \ + HelpID = SID_ATTR_PARA_ADJUST_BLOCK ; \ + RadioCheck = TRUE ; \ + };\ + +#define MN_TEXT_LINESPACE \ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_LINESPACE_10;\ + HelpID = SID_ATTR_PARA_LINESPACE_10;\ + RadioCheck = TRUE;\ + Hide = TRUE;\ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_LINESPACE_15;\ + HelpID = SID_ATTR_PARA_LINESPACE_15;\ + RadioCheck = TRUE;\ + Hide = TRUE;\ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_LINESPACE_20;\ + HelpID = SID_ATTR_PARA_LINESPACE_20;\ + RadioCheck = TRUE;\ + Hide = TRUE;\ + };\ + +#define MN_TEXT_LTR_RTL \ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_LEFT_TO_RIGHT;\ + HelpID = SID_ATTR_PARA_LEFT_TO_RIGHT;\ + RadioCheck = TRUE;\ + Hide = TRUE;\ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_RIGHT_TO_LEFT;\ + HelpID = SID_ATTR_PARA_RIGHT_TO_LEFT;\ + RadioCheck = TRUE;\ + Hide = TRUE;\ + };\ + +#define MN_TEXT_RTL_LTR \ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_RIGHT_TO_LEFT;\ + HelpID = SID_ATTR_PARA_RIGHT_TO_LEFT;\ + RadioCheck = TRUE;\ + Hide = TRUE;\ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_PARA_LEFT_TO_RIGHT;\ + HelpID = SID_ATTR_PARA_LEFT_TO_RIGHT;\ + RadioCheck = TRUE;\ + Hide = TRUE;\ + };\ + +#define MN_TEXT2\ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_NUM_NUMBERING_ON ; \ + HelpID = FN_NUM_NUMBERING_ON ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_NUM_BULLET_ON ; \ + HelpID = FN_NUM_BULLET_ON ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_DEC_INDENT ; \ + HelpId = SID_DEC_INDENT ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_INC_INDENT ; \ + HelpId = SID_INC_INDENT ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_GROW_FONT_SIZE;\ + HelpID = FN_GROW_FONT_SIZE;\ + Hide = TRUE;\ + };\ + ToolBoxItem\ + {\ + Identifier = FN_SHRINK_FONT_SIZE;\ + HelpID = FN_SHRINK_FONT_SIZE;\ + Hide = TRUE;\ + };\ + +#define MN_BACKGROUND_COLOR\ + ToolBoxItem\ + {\ + ITEM_TOOLBAR_BACKGROUND_COLOR\ + }; + +#define MN_TEXT_BACKGROUND \ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + ITEM_TOOLBAR_ATTR_CHAR_COLOR\ + Identifier = SID_ATTR_CHAR_COLOR2 ; \ + Command = ".uno:FontColor"; \ + DropDown = TRUE ;\ + };\ + ToolBoxItem\ + {\ + Identifier = SID_ATTR_CHAR_COLOR_BACKGROUND ; \ + HelpID = SID_ATTR_CHAR_COLOR_BACKGROUND ; \ + DropDown = TRUE ;\ + };\ + ToolBoxItem\ + {\ + ITEM_TOOLBAR_BACKGROUND_COLOR\ + Text [ de ] = "Absatzhintergrund" ; \ + Text [ en-US ] = "Paragraph Background" ; \ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Cor de fundo do parágrafo";\ + Text[ ru ] = "Фон абзаца";\ + Text[ el ] = "Φόντο παραγράφου";\ + Text[ nl ] = "Alinea-achtergrond";\ + Text[ fr ] = "Arrière-plan de paragraphe";\ + Text[ es ] = "Fondo del párrafo";\ + Text[ fi ] = "Kappaleen tausta";\ + Text[ ca ] = "Fons de paràgraf";\ + Text[ it ] = "Sfondo paragrafo";\ + Text[ sk ] = "Pozadie odstavca";\ + Text[ da ] = "Afsnitsbaggrund";\ + Text[ sv ] = "Styckebakgrund";\ + Text[ pl ] = "Tło akapitu";\ + Text[ pt-BR ] = "Plano de Fundo do Parágrafo";\ + Text[ th ] = "พื้นหลังย่อหน้า";\ + Text[ ja ] = "段落の背景";\ + Text[ ko ] = "단락 배경";\ + Text[ zh-CN ] = "段落背景";\ + Text[ zh-TW ] = "段落背景";\ + Text[ tr ] = "Metin artalanı";\ + Text[ hi-IN ] = "परिच्छेद पृष्ठभाग";\ + Text[ ar ] = "خلفية الفقرة";\ + Text[ he ] = "Absatzhintergrund";\ + }; + +#define MN_TEXT_DIALOGS(HIDE)\ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_SELECTALL;\ + HelpId = SID_SELECTALL;\ + Hide = HIDE;\ + };\ + ToolBoxItem\ + {\ + Identifier = SID_CHAR_DLG;\ + HelpId = SID_CHAR_DLG;\ + Hide = HIDE;\ + };\ + ToolBoxItem\ + {\ + Identifier = SID_PARA_DLG;\ + HelpId = SID_PARA_DLG;\ + Hide = HIDE;\ + }; + + +#define MN_TEMPLATE\ + ToolBoxItem\ + {\ + ITEM_TOOLBAR_TEMPLATE_APPLY\ + };\ + ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; + +#define MN_FRAME_WRAP\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_NOWRAP ; \ + HelpID = FN_FRAME_NOWRAP ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_WRAP ; \ + HelpID = FN_FRAME_WRAP ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_WRAP_IDEAL ; \ + HelpID = FN_FRAME_WRAP_IDEAL ; \ + RadioCheck = TRUE ; \ + Hide = TRUE;\ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_WRAP_LEFT ; \ + HelpID = FN_FRAME_WRAP_LEFT ; \ + RadioCheck = TRUE ; \ + Hide = TRUE;\ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_WRAP_RIGHT ; \ + HelpID = FN_FRAME_WRAP_RIGHT ; \ + RadioCheck = TRUE ; \ + Hide = TRUE;\ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_WRAPTHRU ; \ + HelpID = FN_FRAME_WRAPTHRU ; \ + RadioCheck = TRUE ; \ + }; + +#define MN_FRAME_WRAP_WEB\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_NOWRAP ; \ + HelpID = FN_FRAME_NOWRAP ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_WRAP_LEFT ; \ + HelpID = FN_FRAME_WRAP_LEFT ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_WRAP_RIGHT ; \ + HelpID = FN_FRAME_WRAP_RIGHT ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_IMAP ; \ + HelpID = SID_IMAP ; \ + RadioCheck = TRUE ; \ + }; + +#define MN_CONTOUR\ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_WRAP_CONTOUR ; \ + HelpID = FN_FRAME_WRAP_CONTOUR ; \ + Hide = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_CONTOUR_DLG ; \ + HelpID = SID_CONTOUR_DLG ; \ + Hide = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_IMAP ; \ + HelpID = SID_IMAP ; \ + Hide = TRUE ; \ + }; + + +#define MN_FRAME1\ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_ALIGN_HORZ_LEFT ; \ + HelpID = FN_FRAME_ALIGN_HORZ_LEFT ; \ + RadioCheck = TRUE ; \ + }; + +#define MN_FRAME2\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_ALIGN_HORZ_CENTER ; \ + HelpID = FN_FRAME_ALIGN_HORZ_CENTER ; \ + RadioCheck = TRUE ; \ + }; + +#define MN_FRAME3\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_ALIGN_HORZ_RIGHT ; \ + HelpID = FN_FRAME_ALIGN_HORZ_RIGHT ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_ALIGN_VERT_TOP ; \ + HelpID = FN_FRAME_ALIGN_VERT_TOP ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_ALIGN_VERT_CENTER ; \ + HelpID = FN_FRAME_ALIGN_VERT_CENTER ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Identifier = FN_FRAME_ALIGN_VERT_BOTTOM ; \ + HelpID = FN_FRAME_ALIGN_VERT_BOTTOM ; \ + RadioCheck = TRUE ; \ + };\ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR ; \ + }; + +#define MN_LAYER\ + ToolBoxItem\ + {\ + Identifier = SID_FRAME_TO_TOP ; \ + HelpID = SID_FRAME_TO_TOP ; \ + };\ + ToolBoxItem\ + {\ + Identifier = SID_FRAME_TO_BOTTOM ; \ + HelpID = SID_FRAME_TO_BOTTOM ; \ + }; + +#define MN_LINESTYLE\ + ToolBoxItem\ + {\ + ITEM_TOOLBAR_ATTR_BORDER\ + };\ + ToolBoxItem\ + {\ + ITEM_TOOLBAR_FRAME_LINESTYLE\ + };\ + ToolBoxItem\ + {\ + ITEM_TOOLBAR_FRAME_LINECOLOR\ + }; + +#define MN_ATTRIBUTES_FRAME\ + ToolBoxItem\ + {\ + Identifier = FN_FORMAT_FRAME_DLG ; \ + HelpID = FN_FORMAT_FRAME_DLG ; \ + }; + +#define MN_ATTRIBUTES_GRAFIK\ + ToolBoxItem\ + {\ + Identifier = FN_FORMAT_FRAME_DLG;\ + HelpID = FN_FORMAT_GRAFIC_DLG;\ + Text [ de ] = "Grafik Eigenschaften";\ + Text [ en-US ] = "Graphics Properties";\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Propriedades da imagem";\ + Text[ ru ] = "Свойства графического объекта";\ + Text[ el ] = "Ιδιότητες γραφικού";\ + Text[ nl ] = "Eigenschappen van afbeeldingen";\ + Text[ fr ] = "Propriétés de l'image";\ + Text[ es ] = "Propiedades de la imagen";\ + Text[ fi ] = "Grafiikkaominaisuudet";\ + Text[ ca ] = "Propietats de la imatge";\ + Text[ it ] = "Proprietà immagine";\ + Text[ sk ] = "Vlastnosti obrázkov";\ + Text[ da ] = "Grafik-egenskaber";\ + Text[ sv ] = "Grafikegenskaper";\ + Text[ pl ] = "Właściwości grafiki";\ + Text[ pt-BR ] = "Propriedades da Figura";\ + Text[ th ] = "คุณสมบัติกราฟิค";\ + Text[ ja ] = "図の属性";\ + Text[ ko ] = "그림 등록 정보";\ + Text[ zh-CN ] = "图形属性";\ + Text[ zh-TW ] = "圖形屬性";\ + Text[ tr ] = "Grafik özellikleri";\ + Text[ hi-IN ] = "सुचित्र विशेषतायें";\ + Text[ ar ] = "خصائص الصورة";\ + Text[ he ] = "Grafik Eigenschaften";\ + }; + + +#define MN_ATTRIBUTES_OLE\ + ToolBoxItem\ + {\ + Identifier = FN_FORMAT_FRAME_DLG;\ + HelpID = FN_FORMAT_FRAME_DLG;\ + Text [ de ] = "Objekt Eigenschaften";\ + Text [ en-US ] = "Object Properties";\ + Text [ x-comment ] = " ";\ + Text[ pt ] = "Propriedades do objecto";\ + Text[ ru ] = "Свойства объекта";\ + Text[ el ] = "Ιδιότητες αντικειμένου";\ + Text[ nl ] = "Eigenschappen van objecten";\ + Text[ fr ] = "Propriétés de l'objet";\ + Text[ es ] = "Propiedades del objeto";\ + Text[ fi ] = "Objektin ominaisuudet";\ + Text[ ca ] = "Propietats del objecte";\ + Text[ it ] = "Proprietà oggetto";\ + Text[ sk ] = "Vlastnosti objektu";\ + Text[ da ] = "Objektegenskaber";\ + Text[ sv ] = "Objektegenskaper";\ + Text[ pl ] = "Właściwości obiektu";\ + Text[ pt-BR ] = "Propriedades do Objeto";\ + Text[ th ] = "คุณสมบัติวัตถุ";\ + Text[ ja ] = "オブジェクトの属性";\ + Text[ ko ] = "개체 등록 정보";\ + Text[ zh-CN ] = "对象属性";\ + Text[ zh-TW ] = "物件屬性";\ + Text[ tr ] = "Nesne özellikleri";\ + Text[ hi-IN ] = "वस्तु विशेषतायें";\ + Text[ ar ] = "خصائص الكائن";\ + Text[ he ] = "Objekt Eigenschaften";\ + }; + +#define MN_GRID(hide)\ + ToolBoxItem\ + {\ + Type = TOOLBOXITEM_SEPARATOR;\ + };\ + ToolBoxItem\ + {\ + Identifier = SID_GRID_VISIBLE;\ + HelpID = SID_GRID_VISIBLE;\ + hide;\ + };\ + ToolBoxItem\ + {\ + Identifier = SID_GRID_USE;\ + HelpID = SID_GRID_USE;\ + hide;\ + };\ + ToolBoxItem\ + {\ + Identifier = SID_HELPLINES_MOVE;\ + HelpID = SID_HELPLINES_MOVE;\ + hide;\ + }; + + + +#endif // _TOOLBOX_HRC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/binfilter/bf_sw/source/ui/inc/uiitems.hxx b/binfilter/bf_sw/source/ui/inc/uiitems.hxx new file mode 100644 index 000000000000..82805ac97745 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/uiitems.hxx @@ -0,0 +1,84 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _UIITEMS_HXX +#define _UIITEMS_HXX + +#include "pagedesc.hxx" +#include "cmdid.h" +#include <bf_svtools/intitem.hxx> +class IntlWrapper; +namespace binfilter { +class SwNumRule; + + +/*-------------------------------------------------------------------- + Beschreibung: Container fuer FootNote + --------------------------------------------------------------------*/ +class SwPageFtnInfoItem : public SfxPoolItem +{ + SwPageFtnInfo aFtnInfo; + +public: + + SwPageFtnInfoItem(const USHORT nId, SwPageFtnInfo& rInfo); + SwPageFtnInfoItem(const SwPageFtnInfoItem& rItem ); + ~SwPageFtnInfoItem(); + + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual int operator==( const SfxPoolItem& ) const; + + virtual bool QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + + SwPageFtnInfo& GetPageFtnInfo() { return aFtnInfo; } + const SwPageFtnInfo& GetPageFtnInfo() const { return aFtnInfo; } + void SetPageFtnInfo(SwPageFtnInfo& rInf) { aFtnInfo = rInf; } +}; + +/*******************************************************************/ + + + + + +/*******************************************************************/ + + + + + + +/* -----------------17.06.98 17:40------------------- + * + * --------------------------------------------------*/ + + +} //namespace binfilter +#endif // _UIITEMS_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/uinums.hxx b/binfilter/bf_sw/source/ui/inc/uinums.hxx new file mode 100644 index 000000000000..c2c4f0b3939a --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/uinums.hxx @@ -0,0 +1,63 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _UINUMS_HXX +#define _UINUMS_HXX + +#include <bf_svtools/svarray.hxx> + +#include <numrule.hxx> +namespace binfilter { + + + + + + +//------------------------------------------------------------------------ +/******************************************************************** + +********************************************************************/ + +/******************************************************************** + +********************************************************************/ +class SwChapterNumRules //STRIP001 : public SwBaseNumRules +{ + +public: + SwChapterNumRules(){DBG_BF_ASSERT(0, "STRIP");} //STRIP001 SwChapterNumRules(); + virtual ~SwChapterNumRules(){DBG_BF_ASSERT(0, "STRIP");} //STRIP001 virtual ~SwChapterNumRules(); + +}; + +// INLINE METHODE -------------------------------------------------------- + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/uiparam.hxx b/binfilter/bf_sw/source/ui/inc/uiparam.hxx new file mode 100644 index 000000000000..e26822f599e8 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/uiparam.hxx @@ -0,0 +1,66 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _UIPARAM_HXX +#define _UIPARAM_HXX + +#include <bf_svx/dialogs.hrc> +namespace binfilter { + +/*-------------------------------------------------------------------- + Beschreibung: Mapping fuer UI-Paramter + --------------------------------------------------------------------*/ + +#define ITEMID_FONTLIST SID_ATTR_CHAR_FONTLIST +#define ITEMID_TABPOS SID_ATTR_TABSTOP_POS +#define ITEMID_DEFTABS SID_ATTR_TABSTOP_DEFAULTS +#define ITEMID_TABOFFSET SID_ATTR_TABSTOP_OFFSET +#define ITEMID_SEARCH SID_SEARCH_ITEM +#define ITEMID_PARADLGLIMITS SID_ATTR_PARA_DLGLIMITS +#define ITEMID_INFRAME SID_ATTR_PARA_INFRAME + +#define ITEMID_PAGEMODEL SID_ATTR_PARA_MODEL +#define ITEMID_PAGE SID_ATTR_PAGE +#define ITEMID_SIZE SID_ATTR_PAGE_SIZE +#define ITEMID_SETITEM SID_ATTR_PAGE_HEADERSET +#define ITEMID_PTR SID_ATTR_PAGE_BSP +#define ITEMID_SPELLCHECK SID_ATTR_SPELL +#define ITEMID_HYPHENREGION SID_ATTR_HYPHENREGION +#define ITEMID_HYPHENZONE RES_PARATR_HYPHENZONE +#define ITEMID_LINE SID_ATTR_LINE_STYLE +#define ITEMID_BOXINFO SID_ATTR_BORDER_INNER + +#define ITEMID_AUTHOR SID_ATTR_POSTIT_AUTHOR +#define ITEMID_DATE SID_ATTR_POSTIT_DATE +#define ITEMID_TEXT SID_ATTR_POSTIT_TEXT + +#define ITEMID_NUMBERINFO SID_ATTR_NUMBERFORMAT_INFO + +} //namespace binfilter +#endif // _UIPARAM_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/uitool.hxx b/binfilter/bf_sw/source/ui/inc/uitool.hxx new file mode 100644 index 000000000000..4b8d647ccfd4 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/uitool.hxx @@ -0,0 +1,64 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _UITOOL_HXX +#define _UITOOL_HXX + +#include <vcl/wintypes.hxx> +#include <vcl/field.hxx> + +/*N*/ #include <tools/debug.hxx> //for stripping +class Printer; +class ListBox; +class DateTime; +namespace binfilter { +class SfxItemSet; +class MetricFormatter; +class SfxMedium; +class SwPageDesc; + +class SvxTabStopItem; +class SwWrtShell; + +class SwDocShell; +class SwFrmFmt; +class SwTabCols; + + +// Umschalten einer Metric + +// BoxInfoAttribut fuellen + +// SfxItemSets <-> PageDesc +void ItemSetToPageDesc( const SfxItemSet& rSet, SwPageDesc& rPageDesc ); +void PageDescToItemSet( const SwPageDesc& rPageDesc, SfxItemSet& rSet); + +} //namespace binfilter +#endif // _UITOOL_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/uivwimp.hxx b/binfilter/bf_sw/source/ui/inc/uivwimp.hxx new file mode 100644 index 000000000000..bcd34fbe2b57 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/uivwimp.hxx @@ -0,0 +1,87 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _UIVWIMP_HXX +#define _UIVWIMP_HXX + +#include <view.hxx> + +#include <bf_sfx2/objsh.hxx> + +#include <com/sun/star/view/XSelectionSupplier.hpp> +#include <com/sun/star/datatransfer/clipboard/XClipboardListener.hpp> +#include <cppuhelper/implbase1.hxx> // helper for implementations +#include <swunodef.hxx> +#include <cppuhelper/weakref.hxx> +namespace com{ namespace sun{ namespace star { + namespace frame { + class XDispatchProviderInterceptor; + } + namespace lang { + class XUnoTunnel; + } +}}} +namespace binfilter { + +class SwXTextView; +class SfxRequest; + +class SwView_Impl +{ + STAR_REFERENCE( frame::XDispatchProviderInterceptor ) xDisProvInterceptor; + STAR_REFERENCE( view::XSelectionSupplier ) *pxXTextView; // UNO object + ::com::sun::star::uno::WeakReference< ::com::sun::star::lang::XUnoTunnel > xTransferable; + + SfxObjectShellRef xTmpSelDocSh; + SvEmbeddedObjectRef aEmbeddedObjRef; + + SwView* pView; + ShellModes eShellMode; + +public: + SwView_Impl(SwView* pShell); + ~SwView_Impl(); + + void SetShellMode(ShellModes eSet); + + ::com::sun::star::view::XSelectionSupplier* GetUNOObject(); + SwXTextView* GetUNOObject_Impl(); + void Invalidate(); + + ShellModes GetShellMode() {return eShellMode;} + + + void AddClipboardListener(); + + SfxObjectShellRef & GetTmpSelectionDoc() { return xTmpSelDocSh; } + SvEmbeddedObjectRef & GetEmbeddedObjRef() { return (SvEmbeddedObjectRef&)(long&)aEmbeddedObjRef; } + +}; +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/unodispatch.hxx b/binfilter/bf_sw/source/ui/inc/unodispatch.hxx new file mode 100644 index 000000000000..b721c5313ae2 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/unodispatch.hxx @@ -0,0 +1,135 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _UNODISPATCH_HXX +#define _UNODISPATCH_HXX + +#include <com/sun/star/frame/XDispatchProviderInterception.hpp> +#include <com/sun/star/view/XSelectionChangeListener.hpp> +#include <com/sun/star/lang/XUnoTunnel.hpp> +#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase3.hxx> +#include <list> +#include <osl/mutex.hxx> + +namespace binfilter { + +class SwView; + +class SwXDispatchProviderInterceptor : public cppu::WeakImplHelper3 +< + ::com::sun::star::frame::XDispatchProviderInterceptor, + ::com::sun::star::lang::XEventListener, + ::com::sun::star::lang::XUnoTunnel +> +{ + class DispatchMutexLock_Impl + { + //::osl::MutexGuard aGuard; #102295# solar mutex has to be used currently + osl::MutexGuard aGuard; + DispatchMutexLock_Impl(); + public: + DispatchMutexLock_Impl(SwXDispatchProviderInterceptor&); + ~DispatchMutexLock_Impl(); + }; + friend class DispatchMutexLock_Impl; + +// ::osl::Mutex m_aMutex;#102295# solar mutex has to be used currently + + // the component which's dispatches we're intercepting + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterception> m_xIntercepted; + + // chaining + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider> m_xSlaveDispatcher; + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider> m_xMasterDispatcher; + + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch> m_xDispatch; + + SwView* m_pView; + +public: + SwXDispatchProviderInterceptor(SwView& rView); + ~SwXDispatchProviderInterceptor(); + + //XDispatchProvider + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, const ::rtl::OUString& aTargetFrameName, sal_Int32 nSearchFlags ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > > SAL_CALL queryDispatches( const ::com::sun::star::uno::Sequence< ::com::sun::star::frame::DispatchDescriptor >& aDescripts ) throw(::com::sun::star::uno::RuntimeException); + + //XDispatchProviderInterceptor + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > SAL_CALL getSlaveDispatchProvider( ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setSlaveDispatchProvider( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& xNewDispatchProvider ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider( ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setMasterDispatchProvider( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& xNewSupplier ) throw(::com::sun::star::uno::RuntimeException); + + // XEventListener + virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException); + + //XUnoTunnel + static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); + virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException); + + // view destroyed + void Invalidate(); +}; + +struct StatusStruct_Impl +{ + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener> xListener; + ::com::sun::star::util::URL aURL; +}; +typedef std::list< StatusStruct_Impl > StatusListenerList; +class SwXDispatch : public cppu::WeakImplHelper2 +< + ::com::sun::star::frame::XDispatch, + ::com::sun::star::view::XSelectionChangeListener +> +{ + SwView* m_pView; + StatusListenerList m_aListenerList; + sal_Bool m_bOldEnable; + sal_Bool m_bListenerAdded; +public: + SwXDispatch(SwView& rView); + ~SwXDispatch(); + + virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, const ::com::sun::star::util::URL& aURL ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, const ::com::sun::star::util::URL& aURL ) throw(::com::sun::star::uno::RuntimeException); + + //XSelectionChangeListener + virtual void SAL_CALL selectionChanged( const ::com::sun::star::lang::EventObject& aEvent ) throw(::com::sun::star::uno::RuntimeException); + + //XEventListener + virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException); + + static const sal_Char* GetDBChangeURL(); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/unotxvw.hxx b/binfilter/bf_sw/source/ui/inc/unotxvw.hxx new file mode 100644 index 000000000000..d15a4db9c146 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/unotxvw.hxx @@ -0,0 +1,251 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _UNOTXVW_HXX +#define _UNOTXVW_HXX + +#include <bf_sfx2/sfxbasecontroller.hxx> +#include <com/sun/star/text/XTextViewCursor.hpp> +#include <com/sun/star/text/XTextViewCursorSupplier.hpp> +#include <com/sun/star/text/XRubySelection.hpp> +#include <com/sun/star/view/XControlAccess.hpp> +#include <com/sun/star/view/XScreenCursor.hpp> +#include <com/sun/star/view/XViewSettingsSupplier.hpp> +#include <com/sun/star/view/XSelectionSupplier.hpp> +#include <com/sun/star/view/XLineCursor.hpp> +#include <com/sun/star/view/XViewCursor.hpp> +#include <com/sun/star/text/XPageCursor.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/beans/XPropertyState.hpp> +#include <com/sun/star/lang/XServiceInfo.hpp> +#include <cppuhelper/implbase8.hxx> // helper for implementations +#include <bf_svtools/itemprop.hxx> +#include "calbck.hxx" +#include "TextCursorHelper.hxx" +#include <comphelper/uno3.hxx> +class SvEmbeddedObjectRef; +namespace binfilter { + +class SwView; + + +typedef ::com::sun::star::uno::Reference< ::com::sun::star::view::XSelectionChangeListener > * XSelectionChangeListenerPtr; +SV_DECL_PTRARR_DEL( SelectionChangeListenerArr, XSelectionChangeListenerPtr, 4, 4 )//STRIP008 ; + +/****************************************************************************** + * + ******************************************************************************/ +class SwXTextView : + public ::com::sun::star::view::XSelectionSupplier, + public ::com::sun::star::lang::XServiceInfo, + public ::com::sun::star::view::XControlAccess, + public ::com::sun::star::text::XTextViewCursorSupplier, + public ::com::sun::star::text::XRubySelection, + public ::com::sun::star::view::XViewSettingsSupplier, + public SfxBaseController +{ + SelectionChangeListenerArr aSelChangedListeners; + + SwView* pView; + ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > * pxViewSettings; + ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextViewCursor > * pxTextViewCursor; + + + SdrObject* GetControl( + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > & Model, + ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& xToFill ); + +protected: + virtual ~SwXTextView(); +public: + SwXTextView(SwView* pSwView); + + + virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL acquire( ) throw(); + virtual void SAL_CALL release( ) throw(); + + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); + + //XSelectionSupplier + virtual ::com::sun::star::uno::Any SAL_CALL getSelection(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL select(const ::com::sun::star::uno::Any& aInterface) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL addSelectionChangeListener(const ::com::sun::star::uno::Reference< ::com::sun::star::view::XSelectionChangeListener > & xListener) throw( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL removeSelectionChangeListener(const ::com::sun::star::uno::Reference< ::com::sun::star::view::XSelectionChangeListener > & xListener) throw( ::com::sun::star::uno::RuntimeException ); + + //XControlAccess + virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > SAL_CALL getControl(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > & Model) throw( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException ); + + //XTextViewCursorSupplier + virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextViewCursor > SAL_CALL getViewCursor(void) throw( ::com::sun::star::uno::RuntimeException ); + + //XViewSettings + virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getViewSettings(void) throw( ::com::sun::star::uno::RuntimeException ); + + //XRubySelection + virtual ::com::sun::star::uno::Sequence< + ::com::sun::star::uno::Sequence< + ::com::sun::star::beans::PropertyValue > > SAL_CALL getRubyList( sal_Bool bAutomatic ) + throw(::com::sun::star::uno::RuntimeException); + + virtual void SAL_CALL setRubyList( + const ::com::sun::star::uno::Sequence< + ::com::sun::star::uno::Sequence< + ::com::sun::star::beans::PropertyValue > >& RubyList, sal_Bool bAutomatic ) + throw(::com::sun::star::uno::RuntimeException); + + //XServiceInfo + virtual ::rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual BOOL SAL_CALL supportsService(const ::rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); + + void NotifySelChanged(); + void NotifyDBChanged(); + + SwView* GetView() {return pView;} + void Invalidate(); + + // temporary document used for PDF export of selections/multi-selections + SfxObjectShellRef BuildTmpSelectionDoc( SvEmbeddedObjectRef &rRef ); +}; + +/* -----------------17.09.98 12:52------------------- + * + * --------------------------------------------------*/ +class SwUnoCrsr; +typedef cppu::WeakImplHelper8< + ::com::sun::star::text::XTextViewCursor, + ::com::sun::star::lang::XServiceInfo, + ::com::sun::star::text::XPageCursor, + ::com::sun::star::view::XScreenCursor, + ::com::sun::star::view::XViewCursor, + ::com::sun::star::view::XLineCursor, + ::com::sun::star::beans::XPropertySet, + ::com::sun::star::beans::XPropertyState + > SwXTextViewCursor_Base; + +class SwXTextViewCursor : public SwXTextViewCursor_Base, +public SwClient, +public OTextCursorHelper +{ + SwView* pView; + SfxItemPropertySet aPropSet; +protected: + virtual ~SwXTextViewCursor(); +public: + SwXTextViewCursor(SwView* pVw); + + + DECLARE_XINTERFACE(); + + //XTextViewCursor + virtual sal_Bool SAL_CALL isVisible(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL setVisible(sal_Bool bVisible) throw( ::com::sun::star::uno::RuntimeException ); + virtual ::com::sun::star::awt::Point SAL_CALL getPosition(void) throw( ::com::sun::star::uno::RuntimeException ); + + //XTextCursor - neu + virtual void SAL_CALL collapseToStart( ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL collapseToEnd( ) throw(::com::sun::star::uno::RuntimeException); + virtual BOOL SAL_CALL isCollapsed( ) throw(::com::sun::star::uno::RuntimeException); + virtual BOOL SAL_CALL goLeft( sal_Int16 nCount, BOOL bExpand ) throw(::com::sun::star::uno::RuntimeException); + virtual BOOL SAL_CALL goRight( sal_Int16 nCount, BOOL bExpand ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL gotoStart( BOOL bExpand ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL gotoEnd( BOOL bExpand ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL gotoRange( const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange >& xRange, BOOL bExpand ) throw(::com::sun::star::uno::RuntimeException); + + //XPageCursor + virtual sal_Bool SAL_CALL jumpToFirstPage(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL jumpToLastPage(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL jumpToPage(sal_Int16 nPage) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL jumpToNextPage(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL jumpToPreviousPage(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL jumpToEndOfPage(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL jumpToStartOfPage(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Int16 SAL_CALL getPage(void) throw( ::com::sun::star::uno::RuntimeException ); + + //XTextRange + virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > SAL_CALL getText(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getStart(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getEnd(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual ::rtl::OUString SAL_CALL getString(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL setString(const ::rtl::OUString& aString) throw( ::com::sun::star::uno::RuntimeException ); + + //XScreenCursor + virtual sal_Bool SAL_CALL screenDown(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL screenUp(void) throw( ::com::sun::star::uno::RuntimeException ); + + //XViewCursor + virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL goUp(sal_Int16 nCount, sal_Bool bExpand) throw( ::com::sun::star::uno::RuntimeException ); +// virtual sal_Bool goLeft(sal_Int16 nCount, sal_Bool bExpand) throw( ::com::sun::star::uno::RuntimeException ); +// virtual sal_Bool goRight(sal_Int16 nCount, sal_Bool bExpand) throw( ::com::sun::star::uno::RuntimeException ); + + //XLineCursor + virtual sal_Bool SAL_CALL isAtStartOfLine(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL isAtEndOfLine(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL gotoEndOfLine(sal_Bool bExpand) throw( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL gotoStartOfLine(sal_Bool bExpand) throw( ::com::sun::star::uno::RuntimeException ); + + //XPropertySet + virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + + //XPropertyState + virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setPropertyToDefault( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const ::rtl::OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + + //XServiceInfo + virtual ::rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); + virtual BOOL SAL_CALL supportsService(const ::rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); + + static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); + + //XUnoTunnel + virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException); + + void Invalidate(){pView = 0;} + + // ITextCursorHelper + virtual const SwPaM* GetPaM() const; + virtual SwPaM* GetPaM(); + virtual const SwDoc* GetDoc() const; + virtual SwDoc* GetDoc(); +}; +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/usrpref.hxx b/binfilter/bf_sw/source/ui/inc/usrpref.hxx new file mode 100644 index 000000000000..cd6798ac42d3 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/usrpref.hxx @@ -0,0 +1,261 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _USRPREF_HXX +#define _USRPREF_HXX + + + +#include <unotools/configitem.hxx> +#include <fldupde.hxx> +#include "viewopt.hxx" + +#include <vcl/fldunit.hxx> +namespace binfilter { + +/* -----------------------------28.09.00 09:45-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwMasterUsrPref; +class SwContentViewConfig : public ::utl::ConfigItem +{ + SwMasterUsrPref& rParent; + BOOL bWeb; + + ::com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames(); + public: + SwContentViewConfig(BOOL bWeb, SwMasterUsrPref& rParent); + ~SwContentViewConfig(); + + void Load(); + void SetModified(){ConfigItem::SetModified();} + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); +}; +/* -----------------------------28.09.00 09:45-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwLayoutViewConfig : public ::utl::ConfigItem +{ + SwMasterUsrPref& rParent; + BOOL bWeb; + + ::com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames(); + public: + SwLayoutViewConfig(BOOL bWeb, SwMasterUsrPref& rParent); + ~SwLayoutViewConfig(); + + void Load(); + void SetModified(){ConfigItem::SetModified();} + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); +}; +/* -----------------------------19.01.01 13:06-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwGridConfig : public ::utl::ConfigItem +{ + SwMasterUsrPref& rParent; + BOOL bWeb; + + ::com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames(); + public: + SwGridConfig(BOOL bWeb, SwMasterUsrPref& rParent); + ~SwGridConfig(); + + void Load(); + void SetModified(){ConfigItem::SetModified();} + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); +}; +/* -----------------------------19.01.01 13:06-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwCursorConfig : public ::utl::ConfigItem +{ + SwMasterUsrPref& rParent; + + ::com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames(); + public: + SwCursorConfig(SwMasterUsrPref& rParent); + ~SwCursorConfig(); + + void Load(); + void SetModified(){ConfigItem::SetModified();} + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); +}; +/* -----------------------------28.09.00 09:45-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwWebColorConfig : public ::utl::ConfigItem +{ + SwMasterUsrPref& rParent; + ::com::sun::star::uno::Sequence<rtl::OUString> aPropNames; + + public: + SwWebColorConfig(SwMasterUsrPref& rParent); + ~SwWebColorConfig(); + + void Load(); + void SetModified(){ConfigItem::SetModified();} + virtual void Commit(); + virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); +}; +/* -----------------------------28.09.00 09:45-------------------------------- + + ---------------------------------------------------------------------------*/ +class SwMasterUsrPref : public SwViewOption +{ + friend class SwContentViewConfig; + friend class SwLayoutViewConfig; + friend class SwGridConfig; + friend class SwCursorConfig; + friend class SwWebColorConfig; + + SwContentViewConfig aContentConfig; + SwLayoutViewConfig aLayoutConfig; + SwGridConfig aGridConfig; + SwCursorConfig aCursorConfig; + SwWebColorConfig* pWebColorConfig; + + sal_Int32 nFldUpdateFlags; //udpate of fields and charts + sal_Int32 nLinkUpdateMode; + FieldUnit eUserMetric; + FieldUnit eHScrollMetric; + sal_Bool bIsHScrollMetricSet; + FieldUnit eVScrollMetric; + sal_Bool bIsVScrollMetricSet; + + + sal_Int32 nDefTab; //default tab stop distance + +public: + SwMasterUsrPref(BOOL bWeb); + ~SwMasterUsrPref(); + + + void SetModified() + { + aContentConfig.SetModified(); + aLayoutConfig.SetModified(); + aGridConfig.SetModified(); + aCursorConfig.SetModified(); + if(pWebColorConfig) + pWebColorConfig->SetModified(); + } + + void SetUpdateLinkMode(sal_Int32 nSet, sal_Bool bNoModify = sal_False) + { + nLinkUpdateMode = nSet; + if(!bNoModify) + aContentConfig.SetModified(); + } + sal_Int32 GetUpdateLinkMode() const {return nLinkUpdateMode; } + + void SetUpdateFields(BOOL bSet, sal_Bool bNoModify = sal_False) + { + if(bSet && nFldUpdateFlags == AUTOUPD_OFF) + { + nFldUpdateFlags = AUTOUPD_FIELD_ONLY; + if(!bNoModify) + aContentConfig.SetModified(); + } + else if(!bSet) + { + nFldUpdateFlags = AUTOUPD_OFF; + if(!bNoModify) + aContentConfig.SetModified(); + } + }; + sal_Bool IsUpdateFields()const {return nFldUpdateFlags != AUTOUPD_OFF; } + + sal_Int32 GetFldUpdateFlags()const {return nFldUpdateFlags;} + void SetFldUpdateFlags(sal_Int32 nSet, sal_Bool bNoModify = sal_False) + { + nFldUpdateFlags = nSet; + if(!bNoModify) + aContentConfig.SetModified(); + } + + void SetUpdateCharts(BOOL bSet, sal_Bool bNoModify = sal_False) + { + if(bSet) + { + nFldUpdateFlags = AUTOUPD_FIELD_AND_CHARTS; + if(!bNoModify) + aContentConfig.SetModified(); + } + else if(nFldUpdateFlags == AUTOUPD_FIELD_AND_CHARTS) + { + nFldUpdateFlags = AUTOUPD_FIELD_ONLY; + if(!bNoModify) + aContentConfig.SetModified(); + } + }; + sal_Bool IsUpdateCharts()const {return nFldUpdateFlags == AUTOUPD_FIELD_AND_CHARTS; } + + FieldUnit GetMetric() const { return eUserMetric;} + void SetMetric(FieldUnit eSet, sal_Bool bNoModify = sal_False) + { + eUserMetric = eSet; + if(!bNoModify) + aLayoutConfig.SetModified(); + } + + sal_Bool IsHScrollMetric()const {return bIsHScrollMetricSet;} + FieldUnit GetHScrollMetric() const { return bIsHScrollMetricSet ? eHScrollMetric : eUserMetric;} + void SetHScrollMetric(FieldUnit eSet, sal_Bool bNoModify = sal_False) + { + eHScrollMetric = eSet; bIsHScrollMetricSet = sal_True; + if(!bNoModify) + aLayoutConfig.SetModified(); + } + + sal_Bool IsVScrollMetric()const {return bIsVScrollMetricSet;} + FieldUnit GetVScrollMetric() const { return bIsVScrollMetricSet ? eVScrollMetric : eUserMetric;} + void SetVScrollMetric(FieldUnit eSet, sal_Bool bNoModify = sal_False) + { + eVScrollMetric = eSet; bIsVScrollMetricSet = sal_True; + if(!bNoModify) + aLayoutConfig.SetModified(); + } + + sal_Int32 GetDefTab() const { return nDefTab;} + void SetDefTab( sal_Int32 nSet, sal_Bool bNoModify = sal_False ) + { + nDefTab = nSet; + if(!bNoModify) + aLayoutConfig.SetModified(); + } + +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/utlui.hrc b/binfilter/bf_sw/source/ui/inc/utlui.hrc new file mode 100644 index 000000000000..fd5d7032647c --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/utlui.hrc @@ -0,0 +1,131 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _UTLUI_HRC +#define _UTLUI_HRC + +#include "rcid.hrc" + + +#define RID_SW_SHELLRES (RC_UTLUI_BEGIN + 1) + +// ------------------------------------------------------------------------ + +// Strings in NumberFormatter-Listbox +#define STR_DEFINE_NUMBERFORMAT (RC_UTLUI_BEGIN + 4) +// hyperlink status bar control +#define STR_HYPERCTRL_SEL (RC_UTLUI_BEGIN + 5) +#define STR_HYPERCTRL_HYP (RC_UTLUI_BEGIN + 6) + +// Namene der Inhaltstypen (RC_UTLUI_BEGIN + 7) +#define STR_CONTENT_TYPE_FIRST (RC_UTLUI_BEGIN + 8) +#define STR_CONTENT_TYPE_OUTLINE STR_CONTENT_TYPE_FIRST +#define STR_CONTENT_TYPE_TABLE (RC_UTLUI_BEGIN + 9) +#define STR_CONTENT_TYPE_FRAME (RC_UTLUI_BEGIN + 10) +#define STR_CONTENT_TYPE_GRAPHIC (RC_UTLUI_BEGIN + 11) +#define STR_CONTENT_TYPE_OLE (RC_UTLUI_BEGIN + 12) +#define STR_CONTENT_TYPE_BOOKMARK (RC_UTLUI_BEGIN + 13) +#define STR_CONTENT_TYPE_REGION (RC_UTLUI_BEGIN + 14) +#define STR_CONTENT_TYPE_URLFIELD (RC_UTLUI_BEGIN + 15) +#define STR_CONTENT_TYPE_REFERENCE (RC_UTLUI_BEGIN + 16) +#define STR_CONTENT_TYPE_INDEX (RC_UTLUI_BEGIN + 17) +#define STR_CONTENT_TYPE_POSTIT (RC_UTLUI_BEGIN + 18) +#define STR_CONTENT_TYPE_DRAWOBJECT (RC_UTLUI_BEGIN + 19) +#define STR_CONTENT_END (RC_UTLUI_BEGIN + 19) + +#define STR_CONTENT_TYPE_SINGLE_FIRST (STR_CONTENT_END + 1) +#define STR_CONTENT_TYPE_SINGLE_OUTLINE (STR_CONTENT_TYPE_SINGLE_FIRST + 0) +#define STR_CONTENT_TYPE_SINGLE_TABLE (STR_CONTENT_TYPE_SINGLE_FIRST + 1) +#define STR_CONTENT_TYPE_SINGLE_FRAME (STR_CONTENT_TYPE_SINGLE_FIRST + 2) +#define STR_CONTENT_TYPE_SINGLE_GRAPHIC (STR_CONTENT_TYPE_SINGLE_FIRST + 3) +#define STR_CONTENT_TYPE_SINGLE_OLE (STR_CONTENT_TYPE_SINGLE_FIRST + 4) +#define STR_CONTENT_TYPE_SINGLE_BOOKMARK (STR_CONTENT_TYPE_SINGLE_FIRST + 5) +#define STR_CONTENT_TYPE_SINGLE_REGION (STR_CONTENT_TYPE_SINGLE_FIRST + 6) +#define STR_CONTENT_TYPE_SINGLE_URLFIELD (STR_CONTENT_TYPE_SINGLE_FIRST + 7) +#define STR_CONTENT_TYPE_SINGLE_REFERENCE (STR_CONTENT_TYPE_SINGLE_FIRST + 8) +#define STR_CONTENT_TYPE_SINGLE_INDEX (STR_CONTENT_TYPE_SINGLE_FIRST + 9) +#define STR_CONTENT_TYPE_SINGLE_POSTIT (STR_CONTENT_TYPE_SINGLE_FIRST + 10) +#define STR_CONTENT_TYPE_SINGLE_DRAWOBJECT (STR_CONTENT_TYPE_SINGLE_FIRST + 11) +#define STR_CONTENT_SINGLE_END STR_CONTENT_TYPE_SINGLE_DRAWOBJECT + +#define FLD_DOCINFO_BEGIN STR_CONTENT_SINGLE_END +#define FLD_DOCINFO_TITEL FLD_DOCINFO_BEGIN +#define FLD_DOCINFO_THEMA (FLD_DOCINFO_BEGIN + 1) +#define FLD_DOCINFO_KEYS (FLD_DOCINFO_BEGIN + 2) +#define FLD_DOCINFO_COMMENT (FLD_DOCINFO_BEGIN + 3) +#define FLD_DOCINFO_INFO1 (FLD_DOCINFO_BEGIN + 4) +#define FLD_DOCINFO_INFO2 (FLD_DOCINFO_BEGIN + 5) +#define FLD_DOCINFO_INFO3 (FLD_DOCINFO_BEGIN + 6) +#define FLD_DOCINFO_INFO4 (FLD_DOCINFO_BEGIN + 7) +#define FLD_DOCINFO_CREATE (FLD_DOCINFO_BEGIN + 8) +#define FLD_DOCINFO_CHANGE (FLD_DOCINFO_BEGIN + 9) +#define FLD_DOCINFO_PRINT (FLD_DOCINFO_BEGIN + 10) +#define FLD_DOCINFO_DOCNO (FLD_DOCINFO_BEGIN + 11) +#define FLD_DOCINFO_EDIT (FLD_DOCINFO_BEGIN + 12) +#define FLD_DOCINFO_END (FLD_DOCINFO_BEGIN + 13) + + + #define STR_AUTH_TYPE_START (FLD_DOCINFO_END + 2) + #define STR_AUTH_TYPE_ARTICLE (STR_AUTH_TYPE_START + 0) + #define STR_AUTH_TYPE_BOOK (STR_AUTH_TYPE_START + 1) + #define STR_AUTH_TYPE_BOOKLET (STR_AUTH_TYPE_START + 2) + #define STR_AUTH_TYPE_CONFERENCE (STR_AUTH_TYPE_START + 3) + #define STR_AUTH_TYPE_INBOOK (STR_AUTH_TYPE_START + 4) + #define STR_AUTH_TYPE_INCOLLECTION (STR_AUTH_TYPE_START + 5) + #define STR_AUTH_TYPE_INPROCEEDINGS (STR_AUTH_TYPE_START + 6) + #define STR_AUTH_TYPE_JOURNAL (STR_AUTH_TYPE_START + 7) + #define STR_AUTH_TYPE_MANUAL (STR_AUTH_TYPE_START + 8) + #define STR_AUTH_TYPE_MASTERSTHESIS (STR_AUTH_TYPE_START + 9) + #define STR_AUTH_TYPE_MISC (STR_AUTH_TYPE_START + 10) + #define STR_AUTH_TYPE_PHDTHESIS (STR_AUTH_TYPE_START + 11) + #define STR_AUTH_TYPE_PROCEEDINGS (STR_AUTH_TYPE_START + 12) + #define STR_AUTH_TYPE_TECHREPORT (STR_AUTH_TYPE_START + 13) + #define STR_AUTH_TYPE_UNPUBLISHED (STR_AUTH_TYPE_START + 14) + #define STR_AUTH_TYPE_EMAIL (STR_AUTH_TYPE_START + 15) + #define STR_AUTH_TYPE_WWW (STR_AUTH_TYPE_START + 16) + #define STR_AUTH_TYPE_CUSTOM1 (STR_AUTH_TYPE_START + 17) + #define STR_AUTH_TYPE_CUSTOM2 (STR_AUTH_TYPE_START + 18) + #define STR_AUTH_TYPE_CUSTOM3 (STR_AUTH_TYPE_START + 19) + #define STR_AUTH_TYPE_CUSTOM4 (STR_AUTH_TYPE_START + 20) + #define STR_AUTH_TYPE_CUSTOM5 (STR_AUTH_TYPE_START + 21) + #define STR_AUTH_TYPE_END (STR_AUTH_TYPE_CUSTOM5) + + + + + + +//local ids of the Database ImageLists +#define IMG_COLLAPSE 18002 /*RID_SVXIMG_COLLAPSEDNODE*/ +#define IMG_EXPAND 18003 /*RID_SVXIMG_EXPANDEDNODE*/ +#define IMG_DB 1 +#define IMG_DBTABLE 2 +#define IMG_DBQUERY 3 + + + +#endif diff --git a/binfilter/bf_sw/source/ui/inc/wdrwbase.hxx b/binfilter/bf_sw/source/ui/inc/wdrwbase.hxx new file mode 100644 index 000000000000..4a4543d7b2cd --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/wdrwbase.hxx @@ -0,0 +1,51 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWWDRWBASESH_HXX +#define _SWWDRWBASESH_HXX + +#include "drwbassh.hxx" +namespace binfilter { + +class SwWebDrawBaseShell: public SwDrawBaseShell +{ +protected: + SwWebDrawBaseShell(SwView &rShell); + +public: + virtual ~SwWebDrawBaseShell(); + + SFX_DECL_INTERFACE(SW_WEBDRAWBASESHELL); + TYPEINFO(); +}; + + +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/web.hrc b/binfilter/bf_sw/source/ui/inc/web.hrc new file mode 100644 index 000000000000..c5d70c1b1182 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/web.hrc @@ -0,0 +1,80 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _WEB_HRC +#define _WEB_HRC + +#include "rcid.hrc" + +#define RC_WEB_ICON (RC_WEB_BEGIN + 1) +#define RID_WEBTOOLS_TOOLBOX (RC_WEB_BEGIN + 2) +#define RID_WEBTEXT_TOOLBOX (RC_WEB_BEGIN + 3) +#define STR_SHELLNAME_WEBTEXT (RC_WEB_BEGIN + 6) +#define STR_SHELLNAME_WEBFRAME (RC_WEB_BEGIN + 7) +#define RID_WEBFRAME_TOOLBOX (RC_WEB_BEGIN + 8) +#define RID_WEBGRAPHIC_TOOLBOX (RC_WEB_BEGIN + 10) +#define RID_WEBOLE_TOOLBOX (RC_WEB_BEGIN + 11) + + +#define MN_WEBFILE (RC_WEB_BEGIN + 30) +#define MN_WEBEDIT (RC_WEB_BEGIN + 31) +#define MN_WEBVIEW (RC_WEB_BEGIN + 32) +#define MN_WEBINS (RC_WEB_BEGIN + 33) +#define MN_WEBFORMAT (RC_WEB_BEGIN + 34) +#define MN_WEBEXTRA (RC_WEB_BEGIN + 35) +#define MN_WEBWIN (RC_WEB_BEGIN + 36) + +#define MN_OBJECTMENU_WEBTEXT (RC_WEB_BEGIN + 37) +#define MN_OBJECTMENU_WEBLIST (RC_WEB_BEGIN + 38) +#define MN_OBJECTMENU_WEBTABLE (RC_WEB_BEGIN + 39) +#define MN_OBJECTMENU_WEBFRAME (RC_WEB_BEGIN + 40) +#define MN_OBJECTMENU_WEBGRAFIK (RC_WEB_BEGIN + 41) +#define MN_OBJECTMENU_WEBDRAW (RC_WEB_BEGIN + 42) +#define MN_OBJECTMENU_WEBDRWTXT (RC_WEB_BEGIN + 43) +#define MN_OBJECTMENU_WEBOLE (RC_WEB_BEGIN + 44) +#define MN_OBJECTMENU_WEBDRAWCONTROL (RC_WEB_BEGIN + 45) + +#define MN_WEB_TEXT_POPUPMENU (RC_WEB_BEGIN + 46) + +#define MN_WEBFILE_PORT (RC_WEB_BEGIN + 47) +#define MN_WEBEDIT_PORT (RC_WEB_BEGIN + 48) +#define MN_WEBVIEW_PORT (RC_WEB_BEGIN + 49) +#define MN_WEBINS_PORT (RC_WEB_BEGIN + 50) +#define MN_WEBFORMAT_PORT (RC_WEB_BEGIN + 51) +#define MN_WEBEXTRA_PORT (RC_WEB_BEGIN + 52) +#define MN_WEBWIN_PORT (RC_WEB_BEGIN + 53) + +// ------------------------------------------------------------------------ + +#define WEB_ACT_END MN_OBJECTMENU_WEBDRAWCONTROL + + +#if WEB_ACT_END > RC_WEB_END +#error Resource-Id Ueberlauf in #file, #line +#endif + +#endif diff --git a/binfilter/bf_sw/source/ui/inc/wformsh.hxx b/binfilter/bf_sw/source/ui/inc/wformsh.hxx new file mode 100644 index 000000000000..8da80d20da6b --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/wformsh.hxx @@ -0,0 +1,49 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWWDRWFORMSH_HXX +#define _SWWDRWFORMSH_HXX + +#include "drformsh.hxx" +namespace binfilter { + +class SwWebDrawFormShell : public SwDrawFormShell +{ +public: + SwWebDrawFormShell(SwView &rShell); + virtual ~SwWebDrawFormShell(); + + SFX_DECL_INTERFACE(SW_WEBDRAWFORMSHELL); + TYPEINFO(); +}; + + +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/wfrmsh.hxx b/binfilter/bf_sw/source/ui/inc/wfrmsh.hxx new file mode 100644 index 000000000000..989ad05831ea --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/wfrmsh.hxx @@ -0,0 +1,52 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SWWFRMSH_HXX +#define _SWWFRMSH_HXX + +#include "frmsh.hxx" +namespace binfilter { + + +class SwWebFrameShell: public SwFrameShell +{ + +public: + SFX_DECL_INTERFACE(SW_WEBFRAMESHELL); + TYPEINFO(); + + SwWebFrameShell(SwView &rView); + virtual ~SwWebFrameShell(); +}; + +} //namespace binfilter +#endif + + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/wgrfsh.hxx b/binfilter/bf_sw/source/ui/inc/wgrfsh.hxx new file mode 100644 index 000000000000..a91a60d2835d --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/wgrfsh.hxx @@ -0,0 +1,49 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWWGRFSH_HXX +#define _SWWGRFSH_HXX + +#include "grfsh.hxx" +namespace binfilter { + +class SwWebGrfShell: public SwGrfShell +{ +public: + SwWebGrfShell(SwView &rShell); + virtual ~SwWebGrfShell(); + + SFX_DECL_INTERFACE(SW_WEBGRFSHELL); + TYPEINFO(); +}; + + +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/wlistsh.hxx b/binfilter/bf_sw/source/ui/inc/wlistsh.hxx new file mode 100644 index 000000000000..57282ceb7010 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/wlistsh.hxx @@ -0,0 +1,47 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWWLISTSH_HXX +#define _SWWLISTSH_HXX + +#include "listsh.hxx" +namespace binfilter { + +class SwWebListShell: public SwListShell +{ +public: + SFX_DECL_INTERFACE(SW_WEBLISTSHELL); + TYPEINFO(); + + virtual ~SwWebListShell(); + SwWebListShell(SwView &rView); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/wolesh.hxx b/binfilter/bf_sw/source/ui/inc/wolesh.hxx new file mode 100644 index 000000000000..7996d5403fb3 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/wolesh.hxx @@ -0,0 +1,52 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWWOLESH_HXX +#define _SWWOLESH_HXX + +#include "olesh.hxx" +namespace binfilter { + +class SwWebOleShell: public SwOleShell +{ +public: + SFX_DECL_INTERFACE(SW_WEBOLESHELL); + + virtual ~SwWebOleShell(); + SwWebOleShell(SwView &rView); +}; + +} //namespace binfilter +#endif + + + + + + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/workctrl.hxx b/binfilter/bf_sw/source/ui/inc/workctrl.hxx new file mode 100644 index 000000000000..f18987b570cb --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/workctrl.hxx @@ -0,0 +1,186 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _WORKCTRL_HXX +#define _WORKCTRL_HXX + +#include <bf_sfx2/tbxctrl.hxx> + +#include <vcl/toolbox.hxx> +#include <bf_svtools/stdctrl.hxx> +#include <vcl/imagebtn.hxx> +class PopupMenu; +namespace binfilter { + + +class SwView; + +// doppelter Eintrag! hrc und hxx +// diese Ids bestimmen, was die Buttons unter dem Scrollbar tun +#define NID_START 20000 +#define NID_NEXT 20000 +#define NID_PREV 20001 +#define NID_TBL 20002 +#define NID_FRM 20003 +#define NID_PGE 20004 +#define NID_DRW 20005 +#define NID_CTRL 20006 +#define NID_REG 20007 +#define NID_BKM 20008 +#define NID_GRF 20009 +#define NID_OLE 20010 +#define NID_OUTL 20011 +#define NID_SEL 20012 +#define NID_FTN 20013 +#define NID_MARK 20014 +#define NID_POSTIT 20015 +#define NID_SRCH_REP 20016 +#define NID_INDEX_ENTRY 20017 +#define NID_TABLE_FORMULA 20018 +#define NID_TABLE_FORMULA_ERROR 20019 +#define NID_COUNT 20 + + + +//---------------------------------------------------------------------------- +// +//---------------------------------------------------------------------------- + +class SwTbxInsertCtrl : public SfxToolBoxControl +{ + USHORT nLastSlotId; + + +public: + SFX_DECL_TOOLBOX_CONTROL(); + + SwTbxInsertCtrl( USHORT nId, ToolBox& rTbx, SfxBindings& rBind ); + ~SwTbxInsertCtrl(); + + virtual void StateChanged( USHORT nSID, + SfxItemState eState, + const SfxPoolItem* pState ); + +}; + +//---------------------------------------------------------------------------- +// +//---------------------------------------------------------------------------- + +class SwTbxAutoTextCtrl : public SfxToolBoxControl +{ + PopupMenu* pPopup; + SwView* pView; + + + void DelPopup(); +public: + SFX_DECL_TOOLBOX_CONTROL(); + + SwTbxAutoTextCtrl( USHORT nId, ToolBox& rTbx, SfxBindings& rBind ); + ~SwTbxAutoTextCtrl(); + + virtual void StateChanged( USHORT nSID, + SfxItemState eState, + const SfxPoolItem* pState ); + +}; + + +//---------------------------------------------------------------------------- +// +//---------------------------------------------------------------------------- + +class SwScrollNaviToolBox : public ToolBox +{ + virtual void MouseButtonUp( const MouseEvent& rMEvt ); + virtual void RequestHelp( const HelpEvent& rHEvt ); + + public: + SwScrollNaviToolBox(Window* pParent, WinBits nWinStyle ) : + ToolBox(pParent, nWinStyle ) {} +}; + +class SwScrollNaviPopup : public SfxPopupWindow +{ + SwScrollNaviToolBox aToolBox; + FixedLine aSeparator; + FixedInfo aInfoField; + ImageList aIList; + ImageList aIListH; + + String sQuickHelp[2 * NID_COUNT]; + + USHORT nFwdId; + USHORT nBackId; + + void ApplyImageList(); + protected: + + public: + SwScrollNaviPopup( USHORT nId, SfxBindings & ); + ~SwScrollNaviPopup(); + +}; + +//---------------------------------------------------------------------------- +// +//---------------------------------------------------------------------------- + + +//---------------------------------------------------------------------------- +// Die ImageButtons muessen sich bei Bedarf den HelpText selbst setzen +//---------------------------------------------------------------------------- + +class SwHlpImageButton : public ImageButton +{ + BOOL bUp; +public: + SwHlpImageButton(Window* pParent, const ResId& rResId, BOOL bUpBtn) : + ImageButton(pParent, rResId), bUp(bUpBtn){} + + +}; +/* -----------------26.11.2002 09:25----------------- + * + * --------------------------------------------------*/ +class SwPreviewZoomControl : public SfxToolBoxControl +{ +public: + SFX_DECL_TOOLBOX_CONTROL(); + + SwPreviewZoomControl( USHORT nId, ToolBox& rTbx, SfxBindings& rBind ); + ~SwPreviewZoomControl(); + + +}; +} //namespace binfilter +#endif + + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/wrtsh.hxx b/binfilter/bf_sw/source/ui/inc/wrtsh.hxx new file mode 100644 index 000000000000..48a6081a858c --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/wrtsh.hxx @@ -0,0 +1,323 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _WRTSH_HXX +#define _WRTSH_HXX + +#include <fesh.hxx> +#include <sortopt.hxx> +#include <tools/debug.hxx> +namespace com { namespace sun { namespace star { namespace util { + struct SearchOptions; +} } } } +class Window; +class SbxArray; +class SvGlobalName; +class Timer; + +namespace binfilter { +class SvInPlaceObjectRef; +class SvEmbeddedObjectRef; +class SvxMacro; +class SwDoc; +class SpellCheck; +class SwViewOption; +class SwFlyFrmAttrMgr; +class SwField; +class SwTOXBase; +class SdrView; +class SwView; +class SwInputFieldList; +class SwSection; +class SwFmtINetFmt; +class SvxINetBookmark; +class SvxAutoCorrect; +class NaviContentBookmark; +struct SwCallMouseEvent; +class DropEvent; +struct ChartSelectionInfo; +class SfxStringListItem; + +//STRIP008 namespace com { namespace sun { namespace star { namespace util { +//STRIP008 struct SearchOptions; +//STRIP008 } } } } + + +class SwWrtShell: public SwFEShell +{ +public: + typedef long (SwWrtShell::*SELECTFUNC)(const Point *, BOOL bProp ); + + SELECTFUNC fnDrag; + SELECTFUNC fnSetCrsr; + SELECTFUNC fnEndDrag; + SELECTFUNC fnKillSel; + + // Alle Selektionen aufheben + + //setzt den Cursorstack nach dem Bewegen mit PageUp/-Down + //zurueck, falls ein Stack aufgebaut ist + inline void ResetCursorStack(); + + enum SelectionType + { + SEL_TXT = CNT_TXT, // Text, niemals auch Rahmen 0x0001 + SEL_GRF = CNT_GRF, // Grafik 0x0002 + SEL_OLE = CNT_OLE, // OLE 0x0010 + SEL_FRM = 0x0020, // Rahmen, keine Inhaltsform + SEL_NUM = 0x0040, // NumListe + SEL_TBL = 0x0080, // Cursor steht in Tabelle + SEL_TBL_CELLS = 0x0100, // Tabellenzellen sind selektiert + SEL_DRW = 0x0200, // Zeichenobjekte (Rechteck, Kreis...) + SEL_DRW_TXT = 0x0400, // Draw-Textobjekte im Editmode + SEL_BEZ = 0x0800, // Bezierobjekte editieren + SEL_DRW_FORM = 0x1000 // Zeichenobjekte: DB-Forms + }; + BOOL IsModePushed() const { return 0 != pModeStack; } + + BOOL IsInSelect() const { return bInSelect; } + void SetInSelect(BOOL bSel = TRUE) { bInSelect = bSel; } + + BOOL IsStdMode() const { return !bExtMode && !bAddMode; } + + BOOL IsExtMode() const { return bExtMode; } + + BOOL IsAddMode() const { return bAddMode; } + + BOOL IsInsMode() const { return bIns; } + + BOOL IsSelFrmMode() const { return bLayoutMode; } + + // Tabellenzellen selektieren fuer Bearbeiten von Formeln in der Ribbonbar + inline void SelTblCells( const Link &rLink, BOOL bMark = TRUE ); + inline void EndSelTblCells(); + + //Wortweisen oder zeilenweisen Selektionsmodus verlassen. Wird + //in der Regel in MB-Up gerufen. + BOOL IsExtSel() const { return bSelWrd || bSelLn; } + + //Basiscursortravelling +typedef FASTBOOL (SwWrtShell:: *FNSimpleMove)(); + + //setzen des Cursors; merken der alten Position fuer Zurueckblaettern. + DECL_LINK( ExecFlyMac, void * ); + + + // Felder Update + + BOOL IsNoEdit() const { return bNoEdit; } + + // Loeschen + + // loescht auch Rahmen bzw. setzt den Cursor in den Rahmen, + // wenn bDelFrm == FALSE ist + + // Prueft, ob eine Wortselektion vorliegt. + // Gemaess den Regeln fuer intelligentes Cut / Paste + // werden umgebende Spaces rausgeschnitten. + // Liefert Art der Wortselektion zurueck (siehe enum) + enum { + NO_WORD = 0, + WORD_SPACE_BEFORE = 1, + WORD_SPACE_AFTER = 2, + WORD_NO_SPACE = 3 + }; + + virtual void CalcAndSetScale( SvEmbeddedObjectRef xObj, + const SwRect *pFlyPrtRect = 0, + const SwRect *pFlyFrmRect = 0 ); + virtual void ConnectObj( SvInPlaceObjectRef xIPObj, const SwRect &rPrt, + const SwRect &rFrm ); + + // Vorlagen und Formate + + // enum gibt an, was geschehen soll, wenn das Style nicht gefunden wurde + enum GetStyle { GETSTYLE_NOCREATE, // keins anlegen + GETSTYLE_CREATESOME, // falls auf PoolId mapt anlegen + GETSTYLE_CREATEANY }; // ggfs Standard returnen + + + + // Aktuelle Vorlage anhand der geltenden Attribute aendern + + enum DoType { UNDO, REDO, REPEAT }; + + String GetDoString( DoType eDoType ) const; + + //Suchen oder Ersetzen + + + + + // Aktion vor Cursorbewegung + // Hebt gfs. Selektionen auf, triggert Timer und GCAttr() + + // Eingabefelder updaten + + //"Handler" fuer Anederungen an der DrawView - fuer Controls. + virtual void DrawSelChanged( SdrView * ); + + // jump to the next / previous hyperlink - inside text and also + // on graphics + + // Zugehoerige SwView ermitteln + const SwView& GetView() const { return rView; } + SwView& GetView() { return rView; } + + //Weil es sonst keiner macht, gibt es hier eine ExecMacro() + // rufe ins dunkle Basic/JavaScript + + + // ein Klick aus das angegebene Feld. Der Cursor steht auf diesem. + // Fuehre die vor definierten Aktionen aus. + inline BOOL IsInClickToEdit() const ; + + SwWrtShell(SwDoc&, Window*, SwView&, SwRootFrm*, SwViewOption const*); + virtual ~SwWrtShell(); + +private: + + + String GetWrdDelim(); + String GetSDelim(); + String GetBothDelim(); + + struct ModeStack + { + ModeStack *pNext; + BOOL bAdd, + bExt, + bIns; + ModeStack(ModeStack *pNextMode, BOOL _bIns, BOOL _bExt, BOOL _bAdd): + pNext(pNextMode), + bIns(_bIns), + bExt(_bExt), + bAdd(_bAdd) {} + } *pModeStack; + + // Cursor bei PageUp / -Down mitnehmen + enum PageMove + { + MV_NO, + MV_PAGE_UP, + MV_PAGE_DOWN + } ePageMove; + + struct CrsrStack + { + Point aDocPos; + CrsrStack *pNext; + BOOL bValidCurPos : 1; + BOOL bIsFrmSel : 1; + SwTwips lOffset; + + CrsrStack( BOOL bValid, BOOL bFrmSel, const Point &rDocPos, + SwTwips lOff, CrsrStack *pN ) + : aDocPos(rDocPos), lOffset(lOff), pNext(pN) + { + bValidCurPos = bValid; + bIsFrmSel = bFrmSel; + } + + } *pCrsrStack; + + SwView &rView; + + Point aDest; + BOOL bDestOnStack; + BOOL HasCrsrStack() const { return 0 != pCrsrStack; } + BOOL PopCrsr(BOOL bUpdate, BOOL bSelect = FALSE); + + // ENDE Cursor bei PageUp / -Down mitnehmen + + // Selektionen + BOOL bIns :1; + BOOL bInSelect :1; + BOOL bExtMode :1; + BOOL bAddMode :1; + BOOL bLayoutMode :1; + BOOL bNoEdit :1; + BOOL bCopy :1; + BOOL bSelWrd :1; + BOOL bSelLn :1; + BOOL bIsInClickToEdit:1; + BOOL bClearMark :1; // Selektion fuer ChartAutoPilot nicht loeschen + + Point aStart; + Link aSelTblLink; + + SELECTFUNC fnLeaveSelect; + + //setzt den Cursorstack nach dem Bewegen mit PageUp/-Down zurueck. + + void SttDragDrop(Timer *); + + long StdSelect(const Point *, BOOL bProp=FALSE ); + + + //Verschieben von Text aus Drag and Drop; Point ist + //Destination fuer alle Selektionen. + + void LeaveExtSel() { bSelWrd = bSelLn = FALSE;} + + + enum BookMarkMove + { + BOOKMARK_INDEX, + BOOKMARK_NEXT, + BOOKMARK_PREV, + BOOKMARK_LAST_LAST_ENTRY + }; + + +}; + + inline void SwWrtShell::ResetCursorStack() + { + if ( HasCrsrStack() ) + {DBG_BF_ASSERT(0, "STRIP"); }//STRIP001 _ResetCursorStack(); + } + +inline void SwWrtShell::SelTblCells(const Link &rLink, BOOL bMark ) +{ + SetSelTblCells( TRUE ); + bClearMark = bMark; + aSelTblLink = rLink; +} +inline void SwWrtShell::EndSelTblCells() +{ + SetSelTblCells( FALSE ); + bClearMark = TRUE; +} + +inline BOOL SwWrtShell::IsInClickToEdit() const { return bIsInClickToEdit; } + + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/wtabsh.hxx b/binfilter/bf_sw/source/ui/inc/wtabsh.hxx new file mode 100644 index 000000000000..290461fa7bde --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/wtabsh.hxx @@ -0,0 +1,47 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWWTABSH_HXX +#define _SWWTABSH_HXX + +#include "tabsh.hxx" +namespace binfilter { + +class SwWebTableShell: public SwTableShell +{ +public: + SFX_DECL_INTERFACE(SW_WEBTABSHELL); + TYPEINFO(); + + virtual ~SwWebTableShell(); + SwWebTableShell(SwView &rView); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/wtextsh.hxx b/binfilter/bf_sw/source/ui/inc/wtextsh.hxx new file mode 100644 index 000000000000..8f07d9bbcc5d --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/wtextsh.hxx @@ -0,0 +1,52 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SWWTEXTSH_HXX +#define _SWWTEXTSH_HXX + +#include "textsh.hxx" +namespace binfilter { + + +class SwWebTextShell: public SwTextShell +{ + +public: + SFX_DECL_INTERFACE(SW_WEBTEXTSHELL); + TYPEINFO(); + + SwWebTextShell(SwView &rView); + virtual ~SwWebTextShell(); +}; + +} //namespace binfilter +#endif + + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/wview.hxx b/binfilter/bf_sw/source/ui/inc/wview.hxx new file mode 100644 index 000000000000..6b1b8e8905df --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/wview.hxx @@ -0,0 +1,55 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _SWWVIEW_HXX +#define _SWWVIEW_HXX + +#include "view.hxx" +namespace binfilter { + + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + +class SwWebView: public SwView +{ +protected: +public: + + SFX_DECL_VIEWFACTORY(SwWebView); + SFX_DECL_INTERFACE(SW_WEBVIEWSHELL); + TYPEINFO(); + + SwWebView(SfxViewFrame* pFrame, SfxViewShell*); + ~SwWebView(); +}; + +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/inc/zoomctrl.hxx b/binfilter/bf_sw/source/ui/inc/zoomctrl.hxx new file mode 100644 index 000000000000..78bf18f73097 --- /dev/null +++ b/binfilter/bf_sw/source/ui/inc/zoomctrl.hxx @@ -0,0 +1,54 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _ZOOMCTRL_HXX +#define _ZOOMCTRL_HXX + +#include <bf_svx/zoomctrl.hxx> +namespace binfilter { + +class SwZoomControl : public SvxZoomStatusBarControl +{ +private: + String sPreviewZoom; +public: + virtual void StateChanged( USHORT nSID, SfxItemState eState, + const SfxPoolItem* pState ); + + SFX_DECL_STATUSBAR_CONTROL(); + + SwZoomControl( USHORT nId, StatusBar& rStb, SfxBindings& rBind ); + ~SwZoomControl(); + +}; + + +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/index/cnttab.hrc b/binfilter/bf_sw/source/ui/index/cnttab.hrc new file mode 100644 index 000000000000..2ce1d7d1f4c0 --- /dev/null +++ b/binfilter/bf_sw/source/ui/index/cnttab.hrc @@ -0,0 +1,278 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define CB_MARKS 4 +#define CB_OUTLN 5 +#define FT_LEVEL 6 +#define ED_LEVEL 7 +#define FL_CREATE 8 +#define ED_BSP 11 +#define FL_BSP 12 +#define BT_OUTLN 13 +#define FL_TITLE 14 +#define ED_TITLE 15 +#define BT_HELP 16 +#define ST_AUTHTYPE 17 + +#define LB_ENTRY 20 +#define FT_NUM 21 +#define ED_ENTRY 22 +#define BT_ENTRY_NUMBER 23 +#define BT_ENTRY_TEXT 24 +#define BT_TAB 25 +#define BT_STD 26 +#define BT_PAGE 27 +#define FL_ENTRY 28 +//#define FT_LEVEL 28 +#define LB_LEVEL 29 +#define FT_TEMPLATE 30 +#define LB_PARALAY 31 +#define BT_ASSIGN 32 +#define FL_FORMAT 33 +#define BT_ENTRY 34 +//#define BT_EDIT 34 +#define BT_JUMP 35 +#define CB_RECALC_TABS 36 +#define CB_FIRST_TAB_POS 37 +#define MF_FIRST_TAB_POS 38 +#define CB_REL_TO_TEXT 39 +#define BT_EDIT_STYLE 40 +#define CB_SAME 41 +#define CB_FF 42 +#define CB_CASE 43 +#define CB_SEC 44 +#define CB_ALPHA 45 +#define FL_OPT 46 +#define CB_MAKRS 47 +#define DLB_TOD 48 +#define CB_TEMPL 49 +#define DLB_LAYOUT 50 +#define CB_OBJECT 51 +#define DLB_OBJECT 52 +#define FL_SOURCE 53 +#define CB_USER_MARKS 54 +#define BT_ALL_LEVEL 55 +#define FT_MAIN_ENTRY_STYLE 56 +#define LB_MAIN_ENTRY_STYLE 57 + +//restart numbering +#define FT_TYPE 1 +#define LB_TYPE 2 +#define CB_READONLY 3 +#define FT_TITLE 4 + +#define FL_TYPETITLE 6 +#define LB_AREA 7 + +#define NF_LEVEL 9 +#define FL_AREA 10 +#define CB_FROMHEADINGS 11 +#define PB_CHAPTERDLG 12 +#define CB_ADDSTYLES 13 +#define PB_ADDSTYLES 14 + + +#define CB_FROMOLE 17 +#define CB_LEVELFROMCHAPTER 18 +#define RB_FROMCAPTIONS 19 +#define RB_FROMOBJECTNAMES 20 +#define CB_TOXMARKS 21 +#define FL_CREATEFROM 22 +#define CB_COLLECTSAME 23 +#define CB_USEFF 24 +#define CB_CASESENSITIVE 25 +#define CB_INITIALCAPS 26 +#define CB_KEYASENTRY 27 +#define CB_FROMFILE 28 + +#define MB_AUTOMARK 29 +#define FL_IDXOPTIONS 30 + +#define FT_TOKEN 32 +#define CB_USE_DASH 33 +#define FL_LEVEL 34 +#define WIN_TOKEN 35 +#define PB_ENTRYNO 36 +#define PB_ENTRY 37 +#define PB_CHAPTERINFO 38 +#define PB_PAGENO 39 +#define PB_TAB 40 +#define PB_HYPERLINK 41 +#define FT_CHARSTYLE 42 +#define LB_CHARSTYLE 43 +#define PB_EDITSTYLE 44 +#define FT_FILLCHAR 45 +#define CB_FILLCHAR 46 +#define FT_CHAPTERENTRY 47 +#define LB_CHAPTERENTRY 48 +#define FT_SORTING 49 +#define LB_SORTING 50 +#define FT_TABPOS 51 +#define MF_TABPOS 52 +#define CB_AUTORIGHT 53 +#define CB_RELTOSTYLE 54 +#define CB_RECALCTAB 56 +#define CB_NUMSTYLEFROMPDESC 57 +#define CB_ALPHADELIM 58 +#define CB_COMMASEPARATED 59 + +#define STR_NO_CHAR_STYLE 61 +#define CLB_FROMOBJ 62 +#define FL_FROMOBJ 63 +#define RES_SRCTYPES 64 +#define WIN_LEFT_SCROLL 65 +#define WIN_CTRL_PARENT 66 +#define WIN_RIGHT_SCROLL 67 +#define PB_ALL_LEVELS 68 +#define FT_AREA 69 +#define STR_BUTTON_TEXT_START 70 +#define STR_TOKEN_ENTRY_NO (STR_BUTTON_TEXT_START) +#define STR_TOKEN_ENTRY_TEXT (STR_BUTTON_TEXT_START + 1) +#define STR_TOKEN_ENTRY (STR_BUTTON_TEXT_START + 2) +#define STR_TOKEN_TAB_STOP (STR_BUTTON_TEXT_START + 3) +#define STR_TOKEN_TEXT (STR_BUTTON_TEXT_START + 4) +#define STR_TOKEN_PAGE_NUMS (STR_BUTTON_TEXT_START + 5) +#define STR_TOKEN_CHAPTER_INFO (STR_BUTTON_TEXT_START + 6) +#define STR_TOKEN_LINK_START (STR_BUTTON_TEXT_START + 7) +#define STR_TOKEN_LINK_END (STR_BUTTON_TEXT_START + 8) +#define STR_TOKEN_AUTHORITY (STR_BUTTON_TEXT_START + 9) + +#define STR_BUTTON_HELP_TEXT_START (STR_TOKEN_AUTHORITY + 1) +#define STR_TOKEN_HELP_ENTRY_NO (STR_BUTTON_HELP_TEXT_START) +#define STR_TOKEN_HELP_ENTRY_TEXT (STR_BUTTON_HELP_TEXT_START + 1) +#define STR_TOKEN_HELP_ENTRY (STR_BUTTON_HELP_TEXT_START + 2) +#define STR_TOKEN_HELP_TAB_STOP (STR_BUTTON_HELP_TEXT_START + 3) +#define STR_TOKEN_HELP_TEXT (STR_BUTTON_HELP_TEXT_START + 4) +#define STR_TOKEN_HELP_PAGE_NUMS (STR_BUTTON_HELP_TEXT_START + 5) +#define STR_TOKEN_HELP_CHAPTER_INFO (STR_BUTTON_HELP_TEXT_START + 6) +#define STR_TOKEN_HELP_LINK_START (STR_BUTTON_HELP_TEXT_START + 7) +#define STR_TOKEN_HELP_LINK_END (STR_BUTTON_HELP_TEXT_START + 8) +#define STR_TOKEN_HELP_AUTHORITY (STR_BUTTON_HELP_TEXT_START + 9) + +#define STR_CHARSTYLE (STR_TOKEN_HELP_AUTHORITY + 1) +#define TLB_STYLES 100 +#define FL_STYLES 101 +#define PB_OK 102 +#define PB_CANCEL 103 +#define PB_HELP 104 +#define FT_CAPTIONSEQUENCE 105 +#define LB_CAPTIONSEQUENCE 106 +#define FT_DISPLAYTYPE 107 +#define LB_DISPLAYTYPE 108 +#define TR_HEADER 109 +#define PB_LEFT 110 +#define PB_RIGHT 111 +#define HB_STYLES 112 +#define ST_HB_FIRST 113 +#define CB_FROMTABLES 114 +#define CB_FROMFRAMES 115 +#define CB_FROMGRAPHICS 116 +#define ST_USER_ADDSTYLE 117 +#define ST_AUTOMARK_TYPE 118 +#define LB_AUTHFIELD 119 +#define PB_AUTHINSERT 120 +#define PB_AUTHREMOVE 121 +#define CB_SEQUENCE 122 +#define FT_BRACKET 123 +#define LB_BRACKET 124 +#define FL_AUTHORITY 125 +#define RB_DOCPOS 126 +#define RB_SORTCONTENT 127 +#define FT_FIRSTKEY 128 +#define LB_FIRSTKEY 129 +#define FT_SECONDKEY 130 +#define LB_SECONDKEY 131 +#define FT_THIRDDKEY 132 +#define LB_THIRDKEY 133 +#define FL_SORTKEY 134 +#define FL_SORTING 135 +#define STR_NOSORTKEY 136 +#define RB_SORTUP1 137 +#define RB_SORTUP2 138 +#define RB_SORTUP3 139 +#define RB_SORTDOWN1 140 +#define RB_SORTDOWN2 141 +#define RB_SORTDOWN3 142 +#define STR_DELIM 143 +#define FL_SORTOPTIONS 144 +#define FT_LANGUAGE 145 +#define LB_LANGUAGE 146 +#define FT_SORTALG 147 +#define LB_SORTALG 148 +#define IMG_SORTUP_HC 149 +#define IMG_SORTDOWN_HC 150 +#define ST_NO_BRACKET 151 +#define TO_CONTENT 1 +#define TO_INDEX 2 +#define TO_ILLUSTRATION 4 +#define TO_TABLE 8 +#define TO_USER 16 +#define TO_OBJECT 32 +#define TO_AUTHORITIES 64 + +#define AREA_DOCUMENT 1 +#define AREA_CHAPTER 2 + +//TabDialog +#define WIN_EXAMPLE 1 +#define RES_EXAMPLE_TEXT 2 + +#define ST_HEADING_1 4 +#define ST_TEXT_1 5 +#define ST_HEADING_1_1 6 +#define ST_TEXT_1_1 7 +#define ST_HEADING_1_2 8 +#define ST_TEXT_1_2 9 +#define ST_TABLE_LABEL 10 +#define ST_FRAME_LABEL 11 +#define ST_GRAPHIC_LABEL 12 +#define ST_USERDEFINEDINDEX 13 +#define CB_SHOWEXAMPLE 14 + + +// AutoMark dialog +#define BB_ENTRIES 1 +#define FL_ENTRIES 2 + +#define ST_SEARCH 10 +#define ST_ALTERNATIVE 11 +#define ST_PRIMKEY 12 +#define ST_SECKEY 13 +#define ST_COMMENT 14 +#define ST_CASESENSITIVE 15 +#define ST_WORDONLY 16 +#define ST_TRUE 17 +#define ST_FALSE 18 + + +//ButtonMenu +#define MN_AUTOMARK_OPEN 1 +#define MN_AUTOMARK_NEW 2 +#define MN_AUTOMARK_EDIT 3 + + + + diff --git a/binfilter/bf_sw/source/ui/index/index.hrc b/binfilter/bf_sw/source/ui/index/index.hrc new file mode 100644 index 000000000000..fb407d573399 --- /dev/null +++ b/binfilter/bf_sw/source/ui/index/index.hrc @@ -0,0 +1,48 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +/* fuer den DesignEditor +#define RC_INDEX_BEGIN 256 +*/ + +#ifndef _INDEX_HRC +#define _INDEX_HRC + +#include "rcid.hrc" + +#define DLG_FORMEDT (RC_INDEX_BEGIN + 0) +#define DLG_IDX (RC_INDEX_BEGIN + 1) +#define DLG_USRIDX (RC_INDEX_BEGIN + 2) +#define DLG_CNTTABLE (RC_INDEX_BEGIN + 4) + +#define STR_TITLE (RC_INDEX_BEGIN + 6) + + + + + +#endif // _INDEX_HRC diff --git a/binfilter/bf_sw/source/ui/index/makefile.mk b/binfilter/bf_sw/source/ui/index/makefile.mk new file mode 100644 index 000000000000..be71a248b5df --- /dev/null +++ b/binfilter/bf_sw/source/ui/index/makefile.mk @@ -0,0 +1,57 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_index + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_cnttab.src + +SLOFILES = \ + $(SLO)$/sw_toxmgr.obj + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/index/sw_cnttab.src b/binfilter/bf_sw/source/ui/index/sw_cnttab.src new file mode 100644 index 000000000000..a8f79b7e6794 --- /dev/null +++ b/binfilter/bf_sw/source/ui/index/sw_cnttab.src @@ -0,0 +1,73 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#include "index.hrc" +#include "globals.hrc" +#include "cnttab.hrc" +#include "cmdid.h" +#include "helpid.h" + +String STR_TITLE +{ + Text [ de ] = "Titel" ; + Text [ en-US ] = "Title" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Título"; + Text[ ru ] = "Заглавие"; + Text[ el ] = "Τίτλος"; + Text[ nl ] = "Titel"; + Text[ fr ] = "Titre"; + Text[ es ] = "Título"; + Text[ fi ] = "Otsikko"; + Text[ ca ] = "Títol"; + Text[ it ] = "Titolo"; + Text[ sk ] = "Titul"; + Text[ da ] = "Titel"; + Text[ sv ] = "Titel"; + Text[ pl ] = "Tytuł"; + Text[ pt-BR ] = "Título"; + Text[ th ] = "ชื่อ"; + Text[ ja ] = "タイトル"; + Text[ ko ] = "제목"; + Text[ zh-CN ] = "标题"; + Text[ zh-TW ] = "標題"; + Text[ tr ] = "Başlık"; + Text[ hi-IN ] = "शीर्षक"; + Text[ ar ] = "العنوان"; + Text[ he ] = "כותרת"; +}; + +/************************************************************************* + +*************************************************************************/ +//------------------------------------------------------------------ + +/*----------------------------------------------------------- + +-----------------------------------------------------------*/ +// ----------------------------------------------------------------------------- diff --git a/binfilter/bf_sw/source/ui/index/sw_toxmgr.cxx b/binfilter/bf_sw/source/ui/index/sw_toxmgr.cxx new file mode 100644 index 000000000000..7aa0a6076b4d --- /dev/null +++ b/binfilter/bf_sw/source/ui/index/sw_toxmgr.cxx @@ -0,0 +1,62 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +#include <shellres.hxx> + +#include <globals.hrc> + +#include <tox.hxx> + +namespace binfilter { + +/*-----------------23.01.98 07:41------------------- + Standard - Verzeichnisnamen herausreichen +--------------------------------------------------*/ +/*N*/ const String& SwTOXBase::GetTOXName(TOXTypes eType) +/*N*/ { +/*N*/ const String* pRet; +/*N*/ ShellResource* pShellRes = ViewShell::GetShellRes(); +/*N*/ switch(eType) +/*N*/ { +/*N*/ case TOX_CONTENT : pRet = &pShellRes->aTOXContentName; break; +/*N*/ case TOX_INDEX : pRet = &pShellRes->aTOXIndexName; break; +/*?*/ case TOX_USER : pRet = &pShellRes->aTOXUserName; break; +/*?*/ case TOX_ILLUSTRATIONS: pRet = &pShellRes->aTOXIllustrationsName; break; +/*?*/ case TOX_OBJECTS : pRet = &pShellRes->aTOXObjectsName; break; +/*?*/ case TOX_TABLES : pRet = &pShellRes->aTOXTablesName; break; +/*?*/ case TOX_AUTHORITIES : pRet = &pShellRes->aTOXAuthoritiesName; break; +/*N*/ } +/*N*/ return *pRet; +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/makefile.mk b/binfilter/bf_sw/source/ui/makefile.mk new file mode 100644 index 000000000000..fd43e67a4ff0 --- /dev/null +++ b/binfilter/bf_sw/source/ui/makefile.mk @@ -0,0 +1,87 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/.. +BFPRJ=..$/.. + +PRJNAME=binfilter +TARGET=sw_ui + +#GEN_HID=TRUE +#GEN_HID_OTHER=TRUE +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +#.INCLUDE : $(PRJ)$/inc$/swpre.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +#.INCLUDE : $(PRJ)$/inc$/sw.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk +INC+= -I$(PRJ)$/inc$/bf_sw + +.IF "$(GUI)" != "OS2" +.IF "$(GUI)" != "WNT" +.IF "$(GUI)" != "MAC" +.IF "$(COM)" != "BLC" +.IF "$(COM)" != "WTC" +LIBFLAGS=/NOI /NOE /PAGE:256 +.ENDIF +.ENDIF +.ENDIF +.ENDIF +.ENDIF + +################################################################ + +# andere Label als Verzeichnisnamen fuer VC++/NT + +LIB1TARGET=$(SLB)$/sw_ui.lib +LIB1FILES= \ + $(SLB)$/sw_app.lib \ + $(SLB)$/sw_config.lib \ + $(SLB)$/sw_dbui.lib \ + $(SLB)$/sw_dochdl.lib \ + $(SLB)$/sw_utlui.lib \ + $(SLB)$/sw_fldui.lib \ + $(SLB)$/sw_globdoc.lib \ + $(SLB)$/sw_index.lib \ + $(SLB)$/sw_unoidl.lib \ + $(SLB)$/sw_web.lib \ + $(SLB)$/sw_wrtsh.lib + +.INCLUDE : target.mk + +################################################################ + + +kill: + @$(RM) $(SLB)$/ui.lst + @$(RM) $(SLB)$/ui.lib + diff --git a/binfilter/bf_sw/source/ui/misc/makefile.mk b/binfilter/bf_sw/source/ui/misc/makefile.mk new file mode 100644 index 000000000000..3dfd16800780 --- /dev/null +++ b/binfilter/bf_sw/source/ui/misc/makefile.mk @@ -0,0 +1,53 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_misc + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES=\ + sw_redlndlg.src + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/misc/redlndlg.hrc b/binfilter/bf_sw/source/ui/misc/redlndlg.hrc new file mode 100644 index 000000000000..927d247c7948 --- /dev/null +++ b/binfilter/bf_sw/source/ui/misc/redlndlg.hrc @@ -0,0 +1,38 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define CTRL_TABPAGES 1 + +#define MN_EDIT_COMMENT 1 +#define MN_SUB_SORT 2 +#define MN_SORT_ACTION 3 +#define MN_SORT_AUTHOR 4 +#define MN_SORT_DATE 5 +#define MN_SORT_COMMENT 6 +#define MN_SORT_POSITION 7 + +#define XBORDER 3 +#define YBORDER 3 diff --git a/binfilter/bf_sw/source/ui/misc/sw_redlndlg.src b/binfilter/bf_sw/source/ui/misc/sw_redlndlg.src new file mode 100644 index 000000000000..0ff6ba1e9be4 --- /dev/null +++ b/binfilter/bf_sw/source/ui/misc/sw_redlndlg.src @@ -0,0 +1,76 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT +/* StarView ressource file */ + +#include "redlndlg.hrc" +#include "misc.hrc" +#include "helpid.h" + +#define WIDTH 297 +#define HEIGHT 169 + +#define REDLNDLG \ + OutputSize = TRUE ; \ + SVLook = TRUE ; \ + Size = MAP_APPFONT ( WIDTH , HEIGHT ) ; \ + Moveable = TRUE ; \ + Closeable = TRUE ; \ + Sizeable = TRUE ; \ + Hide = TRUE ; \ + Control CTRL_TABPAGES\ + {\ + Pos = MAP_APPFONT ( XBORDER , YBORDER ) ; \ + Size = MAP_APPFONT ( WIDTH - XBORDER * 2 , HEIGHT - YBORDER * 2 ) ; \ + HelpID = HID_REDLINE_CTRL ; \ + TabStop = TRUE ; \ + };\ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/binfilter/bf_sw/source/ui/ribbar/inputwin.hrc b/binfilter/bf_sw/source/ui/ribbar/inputwin.hrc new file mode 100644 index 000000000000..e55fa18e3ef9 --- /dev/null +++ b/binfilter/bf_sw/source/ui/ribbar/inputwin.hrc @@ -0,0 +1,84 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _INPUTWIN_HRC +#define _INPUTWIN_HRC + + +//PopupMenu Id's +#define MN_CALC_PHD 1 +#define MN_CALC_SQRT 2 +#define MN_CALC_OR 3 +#define MN_CALC_XOR 4 +#define MN_CALC_AND 5 +#define MN_CALC_NOT 6 +#define MN_CALC_EQ 7 +#define MN_CALC_NEQ 8 +#define MN_CALC_LEQ 9 +#define MN_CALC_GEQ 10 +#define MN_CALC_LES 11 +#define MN_CALC_GRE 12 +#define MN_CALC_SUM 13 +#define MN_CALC_MEAN 14 +#define MN_CALC_MIN 15 +#define MN_CALC_MAX 16 +#define MN_CALC_SIN 17 +#define MN_CALC_COS 18 +#define MN_CALC_TAN 19 +#define MN_CALC_ASIN 20 +#define MN_CALC_ACOS 21 +#define MN_CALC_ATAN 22 +#define MN_CALC_POW 23 +#define MN_CALC_LISTSEP 24 +#define MN_CALC_ROUND 25 + +#define MN_POP_OPS 29 +#define MN_POP_STATISTICS 30 +#define MN_POP_FUNC 31 +#define MN_RSC_END 32 + +#define TBX_FORMULA 1 +#define ED_POS 2 +#define ED_FORMULA 3 + +#endif + + + + + + + + + + + + + + + + + diff --git a/binfilter/bf_sw/source/ui/ribbar/makefile.mk b/binfilter/bf_sw/source/ui/ribbar/makefile.mk new file mode 100644 index 000000000000..d56efa3b52a8 --- /dev/null +++ b/binfilter/bf_sw/source/ui/ribbar/makefile.mk @@ -0,0 +1,61 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_ribbar + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_workctrl.src + +SLOFILES = \ + $(SLO)$/sw_inputwin.obj \ + $(SLO)$/sw_tbxanchr.obj \ + $(SLO)$/sw_tblctrl.obj \ + $(SLO)$/sw_workctrl.obj + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + +$(SRS)$/sw_ribbar.srs: $(PRJ)$/inc$/bf_svx$/globlmn.hrc + diff --git a/binfilter/bf_sw/source/ui/ribbar/sw_workctrl.src b/binfilter/bf_sw/source/ui/ribbar/sw_workctrl.src new file mode 100644 index 000000000000..eda8ea7a25c7 --- /dev/null +++ b/binfilter/bf_sw/source/ui/ribbar/sw_workctrl.src @@ -0,0 +1,110 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#define SCROLL_IMAGE_IDLIST \ + IdList = \ + { \ + NID_NEXT ; \ + NID_PREV ; \ + NID_TBL ; \ + NID_FRM ; \ + NID_PGE ; \ + NID_DRW ; \ + NID_CTRL ; \ + NID_REG ; \ + NID_BKM ; \ + NID_GRF ; \ + NID_OLE ; \ + NID_OUTL ; \ + NID_SEL ; \ + NID_FTN ; \ + NID_MARK ; \ + NID_POSTIT ; \ + NID_SRCH_REP ; \ + NID_INDEX_ENTRY; \ + NID_TABLE_FORMULA; \ + NID_TABLE_FORMULA_ERROR; \ + }; \ + IdCount = { 20 ; }; + +/* +Noch ein paar Reserven + ToolBoxItem + { + Identifier = NID_NEXT; + Text [ de ] = "Vorwrts" ; + }; + ToolBoxItem + { + Identifier = NID_PREV; + Text [ de ] = "Rckwrts" ; + }; + ToolBoxItem + { + Identifier = NID_CTRL; + Text [ de ] = "Control" ; + }; + ToolBoxItem + { + Identifier = NID_DRW; + Text [ de ] = "Zeichenobjekt" ; + }; + + +*/ +/*************************************************************** + Strings fuer die Quickhelp der View-PgUp/Down-Buttons +***************************************************************/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/binfilter/bf_sw/source/ui/ribbar/tblctrl.hrc b/binfilter/bf_sw/source/ui/ribbar/tblctrl.hrc new file mode 100644 index 000000000000..fcc31d473eda --- /dev/null +++ b/binfilter/bf_sw/source/ui/ribbar/tblctrl.hrc @@ -0,0 +1,35 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _TBLCTRL_HRC +#define _TBLCTRL_HRC +#include "ribbar.hrc" + +#define TBX_OPTIMIZE_TABLE 1 + +#endif + + diff --git a/binfilter/bf_sw/source/ui/ribbar/workctrl.hrc b/binfilter/bf_sw/source/ui/ribbar/workctrl.hrc new file mode 100644 index 000000000000..108cf44ee848 --- /dev/null +++ b/binfilter/bf_sw/source/ui/ribbar/workctrl.hrc @@ -0,0 +1,88 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _WORKCTRL_HRC +#define _WORKCTRL_HRC +#include "ribbar.hrc" + +#define TBX_INSERT 1 +#define TBX_OBJ_INSERT 2 +#define TBX_FIELD_INSERT 3 +#define TBX_NAVIGATION 4 +#define IL_VALUES 5 +#define IMG_BTN 6 +#define ST_QUICK 7 +#define FI_INFO 8 +#define FL_SEP 9 +#define ILH_VALUES 10 +#define IMG_BTN_H 11 + + +#define ST_TBL 12 +#define ST_FRM 13 +#define ST_PGE 14 +#define ST_DRW 15 +#define ST_CTRL 16 +#define ST_REG 17 +#define ST_BKM 18 +#define ST_GRF 19 +#define ST_OLE 20 +#define ST_OUTL 21 +#define ST_SEL 22 +#define ST_FTN 23 +#define ST_MARK 24 +#define ST_POSTIT 25 +#define ST_SRCH_REP 26 +#define ST_INDEX_ENTRY 27 +#define ST_TABLE_FORMULA 28 +#define ST_TABLE_FORMULA_ERROR 29 + +// doppelter Eintrag! hrc und hxx +// diese Ids bestimmen, was die Buttons unter dem Scrollbar tun +#define NID_START 20000 +#define NID_NEXT 20000 +#define NID_PREV 20001 +#define NID_TBL 20002 +#define NID_FRM 20003 +#define NID_PGE 20004 +#define NID_DRW 20005 +#define NID_CTRL 20006 +#define NID_REG 20007 +#define NID_BKM 20008 +#define NID_GRF 20009 +#define NID_OLE 20010 +#define NID_OUTL 20011 +#define NID_SEL 20012 +#define NID_FTN 20013 +#define NID_MARK 20014 +#define NID_POSTIT 20015 +#define NID_SRCH_REP 20016 +#define NID_INDEX_ENTRY 20017 +#define NID_TABLE_FORMULA 20018 +#define NID_TABLE_FORMULA_ERROR 20019 +#define NID_COUNT 20 + +#endif diff --git a/binfilter/bf_sw/source/ui/shells/makefile.mk b/binfilter/bf_sw/source/ui/shells/makefile.mk new file mode 100644 index 000000000000..63bb74cce168 --- /dev/null +++ b/binfilter/bf_sw/source/ui/shells/makefile.mk @@ -0,0 +1,56 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_shells + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_shells.src \ + sw_pseudo.src + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + +$(SRS)$/sw_shells.srs: $(PRJ)$/inc$/bf_svx$/globlmn.hrc + diff --git a/binfilter/bf_sw/source/ui/shells/sw_pseudo.src b/binfilter/bf_sw/source/ui/shells/sw_pseudo.src new file mode 100644 index 000000000000..57a1813dd713 --- /dev/null +++ b/binfilter/bf_sw/source/ui/shells/sw_pseudo.src @@ -0,0 +1,162 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + + + + +/* +SfxSlotInfo SID_DRAW_LINE +{ + Slotname [ de ] = "Linie" ; + Slotname [ en-US ] = "Line" ; +}; +SfxSlotInfo SID_DRAW_RECT +{ + Slotname [ de ] = "Rechteck" ; + Slotname [ en-US ] = "Rectangle" ; +}; +SfxSlotInfo SID_DRAW_ELLIPSE +{ + Slotname [ de ] = "Ellipse" ; + Slotname [ en-US ] = "Ellipse" ; +}; +SfxSlotInfo SID_DRAW_ARC +{ + Slotname [ de ] = "Kreisbogen" ; + Slotname [ en-US ] = "Arc" ; +}; +SfxSlotInfo SID_DRAW_PIE +{ + Slotname [ de ] = "Kreissektor" ; + Slotname [ en-US ] = "Circle Pie" ; +}; +SfxSlotInfo SID_DRAW_CIRCLECUT +{ + Slotname [ de ] = "Kreissegment" ; + Slotname [ en-US ] = "Circle Segment" ; +}; +SfxSlotInfo SID_DRAW_TEXT +{ + Slotname [ de ] = "Text" ; + Slotname [ en-US ] = "Text" ; +}; + +SfxSlotInfo SID_DRAW_CAPTION +{ + Slotname [ de ] = "Legende" ; + Slotname [ en-US ] = "Callout" ; +}; + + + +SfxSlotInfo SID_INSERT_PUSHBUTTON +{ + Slotname [ de ] = "Pushbutton" ; + Slotname [ en-US ] = "PushButton" ; + +}; +SfxSlotInfo SID_INSERT_CHECKBOX +{ + Slotname [ de ] = "Checkbox" ; + Slotname [ en-US ] = "Checkbox" ; +}; +SfxSlotInfo SID_INSERT_RADIOBUTTON +{ + Slotname [ de ] = "Radiobutton" ; + Slotname [ en-US ] = "Radiobutton" ; +}; +SfxSlotInfo SID_INSERT_SPINBUTTON +{ + Slotname [ de ] = "Spinbutton" ; + Slotname [ en-US ] = "Spinbutton" ; +}; +SfxSlotInfo SID_INSERT_FIXEDTEXT +{ + Slotname [ de ] = "Fixedtext" ; + Slotname [ en-US ] = "FixedText" ; +}; +SfxSlotInfo SID_INSERT_GROUPBOX +{ + Slotname [ de ] = "Groupbox" ; + Slotname [ en-US ] = "Groupbox" ; +}; + +SfxSlotInfo SID_INSERT_LISTBOX +{ + Slotname [ de ] = "Listbox" ; + Slotname [ en-US ] = "Listbox" ; +}; +SfxSlotInfo SID_INSERT_COMBOBOX +{ + Slotname [ de ] = "Combobox" ; + Slotname [ en-US ] = "Combobox" ; +}; +SfxSlotInfo SID_INSERT_EDIT +{ + Slotname [ de ] = "Edit" ; + Slotname [ en-US ] = "Edit" ; +}; +SfxSlotInfo SID_INSERT_HSCROLLBAR +{ + Slotname [ de ] = "HScrollbar" ; + Slotname [ en-US ] = "HScrollbar" ; +}; +SfxSlotInfo SID_INSERT_VSCROLLBAR +{ + Slotname [ de ] = "VScrollbar" ; + Slotname [ en-US ] = "VScrollbar" ; +}; +SfxSlotInfo SID_INSERT_PREVIEW +{ + Slotname [ de ] = "Preview" ; + Slotname [ en-US ] = "Preview" ; +}; +*/ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/binfilter/bf_sw/source/ui/shells/sw_shells.src b/binfilter/bf_sw/source/ui/shells/sw_shells.src new file mode 100644 index 000000000000..d67fa5e115f4 --- /dev/null +++ b/binfilter/bf_sw/source/ui/shells/sw_shells.src @@ -0,0 +1,355 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#include <bf_svx/svxids.hrc> +#include <bf_svx/globlmn.hrc> +#include "toolbox.hrc" +#include "helpid.h" + +String STR_PAGE +{ + Text [ de ] = "Seite " ; + Text [ en-US ] = "Page " ; + Text [ x-comment ] = " "; + Text[ pt ] = "Página "; + Text[ ru ] = "Страница "; + Text[ el ] = "Σελίδα "; + Text[ nl ] = "Pagina"; + Text[ fr ] = "Page "; + Text[ es ] = "Página "; + Text[ fi ] = "Sivu "; + Text[ ca ] = "Pàgina "; + Text[ it ] = "Pagina "; + Text[ sk ] = "Strana "; + Text[ da ] = "Side "; + Text[ sv ] = "Sida "; + Text[ pl ] = "Strona "; + Text[ pt-BR ] = "Página "; + Text[ th ] = "หน้า "; + Text[ ja ] = "ページ "; + Text[ ko ] = "페이지 "; + Text[ zh-CN ] = "页面 "; + Text[ zh-TW ] = "頁"; + Text[ tr ] = "Sayfa "; + Text[ hi-IN ] = "पृष्ठ "; + Text[ ar ] = "صفحة "; + Text[ he ] = "Seite"; +}; +String STR_SHELLNAME_TEXT +{ + Text [ de ] = "Text" ; + Text [ en-US ] = "Text" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Texto"; + Text[ ru ] = "Текст"; + Text[ el ] = "Κείμενο"; + Text[ nl ] = "Tekst"; + Text[ fr ] = "Texte"; + Text[ es ] = "Texto"; + Text[ fi ] = "Teksti"; + Text[ ca ] = "Text"; + Text[ it ] = "Testo"; + Text[ sk ] = "Text"; + Text[ da ] = "Tekst"; + Text[ sv ] = "Text"; + Text[ pl ] = "Tekst"; + Text[ pt-BR ] = "Texto"; + Text[ th ] = "ข้อความ"; + Text[ ja ] = "テキスト"; + Text[ ko ] = "텍스트"; + Text[ zh-CN ] = "文字"; + Text[ zh-TW ] = "文字"; + Text[ tr ] = "Metin"; + Text[ hi-IN ] = "टेक्स्ट्"; + Text[ ar ] = "نص"; + Text[ he ] = "טקסט"; +}; +String STR_SHELLNAME_TABLE +{ + Text [ de ] = "Tabelle" ; + Text [ en-US ] = "Table" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Tabela"; + Text[ ru ] = "Таблица"; + Text[ el ] = "Πίνακας"; + Text[ nl ] = "Tabel"; + Text[ fr ] = "Tableau"; + Text[ es ] = "Tabla"; + Text[ fi ] = "Taulukko"; + Text[ ca ] = "Taula"; + Text[ it ] = "Tabella"; + Text[ sk ] = "Tabuľka"; + Text[ da ] = "Tabel"; + Text[ sv ] = "Tabell"; + Text[ pl ] = "Tabela"; + Text[ pt-BR ] = "Tabela"; + Text[ th ] = "ตาราง"; + Text[ ja ] = "テーブル"; + Text[ ko ] = "표"; + Text[ zh-CN ] = "表格"; + Text[ zh-TW ] = "表格"; + Text[ tr ] = "Tablo"; + Text[ hi-IN ] = "सारणी"; + Text[ ar ] = "جدول"; + Text[ he ] = "טבלה"; +}; +String STR_SHELLNAME_FRAME +{ + Text [ de ] = "Rahmen" ; + Text [ en-US ] = "Frame" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Moldura"; + Text[ ru ] = "Рамка"; + Text[ el ] = "Πλαίσιο"; + Text[ nl ] = "Kader"; + Text[ fr ] = "Cadre"; + Text[ es ] = "Marco"; + Text[ fi ] = "Kehys"; + Text[ ca ] = "Marc"; + Text[ it ] = "Cornice"; + Text[ sk ] = "Rámček"; + Text[ da ] = "Ramme"; + Text[ sv ] = "Ram"; + Text[ pl ] = "Ramka"; + Text[ pt-BR ] = "Moldura"; + Text[ th ] = "กรอบ"; + Text[ ja ] = "枠"; + Text[ ko ] = "프레임"; + Text[ zh-CN ] = "框"; + Text[ zh-TW ] = "文字方塊"; + Text[ tr ] = "Çerçeve"; + Text[ hi-IN ] = "फ्रेम "; + Text[ ar ] = "كادر"; + Text[ he ] = "מסגרת"; +}; +String STR_SHELLNAME_GRAPHIC +{ + Text [ de ] = "Grafik" ; + Text [ en-US ] = "Graphics" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Imagem"; + Text[ ru ] = "Графический объект"; + Text[ el ] = "Γραφικό"; + Text[ nl ] = "Afbeelding"; + Text[ fr ] = "Image"; + Text[ es ] = "Imagen"; + Text[ fi ] = "Grafiikka"; + Text[ ca ] = "Gràfic"; + Text[ it ] = "Immagine"; + Text[ sk ] = "Obrázky"; + Text[ da ] = "Grafik"; + Text[ sv ] = "Grafik"; + Text[ pl ] = "Grafika"; + Text[ pt-BR ] = "Figura"; + Text[ th ] = "กราฟิค"; + Text[ ja ] = "図"; + Text[ ko ] = "그림"; + Text[ zh-CN ] = "图形"; + Text[ zh-TW ] = "圖形"; + Text[ tr ] = "Grafik"; + Text[ hi-IN ] = "सुचित्र"; + Text[ ar ] = "صورة"; + Text[ he ] = "גרפיקה"; +}; +String STR_SHELLNAME_OBJECT +{ + Text [ de ] = "Objekt" ; + Text [ en-US ] = "Object" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Objecto"; + Text[ ru ] = "Объект"; + Text[ el ] = "Αντικείμενο"; + Text[ nl ] = "Object"; + Text[ fr ] = "Objet"; + Text[ es ] = "Objeto"; + Text[ fi ] = "Objekti"; + Text[ ca ] = "Objecte"; + Text[ it ] = "Oggetto"; + Text[ sk ] = "Objekt"; + Text[ da ] = "Objekt"; + Text[ sv ] = "Objekt"; + Text[ pl ] = "Obiekt"; + Text[ pt-BR ] = "Objeto"; + Text[ th ] = "วัตถุ"; + Text[ ja ] = "オブジェクト"; + Text[ ko ] = "개체"; + Text[ zh-CN ] = "对象"; + Text[ zh-TW ] = "物件"; + Text[ tr ] = "Nesne"; + Text[ hi-IN ] = "वस्तु"; + Text[ ar ] = "كائن"; + Text[ he ] = "אוביקט"; +}; +String STR_SHELLNAME_LIST +{ + Text [ de ] = "Liste" ; + Text [ en-US ] = "List" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Lista"; + Text[ ru ] = "Список"; + Text[ el ] = "Λίστα"; + Text[ nl ] = "Lijst"; + Text[ fr ] = "Liste"; + Text[ es ] = "Lista"; + Text[ fi ] = "Luettelo"; + Text[ ca ] = "Llista"; + Text[ it ] = "Elenco"; + Text[ sk ] = "Zoznam"; + Text[ da ] = "Liste"; + Text[ sv ] = "Lista"; + Text[ pl ] = "Lista"; + Text[ pt-BR ] = "Lista"; + Text[ th ] = "รายการ"; + Text[ ja ] = "リスト"; + Text[ ko ] = "목록"; + Text[ zh-CN ] = "列表"; + Text[ zh-TW ] = "清單"; + Text[ tr ] = "Liste"; + Text[ hi-IN ] = "सूची"; + Text[ ar ] = "قائمة"; + Text[ he ] = "Liste"; +}; +String STR_SHELLNAME_DRAW +{ + Text [ de ] = "Zeichnung" ; + Text [ en-US ] = "Drawing" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Desenho"; + Text[ ru ] = "Рисунок"; + Text[ el ] = "Σχέδιο"; + Text[ nl ] = "Tekening"; + Text[ fr ] = "Dessin"; + Text[ es ] = "Dibujo"; + Text[ fi ] = "Piirros"; + Text[ ca ] = "Dibuix"; + Text[ it ] = "Disegno"; + Text[ sk ] = "Kresba"; + Text[ da ] = "Tegning"; + Text[ sv ] = "Teckning"; + Text[ pl ] = "Rysunek"; + Text[ pt-BR ] = "Desenho"; + Text[ th ] = "วาดรูป"; + Text[ ja ] = "図形描画"; + Text[ ko ] = "그리기"; + Text[ zh-CN ] = "绘图"; + Text[ zh-TW ] = "繪圖"; + Text[ tr ] = "Çizim"; + Text[ hi-IN ] = "रेखाचित्र"; + Text[ ar ] = "رسم"; + Text[ he ] = "ציור"; +}; +String STR_SHELLNAME_DRAWFORM +{ + Text [ de ] = "Forms" ; + Text [ en-US ] = "Forms" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Formulários"; + Text[ ru ] = "Формы"; + Text[ el ] = "Φόρμες"; + Text[ nl ] = "Forms"; + Text[ fr ] = "Formulaires"; + Text[ es ] = "Formas"; + Text[ fi ] = "Lomakkeet"; + Text[ ca ] = "Formularis"; + Text[ it ] = "Forms"; + Text[ sk ] = "Formuláre"; + Text[ da ] = "Formular"; + Text[ sv ] = "Forms"; + Text[ pl ] = "Kształty"; + Text[ pt-BR ] = "Formulários"; + Text[ th ] = "แบบ"; + Text[ ja ] = "フォーム"; + Text[ ko ] = "양식"; + Text[ zh-CN ] = "表单"; + Text[ zh-TW ] = "表單"; + Text[ tr ] = "Form"; + Text[ hi-IN ] = "फ़ॉर्म"; + Text[ ar ] = "نماذج"; + Text[ he ] = "Forms"; +}; +String STR_SHELLNAME_BEZIER +{ + Text [ de ] = "Bezier" ; + Text [ en-US ] = "Bzier" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Bézier"; + Text[ ru ] = "Безье"; + Text[ el ] = "Bezier"; + Text[ nl ] = "Bézier"; + Text[ fr ] = "Bézier"; + Text[ es ] = "Bézier"; + Text[ fi ] = "Bézier"; + Text[ ca ] = "Bézier"; + Text[ it ] = "Bezier"; + Text[ sk ] = "Bézierove krivky"; + Text[ da ] = "Bezier"; + Text[ sv ] = "Bézier"; + Text[ pl ] = "Bézier"; + Text[ pt-BR ] = "Bézier"; + Text[ th ] = "B้zier"; + Text[ ja ] = "ベジェ曲線"; + Text[ ko ] = "베지에"; + Text[ zh-CN ] = "曲线"; + Text[ zh-TW ] = "曲線"; + Text[ tr ] = "Bezier"; + Text[ hi-IN ] = "बेज़ियर"; + Text[ ar ] = "Bézier"; + Text[ he ] = "Bezier"; +}; +String STR_SHELLNAME_DRAW_TEXT +{ + Text [ de ] = "Zeichentext" ; + Text [ en-US ] = "Draw text" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Texto de desenho"; + Text[ ru ] = "Текст рисунка"; + Text[ el ] = "Κείμενο σχεδίου"; + Text[ nl ] = "Tekentekst"; + Text[ fr ] = "Texte dessiné"; + Text[ es ] = "Texto de dibujo"; + Text[ fi ] = "Piirrä teksti"; + Text[ ca ] = "Text del dibuix"; + Text[ it ] = "Testo di disegno"; + Text[ sk ] = "Text kresby"; + Text[ da ] = "Tegnetekst"; + Text[ sv ] = "Teckningstext"; + Text[ pl ] = "Tekst rysunku"; + Text[ pt-BR ] = "Desenhar texto"; + Text[ th ] = "วาดข้อความ"; + Text[ ja ] = "図形描画テキスト"; + Text[ ko ] = "문자 텍스트"; + Text[ zh-CN ] = "绘图文字"; + Text[ zh-TW ] = "繪圖文字"; + Text[ tr ] = "Çizim metni"; + Text[ hi-IN ] = "टेक्स्ट् खींचो"; + Text[ ar ] = "نص رسم"; + Text[ he ] = "Zeichentext"; +}; + //Strings fuer Gallery/Hintergrund + + //Ende: Strings fuer Gallery/Hintergrund diff --git a/binfilter/bf_sw/source/ui/uiview/makefile.mk b/binfilter/bf_sw/source/ui/uiview/makefile.mk new file mode 100644 index 000000000000..be9ae7b6a212 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uiview/makefile.mk @@ -0,0 +1,78 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_uiview + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_view.src \ + sw_pview.src + +SLOFILES = \ + $(SLO)$/sw_view0.obj \ + $(SLO)$/sw_view.obj \ + $(SLO)$/sw_view1.obj \ + $(SLO)$/sw_view2.obj \ + $(SLO)$/sw_viewdraw.obj \ + $(SLO)$/sw_viewmdi.obj \ + $(SLO)$/sw_pview.obj \ + $(SLO)$/sw_viewport.obj \ + $(SLO)$/sw_viewstat.obj \ + $(SLO)$/sw_viewtab.obj \ + $(SLO)$/sw_viewprt.obj \ + $(SLO)$/sw_scroll.obj \ + $(SLO)$/sw_swcli.obj \ + $(SLO)$/sw_srcview.obj \ + $(SLO)$/sw_uivwimp.obj + +EXCEPTIONSFILES= \ + $(SLO)$/sw_srcview.obj \ + $(SLO)$/sw_uivwimp.obj + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + +$(SRS)$/sw_uiview.srs: $(PRJ)$/inc$/bf_svx$/globlmn.hrc + diff --git a/binfilter/bf_sw/source/ui/uiview/pview.hrc b/binfilter/bf_sw/source/ui/uiview/pview.hrc new file mode 100644 index 000000000000..d30f90e396f4 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uiview/pview.hrc @@ -0,0 +1,72 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#include "view.hrc" + +#define FT_COL 1 +#define FT_ROW 2 +#define ED_COL 4 +#define ED_ROW 5 + +#define BT_OK 20 +#define BT_CANCEL 21 +#define BT_HELP 22 + +// Grenzwerte fuers Zooming (werden auch im piew.cxx benutzt!) +#define PVIEW_MIN_ROW 1 +#define PVIEW_MAX_ROW 10 +#define PVIEW_MIN_COL 1 +#define PVIEW_MAX_COL 20 + +//Dialog Druckoptionen +#define FL_ROWCOL 1 +#define FT_ROWS 2 +#define NF_ROWS 3 +#define FT_COLS 4 +#define NF_COLS 5 +#define FL_MARGINS 6 +#define FL_DISTANCE 7 +#define FL_ORIENTATION 8 + +#define WIN_PREVIEW 11 + + +#define FT_LMARGIN 12 +#define MF_LMARGIN 13 +#define FT_RMARGIN 14 +#define MF_RMARGIN 15 +#define FT_TMARGIN 16 +#define MF_TMARGIN 17 +#define FT_BMARGIN 18 +#define MF_BMARGIN 19 +#define FT_HMARGIN 20 +#define MF_HMARGIN 21 +#define FT_VMARGIN 22 +#define MF_VMARGIN 23 +#define PB_STANDARD 24 + +#define RB_LANDSCAPE 24 +#define RB_PORTRAIT 25 diff --git a/binfilter/bf_sw/source/ui/uiview/sw_pview.src b/binfilter/bf_sw/source/ui/uiview/sw_pview.src new file mode 100644 index 000000000000..a3f7104ed794 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uiview/sw_pview.src @@ -0,0 +1,175 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#include <bf_svx/svxids.hrc> +#include "pview.hrc" +#include "helpid.h" +#include "cmdid.h" +String RID_PVIEW_TOOLBOX +{ + Text [ de ] = "Seitenansicht" ; + Text [ en-US ] = "Page Preview" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Ver página"; + Text[ ru ] = "Предварительный просмотр"; + Text[ el ] = "Προεπισκόπηση εκτύπωσης"; + Text[ nl ] = "Afdrukvoorbeeld"; + Text[ fr ] = "Aperçu"; + Text[ es ] = "Vista preliminar"; + Text[ fi ] = "Esikatselu"; + Text[ ca ] = "Visualització prèvia de la pàgina"; + Text[ it ] = "Anteprima stampa"; + Text[ sk ] = "Náhľad stránky"; + Text[ da ] = "Sidevisning"; + Text[ sv ] = "Förhandsgranskning"; + Text[ pl ] = "Podgląd wydruku"; + Text[ pt-BR ] = "Visualizar Página"; + Text[ th ] = "แสดงตัวอย่างหน้า"; + Text[ ja ] = "印刷プレビュー"; + Text[ ko ] = "인쇄 미리 보기"; + Text[ zh-CN ] = "页面视图"; + Text[ zh-TW ] = "頁面檢視"; + Text[ tr ] = "Sayfa önizleme"; + Text[ hi-IN ] = "पृष्ठ का पूर्वदृश्य"; + Text[ ar ] = "معاينة الصفحة"; + Text[ he ] = "מבט כללי"; +}; +ToolBox RID_PVIEW_TOOLBOX +{ + Border = TRUE ; + SVLook = TRUE ; + Dockable = TRUE ; + Moveable = TRUE ; + Sizeable = TRUE ; + Closeable = TRUE ; + Zoomable = TRUE ; + LineSpacing = TRUE ; + HideWhenDeactivate = TRUE ; + Customize = TRUE ; + HelpID = HID_PVIEW_TOOLBOX ; + ItemList = + { + ToolBoxItem + { + Identifier = FN_PAGEUP ; + HelpID = FN_PAGEUP ; + }; + ToolBoxItem + { + Identifier = FN_PAGEDOWN ; + HelpID = FN_PAGEDOWN ; + }; + ToolBoxItem + { + Identifier = FN_START_OF_DOCUMENT ; + HelpID = FN_START_OF_DOCUMENT ; + }; + ToolBoxItem + { + Identifier = FN_END_OF_DOCUMENT ; + HelpID = FN_END_OF_DOCUMENT ; + }; + ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; + ToolBoxItem + { + Identifier = FN_SHOW_TWO_PAGES ; + HelpID = FN_SHOW_TWO_PAGES ; + }; + ToolBoxItem + { + Identifier = FN_SHOW_MULTIPLE_PAGES ; + HelpID = FN_SHOW_MULTIPLE_PAGES ; + DropDown = TRUE; + }; + ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; + ToolBoxItem + { + Identifier = SID_ZOOM_OUT; + HelpID = SID_ZOOM_OUT ; + }; + ToolBoxItem + { + Identifier = SID_ZOOM_IN; + HelpID = SID_ZOOM_IN ; + }; + ToolBoxItem + { + Identifier = FN_PREVIEW_ZOOM; + HelpID = HID_PREVIEW_ZOOM ; + }; + ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; + ToolBoxItem + { + Identifier = SID_WIN_FULLSCREEN ; + HelpID = SID_WIN_FULLSCREEN ; + }; + ToolBoxItem + { + Identifier = FN_PRINT_PAGEPREVIEW ; + HelpID = FN_PRINT_PAGEPREVIEW ; + }; + ToolBoxItem + { + Identifier = FN_PREVIEW_PRINT_OPTIONS ; + HelpID = FN_PREVIEW_PRINT_OPTIONS ; + }; + ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; + ToolBoxItem + { + Identifier = FN_CLOSE_PAGEPREVIEW; + HelpID = SID_PRINTPREVIEW; + }; + }; + Scroll = TRUE ; +}; + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/binfilter/bf_sw/source/ui/uiview/sw_view.src b/binfilter/bf_sw/source/ui/uiview/sw_view.src new file mode 100644 index 000000000000..5445f02ebe84 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uiview/sw_view.src @@ -0,0 +1,361 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#include <bf_svx/svxids.hrc> +#include <bf_svx/globlmn.hrc> +#include "view.hrc" +#include "shells.hrc" +#include "globals.hrc" +#include "popup.hrc" +#include "helpid.h" +#include "cmdid.h" + + +String STR_NUM_LEVEL +{ + Text [ de ] = "Ebene " ; + Text [ en-US ] = "Level " ; + Text [ x-comment ] = " "; + Text[ pt ] = "Nível "; + Text[ ru ] = "Уровень "; + Text[ el ] = "Επίπεδο "; + Text[ nl ] = "Niveau"; + Text[ fr ] = "Niveau "; + Text[ es ] = "Nivel "; + Text[ fi ] = "Taso "; + Text[ ca ] = "Nivell "; + Text[ it ] = "Livello "; + Text[ sk ] = "Úroveň "; + Text[ da ] = "Niveau "; + Text[ sv ] = "Nivå "; + Text[ pl ] = "Poziom "; + Text[ pt-BR ] = "Nível"; + Text[ th ] = "ระดับ "; + Text[ ja ] = "レベル "; + Text[ ko ] = "수준 "; + Text[ zh-CN ] = "级 "; + Text[ zh-TW ] = "級 "; + Text[ tr ] = "Düzey "; + Text[ hi-IN ] = "स्तर"; + Text[ ar ] = "المستوى"; + Text[ he ] = "Ebene"; +}; + +String RID_TOOLS_TOOLBOX +{ + Text [ de ] = "Werkzeugleiste" ; + Text [ en-US ] = "Main Toolbar" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Barra de ferramentas"; + Text[ ru ] = "Панель инструментов"; + Text[ el ] = "Κύρια γραμμή εργαλείων"; + Text[ nl ] = "Werktuigbalk"; + Text[ fr ] = "Barre d'instruments"; + Text[ es ] = "Barra de herramientas"; + Text[ fi ] = "Päätyökalurivi"; + Text[ ca ] = "Barra d'eines principal"; + Text[ it ] = "Barra degli strumenti"; + Text[ sk ] = "Hlavný panel nástrojov"; + Text[ da ] = "Værktøjslinje"; + Text[ sv ] = "Verktygslist"; + Text[ pl ] = "Główny pasek narzędzi"; + Text[ pt-BR ] = "Barra de Ferramentas Principal"; + Text[ th ] = "แถบเครื่องมือหลัก"; + Text[ ja ] = "標準ツールバー"; + Text[ ko ] = "주 도구 모음"; + Text[ zh-CN ] = "主工具栏"; + Text[ zh-TW ] = "主工具列"; + Text[ tr ] = "Ana araç çubuğu"; + Text[ hi-IN ] = "मुख्य औज़ार पट्टी"; + Text[ ar ] = "شريط الأدوات"; + Text[ he ] = "סרגל ראשי"; +}; + +String STR_READONLY_SEL +{ + Text [ de ] = "schreibgeschützt" ; + Text [ en-US ] = "read-only"; + Text [ x-comment ] = " "; + Text[ pt ] = "só leitura"; + Text[ ru ] = "только для чтения"; + Text[ el ] = "μόνο για ανάγνωση"; + Text[ nl ] = "Alleen-lezen"; + Text[ fr ] = "en lecture seule"; + Text[ es ] = "sólo lectura"; + Text[ fi ] = "Vain luku"; + Text[ ca ] = "només de lectura"; + Text[ it ] = "a sola lettura"; + Text[ sk ] = "len na čítanie"; + Text[ da ] = "skrivebeskyttet"; + Text[ sv ] = "skrivskyddad"; + Text[ pl ] = "Tylko do odczytu"; + Text[ pt-BR ] = "somente leitura"; + Text[ th ] = "อ่านอย่างเดียว"; + Text[ ja ] = "読み取り専用"; + Text[ ko ] = "읽기 전용"; + Text[ zh-CN ] = "防改写"; + Text[ zh-TW ] = "唯讀"; + Text[ tr ] = "okuma amaçlı"; + Text[ hi-IN ] = "केवल पढ़ने केलिए"; + Text[ ar ] = "للقراءة فقط"; + Text[ he ] = "קריאה בלבד"; +}; + +String MN_SRCVIEW_POPUPMENU +{ + Text [ de ] = "HTML - Quelltext" ; + Text [ en-US ] = "HTML source" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Fonte HTML"; + Text[ ru ] = "Исходный текст в формате HTML"; + Text[ el ] = "Αρχείο προέλευσης HTML"; + Text[ nl ] = "HTML-brontekst"; + Text[ fr ] = "Texte source HTML"; + Text[ es ] = "Texto fuente HTML"; + Text[ fi ] = "HTML-lähde"; + Text[ ca ] = "Font HTML"; + Text[ it ] = "Testo sorgente HTML"; + Text[ sk ] = "Zdrojový HTML text"; + Text[ da ] = "HTML-kildetekst"; + Text[ sv ] = "HTML-källtext"; + Text[ pl ] = "Tekst źródłowy HTML"; + Text[ pt-BR ] = "Origem HTML"; + Text[ th ] = "แหล่ง HTML "; + Text[ ja ] = "HTML ソーステキスト"; + Text[ ko ] = "HTML 원본"; + Text[ zh-CN ] = "HTML 源文本"; + Text[ zh-TW ] = "HTML 原始檔"; + Text[ tr ] = "HTML kodu"; + Text[ hi-IN ] = "HTML मूल"; + Text[ ar ] = "نص مصدر HTML"; + Text[ he ] = "HTMLקוד "; +}; + +ToolBox RID_TOOLS_TOOLBOX +{ + HelpID = HID_TOOLS_TOOLBOX ; + Border = TRUE ; + SVLook = TRUE ; + Dockable = TRUE ; + Moveable = TRUE ; + Sizeable = TRUE ; + Closeable = TRUE ; + Zoomable = TRUE ; + LineSpacing = TRUE ; + HideWhenDeactivate = TRUE ; + Customize = TRUE ; + MenuStrings = TRUE ; + Scroll = TRUE ; + Align = BOXALIGN_LEFT ; + Hide = TRUE ; + ItemList = + { + ToolBoxItem + { + Identifier = FN_INSERT_CTRL ; + HelpID = HID_INSERT_CTRL ; + DropDown = TRUE ; + }; + ToolBoxItem + { + Type = TOOLBOXITEM_SEPARATOR ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_FIELD_CTRL ; + HelpID = HID_INSERT_FIELD_CTRL ; + DropDown = TRUE ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_OBJ_CTRL ; + HelpID = HID_INSERT_OBJ_CTRL ; + DropDown = TRUE ; + }; + ToolBoxItem + { + ITEM_TOOLBAR_INSERT_DRAW + }; + ToolBoxItem + { + ITEM_FORM_CONFIG + }; + ToolBoxItem + { + Type = TOOLBOXITEM_SEPARATOR ; + }; + ToolBoxItem + { + Identifier = FN_GLOSSARY_DLG ; + HelpID = FN_GLOSSARY_DLG ; + DropDown = TRUE ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_CAPTION; + HelpID = FN_INSERT_CAPTION ; + Hide = TRUE ; + }; + ToolBoxItem + { + Identifier = FN_INSERT_IDX_ENTRY_DLG; + HelpId = FN_INSERT_IDX_ENTRY_DLG; + Hide = TRUE; + }; + ToolBoxItem + { + Identifier = FN_INSERT_REF_FIELD; + HelpID = FN_INSERT_REF_FIELD ; + Hide = TRUE ; + }; + ToolBoxItem + { + Identifier = FN_SHADOWCURSOR ; + HelpID = FN_SHADOWCURSOR ; + }; + ToolBoxItem + { + Type = TOOLBOXITEM_SEPARATOR ; + }; + ToolBoxItem + { + Identifier = FN_SPELLING_DLG ; + HelpID = FN_SPELLING_DLG ; + }; + ToolBoxItem + { + ITEM_TOOLBAR_AUTOSPELL_CHECK + }; + ToolBoxItem + { + Identifier = FN_HYPHENATE_OPT_DLG; + HelpID = FN_HYPHENATE_OPT_DLG; + Hide = TRUE; + }; + ToolBoxItem + { + Identifier = FN_THESAURUS_DLG; + HelpID = FN_THESAURUS_DLG; + Hide = TRUE; + }; + ToolBoxItem + { + Type = TOOLBOXITEM_SEPARATOR ; + }; + ToolBoxItem + { + Identifier = SID_SEARCH_DLG ; + HelpID = SID_SEARCH_DLG ; + }; + ToolBoxItem + { + Identifier = SID_VIEW_DATA_SOURCE_BROWSER ; + HelpID = SID_VIEW_DATA_SOURCE_BROWSER ; + }; + ToolBoxItem + { + Type = TOOLBOXITEM_SEPARATOR ; + }; + ToolBoxItem + { + Identifier = SID_ATTR_ZOOM; + HelpID = SID_ATTR_ZOOM ; + Hide = TRUE; + }; + ToolBoxItem + { + Identifier = FN_VIEW_META_CHARS ; + HelpID = FN_VIEW_META_CHARS ; + }; + ToolBoxItem + { + Identifier = FN_VIEW_FIELDNAME ; + HelpID = FN_VIEW_FIELDNAME ; + Hide = TRUE; + }; + ToolBoxItem + { + Identifier = FN_VIEW_GRAPHIC ; + HelpID = FN_VIEW_GRAPHIC ; + }; + ToolBoxItem + { + Identifier = SID_BROWSER_MODE ; + HelpID = SID_BROWSER_MODE ; + }; + }; +}; +Menu MN_SRCVIEW_POPUPMENU +{ + ItemList = + { + MenuItem + { + ITEM_FORMAT_ATTR_CHAR_FONT + }; + MenuItem + { + ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT + }; + MenuItem + { + Separator = TRUE ; + }; + MenuItem + { + Identifier = SID_SOURCEVIEW ; + HelpID = HID_SOURCEVIEW ; + Text [ de ] = "HTML-Quelltext" ; + Text [ en-US ] = "HTML Source" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Fonte HTML"; + Text[ ru ] = "Исходный текст в формате HTML"; + Text[ el ] = "Κείμενο προέλευσης HTML"; + Text[ nl ] = "HTML-brontekst"; + Text[ fr ] = "Texte source HTML"; + Text[ es ] = "Texto fuente HTML"; + Text[ fi ] = "HTML-lähde"; + Text[ ca ] = "Font HTML"; + Text[ it ] = "Testo sorgente HTML"; + Text[ sk ] = "Zdrojový HTML text"; + Text[ da ] = "HTML-kildetekst"; + Text[ sv ] = "HTML-källtext"; + Text[ pl ] = "Tekst źródłowy HTML"; + Text[ pt-BR ] = "Origem HTML"; + Text[ th ] = "แหล่ง HTML "; + Text[ ja ] = "HTML ソーステキスト"; + Text[ ko ] = "HTML 원본"; + Text[ zh-CN ] = "HTML 源文本"; + Text[ zh-TW ] = "HTML 原始檔"; + Text[ tr ] = "HTML kodu"; + Text[ hi-IN ] = "HTML मूल"; + Text[ ar ] = "نص مصدر HTML"; + Text[ he ] = "HTMLקוד "; + }; + }; +}; diff --git a/binfilter/bf_sw/source/ui/uiview/view.hrc b/binfilter/bf_sw/source/ui/uiview/view.hrc new file mode 100644 index 000000000000..d0e5edd9c258 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uiview/view.hrc @@ -0,0 +1,61 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _VIEW_HRC +#define _VIEW_HRC + +#include "rcid.hrc" + +// BTN ------------------------------------------------------------------- + + +// STR ------------------------------------------------------------------- + +#define STR_NUM_LEVEL (RC_VIEW_BEGIN + 3) + + + +//#define RID_PVIEW_TOOLBOX (RC_VIEW_BEGIN + 15) + + + +#define STR_READONLY_SEL (RC_VIEW_BEGIN + 30) + +#define RID_PVIEW_TOOLBOX (RC_VIEW_BEGIN + 31) +// MSG ------------------------------------------------------------------- + + + +// DLG ------------------------------------------------------------------- + +#define DLG_PAGEPREVIEW_ZOOM (RC_VIEW_BEGIN + 1) + +// Ueberlaufpruefung ----------------------------------------------------- + + + +#endif + diff --git a/binfilter/bf_sw/source/ui/uno/SwXDocumentSettings.hxx b/binfilter/bf_sw/source/ui/uno/SwXDocumentSettings.hxx new file mode 100644 index 000000000000..a356382eea9e --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/SwXDocumentSettings.hxx @@ -0,0 +1,111 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SW_XDOCUMENT_SETTINGS_HXX +#define _SW_XDOCUMENT_SETTINGS_HXX + +#ifdef PRECOMPILED +#endif +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <comphelper/MasterPropertySet.hxx> +#include <com/sun/star/text/XTextDocument.hpp> +#include <com/sun/star/lang/XServiceInfo.hpp> +#include <cppuhelper/implbase5.hxx> +namespace binfilter { + + +class SwXTextDocument; +class SwDocShell; +class SwDoc; +class SfxPrinter; + +class SwXDocumentSettings : + public comphelper::MasterPropertySet, + public ::com::sun::star::lang::XServiceInfo, + public ::com::sun::star::lang::XTypeProvider, + public cppu::OWeakObject +{ +protected: + ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextDocument > mxModel; + SwXTextDocument* mpModel; + SwDocShell* mpDocSh; + SwDoc* mpDoc; + + /** the printer should be set only once; since there are several + * printer-related properties, remember the last printer and set it in + * _postSetValues */ + SfxPrinter* mpPrinter; + + + virtual void _preSetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); + virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); + virtual void _postSetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); + + virtual void _preGetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); + virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ); + virtual void _postGetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); +protected: + virtual ~SwXDocumentSettings() + throw(); +public: + SwXDocumentSettings( SwXTextDocument* pModel ); + + + // XInterface + virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) + throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL acquire( ) + throw (); + virtual void SAL_CALL release( ) + throw (); + + // XServiceInfo + virtual ::rtl::OUString SAL_CALL getImplementationName( ) + throw(::com::sun::star::uno::RuntimeException); + virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) + throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) + throw(::com::sun::star::uno::RuntimeException); + + // XTypeProvider + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw (::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw (::com::sun::star::uno::RuntimeException); +}; +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/SwXPrintPreviewSettings.hxx b/binfilter/bf_sw/source/ui/uno/SwXPrintPreviewSettings.hxx new file mode 100644 index 000000000000..bbc5f2510be2 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/SwXPrintPreviewSettings.hxx @@ -0,0 +1,97 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SW_XPRINTPREVIEWSETTINGS_HXX_ +#define _SW_XPRINTPREVIEWSETTINGS_HXX_ + +#ifdef PRECOMPILED +#endif +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <comphelper/ChainablePropertySet.hxx> +#include <cppuhelper/weak.hxx> +#include <com/sun/star/lang/XServiceInfo.hpp> +namespace binfilter { + +class SwXTextDocument; +class SwDocShell; +class SwDoc; +class SwPagePreViewPrtData; + +class SwXPrintPreviewSettings :public comphelper::ChainablePropertySet, + public cppu::OWeakObject, + public ::com::sun::star::lang::XServiceInfo +{ + friend class SwXDocumentSettings; +protected: + sal_Bool mbPreviewDataChanged; + SwDoc* mpDoc; + SwPagePreViewPrtData *mpPreViewData; + const SwPagePreViewPrtData *mpConstPreViewData; + + virtual void _preSetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); + virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); + virtual void _postSetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); + + virtual void _preGetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); + virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ); + virtual void _postGetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); + virtual ~SwXPrintPreviewSettings() + throw(); +public: + SwXPrintPreviewSettings(SwDoc *pDoc); + + + // XInterface + virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) + throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL acquire( ) + throw (); + virtual void SAL_CALL release( ) + throw (); + + //XServiceInfo + virtual ::rtl::OUString SAL_CALL getImplementationName(void) + throw( ::com::sun::star::uno::RuntimeException ); + virtual sal_Bool SAL_CALL supportsService(const ::rtl::OUString& ServiceName) + throw( ::com::sun::star::uno::RuntimeException ); + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(void) + throw( ::com::sun::star::uno::RuntimeException ); +}; +} //namespace binfilter +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/makefile.mk b/binfilter/bf_sw/source/ui/uno/makefile.mk new file mode 100644 index 000000000000..06dfe5d63c43 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/makefile.mk @@ -0,0 +1,65 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_unoidl + +#GEN_HID=TRUE +#GEN_HID_OTHER=TRUE +NO_HIDS=TRUE +ENABLE_EXCEPTIONS=TRUE + +# --- Settings ----------------------------------------------------- + +#.INCLUDE : $(PRJ)$/inc$/swpre.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +#.INCLUDE : $(PRJ)$/inc$/sw.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SLOFILES = \ + $(SLO)$/sw_RefreshListenerContainer.obj \ + $(SLO)$/sw_SwXDocumentSettings.obj \ + $(SLO)$/sw_SwXFilterOptions.obj\ + $(SLO)$/sw_SwXPrintPreviewSettings.obj \ + $(SLO)$/sw_unodefaults.obj\ + $(SLO)$/sw_unodoc.obj \ + $(SLO)$/sw_unofreg.obj \ + $(SLO)$/sw_unomod.obj \ + $(SLO)$/sw_unotxdoc.obj + +# --- Targets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/uno/sw_RefreshListenerContainer.cxx b/binfilter/bf_sw/source/ui/uno/sw_RefreshListenerContainer.cxx new file mode 100644 index 000000000000..8b88ccd6f09e --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/sw_RefreshListenerContainer.cxx @@ -0,0 +1,63 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <RefreshListenerContainer.hxx> + +#include <com/sun/star/util/XRefreshListener.hpp> +namespace binfilter { + +using namespace ::com::sun::star; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::lang; +using namespace ::com::sun::star::util; + +SwRefreshListenerContainer::SwRefreshListenerContainer( uno::XInterface* pxParent) +: SwEventListenerContainer ( pxParent ) +{ +} + +void SwRefreshListenerContainer::Refreshed () +{ + if(!pListenerArr) + return; + + lang::EventObject aObj(pxParent); + for(sal_uInt16 i = 0, nEnd = pListenerArr->Count(); i < nEnd ; i++) + { + Reference < XRefreshListener > xRefreshListener = Reference < XRefreshListener > ( *pListenerArr->GetObject(i), UNO_QUERY ); + xRefreshListener->refreshed(aObj); + } +} +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/sw_SwXDocumentSettings.cxx b/binfilter/bf_sw/source/ui/uno/sw_SwXDocumentSettings.cxx new file mode 100644 index 000000000000..1a4042959991 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/sw_SwXDocumentSettings.cxx @@ -0,0 +1,682 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <osl/mutex.hxx> + +#include <SwXDocumentSettings.hxx> +#include <SwXPrintPreviewSettings.hxx> +#include <comphelper/MasterPropertySetInfo.hxx> +#include <com/sun/star/i18n/XForbiddenCharacters.hpp> +#include <com/sun/star/document/PrinterIndependentLayout.hpp> + +#include <horiornt.hxx> + +#include <rtl/uuid.h> + +#include <doc.hxx> +#include <docsh.hxx> +#include <chcmprse.hxx> +#include <fldupde.hxx> +#include <linkenum.hxx> +#include <bf_sfx2/printer.hxx> +#include <editsh.hxx> +#include <bf_sfx2/docinf.hxx> +#include <drawdoc.hxx> +#include <bf_svtools/zforlist.hxx> +#include <unotxdoc.hxx> +#include <cmdid.h> +#include <bf_svx/zoomitem.hxx> +#include <comphelper/TypeGeneration.hxx> +#include <unomod.hxx> +#include <vcl/svapp.hxx> +namespace binfilter { + + +using namespace comphelper; +using namespace ::com::sun::star; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::lang; +using namespace ::com::sun::star::i18n; + +using rtl::OUString; + +enum SwDocumentSettingsPropertyHandles +{ + HANDLE_FORBIDDEN_CHARS, + HANDLE_LINK_UPDATE_MODE, + HANDLE_FIELD_AUTO_UPDATE, + HANDLE_CHART_AUTO_UPDATE, + HANDLE_ADD_PARA_TABLE_SPACING, + HANDLE_ADD_PARA_TABLE_SPACING_AT_START, + HANDLE_ALIGN_TAB_STOP_POSITION, + HANDLE_PRINTER_NAME, + HANDLE_PRINTER_SETUP, + HANDLE_IS_KERN_ASIAN_PUNCTUATION, + HANDLE_CHARACTER_COMPRESSION_TYPE, + HANDLE_APPLY_USER_DATA, + HANDLE_SAVE_GLOBAL_DOCUMENT_LINKS, + HANDLE_CURRENT_DATABASE_DATA_SOURCE, + HANDLE_CURRENT_DATABASE_COMMAND, + HANDLE_CURRENT_DATABASE_COMMAND_TYPE, + HANDLE_SAVE_VERSION_ON_CLOSE, + HANDLE_IS_GRID_VISIBLE, + HANDLE_IS_SNAP_TO_GRID, + HANDLE_IS_SYNCHRONISE_AXES, + HANDLE_HORIZONTAL_GRID_RESOLUTION, + HANDLE_HORIZONTAL_GRID_SUBDIVISION, + HANDLE_VERTICAL_GRID_RESOLUTION, + HANDLE_VERTICAL_GRID_SUBDIVISION, + HANDLE_UPDATE_FROM_TEMPLATE, + HANDLE_PRINTER_INDEPENDENT_LAYOUT, + HANDLE_IS_LABEL_DOC, + HANDLE_IS_ADD_FLY_OFFSET +}; + +MasterPropertySetInfo * lcl_createSettingsInfo() +{ + static PropertyInfo aWriterSettingsInfoMap[] = + { + { RTL_CONSTASCII_STRINGPARAM("ForbiddenCharacters"), HANDLE_FORBIDDEN_CHARS, CPPUTYPE_REFFORBCHARS, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("LinkUpdateMode"), HANDLE_LINK_UPDATE_MODE, CPPUTYPE_INT16, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("FieldAutoUpdate"), HANDLE_FIELD_AUTO_UPDATE, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ChartAutoUpdate"), HANDLE_CHART_AUTO_UPDATE, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("AddParaTableSpacing"), HANDLE_ADD_PARA_TABLE_SPACING, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("AddParaTableSpacingAtStart"), HANDLE_ADD_PARA_TABLE_SPACING_AT_START, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("AlignTabStopPosition"), HANDLE_ALIGN_TAB_STOP_POSITION, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("PrinterName"), HANDLE_PRINTER_NAME, CPPUTYPE_OUSTRING, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("PrinterSetup"), HANDLE_PRINTER_SETUP, CPPUTYPE_SEQINT8, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("IsKernAsianPunctuation"), HANDLE_IS_KERN_ASIAN_PUNCTUATION, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("CharacterCompressionType"), HANDLE_CHARACTER_COMPRESSION_TYPE, CPPUTYPE_INT16, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ApplyUserData"), HANDLE_APPLY_USER_DATA, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("SaveGlobalDocumentLinks"), HANDLE_SAVE_GLOBAL_DOCUMENT_LINKS, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("CurrentDatabaseDataSource"), HANDLE_CURRENT_DATABASE_DATA_SOURCE, CPPUTYPE_OUSTRING, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("CurrentDatabaseCommand"), HANDLE_CURRENT_DATABASE_COMMAND, CPPUTYPE_OUSTRING, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("CurrentDatabaseCommandType"), HANDLE_CURRENT_DATABASE_COMMAND_TYPE, CPPUTYPE_INT32, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("SaveVersionOnClose"), HANDLE_SAVE_VERSION_ON_CLOSE, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("UpdateFromTemplate"), HANDLE_UPDATE_FROM_TEMPLATE, CPPUTYPE_BOOLEAN, 0, 0}, + + { RTL_CONSTASCII_STRINGPARAM("PrinterIndependentLayout"), HANDLE_PRINTER_INDEPENDENT_LAYOUT, CPPUTYPE_INT16, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("IsLabelDocument"), HANDLE_IS_LABEL_DOC, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("AddFrameOffsets"), HANDLE_IS_ADD_FLY_OFFSET, CPPUTYPE_BOOLEAN, 0, 0}, +/* + * As OS said, we don't have a view when we need to set this, so I have to + * find another solution before adding them to this property set - MTG + { RTL_CONSTASCII_STRINGPARAM("IsGridVisible"), HANDLE_IS_GRID_VISIBLE, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("IsSnapToGrid"), HANDLE_IS_SNAP_TO_GRID, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("IsSynchroniseAxes"), HANDLE_IS_SYNCHRONISE_AXES, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("HorizontalGridResolution"), HANDLE_HORIZONTAL_GRID_RESOLUTION, CPPUTYPE_INT32, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("HorizontalGridSubdivision"), HANDLE_HORIZONTAL_GRID_SUBDIVISION, CPPUTYPE_INT16, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("VerticalGridResolution"), HANDLE_VERTICAL_GRID_RESOLUTION, CPPUTYPE_INT32, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("VerticalGridSubdivision"), HANDLE_VERTICAL_GRID_SUBDIVISION, CPPUTYPE_INT16, 0, 0}, + + { RTL_CONSTASCII_STRINGPARAM("ShowParagraphEnd"), HANDLE_SHOW_PARAGRAPH_END, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowOptionalHyphens"), HANDLE_SHOW_OPTIONAL_HYPHENS, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowSpaces"), HANDLE_SHOW_SPACES, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowTabs"), HANDLE_SHOW_TABS, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowBreaks"), HANDLE_SHOW_BREAKS, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowHiddenText"), HANDLE_SHOW_HIDDEN_TEXT, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowHiddenParagraphs"), HANDLE_SHOW_HIDDEN_PARAGRAPHS, CPPUTYPE_BOOLEAN, 0, 0}, + + { RTL_CONSTASCII_STRINGPARAM("ShowTextLimitGuide"), HANDLE_SHOW_TEXT_LIMIT_GUIDE, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowTableLimitGuide"), HANDLE_SHOW_TABLE_LIMIT_GUIDE, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowSectionLimitGuide"), HANDLE_SHOW_SECTION_LIMIT_GUIDE, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowGuidesWhileMoving"), HANDLE_SHOW_GUIDES_WHILE_MOVING, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowSimpleHandles"), HANDLE_SHOW_SIMPLE_HANDLES, CPPUTYPE_BOOLEAN, 0, 0}, + { RTL_CONSTASCII_STRINGPARAM("ShowLargeHandles"), HANDLE_SHOW_LARGE_HANDLES, CPPUTYPE_BOOLEAN, 0, 0}, +*/ + { NULL, 0, 0, CPPUTYPE_UNKNOWN, 0, 0 } + }; + return new MasterPropertySetInfo ( aWriterSettingsInfoMap ); +} + +SwXDocumentSettings::SwXDocumentSettings ( SwXTextDocument * pModel ) +: MasterPropertySet ( lcl_createSettingsInfo (), + &Application::GetSolarMutex () ) +, mxModel ( pModel ) +, mpModel ( pModel ) +, mpDocSh ( NULL ) +, mpDoc ( NULL ) +, mpPrinter( NULL ) +{ + registerSlave ( new SwXPrintSettings ( PRINT_SETTINGS_DOCUMENT, mpModel->GetDocShell()->GetDoc() ) ); + registerSlave ( new SwXPrintPreviewSettings ( mpModel->GetDocShell()->GetDoc() ) ); +} + +SwXDocumentSettings::~SwXDocumentSettings() + throw() +{ +} + +Any SAL_CALL SwXDocumentSettings::queryInterface( const Type& rType ) + throw(RuntimeException) +{ + return ::cppu::queryInterface ( rType, + // OWeakObject interfaces + reinterpret_cast< XInterface* > ( this ), + static_cast< XWeak* > ( this ), + // my own interfaces + static_cast< XPropertySet* > ( this ), + static_cast< XPropertyState* > ( this ), + static_cast< XMultiPropertySet* > ( this ), + static_cast< XServiceInfo* > ( this ), + static_cast< XTypeProvider* > ( this ) ); +} +void SwXDocumentSettings::acquire () + throw () +{ + OWeakObject::acquire(); +} +void SwXDocumentSettings::release () + throw () +{ + OWeakObject::release(); +} + +uno::Sequence< uno::Type > SAL_CALL SwXDocumentSettings::getTypes( ) + throw (RuntimeException) +{ + SolarMutexGuard aGuard; + + uno::Sequence< uno::Type > aBaseTypes( 5 ); + uno::Type* pBaseTypes = aBaseTypes.getArray(); + + // from MasterPropertySet + pBaseTypes[0] = ::getCppuType((Reference< XPropertySet >*)0); + pBaseTypes[1] = ::getCppuType((Reference< XPropertyState >*)0); + pBaseTypes[2] = ::getCppuType((Reference< XMultiPropertySet >*)0); + // + pBaseTypes[3] = ::getCppuType((Reference< XServiceInfo >*)0); + pBaseTypes[4] = ::getCppuType((Reference< XTypeProvider >*)0); + + return aBaseTypes; +} + +uno::Sequence< sal_Int8 > SAL_CALL SwXDocumentSettings::getImplementationId( ) + throw (RuntimeException) +{ + SolarMutexGuard aGuard; + static Sequence< sal_Int8 > aId( 16 ); + static sal_Bool bInit = sal_False; + if(!bInit) + { + rtl_createUuid( (sal_uInt8 *)(aId.getArray() ), 0, sal_True ); + bInit = sal_True; + } + return aId; +} + +void SwXDocumentSettings::_preSetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) +{ + mpDocSh = mpModel->GetDocShell(); + mpDoc = mpDocSh->GetDoc(); + + if( NULL == mpDoc || NULL == mpDocSh ) + throw UnknownPropertyException(); + +} +void SwXDocumentSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) +{ + switch( rInfo.mnHandle ) + { + case HANDLE_FORBIDDEN_CHARS: + break; + case HANDLE_LINK_UPDATE_MODE: + { + sal_Int16 nMode; + rValue >>= nMode; + switch (nMode) + { + case NEVER: + case MANUAL: + case AUTOMATIC: + case GLOBALSETTING: + break; + default: + throw IllegalArgumentException(); + } + mpDoc->SetLinkUpdMode(nMode); + } + break; + case HANDLE_FIELD_AUTO_UPDATE: + { + sal_Bool bUpdateField = *(sal_Bool*)rValue.getValue(); + sal_Int16 nFlag = mpDoc->GetFldUpdateFlags(); + mpDoc->SetFldUpdateFlags( bUpdateField ? + nFlag == AUTOUPD_FIELD_AND_CHARTS ? AUTOUPD_FIELD_AND_CHARTS + : AUTOUPD_FIELD_ONLY : AUTOUPD_OFF ); + } + break; + case HANDLE_CHART_AUTO_UPDATE: + { + sal_Bool bUpdateChart = *(sal_Bool*)rValue.getValue(); + sal_Int16 nFlag = mpDoc->GetFldUpdateFlags(); + mpDoc->SetFldUpdateFlags ( (nFlag == AUTOUPD_FIELD_ONLY || nFlag == AUTOUPD_FIELD_AND_CHARTS ) + ? bUpdateChart ? AUTOUPD_FIELD_AND_CHARTS : AUTOUPD_FIELD_ONLY : AUTOUPD_OFF ); + } + break; + case HANDLE_ADD_PARA_TABLE_SPACING: + { + sal_Bool bParaSpace; + rValue >>= bParaSpace; + mpDoc->SetParaSpaceMax( bParaSpace, mpDoc->IsParaSpaceMaxAtPages()); + } + break; + case HANDLE_ADD_PARA_TABLE_SPACING_AT_START: + { + sal_Bool bParaSpacePage; + rValue >>= bParaSpacePage; + mpDoc->SetParaSpaceMax( mpDoc->IsParaSpaceMax(), bParaSpacePage); + } + break; + case HANDLE_ALIGN_TAB_STOP_POSITION: + { + sal_Bool bAlignTab = *(sal_Bool*)rValue.getValue(); + mpDoc->SetTabCompat( bAlignTab ); + } + break; + case HANDLE_PRINTER_NAME: + { + //the printer must be created + OUString sPrinterName; + if( rValue >>= sPrinterName ) + { + if( !mpPrinter && sPrinterName.getLength() > 0 ) + { + SfxPrinter* pPrinter = mpDoc->GetPrt( sal_True ); + if ( OUString ( pPrinter->GetName()) != sPrinterName ) + { + SfxPrinter *pNewPrinter = new SfxPrinter ( pPrinter->GetOptions().Clone(), sPrinterName ); + if( pNewPrinter->IsKnown() ) + { + // set printer only once; in _postSetValues + mpPrinter = pNewPrinter; + } + else + { + delete pNewPrinter; + } + } + } + } + else + throw IllegalArgumentException(); + } + break; + case HANDLE_PRINTER_SETUP: + { + Sequence < sal_Int8 > aSequence; + if ( rValue >>= aSequence ) + { + sal_uInt32 nSize = aSequence.getLength(); + if( nSize > 0 ) + { + SvMemoryStream aStream (aSequence.getArray(), nSize, + STREAM_READ ); + aStream.Seek ( STREAM_SEEK_TO_BEGIN ); + static sal_uInt16 __READONLY_DATA nRange[] = + { + FN_PARAM_ADDPRINTER, FN_PARAM_ADDPRINTER, + SID_HTML_MODE, SID_HTML_MODE, + SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN, + SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC, + 0 + }; + SfxItemSet *pItemSet = new SfxItemSet( mpDoc->GetAttrPool(), nRange ); + SfxPrinter *pPrinter = SfxPrinter::Create ( aStream, pItemSet ); + + // set printer only once; in _postSetValues + delete mpPrinter; + mpPrinter = pPrinter; + } + } + else + throw IllegalArgumentException(); + } + break; + case HANDLE_IS_KERN_ASIAN_PUNCTUATION: + { + sal_Bool bIsKern = *(sal_Bool*)(rValue).getValue(); + mpDoc->SetKernAsianPunctuation( bIsKern ); + SwEditShell* pEditSh = mpDoc->GetEditShell(); + if(pEditSh) + pEditSh->ChgHyphenation(); + } + break; + case HANDLE_CHARACTER_COMPRESSION_TYPE: + { + sal_Int16 nMode; + rValue >>= nMode; + switch (nMode) + { + case CHARCOMPRESS_NONE: + case CHARCOMPRESS_PUNCTUATION: + case CHARCOMPRESS_PUNCTUATION_KANA: + break; + default: + throw IllegalArgumentException(); + } + mpDoc->SetCharCompressType(static_cast < SwCharCompressType > (nMode) ); + } + break; + case HANDLE_APPLY_USER_DATA: + { + SfxDocumentInfo& rInfo = mpDocSh->GetDocInfo(); + sal_Bool bUseUserData = *(sal_Bool*)rValue.getValue(); + rInfo.SetUseUserData(bUseUserData); + } + break; + case HANDLE_SAVE_GLOBAL_DOCUMENT_LINKS: + { + sal_Bool bSaveGlobal = *(sal_Bool*)rValue.getValue(); + mpDoc->SetGlblDocSaveLinks( bSaveGlobal ); + } + break; + case HANDLE_CURRENT_DATABASE_DATA_SOURCE: + { + SwDBData aData = mpDoc->GetDBData(); + if ( rValue >>= aData.sDataSource ) + mpDoc->ChgDBData( aData ); + } + break; + case HANDLE_CURRENT_DATABASE_COMMAND: + { + SwDBData aData = mpDoc->GetDBData(); + if ( rValue >>= aData.sCommand ) + mpDoc->ChgDBData( aData ); + } + break; + case HANDLE_CURRENT_DATABASE_COMMAND_TYPE: + { + SwDBData aData = mpDoc->GetDBData(); + if ( rValue >>= aData.nCommandType ) + mpDoc->ChgDBData( aData ); + } + break; + case HANDLE_SAVE_VERSION_ON_CLOSE: + { + SfxDocumentInfo& rInfo = mpDocSh->GetDocInfo(); + sal_Bool bSaveVersion = *(sal_Bool*)rValue.getValue(); + rInfo.SetSaveVersionOnClose ( bSaveVersion ); + } + break; + case HANDLE_UPDATE_FROM_TEMPLATE: + { + sal_Bool bTmp = *(sal_Bool*)rValue.getValue(); + mpDocSh->GetDocInfo().SetQueryLoadTemplate( bTmp ); + } + break; + case HANDLE_PRINTER_INDEPENDENT_LAYOUT: + { + sal_Int16 nTmp; + rValue >>= nTmp; + mpDoc->SetUseVirtualDevice( nTmp != document::PrinterIndependentLayout::DISABLED ); + } + break; + case HANDLE_IS_LABEL_DOC : + { + sal_Bool bSet; + if(!(rValue >>= bSet)) + throw IllegalArgumentException(); + mpDoc->SetLabelDoc(bSet); + } + break; + case HANDLE_IS_ADD_FLY_OFFSET: + { + sal_Bool bTmp = *(sal_Bool*)rValue.getValue(); + mpDoc->SetAddFlyOffsets( bTmp ); + } + break; + default: + throw UnknownPropertyException(); + } +} + +void SwXDocumentSettings::_postSetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) +{ + // set printer only once, namely here! + if( mpPrinter != NULL ) + mpDoc->SetPrt( mpPrinter, sal_True ); + + mpPrinter = 0; + mpDocSh = 0; + mpDoc = 0; +} + +void SwXDocumentSettings::_preGetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) +{ + mpDocSh = mpModel->GetDocShell(); + mpDoc = mpDocSh->GetDoc(); + if( NULL == mpDoc || NULL == mpDocSh ) + throw UnknownPropertyException(); +} + +void SwXDocumentSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ) +{ + switch( rInfo.mnHandle ) + { + case HANDLE_FORBIDDEN_CHARS: + { + Reference<XForbiddenCharacters> xRet(*mpModel->GetPropertyHelper(), UNO_QUERY); + rValue <<= xRet; + } + break; + case HANDLE_LINK_UPDATE_MODE: + { + rValue <<= static_cast < sal_Int16 > ( mpDoc->GetLinkUpdMode() ); + } + break; + case HANDLE_FIELD_AUTO_UPDATE: + { + sal_uInt16 nFlags = mpDoc->GetFldUpdateFlags(); + BOOL bFieldUpd = (nFlags == AUTOUPD_FIELD_ONLY || nFlags == AUTOUPD_FIELD_AND_CHARTS ); + rValue.setValue(&bFieldUpd, ::getBooleanCppuType()); + } + break; + case HANDLE_CHART_AUTO_UPDATE: + { + sal_uInt16 nFlags = mpDoc->GetFldUpdateFlags(); + BOOL bChartUpd = nFlags == AUTOUPD_FIELD_AND_CHARTS; + rValue.setValue(&bChartUpd, ::getBooleanCppuType()); + } + break; + case HANDLE_ADD_PARA_TABLE_SPACING: + { + sal_Bool bParaSpace = mpDoc->IsParaSpaceMax(); + rValue.setValue(&bParaSpace, ::getBooleanCppuType()); + } + break; + case HANDLE_ADD_PARA_TABLE_SPACING_AT_START: + { + sal_Bool bParaSpace = mpDoc->IsParaSpaceMaxAtPages(); + rValue.setValue(&bParaSpace, ::getBooleanCppuType()); + } + break; + case HANDLE_ALIGN_TAB_STOP_POSITION: + { + sal_Bool bAlignTab = mpDoc->IsTabCompat(); + rValue.setValue(&bAlignTab, ::getBooleanCppuType()); + } + break; + case HANDLE_PRINTER_NAME: + { + SfxPrinter *pPrinter = mpDoc->GetPrt ( sal_False ); + rValue <<= pPrinter ? OUString ( pPrinter->GetName()) : OUString(); + } + break; + case HANDLE_PRINTER_SETUP: + { + SfxPrinter *pPrinter = mpDocSh->GetDoc()->GetPrt ( sal_False ); + if (pPrinter) + { + SvMemoryStream aStream; + pPrinter->Store( aStream ); + aStream.Seek ( STREAM_SEEK_TO_END ); + sal_uInt32 nSize = aStream.Tell(); + aStream.Seek ( STREAM_SEEK_TO_BEGIN ); + Sequence < sal_Int8 > aSequence( nSize ); + aStream.Read ( aSequence.getArray(), nSize ); + rValue <<= aSequence; + } + else + { + Sequence < sal_Int8 > aSequence ( 0 ); + rValue <<= aSequence; + } + } + break; + case HANDLE_IS_KERN_ASIAN_PUNCTUATION: + { + sal_Bool bParaSpace = mpDoc->IsKernAsianPunctuation(); + rValue.setValue(&bParaSpace, ::getBooleanCppuType()); + } + break; + case HANDLE_APPLY_USER_DATA: + { + SfxDocumentInfo &rInfo = mpDocSh->GetDocInfo(); + sal_Bool bUseUserInfo = rInfo.IsUseUserData(); + rValue.setValue(&bUseUserInfo, ::getBooleanCppuType()); + } + break; + case HANDLE_CHARACTER_COMPRESSION_TYPE: + { + rValue <<= static_cast < sal_Int16 > (mpDoc->GetCharCompressType()); + } + break; + case HANDLE_SAVE_GLOBAL_DOCUMENT_LINKS: + { + sal_Bool bSaveGlobal = mpDoc->IsGlblDocSaveLinks(); + rValue.setValue(&bSaveGlobal, ::getBooleanCppuType()); + } + break; + case HANDLE_CURRENT_DATABASE_DATA_SOURCE: + { + const SwDBData& rData = mpDoc->GetDBDesc(); + rValue <<= rData.sDataSource; + } + break; + case HANDLE_CURRENT_DATABASE_COMMAND: + { + const SwDBData& rData = mpDoc->GetDBDesc(); + rValue <<= rData.sCommand; + } + break; + case HANDLE_CURRENT_DATABASE_COMMAND_TYPE: + { + const SwDBData& rData = mpDoc->GetDBDesc(); + rValue <<= rData.nCommandType; + } + break; + case HANDLE_SAVE_VERSION_ON_CLOSE: + { + SfxDocumentInfo& rInfo = mpDocSh->GetDocInfo(); + sal_Bool bSaveVersion = rInfo.IsSaveVersionOnClose(); + rValue.setValue(&bSaveVersion, ::getBooleanCppuType()); + } + break; + case HANDLE_UPDATE_FROM_TEMPLATE: + { + sal_Bool bTmp = mpDocSh->GetDocInfo().IsQueryLoadTemplate(); + rValue.setValue( &bTmp, ::getBooleanCppuType() ); + } + break; + case HANDLE_PRINTER_INDEPENDENT_LAYOUT: + { + sal_Int16 nTmp = mpDoc->IsUseVirtualDevice() + ? document::PrinterIndependentLayout::ENABLED + : document::PrinterIndependentLayout::DISABLED; + rValue <<= nTmp; + } + break; + case HANDLE_IS_LABEL_DOC: + { + sal_Bool bLabel = mpDoc->IsLabelDoc(); + rValue <<= bLabel; + } + break; + case HANDLE_IS_ADD_FLY_OFFSET: + { + sal_Bool bTmp = mpDoc->IsAddFlyOffsets(); + rValue.setValue( &bTmp, ::getBooleanCppuType() ); + } + break; + default: + throw UnknownPropertyException(); + } +} + +void SwXDocumentSettings::_postGetValues () + throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) +{ + mpDocSh = 0; + mpDoc = 0; +} + +// XServiceInfo +OUString SAL_CALL SwXDocumentSettings::getImplementationName( ) + throw(RuntimeException) +{ + return OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.Writer.DocumentSettings")); +} + +sal_Bool SAL_CALL SwXDocumentSettings::supportsService( const OUString& ServiceName ) + throw(RuntimeException) +{ + const Sequence< OUString > aSeq( getSupportedServiceNames() ); + sal_Int32 nCount = aSeq.getLength(); + const OUString* pServices = aSeq.getConstArray(); + while( nCount-- ) + { + if( *pServices++ == ServiceName ) + return sal_True; + } + return sal_True; +} + +Sequence< OUString > SAL_CALL SwXDocumentSettings::getSupportedServiceNames( ) + throw(RuntimeException) +{ + Sequence< OUString > aSeq( 3 ); + aSeq[0] = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.document.Settings") ); + aSeq[1] = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.Writer.Settings") ); + aSeq[2] = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.DocumentSettings") ); + return aSeq; +} + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/sw_SwXFilterOptions.cxx b/binfilter/bf_sw/source/ui/uno/sw_SwXFilterOptions.cxx new file mode 100644 index 000000000000..5048783117ad --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/sw_SwXFilterOptions.cxx @@ -0,0 +1,210 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <SwXFilterOptions.hxx> + +#include <shellio.hxx> +#include <swdll.hxx> +#include <unoprnms.hxx> + +#include <osl/mutex.hxx> +#include <vcl/svapp.hxx> +#include <tools/shl.hxx> +#include <vcl/msgbox.hxx> + +#include <com/sun/star/lang/XUnoTunnel.hpp> +#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> +#include <unotools/ucbstreamhelper.hxx> +#include <unotxdoc.hxx> +#include <com/sun/star/io/XInputStream.hpp> +namespace binfilter { + +using namespace ::com::sun::star; +using namespace ::com::sun::star::ui::dialogs; +using namespace ::com::sun::star::document; +using namespace ::com::sun::star::lang; + +#define SWFILTEROPTIONSOBJ_SERVICE RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ui.dialogs.FilterOptionsDialog") +#define SWFILTEROPTIONSOBJ_IMPLNAME RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.Writer.FilterOptionsDialog") +#define FILTER_OPTIONS_NAME RTL_CONSTASCII_USTRINGPARAM("FilterOptions") +/*-- 2002/06/21 11:01:23--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXFilterOptions::SwXFilterOptions() : + bExport( sal_False ) +{ +} +/*-- 2002/06/21 11:01:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXFilterOptions::~SwXFilterOptions() +{ +} +/*-- 2002/06/21 11:01:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +::rtl::OUString SwXFilterOptions::getImplementationName_Static() +{ + return ::rtl::OUString(SWFILTEROPTIONSOBJ_IMPLNAME); +} +/*-- 2002/06/21 11:01:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +uno::Sequence< ::rtl::OUString> SwXFilterOptions::getSupportedServiceNames_Static() +{ + ::rtl::OUString sService(SWFILTEROPTIONSOBJ_SERVICE); + return uno::Sequence< ::rtl::OUString> (&sService, 1); +} +/*-- 2002/06/21 11:01:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +uno::Sequence< beans::PropertyValue > SwXFilterOptions::getPropertyValues() throw (uno::RuntimeException) +{ + uno::Sequence<beans::PropertyValue> aRet(1); + beans::PropertyValue* pArray = aRet.getArray(); + + pArray[0].Name = ::rtl::OUString( FILTER_OPTIONS_NAME ); + pArray[0].Value <<= sFilterOptions; + + return aRet; +} +/*-- 2002/06/21 11:01:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXFilterOptions::setPropertyValues( const uno::Sequence<beans::PropertyValue >& aProps ) + throw (beans::UnknownPropertyException, beans::PropertyVetoException, + IllegalArgumentException, WrappedTargetException, uno::RuntimeException) +{ + const beans::PropertyValue* pPropArray = aProps.getConstArray(); + long nPropCount = aProps.getLength(); + for (long i = 0; i < nPropCount; i++) + { + const beans::PropertyValue& rProp = pPropArray[i]; + ::rtl::OUString aPropName = rProp.Name; + + if ( aPropName.equalsAscii( SW_PROP_NAME_STR(UNO_NAME_FILTER_NAME) ) ) + rProp.Value >>= sFilterName; + else if ( aPropName == ::rtl::OUString(FILTER_OPTIONS_NAME) ) + rProp.Value >>= sFilterOptions; + else if ( aPropName.equalsAscii( "InputStream" ) ) + rProp.Value >>= xInputStream; + } +} +/*-- 2002/06/21 11:01:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXFilterOptions::setTitle( const ::rtl::OUString& aTitle ) + throw (uno::RuntimeException) +{ +} +/*-- 2002/06/21 11:01:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Int16 SwXFilterOptions::execute() throw (uno::RuntimeException) +{ + sal_Int16 nRet = ui::dialogs::ExecutableDialogResults::CANCEL; + + SvStream* pInStream = NULL; + if ( xInputStream.is() ) + pInStream = ::utl::UcbStreamHelper::CreateStream( xInputStream ); + + uno::Reference< XUnoTunnel > xTunnel(xModel, uno::UNO_QUERY); + SwDocShell* pDocShell = 0; + if(xTunnel.is()) + { + SwXTextDocument* pXDoc = (SwXTextDocument*)xTunnel->getSomething(SwXTextDocument::getUnoTunnelId()); + pDocShell = pXDoc ? pXDoc->GetDocShell() : 0; + } + if(pDocShell) + { + } + + if( pInStream ) + delete pInStream; + + return nRet; +} +/*-- 2002/06/21 11:01:26--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXFilterOptions::setTargetDocument( const uno::Reference< XComponent >& xDoc ) + throw (IllegalArgumentException, uno::RuntimeException) +{ + bExport = sal_False; + xModel = xDoc; +} +/*-- 2002/06/21 11:01:26--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXFilterOptions::setSourceDocument( const uno::Reference<XComponent >& xDoc ) + throw (IllegalArgumentException,uno::RuntimeException) +{ + bExport = sal_True; + xModel = xDoc; +} +/*-- 2002/06/21 11:01:26--------------------------------------------------- + + -----------------------------------------------------------------------*/ +::rtl::OUString SwXFilterOptions::getImplementationName() throw(uno::RuntimeException) +{ + return ::rtl::OUString(SWFILTEROPTIONSOBJ_IMPLNAME); +} +/*-- 2002/06/21 11:01:27--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Bool SwXFilterOptions::supportsService( const ::rtl::OUString& rServiceName ) + throw(uno::RuntimeException) +{ + return rServiceName == ::rtl::OUString(SWFILTEROPTIONSOBJ_SERVICE); +} +/*-- 2002/06/21 11:01:28--------------------------------------------------- + + -----------------------------------------------------------------------*/ +uno::Sequence< ::rtl::OUString > SwXFilterOptions::getSupportedServiceNames() + throw(uno::RuntimeException) +{ + return SwXFilterOptions::getSupportedServiceNames_Static(); +} + + +uno::Reference<uno::XInterface> SAL_CALL SwXFilterOptions_createInstance( + const uno::Reference<lang::XMultiServiceFactory>& ) +{ + SolarMutexGuard aGuard; + SW_DLL()->Load(); // load module + + return (::cppu::OWeakObject*) new SwXFilterOptions; +} + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/sw_SwXPrintPreviewSettings.cxx b/binfilter/bf_sw/source/ui/uno/sw_SwXPrintPreviewSettings.cxx new file mode 100644 index 000000000000..8059a406cb44 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/sw_SwXPrintPreviewSettings.cxx @@ -0,0 +1,379 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifdef _MSC_VER +#pragma hdrstop +#endif +#include <SwXPrintPreviewSettings.hxx> +#include <comphelper/ChainablePropertySetInfo.hxx> +#include <pvprtdat.hxx> +#include <swtypes.hxx> +#include <com/sun/star/beans/PropertyAttribute.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> + +#include <horiornt.hxx> + +#include <doc.hxx> +#include <vcl/svapp.hxx> +namespace binfilter { +using namespace ::com::sun::star; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::lang; +using namespace ::comphelper; +using namespace ::rtl; + +enum SwPrintSettingsPropertyHandles +{ + HANDLE_PRINTSET_PREVIEW_LEFT_MARGIN, + HANDLE_PRINTSET_PREVIEW_RIGHT_MARGIN, + HANDLE_PRINTSET_PREVIEW_TOP_MARGIN, + HANDLE_PRINTSET_PREVIEW_BOTTOM_MARGIN, + HANDLE_PRINTSET_PREVIEW_HORIZONTAL_SPACING, + HANDLE_PRINTSET_PREVIEW_VERTICAL_SPACING, + HANDLE_PRINTSET_PREVIEW_NUM_ROWS, + HANDLE_PRINTSET_PREVIEW_NUM_COLUMNS, + HANDLE_PRINTSET_PREVIEW_LANDSCAPE +}; + +static ChainablePropertySetInfo * lcl_createPrintPreviewSettingsInfo() +{ + static PropertyInfo aPrintPreviewSettingsMap_Impl[] = + { + { RTL_CONSTASCII_STRINGPARAM ( "PreviewPrintLeftMargin" ), HANDLE_PRINTSET_PREVIEW_LEFT_MARGIN, CPPUTYPE_INT32, PropertyAttribute::MAYBEVOID, 0 }, + { RTL_CONSTASCII_STRINGPARAM ( "PreviewPrintRightMargin" ), HANDLE_PRINTSET_PREVIEW_RIGHT_MARGIN, CPPUTYPE_INT32, PropertyAttribute::MAYBEVOID, 0 }, + { RTL_CONSTASCII_STRINGPARAM ( "PreviewPrintTopMargin" ), HANDLE_PRINTSET_PREVIEW_TOP_MARGIN, CPPUTYPE_INT32, PropertyAttribute::MAYBEVOID, 0 }, + { RTL_CONSTASCII_STRINGPARAM ( "PreviewPrintBottomMargin" ),HANDLE_PRINTSET_PREVIEW_BOTTOM_MARGIN, CPPUTYPE_INT32, PropertyAttribute::MAYBEVOID, 0 }, + { RTL_CONSTASCII_STRINGPARAM ( "PreviewPrintHorizontalSpacing" ),HANDLE_PRINTSET_PREVIEW_HORIZONTAL_SPACING, CPPUTYPE_INT32, PropertyAttribute::MAYBEVOID, 0 }, + { RTL_CONSTASCII_STRINGPARAM ( "PreviewPrintVerticalSpacing" ), HANDLE_PRINTSET_PREVIEW_VERTICAL_SPACING, CPPUTYPE_INT32, PropertyAttribute::MAYBEVOID, 0 }, + { RTL_CONSTASCII_STRINGPARAM ( "PreviewPrintNumRows" ), HANDLE_PRINTSET_PREVIEW_NUM_ROWS, CPPUTYPE_INT8, PropertyAttribute::MAYBEVOID, 0 }, + { RTL_CONSTASCII_STRINGPARAM ( "PreviewPrintNumColumns" ), HANDLE_PRINTSET_PREVIEW_NUM_COLUMNS, CPPUTYPE_INT8, PropertyAttribute::MAYBEVOID, 0 }, + { RTL_CONSTASCII_STRINGPARAM ( "PreviewPrintLandscape" ), HANDLE_PRINTSET_PREVIEW_LANDSCAPE, CPPUTYPE_BOOLEAN, PropertyAttribute::MAYBEVOID, 0 }, + { 0, 0, 0, CPPUTYPE_UNKNOWN, 0, 0 } + }; + return new ChainablePropertySetInfo ( aPrintPreviewSettingsMap_Impl ); +} +SwXPrintPreviewSettings::SwXPrintPreviewSettings( SwDoc *pDoc) +: ChainablePropertySet ( lcl_createPrintPreviewSettingsInfo (), &Application::GetSolarMutex() ) +, mbPreviewDataChanged( sal_False ) +, mpDoc( pDoc) +{ +} +/*-- 17.12.98 12:54:05--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXPrintPreviewSettings::~SwXPrintPreviewSettings() + throw() +{ +} + +Any SAL_CALL SwXPrintPreviewSettings::queryInterface( const Type& rType ) + throw(RuntimeException) +{ + return ::cppu::queryInterface ( rType , + // OWeakObject interfaces + reinterpret_cast< XInterface* > ( this ) , + static_cast< XWeak* > ( this ) , + // my own interfaces + static_cast< XServiceInfo* > ( this ) , + static_cast< XPropertySet* > ( this ) , + static_cast< XMultiPropertySet* > ( this ) ); +} +void SwXPrintPreviewSettings::acquire () + throw () +{ + OWeakObject::acquire(); +} +void SwXPrintPreviewSettings::release () + throw () +{ + OWeakObject::release(); +} + +void SwXPrintPreviewSettings::_preSetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + if ( mpDoc ) + { + const SwPagePreViewPrtData *pConstPrtData = mpDoc->GetPreViewPrtData(); + mpPreViewData = new SwPagePreViewPrtData; + if ( pConstPrtData ) + { + mpPreViewData->SetLeftSpace ( pConstPrtData->GetLeftSpace() ); + mpPreViewData->SetRightSpace ( pConstPrtData->GetRightSpace() ); + mpPreViewData->SetTopSpace ( pConstPrtData->GetTopSpace() ); + mpPreViewData->SetBottomSpace ( pConstPrtData->GetBottomSpace() ); + mpPreViewData->SetHorzSpace ( pConstPrtData->GetHorzSpace() ); + mpPreViewData->SetVertSpace ( pConstPrtData->GetVertSpace() ); + mpPreViewData->SetRow ( pConstPrtData->GetRow() ); + mpPreViewData->SetCol ( pConstPrtData->GetCol() ); + mpPreViewData->SetLandscape ( pConstPrtData->GetLandscape() ); + } + } +} + +void SwXPrintPreviewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + switch( rInfo.mnHandle ) + { + case HANDLE_PRINTSET_PREVIEW_LEFT_MARGIN: + { + sal_Int32 nVal; + rValue >>= nVal; + nVal = MM100_TO_TWIP( nVal ); + if ( nVal != static_cast < sal_Int32 > (mpPreViewData->GetLeftSpace() ) ) + { + mbPreviewDataChanged = sal_True; + mpPreViewData->SetLeftSpace( nVal ); + } + } + break; + case HANDLE_PRINTSET_PREVIEW_RIGHT_MARGIN: + { + sal_Int32 nVal; + rValue >>= nVal; + nVal = MM100_TO_TWIP( nVal ); + if ( nVal != static_cast < sal_Int32 > (mpPreViewData->GetRightSpace() ) ) + { + mbPreviewDataChanged = sal_True; + mpPreViewData->SetRightSpace( nVal ); + } + } + break; + case HANDLE_PRINTSET_PREVIEW_TOP_MARGIN: + { + sal_Int32 nVal; + rValue >>= nVal; + nVal = MM100_TO_TWIP( nVal ); + if ( nVal != static_cast < sal_Int32 > ( mpPreViewData->GetTopSpace() ) ) + { + mbPreviewDataChanged = sal_True; + mpPreViewData->SetTopSpace( nVal ); + } + } + break; + case HANDLE_PRINTSET_PREVIEW_BOTTOM_MARGIN: + { + sal_Int32 nVal; + rValue >>= nVal; + nVal = MM100_TO_TWIP( nVal ); + if ( nVal != static_cast < sal_Int32 > ( mpPreViewData->GetBottomSpace() ) ) + { + mbPreviewDataChanged = sal_True; + mpPreViewData->SetBottomSpace( nVal ); + } + } + break; + case HANDLE_PRINTSET_PREVIEW_HORIZONTAL_SPACING: + { + sal_Int32 nVal; + rValue >>= nVal; + nVal = MM100_TO_TWIP( nVal ); + if ( nVal != static_cast < sal_Int32 > ( mpPreViewData->GetHorzSpace() ) ) + { + mbPreviewDataChanged = sal_True; + mpPreViewData->SetHorzSpace( nVal ); + } + } + break; + case HANDLE_PRINTSET_PREVIEW_VERTICAL_SPACING: + { + sal_Int32 nVal; + rValue >>= nVal; + nVal = MM100_TO_TWIP( nVal ); + if ( nVal != static_cast < sal_Int32 > ( mpPreViewData->GetVertSpace() ) ) + { + mbPreviewDataChanged = sal_True; + mpPreViewData->SetVertSpace( nVal ); + } + } + break; + case HANDLE_PRINTSET_PREVIEW_NUM_ROWS: + { + sal_Int8 nVal; + rValue >>= nVal; + if ( nVal != mpPreViewData->GetRow() ) + { + mbPreviewDataChanged = sal_True; + mpPreViewData->SetRow( nVal ); + } + } + break; + case HANDLE_PRINTSET_PREVIEW_NUM_COLUMNS: + { + sal_Int8 nVal; + rValue >>= nVal; + if ( nVal != mpPreViewData->GetCol() ) + { + mbPreviewDataChanged = sal_True; + mpPreViewData->SetCol( nVal ); + } + } + break; + case HANDLE_PRINTSET_PREVIEW_LANDSCAPE: + { + sal_Bool bVal = *(sal_Bool*)rValue.getValue(); + if ( bVal != mpPreViewData->GetLandscape() ) + { + mbPreviewDataChanged = sal_True; + mpPreViewData->SetLandscape ( bVal ); + } + } + break; + default: + throw UnknownPropertyException(); + } +} +void SwXPrintPreviewSettings::_postSetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + if ( mbPreviewDataChanged ) + { + mpDoc->SetPreViewPrtData ( mpPreViewData ); + mbPreviewDataChanged = sal_False; + } + delete mpPreViewData; + mpPreViewData = NULL; +} + +void SwXPrintPreviewSettings::_preGetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + if (mpDoc) + mpConstPreViewData = mpDoc->GetPreViewPrtData(); +} +void SwXPrintPreviewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) + throw(UnknownPropertyException, WrappedTargetException ) +{ + sal_Bool bBool = TRUE; + sal_Bool bBoolVal; + switch( rInfo.mnHandle ) + { + case HANDLE_PRINTSET_PREVIEW_LEFT_MARGIN: + { + bBool = FALSE; + if ( mpConstPreViewData ) + rValue <<= static_cast < sal_Int32 > ( TWIP_TO_MM100 ( mpConstPreViewData->GetLeftSpace() ) ); + } + break; + case HANDLE_PRINTSET_PREVIEW_RIGHT_MARGIN: + { + bBool = FALSE; + if ( mpConstPreViewData ) + rValue <<= static_cast < sal_Int32 > ( TWIP_TO_MM100 ( mpConstPreViewData->GetRightSpace() ) ); + } + break; + case HANDLE_PRINTSET_PREVIEW_TOP_MARGIN: + { + bBool = FALSE; + if ( mpConstPreViewData ) + rValue <<= static_cast < sal_Int32 > ( TWIP_TO_MM100 ( mpConstPreViewData->GetTopSpace() ) ); + } + break; + case HANDLE_PRINTSET_PREVIEW_BOTTOM_MARGIN: + { + bBool = FALSE; + if ( mpConstPreViewData ) + rValue <<= static_cast < sal_Int32 > ( TWIP_TO_MM100 ( mpConstPreViewData->GetBottomSpace() ) ); + } + break; + case HANDLE_PRINTSET_PREVIEW_HORIZONTAL_SPACING: + { + bBool = FALSE; + if ( mpConstPreViewData ) + rValue <<= static_cast < sal_Int32 > ( TWIP_TO_MM100 ( mpConstPreViewData->GetHorzSpace() ) ); + } + break; + case HANDLE_PRINTSET_PREVIEW_VERTICAL_SPACING: + { + bBool = FALSE; + if ( mpConstPreViewData ) + rValue <<= static_cast < sal_Int32 > ( TWIP_TO_MM100 ( mpConstPreViewData->GetVertSpace() ) ); + } + break; + case HANDLE_PRINTSET_PREVIEW_NUM_ROWS: + { + bBool = FALSE; + if ( mpConstPreViewData ) + rValue <<= static_cast < sal_Int8 > ( mpConstPreViewData->GetRow() ); + } + break; + case HANDLE_PRINTSET_PREVIEW_NUM_COLUMNS: + { + bBool = FALSE; + if ( mpConstPreViewData ) + rValue <<= static_cast < sal_Int8 > ( mpConstPreViewData->GetCol() ); + } + break; + case HANDLE_PRINTSET_PREVIEW_LANDSCAPE: + { + if (mpConstPreViewData) + bBoolVal = mpConstPreViewData->GetLandscape(); + else + bBool = FALSE; + } + break; + default: + throw UnknownPropertyException(); + } + if(bBool) + rValue.setValue(&bBoolVal, ::getBooleanCppuType()); +} +void SwXPrintPreviewSettings::_postGetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + mpConstPreViewData = NULL; +} +/* -----------------------------06.04.00 11:02-------------------------------- + + ---------------------------------------------------------------------------*/ +OUString SwXPrintPreviewSettings::getImplementationName(void) throw( RuntimeException ) +{ + return OUString( RTL_CONSTASCII_USTRINGPARAM ( "SwXPrintPreviewSettings" ) ); +} +/* -----------------------------06.04.00 11:02-------------------------------- + + ---------------------------------------------------------------------------*/ +sal_Bool SwXPrintPreviewSettings::supportsService(const OUString& rServiceName) throw( RuntimeException ) +{ + return rServiceName.equalsAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "com.sun.star.text.PrintPreviewSettings") ); +} +/* -----------------------------06.04.00 11:02-------------------------------- + + ---------------------------------------------------------------------------*/ +Sequence< OUString > SwXPrintPreviewSettings::getSupportedServiceNames(void) throw( RuntimeException ) +{ + Sequence< OUString > aRet(1); + OUString* pArray = aRet.getArray(); + pArray[0] = OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.text.PrintPreviewSettings" ) ); + return aRet; +} + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/sw_unodefaults.cxx b/binfilter/bf_sw/source/ui/uno/sw_unodefaults.cxx new file mode 100644 index 000000000000..b921e9ce5c0e --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/sw_unodefaults.cxx @@ -0,0 +1,75 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <unodefaults.hxx> + +#include <bf_svx/svdmodel.hxx> +#include <bf_svx/unoprov.hxx> + +#include <horiornt.hxx> + +#include <doc.hxx> +namespace binfilter { + +/* -----------------------------13.03.01 14:16-------------------------------- + + ---------------------------------------------------------------------------*/ +SwSvxUnoDrawPool::SwSvxUnoDrawPool( SwDoc* pDoc ) throw() : + SvxUnoDrawPool(pDoc->GetDrawModel(), SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER), + m_pDoc(pDoc) +{ +} +/* -----------------------------13.03.01 14:16-------------------------------- + + ---------------------------------------------------------------------------*/ +SwSvxUnoDrawPool::~SwSvxUnoDrawPool() throw() +{ +} +/* -----------------------------13.03.01 14:16-------------------------------- + + ---------------------------------------------------------------------------*/ +SfxItemPool* SwSvxUnoDrawPool::getModelPool( sal_Bool bReadOnly ) throw() +{ + if(m_pDoc) + { + SdrModel* pModel = m_pDoc->MakeDrawModel(); + return &pModel->GetItemPool(); + } + return 0; +} + + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/sw_unodoc.cxx b/binfilter/bf_sw/source/ui/uno/sw_unodoc.cxx new file mode 100644 index 000000000000..341b3e677da7 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/sw_unodoc.cxx @@ -0,0 +1,169 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +// System - Includes ----------------------------------------------------- + +#include <tools/string.hxx> +#include <bf_sfx2/docfac.hxx> + +#include <com/sun/star/lang/XMultiServiceFactory.hpp> + +#include "swmodule.hxx" + +#include <osl/mutex.hxx> +#include <vcl/svapp.hxx> +namespace binfilter { + +using namespace ::com::sun::star; + +//============================================================ +// com.sun.star.comp.Writer.TextDocument + +uno::Sequence< ::rtl::OUString > SAL_CALL SwTextDocument_getSupportedServiceNames() throw() +{ + // useable for component registration only! + uno::Sequence< ::rtl::OUString > aRet ( 1 ); + ::rtl::OUString* pArray = aRet.getArray(); + pArray[0] = ::rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.text.TextDocument" ) ); + + return aRet; +} + +::rtl::OUString SAL_CALL SwTextDocument_getImplementationName() throw() +{ + return ::rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.comp.Writer.TextDocument" ) ); +} + +uno::Reference< uno::XInterface > SAL_CALL SwTextDocument_createInstance( const uno::Reference< lang::XMultiServiceFactory > &rSMgr ) + throw( uno::Exception ) +{ + SolarMutexGuard aGuard; + + // to create the service the SW_MOD should be already initialized + DBG_ASSERT( SW_MOD(), "No StarWriter module!" ); + + if ( SW_MOD() ) + { + ::rtl::OUString aFactoryURL( RTL_CONSTASCII_USTRINGPARAM ( "private:factory/swriter" ) ); + const SfxObjectFactory* pFactory = SfxObjectFactory::GetFactory( aFactoryURL ); + if ( pFactory ) + { + SfxObjectShell* pShell = pFactory->CreateObject(); + if( pShell ) + return uno::Reference< uno::XInterface >( pShell->GetModel() ); + } + } + + return uno::Reference< uno::XInterface >(); +} + +//============================================================ +// com.sun.star.comp.Writer.WebDocument + +uno::Sequence< ::rtl::OUString > SAL_CALL SwWebDocument_getSupportedServiceNames() throw() +{ + // useable for component registration only! + uno::Sequence< ::rtl::OUString > aRet ( 1 ); + ::rtl::OUString* pArray = aRet.getArray(); + pArray[0] = ::rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.text.WebDocument" ) ); + + return aRet; +} + +::rtl::OUString SAL_CALL SwWebDocument_getImplementationName() throw() +{ + return ::rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.comp.Writer.WebDocument" ) ); +} + +uno::Reference< uno::XInterface > SAL_CALL SwWebDocument_createInstance( const uno::Reference< lang::XMultiServiceFactory > &rSMgr ) + throw( uno::Exception ) +{ + SolarMutexGuard aGuard; + + // to create the service the SW_MOD should be already initialized + DBG_ASSERT( SW_MOD(), "No StarWriter module!" ); + + if ( SW_MOD() ) + { + ::rtl::OUString aFactoryURL( RTL_CONSTASCII_USTRINGPARAM ( "private:factory/swriter/web" ) ); + const SfxObjectFactory* pFactory = SfxObjectFactory::GetFactory( aFactoryURL ); + if ( pFactory ) + { + SfxObjectShell* pShell = pFactory->CreateObject(); + if( pShell ) + return uno::Reference< uno::XInterface >( pShell->GetModel() ); + } + } + + return uno::Reference< uno::XInterface >(); +} + +//============================================================ +// com.sun.star.comp.Writer.GlobalDocument + +uno::Sequence< ::rtl::OUString > SAL_CALL SwGlobalDocument_getSupportedServiceNames() throw() +{ + // useable for component registration only! + uno::Sequence< ::rtl::OUString > aRet ( 1 ); + ::rtl::OUString* pArray = aRet.getArray(); + pArray[0] = ::rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.text.GlobalDocument" ) ); + + return aRet; +} + +::rtl::OUString SAL_CALL SwGlobalDocument_getImplementationName() throw() +{ + return ::rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.comp.Writer.GlobalDocument" ) ); +} + +uno::Reference< uno::XInterface > SAL_CALL SwGlobalDocument_createInstance( const uno::Reference< lang::XMultiServiceFactory > &rSMgr ) + throw( uno::Exception ) +{ + SolarMutexGuard aGuard; + + // to create the service the SW_MOD should be already initialized + DBG_ASSERT( SW_MOD(), "No StarWriter module!" ); + + if ( SW_MOD() ) + { + ::rtl::OUString aFactoryURL( RTL_CONSTASCII_USTRINGPARAM ( "private:factory/swriter/GlobalDocument" ) ); + const SfxObjectFactory* pFactory = SfxObjectFactory::GetFactory( aFactoryURL ); + if ( pFactory ) + { + SfxObjectShell* pShell = pFactory->CreateObject(); + if( pShell ) + return uno::Reference< uno::XInterface >( pShell->GetModel() ); + } + } + + return uno::Reference< uno::XInterface >(); +} + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/sw_unofreg.cxx b/binfilter/bf_sw/source/ui/uno/sw_unofreg.cxx new file mode 100644 index 000000000000..0a3eebb72734 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/sw_unofreg.cxx @@ -0,0 +1,323 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#include <string.h> + +#include <com/sun/star/registry/XRegistryKey.hpp> + +#include <osl/diagnose.h> + +#include <cppuhelper/factory.hxx> +#include <uno/lbnames.h> +#include <SwXFilterOptions.hxx> +namespace binfilter { + +using namespace rtl; +using namespace ::com::sun::star; +using namespace ::com::sun::star::lang; + +// writer documents +extern uno::Sequence< OUString > SAL_CALL SwTextDocument_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwTextDocument_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwTextDocument_createInstance( const uno::Reference< XMultiServiceFactory > &rSMgr ) throw( uno::Exception ); +extern uno::Sequence< OUString > SAL_CALL SwWebDocument_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwWebDocument_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwWebDocument_createInstance( const uno::Reference< XMultiServiceFactory > &rSMgr ) throw( uno::Exception ); +extern uno::Sequence< OUString > SAL_CALL SwGlobalDocument_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwGlobalDocument_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwGlobalDocument_createInstance( const uno::Reference< XMultiServiceFactory > &rSMgr ) throw( uno::Exception ); + +// xml import +extern uno::Sequence< OUString > SAL_CALL SwXMLImport_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXMLImport_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXMLImport_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); +extern uno::Sequence< OUString > SAL_CALL SwXMLImportStyles_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXMLImportStyles_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXMLImportStyles_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); +extern uno::Sequence< OUString > SAL_CALL SwXMLImportContent_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXMLImportContent_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXMLImportContent_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); + +extern uno::Sequence< OUString > SAL_CALL SwXMLImportMeta_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXMLImportMeta_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXMLImportMeta_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); + +extern uno::Sequence< OUString > SAL_CALL SwXMLImportSettings_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXMLImportSettings_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXMLImportSettings_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); + +// xml export +extern uno::Sequence< OUString > SAL_CALL SwXMLExport_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXMLExport_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXMLExport_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); +extern uno::Sequence< OUString > SAL_CALL SwXMLExportContent_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXMLExportContent_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXMLExportContent_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); +extern uno::Sequence< OUString > SAL_CALL SwXMLExportStyles_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXMLExportStyles_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXMLExportStyles_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); +extern uno::Sequence< OUString > SAL_CALL SwXMLExportMeta_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXMLExportMeta_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXMLExportMeta_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); +extern uno::Sequence< OUString > SAL_CALL SwXMLExportSettings_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXMLExportSettings_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXMLExportSettings_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); + +extern uno::Sequence< OUString > SAL_CALL SwXModule_getSupportedServiceNames() throw(); +extern OUString SAL_CALL SwXModule_getImplementationName() throw(); +extern uno::Reference< uno::XInterface > SAL_CALL SwXModule_createInstance(const uno::Reference< XMultiServiceFactory > & rSMgr) throw( uno::Exception ); + +// +#ifdef __cplusplus +extern "C" +{ +#endif + +void SAL_CALL component_getImplementationEnvironment( + const sal_Char ** ppEnvTypeName, + uno_Environment ** ppEnv ) +{ + *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; +} + +void SAL_CALL lcl_uno_writeInfo( + registry::XRegistryKey * pRegistryKey, + const OUString& rImplementationName, + const uno::Sequence< OUString >& rServices ) +{ + uno::Reference< registry::XRegistryKey > xNewKey( + pRegistryKey->createKey( + OUString( RTL_CONSTASCII_USTRINGPARAM("/") ) + rImplementationName + OUString(RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES") ) ) ); + + for( sal_Int32 i = 0; i < rServices.getLength(); i++ ) + xNewKey->createKey( rServices.getConstArray()[i]); +} + +sal_Bool SAL_CALL component_writeInfo( + void * pServiceManager, + void * pRegistryKey ) +{ + if( pRegistryKey ) + { + try + { + registry::XRegistryKey *pKey = + reinterpret_cast< registry::XRegistryKey * >( pRegistryKey ); + + + // xml filter + lcl_uno_writeInfo( pKey, SwXMLImport_getImplementationName(), + SwXMLImport_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey, SwXMLImportStyles_getImplementationName(), + SwXMLImportStyles_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey,SwXMLImportContent_getImplementationName(), + SwXMLImportContent_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey, SwXMLImportMeta_getImplementationName(), + SwXMLImportMeta_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey, SwXMLExport_getImplementationName(), + SwXMLExport_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey, SwXMLExportStyles_getImplementationName(), + SwXMLExportStyles_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey,SwXMLExportContent_getImplementationName(), + SwXMLExportContent_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey, SwXMLExportMeta_getImplementationName(), + SwXMLExportMeta_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey, SwXMLExportSettings_getImplementationName(), + SwXMLExportSettings_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey, SwXMLImportSettings_getImplementationName(), + SwXMLImportSettings_getSupportedServiceNames() ); + //Filter options + lcl_uno_writeInfo( pKey, SwXFilterOptions::getImplementationName_Static(), + SwXFilterOptions::getSupportedServiceNames_Static() ); + + // documents + lcl_uno_writeInfo( pKey, SwTextDocument_getImplementationName(), + SwTextDocument_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey, SwWebDocument_getImplementationName(), + SwWebDocument_getSupportedServiceNames() ); + lcl_uno_writeInfo( pKey,SwGlobalDocument_getImplementationName(), + SwGlobalDocument_getSupportedServiceNames() ); + + } + catch (registry::InvalidRegistryException &) + { + OSL_ENSURE( sal_False, "### InvalidRegistryException!" ); + } + } + return sal_True; +} + +void * SAL_CALL component_getFactory( const sal_Char * pImplName, + void * pServiceManager, + void * pRegistryKey ) +{ + void * pRet = 0; + if( pServiceManager ) + { + uno::Reference< XMultiServiceFactory > xMSF( + reinterpret_cast< XMultiServiceFactory * >( pServiceManager ) ); + + uno::Reference< XSingleServiceFactory > xFactory; + + const sal_Int32 nImplNameLen = strlen( pImplName ); + if( SwXMLImport_getImplementationName().equalsAsciiL( pImplName, + nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXMLImport_getImplementationName(), + SwXMLImport_createInstance, + SwXMLImport_getSupportedServiceNames() ); + } + else if( SwXMLImportStyles_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXMLImportStyles_getImplementationName(), + SwXMLImportStyles_createInstance, + SwXMLImportStyles_getSupportedServiceNames() ); + } + else if( SwXMLImportContent_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXMLImportContent_getImplementationName(), + SwXMLImportContent_createInstance, + SwXMLImportContent_getSupportedServiceNames() ); + } + else if( SwXMLImportMeta_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXMLImportMeta_getImplementationName(), + SwXMLImportMeta_createInstance, + SwXMLImportMeta_getSupportedServiceNames() ); + } + else if( SwXMLExport_getImplementationName().equalsAsciiL( pImplName, + nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXMLExport_getImplementationName(), + SwXMLExport_createInstance, + SwXMLExport_getSupportedServiceNames() ); + } + else if( SwXMLExportStyles_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXMLExportStyles_getImplementationName(), + SwXMLExportStyles_createInstance, + SwXMLExportStyles_getSupportedServiceNames() ); + } + else if( SwXMLExportContent_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXMLExportContent_getImplementationName(), + SwXMLExportContent_createInstance, + SwXMLExportContent_getSupportedServiceNames() ); + } + else if( SwXMLExportMeta_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXMLExportMeta_getImplementationName(), + SwXMLExportMeta_createInstance, + SwXMLExportMeta_getSupportedServiceNames() ); + } + else if( SwXMLExportSettings_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXMLExportSettings_getImplementationName(), + SwXMLExportSettings_createInstance, + SwXMLExportSettings_getSupportedServiceNames() ); + } + else if( SwXMLImportSettings_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXMLImportSettings_getImplementationName(), + SwXMLImportSettings_createInstance, + SwXMLImportSettings_getSupportedServiceNames() ); + } + else if( SwXModule_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXModule_getImplementationName(), + SwXModule_createInstance, + SwXModule_getSupportedServiceNames() ); + } + else if( SwXFilterOptions::getImplementationName_Static().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwXFilterOptions::getImplementationName_Static(), + SwXFilterOptions_createInstance, + SwXFilterOptions::getSupportedServiceNames_Static() ); + } + else if( SwTextDocument_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwTextDocument_getImplementationName(), + SwTextDocument_createInstance, + SwTextDocument_getSupportedServiceNames() ); + } + else if( SwWebDocument_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwWebDocument_getImplementationName(), + SwWebDocument_createInstance, + SwWebDocument_getSupportedServiceNames() ); + } + else if( SwGlobalDocument_getImplementationName().equalsAsciiL( + pImplName, nImplNameLen ) ) + { + xFactory = ::cppu::createSingleFactory( xMSF, + SwGlobalDocument_getImplementationName(), + SwGlobalDocument_createInstance, + SwGlobalDocument_getSupportedServiceNames() ); + } + + if( xFactory.is()) + { + xFactory->acquire(); + pRet = xFactory.get(); + } + } + return pRet; +} + +#ifdef __cplusplus +} +#endif +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/sw_unomod.cxx b/binfilter/bf_sw/source/ui/uno/sw_unomod.cxx new file mode 100644 index 000000000000..6b4c468b8f2e --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/sw_unomod.cxx @@ -0,0 +1,814 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <swtypes.hxx> +#include <tools/debug.hxx> +#include <unomod.hxx> + +#include <errhdl.hxx> + +#include <bf_svx/zoomitem.hxx> + +#include <unoobj.hxx> +#include <unoprnms.hxx> +#include <unomap.hxx> +#include <bf_svtools/itemprop.hxx> +#include <prtopt.hxx> +#include <tools/shl.hxx> +#include <swmodule.hxx> +#include <docsh.hxx> + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +#include <viewopt.hxx> +#include <osl/mutex.hxx> +#include <vcl/svapp.hxx> +#include <com/sun/star/text/NotePrintMode.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hdl> +#include <doc.hxx> +#include <comphelper/TypeGeneration.hxx> +#include <com/sun/star/beans/PropertyAttribute.hpp> +#include <comphelper/ChainablePropertySetInfo.hxx> +#include <rtl/ustrbuf.hxx> + +#include "viewopt.hxx" + +namespace binfilter { + +using namespace ::com::sun::star; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::lang; +using namespace ::comphelper; +using ::rtl::OUString; +using ::rtl::OUStringBuffer; + +enum SwViewSettingsPropertyHandles +{ + HANDLE_VIEWSET_ANNOTATIONS, + HANDLE_VIEWSET_BREAKS, + HANDLE_VIEWSET_DRAWINGS, + HANDLE_VIEWSET_FIELD_COMMANDS, + HANDLE_VIEWSET_FOOTNOTE_BACKGROUND, + HANDLE_VIEWSET_GRAPHICS, + HANDLE_VIEWSET_HIDDEN_PARAGRAPHS, + HANDLE_VIEWSET_HIDDEN_TEXT, + HANDLE_VIEWSET_HRULER, + HANDLE_VIEWSET_HSCROLL, + HANDLE_VIEWSET_INDEX_MARK_BACKGROUND, + HANDLE_VIEWSET_ONLINE_LAYOUT, + HANDLE_VIEWSET_PARA_BREAKS, + HANDLE_VIEWSET_PROTECTED_SPACES, + HANDLE_VIEWSET_SOFT_HYPHENS, + HANDLE_VIEWSET_SPACES, + HANDLE_VIEWSET_TABLE_BOUNDARIES, + HANDLE_VIEWSET_TABLES, + HANDLE_VIEWSET_TABSTOPS, + HANDLE_VIEWSET_TEXT_BOUNDARIES, + HANDLE_VIEWSET_TEXT_FIELD_BACKGROUND, + HANDLE_VIEWSET_VRULER, + HANDLE_VIEWSET_VSCROLL, + HANDLE_VIEWSET_SMOOTH_SCROLLING, + HANDLE_VIEWSET_SOLID_MARK_HANDLES, + HANDLE_VIEWSET_ZOOM_TYPE, + HANDLE_VIEWSET_ZOOM, + HANDLE_VIEWSET_PREVENT_TIPS, + HANDLE_VIEWSET_HELP_URL, + HANDLE_VIEWSET_VRULER_RIGHT, + HANDLE_VIEWSET_SHOW_RULER +}; +enum SwPrintSettingsPropertyHandles +{ + HANDLE_PRINTSET_ANNOTATION_MODE, + HANDLE_PRINTSET_BLACK_FONTS, + HANDLE_PRINTSET_CONTROLS, + HANDLE_PRINTSET_DRAWINGS, + HANDLE_PRINTSET_GRAPHICS, + HANDLE_PRINTSET_LEFT_PAGES, + HANDLE_PRINTSET_PAGE_BACKGROUND, + HANDLE_PRINTSET_PROSPECT, + HANDLE_PRINTSET_REVERSED, + HANDLE_PRINTSET_RIGHT_PAGES, + HANDLE_PRINTSET_FAX_NAME, + HANDLE_PRINTSET_PAPER_FROM_SETUP, + HANDLE_PRINTSET_TABLES, + HANDLE_PRINTSET_SINGLE_JOBS +}; + +static ChainablePropertySetInfo * lcl_createViewSettingsInfo() +{ + static PropertyInfo aViewSettingsMap_Impl[] = + { + { RTL_CONSTASCII_STRINGPARAM ( "HelpURL" ), HANDLE_VIEWSET_HELP_URL , CPPUTYPE_OUSTRING, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "IsVertRulerRightAligned"),HANDLE_VIEWSET_VRULER_RIGHT , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PreventHelpTips" ), HANDLE_VIEWSET_PREVENT_TIPS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowAnnotations" ), HANDLE_VIEWSET_ANNOTATIONS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowBreaks"), HANDLE_VIEWSET_BREAKS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowDrawings"), HANDLE_VIEWSET_DRAWINGS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowFieldCommands"), HANDLE_VIEWSET_FIELD_COMMANDS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowFootnoteBackground"),HANDLE_VIEWSET_FOOTNOTE_BACKGROUND , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowGraphics"), HANDLE_VIEWSET_GRAPHICS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowHiddenParagraphs"), HANDLE_VIEWSET_HIDDEN_PARAGRAPHS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowHiddenText"), HANDLE_VIEWSET_HIDDEN_TEXT , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowHoriRuler"), HANDLE_VIEWSET_HRULER , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowHoriScrollBar"), HANDLE_VIEWSET_HSCROLL , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowIndexMarkBackground"),HANDLE_VIEWSET_INDEX_MARK_BACKGROUND, CPPUTYPE_BOOLEAN,PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowOnlineLayout"), HANDLE_VIEWSET_ONLINE_LAYOUT , CPPUTYPE_BOOLEAN, PropertyAttribute::MAYBEVOID, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowParaBreaks"), HANDLE_VIEWSET_PARA_BREAKS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowProtectedSpaces"), HANDLE_VIEWSET_PROTECTED_SPACES , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowRulers"), HANDLE_VIEWSET_SHOW_RULER , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowSoftHyphens"), HANDLE_VIEWSET_SOFT_HYPHENS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowSpaces"), HANDLE_VIEWSET_SPACES , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowTableBoundaries"), HANDLE_VIEWSET_TABLE_BOUNDARIES , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowTables"), HANDLE_VIEWSET_TABLES , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowTabstops"), HANDLE_VIEWSET_TABSTOPS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowTextBoundaries"), HANDLE_VIEWSET_TEXT_BOUNDARIES , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowTextFieldBackground"),HANDLE_VIEWSET_TEXT_FIELD_BACKGROUND, CPPUTYPE_BOOLEAN,PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowVertRuler"), HANDLE_VIEWSET_VRULER , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ShowVertScrollBar"), HANDLE_VIEWSET_VSCROLL , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "SmoothScrolling"), HANDLE_VIEWSET_SMOOTH_SCROLLING , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "SolidMarkHandles"), HANDLE_VIEWSET_SOLID_MARK_HANDLES , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ZoomType"), HANDLE_VIEWSET_ZOOM_TYPE , CPPUTYPE_INT16, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "ZoomValue"), HANDLE_VIEWSET_ZOOM , CPPUTYPE_INT16, PROPERTY_NONE, 0}, + { 0, 0, 0, CPPUTYPE_UNKNOWN, 0, 0 } + }; + return new ChainablePropertySetInfo ( aViewSettingsMap_Impl ); +} +static ChainablePropertySetInfo * lcl_createPrintSettingsInfo() +{ + static PropertyInfo aPrintSettingsMap_Impl[] = + { + { RTL_CONSTASCII_STRINGPARAM ( "PrintAnnotationMode" ), HANDLE_PRINTSET_ANNOTATION_MODE , CPPUTYPE_INT16, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintBlackFonts" ), HANDLE_PRINTSET_BLACK_FONTS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintControls" ), HANDLE_PRINTSET_CONTROLS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintDrawings" ), HANDLE_PRINTSET_DRAWINGS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintGraphics" ), HANDLE_PRINTSET_GRAPHICS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintLeftPages" ), HANDLE_PRINTSET_LEFT_PAGES , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintPageBackground" ), HANDLE_PRINTSET_PAGE_BACKGROUND , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintProspect" ), HANDLE_PRINTSET_PROSPECT , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintReversed" ), HANDLE_PRINTSET_REVERSED , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintRightPages" ), HANDLE_PRINTSET_RIGHT_PAGES , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintFaxName" ), HANDLE_PRINTSET_FAX_NAME , CPPUTYPE_OUSTRING, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintPaperFromSetup" ), HANDLE_PRINTSET_PAPER_FROM_SETUP , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintTables" ), HANDLE_PRINTSET_TABLES , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { RTL_CONSTASCII_STRINGPARAM ( "PrintSingleJobs" ), HANDLE_PRINTSET_SINGLE_JOBS , CPPUTYPE_BOOLEAN, PROPERTY_NONE, 0}, + { 0, 0, 0, CPPUTYPE_UNKNOWN, 0, 0 } + }; + return new ChainablePropertySetInfo ( aPrintSettingsMap_Impl ); +} + +/****************************************************************** + * SwXModule + ******************************************************************/ +/* -----------------30.03.99 15:10------------------- + * + * --------------------------------------------------*/ +Reference< uno::XInterface > SAL_CALL SwXModule_createInstance( + const Reference< XMultiServiceFactory > & rSMgr) throw( Exception ) +{ + static Reference< uno::XInterface > xModule = (cppu::OWeakObject*)new SwXModule();; + return xModule; +} +/* -----------------------------17.04.01 13:11-------------------------------- + + ---------------------------------------------------------------------------*/ +Sequence< OUString > SAL_CALL SwXModule_getSupportedServiceNames() throw() +{ + OUString sService( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.GlobalSettings")); + const Sequence< OUString > aSeq( &sService, 1 ); + return aSeq; +} +/* -----------------------------17.04.01 13:11-------------------------------- + + ---------------------------------------------------------------------------*/ +OUString SAL_CALL SwXModule_getImplementationName() throw() +{ + return OUString( RTL_CONSTASCII_USTRINGPARAM("SwXModule" ) ); +} +/*-- 17.12.98 12:19:01--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXModule::SwXModule() : + pxViewSettings(0), + pxPrintSettings(0) +{ +} +/*-- 17.12.98 12:19:02--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXModule::~SwXModule() +{ + delete pxViewSettings; + delete pxPrintSettings; +} +/*-- 17.12.98 12:19:03--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XPropertySet > SwXModule::getViewSettings(void) throw( uno::RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!pxViewSettings) + { + ((SwXModule*)this)->pxViewSettings = new Reference< XPropertySet > ; + DBG_ERROR("Web oder Text?"); + *pxViewSettings = static_cast < HelperBaseNoState * > ( new SwXViewSettings( sal_False, 0 ) ); + } + return *pxViewSettings; +} +/*-- 17.12.98 12:19:03--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XPropertySet > SwXModule::getPrintSettings(void) throw( uno::RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!pxPrintSettings) + { + ((SwXModule*)this)->pxPrintSettings = new Reference< XPropertySet > ; + DBG_ERROR("Web oder Text?"); + *pxPrintSettings = static_cast < HelperBaseNoState * > ( new SwXPrintSettings ( PRINT_SETTINGS_MODULE ) ); + } + return *pxPrintSettings; +} +/* -----------------------------06.04.00 10:59-------------------------------- + + ---------------------------------------------------------------------------*/ +OUString SwXModule::getImplementationName(void) throw( RuntimeException ) +{ + return SwXModule_getImplementationName(); +} +/* -----------------------------06.04.00 10:59-------------------------------- + + ---------------------------------------------------------------------------*/ +sal_Bool SwXModule::supportsService(const OUString& rServiceName) throw( RuntimeException ) +{ + const Sequence< OUString > aNames = SwXModule_getSupportedServiceNames(); + for(sal_Int32 nService = 0; nService < aNames.getLength(); nService++) + { + if(aNames.getConstArray()[nService] == rServiceName) + return TRUE; + } + return FALSE; +} +/* -----------------------------06.04.00 10:59-------------------------------- + + ---------------------------------------------------------------------------*/ +Sequence< OUString > SwXModule::getSupportedServiceNames(void) throw( RuntimeException ) +{ + return SwXModule_getSupportedServiceNames(); +} + +/****************************************************************** + * SwXPrintSettings + ******************************************************************/ +/*-- 17.12.98 12:54:04--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXPrintSettings::SwXPrintSettings(SwXPrintSettingsType eType, SwDoc* pDoc) +: ChainableHelperNoState ( lcl_createPrintSettingsInfo (), &Application::GetSolarMutex() ) +, meType(eType) +, mpPrtOpt ( NULL ) +, mpDoc ( pDoc ) +{ +} +/*-- 17.12.98 12:54:05--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXPrintSettings::~SwXPrintSettings() + throw() +{ +} + +void SwXPrintSettings::_preSetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + switch (meType) + { + case PRINT_SETTINGS_MODULE: + mpPrtOpt = SW_MOD()->GetPrtOptions( sal_False ); + break; + case PRINT_SETTINGS_WEB: + mpPrtOpt = SW_MOD()->GetPrtOptions( sal_True ); + break; + case PRINT_SETTINGS_DOCUMENT: + { + if (!mpDoc) + throw IllegalArgumentException (); + if ( !mpDoc->GetPrintData() ) + { + mpPrtOpt = new SwPrintData; + mpDoc->SetPrintData ( *mpPrtOpt ); + delete mpPrtOpt; + } + mpPrtOpt = mpDoc->GetPrintData(); + } + break; + } +} + +void SwXPrintSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + sal_Bool bVal; + if ( rInfo.mnHandle != HANDLE_PRINTSET_ANNOTATION_MODE && + rInfo.mnHandle != HANDLE_PRINTSET_FAX_NAME ) + bVal = *(sal_Bool*)rValue.getValue(); + + switch( rInfo.mnHandle ) + { + case HANDLE_PRINTSET_LEFT_PAGES: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintLeftPage(bVal); + } + break; + case HANDLE_PRINTSET_RIGHT_PAGES: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintRightPage(bVal); + } + break; + case HANDLE_PRINTSET_REVERSED: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintReverse(bVal); + } + break; + case HANDLE_PRINTSET_PROSPECT: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintProspect(bVal); + } + break; + case HANDLE_PRINTSET_GRAPHICS: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintGraphic(bVal); + } + break; + case HANDLE_PRINTSET_TABLES: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintTable(bVal); + } + break; + case HANDLE_PRINTSET_DRAWINGS: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintDraw(bVal); + } + break; + case HANDLE_PRINTSET_CONTROLS: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintControl(bVal); + } + break; + case HANDLE_PRINTSET_PAGE_BACKGROUND: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintPageBackground(bVal); + } + break; + case HANDLE_PRINTSET_BLACK_FONTS: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintBlackFont(bVal); + } + break; + case HANDLE_PRINTSET_SINGLE_JOBS: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPrintSingleJobs(bVal); + } + break; + case HANDLE_PRINTSET_PAPER_FROM_SETUP: + { + bVal = *(sal_Bool*)rValue.getValue(); + mpPrtOpt->SetPaperFromSetup(bVal); + } + break; + case HANDLE_PRINTSET_ANNOTATION_MODE: + { + sal_Int16 nVal; + rValue >>= nVal; + if(nVal <= text::NotePrintMode_PAGE_END) + mpPrtOpt->SetPrintPostIts(nVal); + else + throw lang::IllegalArgumentException(); + } + break; + case HANDLE_PRINTSET_FAX_NAME: + { + OUString sString; + if ( rValue >>= sString) + mpPrtOpt->SetFaxName(sString); + else + throw lang::IllegalArgumentException(); + } + break; + default: + throw UnknownPropertyException(); + } +} +void SwXPrintSettings::_postSetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + mpPrtOpt = NULL; +} + +void SwXPrintSettings::_preGetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + switch (meType) + { + case PRINT_SETTINGS_MODULE: + mpPrtOpt = SW_MOD()->GetPrtOptions( sal_False ); + break; + case PRINT_SETTINGS_WEB: + mpPrtOpt = SW_MOD()->GetPrtOptions( sal_True ); + break; + case PRINT_SETTINGS_DOCUMENT: + { + if (!mpDoc) + throw IllegalArgumentException (); + if ( !mpDoc->GetPrintData() ) + { + mpPrtOpt = new SwPrintData; + mpDoc->SetPrintData ( *mpPrtOpt ); + delete mpPrtOpt; + } + mpPrtOpt = mpDoc->GetPrintData(); + } + break; + } +} +void SwXPrintSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) + throw(UnknownPropertyException, WrappedTargetException ) +{ + sal_Bool bBool = TRUE; + sal_Bool bBoolVal; + switch( rInfo.mnHandle ) + { + case HANDLE_PRINTSET_LEFT_PAGES: + bBoolVal = mpPrtOpt->IsPrintLeftPage(); + break; + case HANDLE_PRINTSET_RIGHT_PAGES: + bBoolVal = mpPrtOpt->IsPrintRightPage(); + break; + case HANDLE_PRINTSET_REVERSED: + bBoolVal = mpPrtOpt->IsPrintReverse(); + break; + case HANDLE_PRINTSET_PROSPECT: + bBoolVal = mpPrtOpt->IsPrintProspect(); + break; + case HANDLE_PRINTSET_GRAPHICS: + bBoolVal = mpPrtOpt->IsPrintGraphic(); + break; + case HANDLE_PRINTSET_TABLES: + bBoolVal = mpPrtOpt->IsPrintTable(); + break; + case HANDLE_PRINTSET_DRAWINGS: + bBoolVal = mpPrtOpt->IsPrintDraw(); + break; + case HANDLE_PRINTSET_CONTROLS: + bBoolVal = mpPrtOpt->IsPrintControl(); + break; + case HANDLE_PRINTSET_PAGE_BACKGROUND: + bBoolVal = mpPrtOpt->IsPrintPageBackground(); + break; + case HANDLE_PRINTSET_BLACK_FONTS: + bBoolVal = mpPrtOpt->IsPrintBlackFont(); + break; + case HANDLE_PRINTSET_SINGLE_JOBS: + bBoolVal = mpPrtOpt->IsPrintSingleJobs(); + break; + case HANDLE_PRINTSET_PAPER_FROM_SETUP: + bBoolVal = mpPrtOpt->IsPaperFromSetup(); + break; + case HANDLE_PRINTSET_ANNOTATION_MODE: + { + bBool = FALSE; + rValue <<= static_cast < sal_Int16 > ( mpPrtOpt->GetPrintPostIts() ); + } + break; + case HANDLE_PRINTSET_FAX_NAME : + { + bBool = FALSE; + rValue <<= mpPrtOpt->GetFaxName(); + } + break; + default: + throw UnknownPropertyException(); + } + if(bBool) + rValue.setValue(&bBoolVal, ::getBooleanCppuType()); +} +void SwXPrintSettings::_postGetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + mpPrtOpt = NULL; +} +/* -----------------------------06.04.00 11:02-------------------------------- + + ---------------------------------------------------------------------------*/ +OUString SwXPrintSettings::getImplementationName(void) throw( RuntimeException ) +{ + return C2U("SwXPrintSettings"); +} +/* -----------------------------06.04.00 11:02-------------------------------- + + ---------------------------------------------------------------------------*/ +sal_Bool SwXPrintSettings::supportsService(const OUString& rServiceName) throw( RuntimeException ) +{ + return C2U("com.sun.star.text.PrintSettings") == rServiceName; +} +/* -----------------------------06.04.00 11:02-------------------------------- + + ---------------------------------------------------------------------------*/ +Sequence< OUString > SwXPrintSettings::getSupportedServiceNames(void) throw( RuntimeException ) +{ + Sequence< OUString > aRet(1); + OUString* pArray = aRet.getArray(); + pArray[0] = C2U("com.sun.star.text.PrintSettings"); + return aRet; +} + + +/****************************************************************** + * + ******************************************************************/ +/*-- 18.12.98 11:01:10--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXViewSettings::SwXViewSettings(sal_Bool bWebView, SwView* pVw) +: ChainableHelperNoState( lcl_createViewSettingsInfo (), &Application::GetSolarMutex() ) +, pView(pVw) +, bWeb(bWebView) +, bObjectValid(sal_True) +, mpViewOption ( NULL ) +, mpConstViewOption ( NULL ) +{ + // This property only exists if we have a view (ie, not at the module ) + if ( !pView ) + mpInfo->remove ( OUString ( RTL_CONSTASCII_USTRINGPARAM ( "HelpURL" ) ) ); + +} +/*-- 18.12.98 11:01:10--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXViewSettings::~SwXViewSettings() + throw() +{ + +} +void SwXViewSettings::_preSetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + sal_Bool bApply = sal_True; + sal_Bool bApplyZoom = sal_False; + + const SwViewOption* pVOpt = 0; + pVOpt = SW_MOD()->GetViewOption(bWeb); + + mpViewOption = new SwViewOption (*pVOpt); + mbApplyZoom = sal_False; + if(pView) + mpViewOption->SetStarOneSetting(sal_True); +} +void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + sal_Bool bVal = HANDLE_VIEWSET_ZOOM != rInfo.mnHandle ? + *(sal_Bool*)rValue.getValue() : sal_False; + // the API flag should not be set to the application's view settings + switch( rInfo.mnHandle ) + { + case HANDLE_VIEWSET_SHOW_RULER : mpViewOption->SetViewAnyRuler(bVal); break; + case HANDLE_VIEWSET_HRULER : mpViewOption->SetViewHRuler(bVal); break; + case HANDLE_VIEWSET_VRULER : mpViewOption->SetViewVRuler(bVal);break; + case HANDLE_VIEWSET_VRULER_RIGHT : mpViewOption->SetVRulerRight(bVal);break; + case HANDLE_VIEWSET_HSCROLL : mpViewOption->SetViewHScrollBar(bVal);break; + case HANDLE_VIEWSET_VSCROLL : mpViewOption->SetViewVScrollBar(bVal);break; + case HANDLE_VIEWSET_GRAPHICS : mpViewOption->SetGraphic(bVal);break; + case HANDLE_VIEWSET_TABLES : mpViewOption->SetTable(bVal); break; + case HANDLE_VIEWSET_DRAWINGS : mpViewOption->SetDraw(bVal); break; + case HANDLE_VIEWSET_FIELD_COMMANDS : mpViewOption->SetFldName(bVal); break; + case HANDLE_VIEWSET_ANNOTATIONS : mpViewOption->SetPostIts(bVal); break; + case HANDLE_VIEWSET_INDEX_MARK_BACKGROUND : mpViewOption->SetAppearanceFlag(VIEWOPT_FIELD_SHADINGS, bVal, TRUE); break; + case HANDLE_VIEWSET_FOOTNOTE_BACKGROUND : mpViewOption->SetAppearanceFlag(VIEWOPT_FIELD_SHADINGS, bVal, TRUE); break; + case HANDLE_VIEWSET_TEXT_FIELD_BACKGROUND : mpViewOption->SetAppearanceFlag(VIEWOPT_FIELD_SHADINGS, bVal, TRUE); break; + case HANDLE_VIEWSET_PARA_BREAKS : mpViewOption->SetParagraph(bVal); break; + case HANDLE_VIEWSET_SOFT_HYPHENS : mpViewOption->SetSoftHyph(bVal); break; + case HANDLE_VIEWSET_SPACES : mpViewOption->SetBlank(bVal); break; + case HANDLE_VIEWSET_PROTECTED_SPACES : mpViewOption->SetHardBlank(bVal); break; + case HANDLE_VIEWSET_TABSTOPS : mpViewOption->SetTab(bVal); break; + case HANDLE_VIEWSET_BREAKS : mpViewOption->SetLineBreak(bVal); break; + case HANDLE_VIEWSET_HIDDEN_TEXT : mpViewOption->SetHidden(bVal); break; + case HANDLE_VIEWSET_HIDDEN_PARAGRAPHS : mpViewOption->SetShowHiddenPara(bVal); break; + case HANDLE_VIEWSET_TABLE_BOUNDARIES : mpViewOption->SetAppearanceFlag(VIEWOPT_TABLE_BOUNDARIES, bVal, TRUE); break; + case HANDLE_VIEWSET_TEXT_BOUNDARIES : mpViewOption->SetDocBoundaries(bVal); break; + case HANDLE_VIEWSET_SMOOTH_SCROLLING : mpViewOption->SetSmoothScroll(bVal); break; + case HANDLE_VIEWSET_SOLID_MARK_HANDLES : mpViewOption->SetSolidMarkHdl(bVal); break; + case HANDLE_VIEWSET_PREVENT_TIPS : mpViewOption->SetPreventTips(bVal); break; + break; + case HANDLE_VIEWSET_ZOOM : + { + sal_Int16 nZoom; + if(!(rValue >>= nZoom) || nZoom > 1000 || nZoom < 5) + throw lang::IllegalArgumentException(); + mpViewOption->SetZoom((sal_uInt16)nZoom); + mbApplyZoom = sal_True; + } + break; + case HANDLE_VIEWSET_ZOOM_TYPE: + { + sal_Int16 nZoom; + if(!(rValue >>= nZoom)) + throw IllegalArgumentException(); + SvxZoomType eZoom = (SvxZoomType)USHRT_MAX; + switch(nZoom) + { + case /*DocumentZoomType_OPTIMAL */0: + eZoom = SVX_ZOOM_OPTIMAL; + break; + case /*DocumentZoomType_PAGE_WIDTH */ 1: + eZoom = SVX_ZOOM_PAGEWIDTH; + break; + case /*DocumentZoomType_ENTIRE_PAGE */ 2: + eZoom = SVX_ZOOM_WHOLEPAGE; + break; + case /*DocumentZoomType_BY_VALUE */ 3: + eZoom = SVX_ZOOM_PERCENT; + break; + case /*DocumentZoomType_PAGE_WIDTH_EXACT */ 4: + eZoom = SVX_ZOOM_PAGEWIDTH_NOBORDER; + break; + } + if(eZoom < USHRT_MAX) + { + mpViewOption->SetZoomType( eZoom ); + mbApplyZoom = sal_True; + } + } + break; + case HANDLE_VIEWSET_ONLINE_LAYOUT : + { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); + } + break; + case HANDLE_VIEWSET_HELP_URL : + { + throw UnknownPropertyException(); + } + break; + default: + throw UnknownPropertyException(); + } +} + +void SwXViewSettings::_postSetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + SW_MOD()->ApplyUsrPref( *mpViewOption, pView, pView ? VIEWOPT_DEST_VIEW_ONLY + : bWeb ? VIEWOPT_DEST_WEB + : VIEWOPT_DEST_TEXT ); + delete mpViewOption; + mpViewOption = NULL; +} + +void SwXViewSettings::_preGetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + mpConstViewOption = SW_MOD()->GetViewOption(bWeb); +} + +void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) + throw(UnknownPropertyException, WrappedTargetException ) +{ + sal_Bool bBool = TRUE; + sal_Bool bBoolVal; + switch( rInfo.mnHandle ) + { + case HANDLE_VIEWSET_SHOW_RULER: bBoolVal = mpConstViewOption->IsViewAnyRuler(); break; + case HANDLE_VIEWSET_HRULER : bBoolVal = mpConstViewOption->IsViewHRuler(TRUE); break; + case HANDLE_VIEWSET_VRULER : bBoolVal = mpConstViewOption->IsViewVRuler(TRUE);break; + case HANDLE_VIEWSET_VRULER_RIGHT : bBoolVal = mpConstViewOption->IsVRulerRight();break; + case HANDLE_VIEWSET_HSCROLL: bBoolVal = mpConstViewOption->IsViewHScrollBar();break; + case HANDLE_VIEWSET_VSCROLL: bBoolVal = mpConstViewOption->IsViewVScrollBar();break; + case HANDLE_VIEWSET_GRAPHICS : bBoolVal = mpConstViewOption->IsGraphic();break; + case HANDLE_VIEWSET_TABLES : bBoolVal = mpConstViewOption->IsTable(); break; + case HANDLE_VIEWSET_DRAWINGS : bBoolVal = mpConstViewOption->IsDraw(); break; + case HANDLE_VIEWSET_FIELD_COMMANDS : bBoolVal = mpConstViewOption->IsFldName(); break; + case HANDLE_VIEWSET_ANNOTATIONS : bBoolVal = mpConstViewOption->IsPostIts(); break; + case HANDLE_VIEWSET_INDEX_MARK_BACKGROUND : bBoolVal = SwViewOption::IsFieldShadings(); break; + case HANDLE_VIEWSET_FOOTNOTE_BACKGROUND : bBoolVal = SwViewOption::IsFieldShadings(); break; + case HANDLE_VIEWSET_TEXT_FIELD_BACKGROUND : bBoolVal = SwViewOption::IsFieldShadings(); break; + case HANDLE_VIEWSET_PARA_BREAKS : bBoolVal = mpConstViewOption->IsParagraph(sal_True); break; + case HANDLE_VIEWSET_SOFT_HYPHENS : bBoolVal = mpConstViewOption->IsSoftHyph(); break; + case HANDLE_VIEWSET_SPACES : bBoolVal = mpConstViewOption->IsBlank(sal_True); break; + case HANDLE_VIEWSET_PROTECTED_SPACES : bBoolVal = mpConstViewOption->IsHardBlank(); break; + case HANDLE_VIEWSET_TABSTOPS : bBoolVal = mpConstViewOption->IsTab(sal_True); break; + case HANDLE_VIEWSET_BREAKS : bBoolVal = mpConstViewOption->IsLineBreak(sal_True); break; + case HANDLE_VIEWSET_HIDDEN_TEXT : bBoolVal = mpConstViewOption->IsHidden(); break; + case HANDLE_VIEWSET_HIDDEN_PARAGRAPHS : bBoolVal = mpConstViewOption->IsShowHiddenPara(); break; + case HANDLE_VIEWSET_TABLE_BOUNDARIES : bBoolVal = SwViewOption::IsTableBoundaries(); break; + case HANDLE_VIEWSET_TEXT_BOUNDARIES : bBoolVal = SwViewOption::IsDocBoundaries(); break; + case HANDLE_VIEWSET_SMOOTH_SCROLLING : bBoolVal = mpConstViewOption->IsSmoothScroll(); break; + case HANDLE_VIEWSET_SOLID_MARK_HANDLES : bBoolVal = mpConstViewOption->IsSolidMarkHdl(); break; + case HANDLE_VIEWSET_PREVENT_TIPS : bBoolVal = mpConstViewOption->IsPreventTips(); break; + case HANDLE_VIEWSET_ZOOM : + bBool = FALSE; + rValue <<= (sal_Int16)mpConstViewOption->GetZoom(); + break; + case HANDLE_VIEWSET_ZOOM_TYPE: + { + bBool = FALSE; + sal_Int16 nRet; + switch(mpConstViewOption->GetZoomType()) + { + case SVX_ZOOM_OPTIMAL: + nRet = /*DocumentZoomType_OPTIMAL*/ 0; + break; + case SVX_ZOOM_PAGEWIDTH: + nRet = /*DocumentZoomType_PAGE_WIDTH */1; + break; + case SVX_ZOOM_WHOLEPAGE: + nRet = /*DocumentZoomType_ENTIRE_PAGE */ 2; + break; + case SVX_ZOOM_PERCENT: + nRet = /*DocumentZoomType_BY_VALUE */ 3; + break; + } + rValue <<= nRet; + } + break; + case HANDLE_VIEWSET_ONLINE_LAYOUT: + DBG_BF_ASSERT(0, "STRIP"); + break; + case HANDLE_VIEWSET_HELP_URL : + { + DBG_BF_ASSERT(0, "STRIP"); + } + break; + default: DBG_ERROR("Diese Id gibt's nicht!"); + } + if( bBool ) + rValue.setValue(&bBoolVal, ::getBooleanCppuType()); +} +void SwXViewSettings::_postGetValues () + throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) +{ + mpConstViewOption = NULL; +} + +OUString SwXViewSettings::getImplementationName(void) throw( RuntimeException ) +{ + return C2U("SwXViewSettings"); +} + +sal_Bool SwXViewSettings::supportsService(const OUString& rServiceName) throw( RuntimeException ) +{ + return C2U("com.sun.star.text.ViewSettings") == rServiceName; +} + +Sequence< OUString > SwXViewSettings::getSupportedServiceNames(void) throw( RuntimeException ) +{ + Sequence< OUString > aRet(1); + OUString* pArray = aRet.getArray(); + pArray[0] = C2U("com.sun.star.text.ViewSettings"); + return aRet; +} +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/sw_unotxdoc.cxx b/binfilter/bf_sw/source/ui/uno/sw_unotxdoc.cxx new file mode 100644 index 000000000000..51f0fa6ada6b --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/sw_unotxdoc.cxx @@ -0,0 +1,2945 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <cmdid.h> +#include <swtypes.hxx> + +#include <bf_sfx2/request.hxx> +#include <bf_svtools/intitem.hxx> + +#include <vcl/image.hxx> +#include <vcl/virdev.hxx> +#include <vcl/svapp.hxx> +#include <vcl/settings.hxx> +#include <toolkit/helper/vclunohelper.hxx> +#include <wdocsh.hxx> + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +#include <viewsh.hxx> +#include <pvprtdat.hxx> +#include <swprtopt.hxx> +#include <bf_svtools/stritem.hxx> +#include <unotxdoc.hxx> +#include <bf_svtools/numuno.hxx> +#include <unoobj.hxx> +#include <unosett.hxx> +#include <unocoll.hxx> +#include <unoredlines.hxx> +#include <unosrch.hxx> +#include <toolkit/awt/vclxdevice.hxx> +#include <bf_sfx2/docinf.hxx> +#include <bf_sfx2/objsh.hxx> // SfxObjectShellRef <-> SV_DECL_REF(SfxObjectShell) +#include <unoprnms.hxx> +#include <unostyle.hxx> +#include <unodraw.hxx> +#include <bf_svtools/eitem.hxx> +#include <pagedesc.hxx> +#include <unoprnms.hxx> +#include <unoobj.hxx> +#include <bf_svtools/txtcmp.hxx> +#include <unocrsr.hxx> +#include <unofield.hxx> +#include <unoidx.hxx> +#include <poolfmt.hxx> +#include <globdoc.hxx> +#include <viewopt.hxx> + +#include <bf_sfx2/app.hxx> + +#include <com/sun/star/util/SearchOptions.hpp> +#include <com/sun/star/lang/ServiceNotRegisteredException.hpp> +#include <com/sun/star/util/XNumberFormatsSupplier.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> +#include <com/sun/star/document/RedlineDisplayType.hpp> +#include <com/sun/star/i18n/XForbiddenCharacters.hpp> +#include <com/sun/star/view/XSelectionSupplier.hpp> +#include <com/sun/star/lang/Locale.hpp> +#include <cppuhelper/implbase1.hxx> + +#include <bf_svx/linkmgr.hxx> +#include <bf_svx/unomid.hxx> +#include <bf_svx/unofill.hxx> +#include <bf_svx/unolingu.hxx> +#include <bf_sfx2/progress.hxx> +#include <osl/mutex.hxx> + +#include <swtypes.hxx> +#include <swmodule.hxx> +#include <docstat.hxx> +#ifndef _MODOPT_HXX // +#include <modcfg.hxx> + #endif +#include <ndtxt.hxx> +#include <utlui.hrc> +#include <swcont.hxx> +#include <unodefaults.hxx> +#include <SwXDocumentSettings.hxx> +#include <SwXPrintPreviewSettings.hxx> +#include <doc.hxx> +#include <bf_svx/forbiddencharacterstable.hxx> +#include <bf_svtools/zforlist.hxx> +#include <drawdoc.hxx> +#include <SwStyleNameMapper.hxx> +#include <osl/file.hxx> +namespace binfilter { + +using namespace ::com::sun::star; +using namespace ::com::sun::star::text; +using namespace ::com::sun::star::i18n; +using namespace ::com::sun::star::util; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::lang; +using namespace ::com::sun::star::container; +using namespace ::com::sun::star::document; +using namespace ::com::sun::star::i18n; +using ::rtl::OUString; +using ::osl::FileBase; + +#if defined(MACOSX) && ( __GNUC__ < 3 ) +static cppu::ClassData27 cppu::ImplHelper27::s_aCD; +static cppu::ClassData27 cppu::WeakImplHelper27::s_aCD; +#endif + +/* -----------------------------17.01.01 15:43-------------------------------- + + ---------------------------------------------------------------------------*/ +#define SW_CREATE_DASH_TABLE 0x01 +#define SW_CREATE_GRADIENT_TABLE 0x02 +#define SW_CREATE_HATCH_TABLE 0x03 +#define SW_CREATE_BITMAP_TABLE 0x04 +#define SW_CREATE_TRANSGRADIENT_TABLE 0x05 +#define SW_CREATE_MARKER_TABLE 0x06 +#define SW_CREATE_DRAW_DEFAULTS 0x07 + + +/****************************************************************************** + * + ******************************************************************************/ +SwTxtFmtColl *lcl_GetParaStyle(const String& rCollName, SwDoc* pDoc) +{ + SwTxtFmtColl* pColl = pDoc->FindTxtFmtCollByName( rCollName ); + if( !pColl ) + { + sal_uInt16 nId = SwStyleNameMapper::GetPoolIdFromUIName( rCollName, GET_POOLID_TXTCOLL ); + if( USHRT_MAX != nId ) + pColl = pDoc->GetTxtCollFromPool( nId ); + } + return pColl; +} +/* -----------------------------10.03.00 18:02-------------------------------- + + ---------------------------------------------------------------------------*/ +const Sequence< sal_Int8 > & SwXTextDocument::getUnoTunnelId() +{ + static Sequence< sal_Int8 > aSeq = ::binfilter::CreateUnoTunnelId(); + return aSeq; +} +/* -----------------------------10.03.00 18:04-------------------------------- + + ---------------------------------------------------------------------------*/ +sal_Int64 SAL_CALL SwXTextDocument::getSomething( const Sequence< sal_Int8 >& rId ) + throw(RuntimeException) +{ + if( rId.getLength() == 16 + && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), + rId.getConstArray(), 16 ) ) + { + return (sal_Int64)this; + } + else + { + GetNumberFormatter(); + Any aNumTunnel = xNumFmtAgg->queryAggregation(::getCppuType((Reference<XUnoTunnel>*)0)); + Reference<XUnoTunnel> xNumTunnel; + aNumTunnel >>= xNumTunnel; + if(xNumTunnel.is()) + return xNumTunnel->getSomething(rId); + } + return 0; +} +/* -----------------------------16.03.00 14:12-------------------------------- + + ---------------------------------------------------------------------------*/ +Any SAL_CALL SwXTextDocument::queryInterface( const uno::Type& rType ) throw(RuntimeException) +{ + Any aRet = SwXTextDocumentBaseClass::queryInterface(rType); + if(aRet.getValueType() == getVoidCppuType()) + aRet = SfxBaseModel::queryInterface(rType); + if(aRet.getValueType() == getVoidCppuType() && + rType == ::getCppuType((Reference<lang::XMultiServiceFactory>*)0)) + { + Reference<lang::XMultiServiceFactory> xTmp = this; + aRet <<= xTmp; + } + if(aRet.getValueType() == getVoidCppuType()) + { + GetNumberFormatter(); + if(xNumFmtAgg.is()) + aRet = xNumFmtAgg->queryAggregation(rType); + } + return aRet; +} +/* -----------------------------16.03.00 14:12-------------------------------- + + ---------------------------------------------------------------------------*/ +void SAL_CALL SwXTextDocument::acquire()throw() +{ + SfxBaseModel::acquire(); +} +/* -----------------------------16.03.00 14:12-------------------------------- + + ---------------------------------------------------------------------------*/ +void SAL_CALL SwXTextDocument::release()throw() +{ + SfxBaseModel::release(); +} +/* -----------------------------07.12.00 11:37-------------------------------- + + ---------------------------------------------------------------------------*/ +Reference< XAdapter > SwXTextDocument::queryAdapter( ) throw(RuntimeException) +{ + return SfxBaseModel::queryAdapter(); +} +/* -----------------------------16.03.00 14:12-------------------------------- + + ---------------------------------------------------------------------------*/ +Sequence< uno::Type > SAL_CALL SwXTextDocument::getTypes() throw(RuntimeException) +{ + Sequence< uno::Type > aBaseTypes = SfxBaseModel::getTypes(); + Sequence< uno::Type > aTextTypes = SwXTextDocumentBaseClass::getTypes(); + + Sequence< uno::Type > aNumTypes; + GetNumberFormatter(); + if(xNumFmtAgg.is()) + { + const uno::Type& rProvType = ::getCppuType((Reference <XTypeProvider>*)0); + Any aNumProv = xNumFmtAgg->queryAggregation(rProvType); + Reference<XTypeProvider> xNumProv; + if(aNumProv >>= xNumProv) + { + aNumTypes = xNumProv->getTypes(); + } + } + long nIndex = aBaseTypes.getLength(); + // don't forget the ::com::sun::star::lang::XMultiServiceFactory + aBaseTypes.realloc(aBaseTypes.getLength() + aTextTypes.getLength() + aNumTypes.getLength() + 1); + uno::Type* pBaseTypes = aBaseTypes.getArray(); + const uno::Type* pTextTypes = aTextTypes.getConstArray(); + long nPos; + for(nPos = 0; nPos < aTextTypes.getLength(); nPos++) + { + pBaseTypes[nIndex++] = pTextTypes[nPos]; + } + const uno::Type* pNumTypes = aNumTypes.getConstArray(); + for(nPos = 0; nPos < aNumTypes.getLength(); nPos++) + { + pBaseTypes[nIndex++] = pNumTypes[nPos]; + } + pBaseTypes[nIndex++] = ::getCppuType((Reference<lang::XMultiServiceFactory>*)0); + return aBaseTypes; +} +/*-- 18.12.98 11:52:59--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXTextDocument::SwXTextDocument(SwDocShell* pShell) : + SfxBaseModel(pShell), + aPropSet(aSwMapProvider.GetPropertyMap(PROPERTY_MAP_TEXT_DOCUMENT)), + aRefreshCont ( static_cast < XTextDocument* > ( this ) ), + pDocShell(pShell), + bObjectValid(pShell != 0), + pxXTextTables(0), + pxXTextFrames(0), + pxXGraphicObjects(0), + pxXEmbeddedObjects(0), + pxXTextSections(0), + pxXBookmarks(0), + pxXTextFieldTypes(0), + pxXTextFieldMasters(0), + pxXFootnotes(0), + pxXEndnotes(0), + pxXFootnoteSettings(0), + pxXEndnoteSettings(0), + pxXDocumentIndexes(0), + pxXStyleFamilies(0), + pxXChapterNumbering(0), + pxXLineNumberingProperties(0), + pDrawPage(0), + pxXDrawPage(0), + pxXReferenceMarks(0), + pxLinkTargetSupplier(0), + pxXRedlines(0) +{ +} +/*-- 18.12.98 11:53:00--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXTextDocument::~SwXTextDocument() +{ + InitNewDoc(); + if(xNumFmtAgg.is()) + { + Reference< XInterface > x0; + xNumFmtAgg->setDelegator(x0); + xNumFmtAgg = 0; + } +} +/*-- 18.12.98 11:55:08--------------------------------------------------- + + -----------------------------------------------------------------------*/ +/* -----------------18.12.98 12:49------------------- + * + * --------------------------------------------------*/ +SwXDocumentPropertyHelper * SwXTextDocument::GetPropertyHelper () +{ + if(!xPropertyHelper.is()) + { + pPropertyHelper = new SwXDocumentPropertyHelper(*pDocShell->GetDoc()); + xPropertyHelper = (cppu::OWeakObject*)pPropertyHelper; + } + return pPropertyHelper; +} +void SwXTextDocument::GetNumberFormatter() +{ + if(IsValid()) + { + if(!xNumFmtAgg.is()) + { + if ( pDocShell->GetDoc() ) + { + SvNumberFormatsSupplierObj* pNumFmt = new SvNumberFormatsSupplierObj( + pDocShell->GetDoc()->GetNumberFormatter( sal_True )); + Reference< util::XNumberFormatsSupplier > xTmp = pNumFmt; + xNumFmtAgg = Reference< XAggregation >(xTmp, UNO_QUERY); + } + if(xNumFmtAgg.is()) + xNumFmtAgg->setDelegator((cppu::OWeakObject*)(SwXTextDocumentBaseClass*)this); + } + else + { + const uno::Type& rTunnelType = ::getCppuType((Reference <XUnoTunnel>*)0); + Any aNumTunnel = xNumFmtAgg->queryAggregation(rTunnelType); + SvNumberFormatsSupplierObj* pNumFmt = 0; + Reference< XUnoTunnel > xNumTunnel; + if(aNumTunnel >>= xNumTunnel) + { + pNumFmt = (SvNumberFormatsSupplierObj*) + xNumTunnel->getSomething(SvNumberFormatsSupplierObj::getUnoTunnelId()); + + } + DBG_ASSERT(pNumFmt, "No number formatter available"); + if(!pNumFmt->GetNumberFormatter()) + pNumFmt->SetNumberFormatter(pDocShell->GetDoc()->GetNumberFormatter( sal_True )); + } + } +} +/*-- 18.12.98 11:55:11--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XText > SwXTextDocument::getText(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!xBodyText.is()) + { + pBodyText = new SwXBodyText(pDocShell->GetDoc()); + xBodyText = pBodyText; + } + return xBodyText; +} +/*-- 18.12.98 11:55:11--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::reformat(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); +} +/*-- 18.12.98 11:55:16--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::lockControllers(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(IsValid()) + { + UnoActionContext* pContext = new UnoActionContext(pDocShell->GetDoc()); + aActionArr.Insert(pContext, 0); + } + else + throw RuntimeException(); +} +/*-- 18.12.98 11:55:16--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::unlockControllers(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(aActionArr.Count()) + { + UnoActionContext* pContext = aActionArr.GetObject(0); + aActionArr.Remove(0); + delete pContext; + } + else + throw RuntimeException(); +} +/*-- 18.12.98 11:55:17--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Bool SwXTextDocument::hasControllersLocked(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + return aActionArr.Count() > 0; +} +/*-- 18.12.98 13:12:23--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< frame::XController > SwXTextDocument::getCurrentController(void) throw( RuntimeException ) +{ + return Reference< frame::XController >(); +} +/*-- 18.12.98 13:12:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::setCurrentController(const Reference< frame::XController > & xController) + throw( NoSuchElementException, RuntimeException ) +{ +} + +/* -----------------27.01.99 11:48------------------- + * + * --------------------------------------------------*/ +Reference< XInterface > SwXTextDocument::getCurrentSelection() throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + Reference< XInterface > xRef; + return xRef; +} + +/*-- 18.12.98 13:12:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Bool SwXTextDocument::attachResource(const OUString& aURL, const Sequence< beans::PropertyValue >& aArgs) + throw( RuntimeException ) +{ + return SfxBaseModel::attachResource(aURL, aArgs); +} +/*-- 18.12.98 13:12:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +OUString SwXTextDocument::getURL(void) throw( RuntimeException ) +{ + return SfxBaseModel::getURL(); +} +/*-- 18.12.98 13:12:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Sequence< beans::PropertyValue > SwXTextDocument::getArgs(void) throw( RuntimeException ) +{ + return SfxBaseModel::getArgs(); +} +/*-- 18.12.98 13:12:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::connectController(const Reference< frame::XController > & xController) throw( RuntimeException ) +{ + SfxBaseModel::connectController(xController); +} +/*-- 18.12.98 13:12:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::disconnectController(const Reference< frame::XController > & xController) throw( RuntimeException ) +{ + SfxBaseModel::disconnectController(xController); +} +/*-- 18.12.98 13:12:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::dispose(void) throw( RuntimeException ) +{ + SfxBaseModel::dispose(); +} +/*-- 18.12.98 13:12:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::addEventListener(const Reference< lang::XEventListener > & aListener) throw( RuntimeException ) +{ + SfxBaseModel::addEventListener(aListener); +} +/*-- 18.12.98 13:12:26--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::removeEventListener(const Reference< lang::XEventListener > & aListener) throw( RuntimeException ) +{ + SfxBaseModel::removeEventListener(aListener); +} + +/*-- 18.12.98 11:55:19--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XPropertySet > SwXTextDocument::getLineNumberingProperties(void) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(IsValid()) + { + if(!pxXLineNumberingProperties) + { + pxXLineNumberingProperties = new Reference<XPropertySet>; + (*pxXLineNumberingProperties) = new SwXLineNumberingProperties(pDocShell->GetDoc()); + } + } + else + throw RuntimeException(); + return *pxXLineNumberingProperties; +} +/*-- 18.12.98 11:55:20--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XIndexReplace > SwXTextDocument::getChapterNumberingRules(void) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXChapterNumbering) + { + pxXChapterNumbering = new Reference< XIndexReplace > ; + *pxXChapterNumbering = new SwXChapterNumbering(*pDocShell); + } + return *pxXChapterNumbering; +} +/*-- 18.12.98 11:55:21--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XIndexAccess > SwXTextDocument::getFootnotes(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXFootnotes) + { + ((SwXTextDocument*)this)->pxXFootnotes = new Reference< XIndexAccess > ; + *pxXFootnotes = new SwXFootnotes(sal_False, pDocShell->GetDoc()); + } + return *pxXFootnotes; +} +/*-- 18.12.98 11:55:21--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XPropertySet > SAL_CALL + SwXTextDocument::getFootnoteSettings(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXFootnoteSettings) + { + ((SwXTextDocument*)this)->pxXFootnoteSettings = new Reference< XPropertySet > ; + *pxXFootnoteSettings = new SwXFootnoteProperties(pDocShell->GetDoc()); + } + return *pxXFootnoteSettings; +} +/*-- 18.12.98 11:55:21--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XIndexAccess > SwXTextDocument::getEndnotes(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXEndnotes) + { + ((SwXTextDocument*)this)->pxXEndnotes = new Reference< XIndexAccess > ; + *pxXEndnotes = new SwXFootnotes(sal_True, pDocShell->GetDoc()); + } + return *pxXEndnotes; +} +/*-- 18.12.98 11:55:22--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XPropertySet > SwXTextDocument::getEndnoteSettings(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXEndnoteSettings) + { + ((SwXTextDocument*)this)->pxXEndnoteSettings = new Reference< XPropertySet > ; + *pxXEndnoteSettings = new SwXEndnoteProperties(pDocShell->GetDoc()); + } + return *pxXEndnoteSettings; +} +/*-- 18.12.98 11:55:22--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< util::XReplaceDescriptor > SwXTextDocument::createReplaceDescriptor(void) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + Reference< util::XReplaceDescriptor > xRet = new SwXTextSearch; + return xRet; +} +/* -----------------26.02.99 15:52------------------- + * + * --------------------------------------------------*/ +SwUnoCrsr* SwXTextDocument::CreateCursorForSearch(Reference< XTextCursor > & xCrsr) +{ + getText(); + XText* pText = xBodyText.get(); + SwXBodyText* pBText = (SwXBodyText*)pText; + xCrsr = pBText->CreateTextCursor(sal_True); + + Reference<XUnoTunnel> xRangeTunnel( xCrsr, UNO_QUERY); + SwXTextCursor* pxUnoCrsr = 0; + if(xRangeTunnel.is()) + { + pxUnoCrsr = (SwXTextCursor*)xRangeTunnel->getSomething( + SwXTextCursor::getUnoTunnelId()); + } + + sal_uInt32 nResult = 0; + SwUnoCrsr* pUnoCrsr = pxUnoCrsr->GetCrsr(); + pUnoCrsr->SetRemainInSection(sal_False); + return pUnoCrsr; +} + +/*-- 18.12.98 11:55:22--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Int32 SwXTextDocument::replaceAll(const Reference< util::XSearchDescriptor > & xDesc) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + Reference< XUnoTunnel > xDescTunnel(xDesc, UNO_QUERY); + if(!IsValid() || !xDescTunnel.is() || !xDescTunnel->getSomething(SwXTextSearch::getUnoTunnelId())) + throw RuntimeException(); + + Reference< XTextCursor > xCrsr; + SwUnoCrsr* pUnoCrsr = CreateCursorForSearch(xCrsr); + + const SwXTextSearch* pSearch = (const SwXTextSearch*) + xDescTunnel->getSomething(SwXTextSearch::getUnoTunnelId()); + + sal_Bool bBackward = sal_False; + int eRanges(FND_IN_BODY|FND_IN_SELALL); + + SearchOptions aSearchOpt; + pSearch->FillSearchOptions( aSearchOpt ); + + SwDocPositions eStart = pSearch->bBack ? DOCPOS_END : DOCPOS_START; + SwDocPositions eEnd = pSearch->bBack ? DOCPOS_START : DOCPOS_END; + + // Suche soll ueberall stattfinden + pUnoCrsr->SetRemainInSection(sal_False); + sal_uInt32 nResult; + UnoActionContext aContext(pDocShell->GetDoc()); + //try attribute search first + if(pSearch->HasSearchAttributes()||pSearch->HasReplaceAttributes()) + { + SfxItemSet aSearch(pDocShell->GetDoc()->GetAttrPool(), + RES_CHRATR_BEGIN, RES_CHRATR_END-1, + RES_PARATR_BEGIN, RES_PARATR_END-1, + RES_FRMATR_BEGIN, RES_FRMATR_END-1, + 0); + SfxItemSet aReplace(pDocShell->GetDoc()->GetAttrPool(), + RES_CHRATR_BEGIN, RES_CHRATR_END-1, + RES_PARATR_BEGIN, RES_PARATR_END-1, + RES_FRMATR_BEGIN, RES_FRMATR_END-1, + 0); + pSearch->FillSearchItemSet(aSearch); + pSearch->FillReplaceItemSet(aReplace); + BOOL bCancel; + nResult = (sal_Int32)pUnoCrsr->Find( aSearch, !pSearch->bStyles, + eStart, eEnd, bCancel, + (FindRanges)eRanges, + pSearch->sSearchText.Len() ? &aSearchOpt : 0, + &aReplace ); + } + else if(pSearch->bStyles) + { + SwTxtFmtColl *pSearchColl = lcl_GetParaStyle(pSearch->sSearchText, pUnoCrsr->GetDoc()); + SwTxtFmtColl *pReplaceColl = lcl_GetParaStyle(pSearch->sReplaceText, pUnoCrsr->GetDoc());; + + BOOL bCancel; + nResult = pUnoCrsr->Find( *pSearchColl, + eStart, eEnd, bCancel, + (FindRanges)eRanges, pReplaceColl ); + + } + else + { + BOOL bCancel; + nResult = pUnoCrsr->Find( aSearchOpt, + eStart, eEnd, bCancel, + (FindRanges)eRanges, + sal_True ); + } + return (sal_Int32)nResult; + +} +/*-- 18.12.98 11:55:22--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< util::XSearchDescriptor > SwXTextDocument::createSearchDescriptor(void) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + Reference< util::XSearchDescriptor > xRet = new SwXTextSearch; + return xRet; + +} +/* -----------------26.02.99 16:08------------------- + * wird fuer findAll/First/Next verwendet + * --------------------------------------------------*/ +SwUnoCrsr* SwXTextDocument::FindAny(const Reference< util::XSearchDescriptor > & xDesc, + Reference< XTextCursor > & xCrsr, sal_Bool bAll, + sal_Int32& nResult, + Reference< XInterface > xLastResult) +{ + Reference< XUnoTunnel > xDescTunnel(xDesc, UNO_QUERY); + if(!IsValid() || !xDescTunnel.is() || !xDescTunnel->getSomething(SwXTextSearch::getUnoTunnelId())) + return 0; + + SwUnoCrsr* pUnoCrsr = CreateCursorForSearch(xCrsr); + const SwXTextSearch* pSearch = (const SwXTextSearch*) + xDescTunnel->getSomething(SwXTextSearch::getUnoTunnelId()); + + sal_Bool bParentInExtra = sal_False; + if(xLastResult.is()) + { + Reference<XUnoTunnel> xCursorTunnel( xLastResult, UNO_QUERY); + OTextCursorHelper* pPosCrsr = 0; + if(xCursorTunnel.is()) + { + pPosCrsr = (OTextCursorHelper*)xCursorTunnel->getSomething( + OTextCursorHelper::getUnoTunnelId()); + } + SwPaM* pCrsr = pPosCrsr ? pPosCrsr->GetPaM() : 0; + if(pCrsr) + { + *pUnoCrsr->GetPoint() = *pCrsr->End(); + pUnoCrsr->DeleteMark(); + } + else + { + SwXTextRange* pRange = 0; + if(xCursorTunnel.is()) + { + pRange = (SwXTextRange*)xCursorTunnel->getSomething( + SwXTextRange::getUnoTunnelId()); + } + if(!pRange) + return 0; + pRange->GetPositions(*pUnoCrsr); + if(pUnoCrsr->HasMark()) + { + if(*pUnoCrsr->GetPoint() < *pUnoCrsr->GetMark()) + pUnoCrsr->Exchange(); + pUnoCrsr->DeleteMark(); + } + } + const SwNode* pRangeNode = pUnoCrsr->GetNode(); + bParentInExtra = pRangeNode->FindFlyStartNode() || + pRangeNode->FindFootnoteStartNode() || + pRangeNode->FindHeaderStartNode() || + pRangeNode->FindFooterStartNode() ; + } + + sal_Bool bBackward = sal_False; + SearchOptions aSearchOpt; + pSearch->FillSearchOptions( aSearchOpt ); + +/* + * folgende Kombinationen sind erlaubt: + * - suche einen im Body: -> FND_IN_BODY + * - suche alle im Body: -> FND_IN_BODYONLY | FND_IN_SELALL + * - suche in Selectionen: einen / alle -> FND_IN_SEL [ | FND_IN_SELALL ] + * - suche im nicht Body: einen / alle -> FND_IN_OTHER [ | FND_IN_SELALL ] + * - suche ueberall alle: -> FND_IN_SELALL + */ + int eRanges(FND_IN_BODY); + if(bParentInExtra) + eRanges = FND_IN_OTHER; + if(bAll) //immer - ueberall? + eRanges = FND_IN_SELALL; + SwDocPositions eStart = !bAll ? DOCPOS_CURR : pSearch->bBack ? DOCPOS_END : DOCPOS_START; + SwDocPositions eEnd = pSearch->bBack ? DOCPOS_START : DOCPOS_END; + + nResult = 0; + sal_uInt16 nSearchProc = 0; + while(nSearchProc < 2) + { + //try attribute search first + if(pSearch->HasSearchAttributes()) + { + SfxItemSet aSearch(pDocShell->GetDoc()->GetAttrPool(), + RES_CHRATR_BEGIN, RES_CHRATR_END-1, + RES_PARATR_BEGIN, RES_PARATR_END-1, + RES_FRMATR_BEGIN, RES_FRMATR_END-1, + RES_TXTATR_INETFMT, RES_TXTATR_INETFMT, + 0); + pSearch->FillSearchItemSet(aSearch); + BOOL bCancel; + nResult = (sal_Int32)pUnoCrsr->Find( aSearch, !pSearch->bStyles, + eStart, eEnd, bCancel, + (FindRanges)eRanges, + pSearch->sSearchText.Len() ? &aSearchOpt : 0, + 0 ); + } + else if(pSearch->bStyles) + { + SwTxtFmtColl *pSearchColl = lcl_GetParaStyle(pSearch->sSearchText, pUnoCrsr->GetDoc()); + //pSearch->sReplaceText + SwTxtFmtColl *pReplaceColl = 0; + BOOL bCancel; + nResult = (sal_Int32)pUnoCrsr->Find( *pSearchColl, + eStart, eEnd, bCancel, + (FindRanges)eRanges, pReplaceColl ); + } + else + { + BOOL bCancel; + nResult = (sal_Int32)pUnoCrsr->Find( aSearchOpt, + eStart, eEnd, bCancel, + (FindRanges)eRanges, + /*int bReplace =*/sal_False ); + } + nSearchProc++; + if(nResult || (eRanges&(FND_IN_SELALL|FND_IN_OTHER))) + break; + //second step - find in other + eRanges = FND_IN_OTHER; + } + return pUnoCrsr; +} +/*-- 18.12.98 11:55:23--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XIndexAccess > + SwXTextDocument::findAll(const Reference< util::XSearchDescriptor > & xDesc) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + Reference< XInterface > xTmp; + sal_Int32 nResult = 0; + Reference< XTextCursor > xCrsr; + SwUnoCrsr* pResultCrsr = FindAny(xDesc, xCrsr, sal_True, nResult, xTmp); + if(!pResultCrsr) + throw RuntimeException(); + Reference< XIndexAccess > xRet; + if(nResult) + xRet = new SwXTextRanges(pResultCrsr); + else + xRet = new SwXTextRanges(); + delete pResultCrsr; + return xRet; +} +/*-- 18.12.98 11:55:23--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XInterface > SwXTextDocument::findFirst(const Reference< util::XSearchDescriptor > & xDesc) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + Reference< XInterface > xTmp; + sal_Int32 nResult = 0; + Reference< XTextCursor > xCrsr; + SwUnoCrsr* pResultCrsr = FindAny(xDesc, xCrsr, sal_False, nResult, xTmp); + if(!pResultCrsr) + throw RuntimeException(); + Reference< XInterface > xRet; + if(nResult) + { + Reference< XTextRange > xTempRange = SwXTextRange::CreateTextRangeFromPosition( + pDocShell->GetDoc(), + *pResultCrsr->GetPoint(), + pResultCrsr->GetMark()); + xRet = *new SwXTextCursor(xTempRange->getText(), pResultCrsr); + delete pResultCrsr; + } + return xRet; +} +/*-- 18.12.98 11:55:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XInterface > SwXTextDocument::findNext(const Reference< XInterface > & xStartAt, + const Reference< util::XSearchDescriptor > & xDesc) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + Reference< XInterface > xTmp; + sal_Int32 nResult = 0; + Reference< XTextCursor > xCrsr; + if(!xStartAt.is()) + throw RuntimeException(); + SwUnoCrsr* pResultCrsr = FindAny(xDesc, xCrsr, sal_False, nResult, xStartAt); + if(!pResultCrsr) + throw RuntimeException(); + Reference< XInterface > xRet; + if(nResult) + { + Reference< XTextRange > xTempRange = SwXTextRange::CreateTextRangeFromPosition( + pDocShell->GetDoc(), + *pResultCrsr->GetPoint(), + pResultCrsr->GetMark()); + + xRet = *new SwXTextCursor(xTempRange->getText(), pResultCrsr); + delete pResultCrsr; + } + return xRet; +} +/*-- 18.12.98 11:55:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Sequence< beans::PropertyValue > SwXTextDocument::getPagePrintSettings(void) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + Sequence< beans::PropertyValue > aSeq(9); + if(IsValid()) + { + beans::PropertyValue* pArray = aSeq.getArray(); + SwPagePreViewPrtData aData; + const SwPagePreViewPrtData* pData = pDocShell->GetDoc()->GetPreViewPrtData(); + if(pData) + aData = *pData; + Any aVal; + aVal <<= (sal_Int16)aData.GetRow(); + pArray[0] = beans::PropertyValue(C2U("PageRows"), -1, aVal, PropertyState_DIRECT_VALUE); + aVal <<= (sal_Int16)aData.GetCol(); + pArray[1] = beans::PropertyValue(C2U("PageColumns"), -1, aVal, PropertyState_DIRECT_VALUE); + aVal <<= (sal_Int32)TWIP_TO_MM100(aData.GetLeftSpace()); + pArray[2] = beans::PropertyValue(C2U("LeftMargin"), -1, aVal, PropertyState_DIRECT_VALUE); + aVal <<= (sal_Int32)TWIP_TO_MM100(aData.GetRightSpace()); + pArray[3] = beans::PropertyValue(C2U("RightMargin"), -1, aVal, PropertyState_DIRECT_VALUE); + aVal <<= (sal_Int32)TWIP_TO_MM100(aData.GetTopSpace()); + pArray[4] = beans::PropertyValue(C2U("TopMargin"), -1, aVal, PropertyState_DIRECT_VALUE); + aVal <<= (sal_Int32)TWIP_TO_MM100(aData.GetBottomSpace()); + pArray[5] = beans::PropertyValue(C2U("BottomMargin"), -1, aVal, PropertyState_DIRECT_VALUE); + aVal <<= (sal_Int32)TWIP_TO_MM100(aData.GetHorzSpace()); + pArray[6] = beans::PropertyValue(C2U("HoriMargin"), -1, aVal, PropertyState_DIRECT_VALUE); + aVal <<= (sal_Int32)TWIP_TO_MM100(aData.GetVertSpace()); + pArray[7] = beans::PropertyValue(C2U("VertMargin"), -1, aVal, PropertyState_DIRECT_VALUE); + BOOL bTemp = aData.GetLandscape(); + aVal.setValue(&bTemp, ::getCppuBooleanType()); + pArray[8] = beans::PropertyValue(C2U("IsLandscape"), -1, aVal, PropertyState_DIRECT_VALUE); + } + else + throw RuntimeException(); + return aSeq; +} +/* -----------------24.02.99 10:57------------------- + * + * --------------------------------------------------*/ +sal_uInt32 lcl_Any_To_ULONG(const Any& rValue, sal_Bool& bException) +{ + bException = sal_False; + TypeClass eType = rValue.getValueType().getTypeClass(); + + sal_uInt32 nRet = 0; + if( eType == TypeClass_LONG ) + { + sal_Int32 nVal; + rValue >>= nVal; + if(nVal >=0 ) + nRet = (sal_uInt32)nVal; + } + else if( eType == TypeClass_UNSIGNED_SHORT ) + { + sal_uInt16 nVal; + rValue >>= nVal; + nRet = nVal; + } + else if( eType == TypeClass_SHORT ) + { + sal_Int16 nVal; + rValue >>= nVal; + if(nVal >=0) + nRet = (sal_uInt32)nVal; + } + else if( eType == TypeClass_BYTE ) + { + BYTE nVal; + rValue >>= nVal; + nRet = nVal; + } + else if( eType == TypeClass_UNSIGNED_LONG ) + rValue >>= nRet; + else + bException = sal_True; + + return nRet; +} +/*-- 18.12.98 11:55:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::setPagePrintSettings(const Sequence< beans::PropertyValue >& aSettings) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(IsValid()) + { + SwPagePreViewPrtData aData; + //falls nur einige Properties kommen, dann die akt. Einstellungen benutzen + const SwPagePreViewPrtData* pData = pDocShell->GetDoc()->GetPreViewPrtData(); + if(pData) + aData = *pData; + const beans::PropertyValue* pProperties = aSettings.getConstArray(); + int nCount = aSettings.getLength(); + for(int i = 0; i < nCount; i++) + { + String sName = pProperties[i].Name; + const Any& rVal = pProperties[i].Value; + sal_Bool bException; + sal_uInt32 nVal = lcl_Any_To_ULONG(rVal, bException); + if( COMPARE_EQUAL == sName.CompareToAscii("PageRows" ) ) + { + if(!nVal) + throw RuntimeException(); + aData.SetRow(nVal); + } + else if(COMPARE_EQUAL == sName.CompareToAscii("PageColumns")) + { + if(!nVal) + throw RuntimeException(); + aData.SetCol(nVal); + } + else if(COMPARE_EQUAL == sName.CompareToAscii("LeftMargin")) + { + aData.SetLeftSpace(MM100_TO_TWIP(nVal)); + } + else if(COMPARE_EQUAL == sName.CompareToAscii("RightMargin")) + { + aData.SetRightSpace(MM100_TO_TWIP(nVal)); + } + else if(COMPARE_EQUAL == sName.CompareToAscii("TopMargin")) + { + aData.SetTopSpace(MM100_TO_TWIP(nVal)); + } + else if(COMPARE_EQUAL == sName.CompareToAscii("BottomMargin")) + { + aData.SetBottomSpace(MM100_TO_TWIP(nVal)); + } + else if(COMPARE_EQUAL == sName.CompareToAscii("HoriMargin")) + { + aData.SetHorzSpace(MM100_TO_TWIP(nVal)); + } + else if(COMPARE_EQUAL == sName.CompareToAscii("VertMargin")) + { + aData.SetVertSpace(MM100_TO_TWIP(nVal)); + } + else if(COMPARE_EQUAL == sName.CompareToAscii("IsLandscape")) + { + bException = (::getBooleanCppuType() != rVal.getValueType()); + aData.SetLandscape(*(sal_Bool*)rVal.getValue()); + } + else + bException = sal_True; + if(bException) + throw RuntimeException(); + } + pDocShell->GetDoc()->SetPreViewPrtData(&aData); + } + else + throw RuntimeException(); +} +/*-- 18.12.98 11:55:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::printPages(const Sequence< beans::PropertyValue >& xOptions) + throw( IllegalArgumentException, RuntimeException ) +{ + throw RuntimeException(); +} +/*-- 18.12.98 11:55:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XNameAccess > SwXTextDocument::getReferenceMarks(void) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXReferenceMarks) + { + ((SwXTextDocument*)this)->pxXReferenceMarks = new Reference< XNameAccess > ; + *pxXReferenceMarks = new SwXReferenceMarks(pDocShell->GetDoc()); + } + return *pxXReferenceMarks; +} +/* -----------------21.12.98 10:20------------------- + * + * --------------------------------------------------*/ +Reference< XEnumerationAccess > SwXTextDocument::getTextFields(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXTextFieldTypes) + { + ((SwXTextDocument*)this)->pxXTextFieldTypes = new Reference< XEnumerationAccess > ; + *pxXTextFieldTypes = new SwXTextFieldTypes(pDocShell->GetDoc()); + } + return *pxXTextFieldTypes; +} +/*-- 21.12.98 10:21:12--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XNameAccess > SwXTextDocument::getTextFieldMasters(void) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXTextFieldMasters) + { + ((SwXTextDocument*)this)->pxXTextFieldMasters = new Reference< XNameAccess > ; + *pxXTextFieldMasters = new SwXTextFieldMasters(pDocShell->GetDoc()); + } + return *pxXTextFieldMasters; +} +/*-- 21.12.98 10:21:12--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XNameAccess > SwXTextDocument::getEmbeddedObjects(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXEmbeddedObjects) + { + ((SwXTextDocument*)this)->pxXEmbeddedObjects = new Reference< XNameAccess > ; + *pxXEmbeddedObjects = new SwXTextEmbeddedObjects(pDocShell->GetDoc()); + } + return *pxXEmbeddedObjects; +} +/*-- 21.12.98 10:21:13--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XNameAccess > SwXTextDocument::getBookmarks(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXBookmarks) + { + ((SwXTextDocument*)this)->pxXBookmarks = new Reference< XNameAccess > ; + *pxXBookmarks = new SwXBookmarks(pDocShell->GetDoc()); + } + return *pxXBookmarks; +} +/*-- 21.12.98 10:21:13--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XNameAccess > SwXTextDocument::getTextSections(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXTextSections) + { + ((SwXTextDocument*)this)->pxXTextSections = new Reference< XNameAccess > ; + *pxXTextSections = new SwXTextSections(pDocShell->GetDoc()); + } + return *pxXTextSections; +} +/*-- 21.12.98 10:21:13--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XNameAccess > SwXTextDocument::getTextTables(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXTextTables) + { + ((SwXTextDocument*)this)->pxXTextTables = new Reference< XNameAccess > ; + *pxXTextTables = new SwXTextTables(pDocShell->GetDoc()); + } + return *pxXTextTables; +} +/*-- 21.12.98 10:21:13--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XNameAccess > SwXTextDocument::getGraphicObjects(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXGraphicObjects) + { + ((SwXTextDocument*)this)->pxXGraphicObjects = new Reference< XNameAccess > ; + *pxXGraphicObjects = new SwXTextGraphicObjects(pDocShell->GetDoc()); + } + return *pxXGraphicObjects; +} +/*-- 21.12.98 10:21:14--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XNameAccess > SwXTextDocument::getTextFrames(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXTextFrames) + { + ((SwXTextDocument*)this)->pxXTextFrames = new Reference< XNameAccess > ; + *pxXTextFrames = new SwXTextFrames(pDocShell->GetDoc()); + } + return *pxXTextFrames; +} +/* -----------------21.12.98 10:56------------------- + * + * --------------------------------------------------*/ +Reference< XNameAccess > SwXTextDocument::getStyleFamilies(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXStyleFamilies) + { + ((SwXTextDocument*)this)->pxXStyleFamilies = new Reference< XNameAccess > ; + *pxXStyleFamilies = new SwXStyleFamilies(*pDocShell); + } + return *pxXStyleFamilies; +} +/*-- 22.01.99 10:18:03--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< drawing::XDrawPage > SwXTextDocument::getDrawPage(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXDrawPage) + { + ((SwXTextDocument*)this)->pxXDrawPage = new Reference< drawing::XDrawPage > ; + ((SwXTextDocument*)this)->pDrawPage = new SwXDrawPage(pDocShell->GetDoc()); + Reference< drawing::XShapes > xTmp = pDrawPage; + *pxXDrawPage = Reference< drawing::XDrawPage>(xTmp, UNO_QUERY); + } + return *pxXDrawPage; +} +/*-- 18.12.98 11:55:26--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::Invalidate() +{ + bObjectValid = sal_False; + if(xNumFmtAgg.is()) + { + const uno::Type& rTunnelType = ::getCppuType((Reference <XUnoTunnel>*)0); + Any aNumTunnel = xNumFmtAgg->queryAggregation(rTunnelType); + SvNumberFormatsSupplierObj* pNumFmt = 0; + Reference< XUnoTunnel > xNumTunnel; + if(aNumTunnel >>= xNumTunnel) + { + pNumFmt = (SvNumberFormatsSupplierObj*) + xNumTunnel->getSomething(SvNumberFormatsSupplierObj::getUnoTunnelId()); + pNumFmt->SetNumberFormatter(0); + } + DBG_ASSERT(pNumFmt, "No number formatter available"); + } + InitNewDoc(); + pDocShell = 0; + aRefreshCont.Disposing(); +} +/* -----------------------------13.07.00 15:59-------------------------------- + + ---------------------------------------------------------------------------*/ +void SwXTextDocument::Reactivate(SwDocShell* pNewDocShell) +{ + if(pDocShell && pDocShell != pNewDocShell) + Invalidate(); + pDocShell = pNewDocShell; + bObjectValid = TRUE; +} +/*-- 18.12.98 11:55:26--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::InitNewDoc() +{ + // zunaechst alle Collections invalidieren, dann Referenzen loeschen und Null setzen + if(pxXTextTables) + { + XNameAccess* pTbls = pxXTextTables->get(); + ((SwXTextTables*)pTbls)->Invalidate(); + delete pxXTextTables; + pxXTextTables = 0; + } + + if(pxXTextFrames) + { + XNameAccess* pFrms = pxXTextFrames->get(); + ((SwXTextFrames*)pFrms)->Invalidate(); + delete pxXTextFrames; + pxXTextFrames = 0; + } + + if(pxXGraphicObjects) + { + XNameAccess* pFrms = pxXGraphicObjects->get(); + ((SwXTextGraphicObjects*)pFrms)->Invalidate(); + delete pxXGraphicObjects; + pxXGraphicObjects = 0; + } + + if(pxXEmbeddedObjects) + { + XNameAccess* pOLE = pxXEmbeddedObjects->get(); + ((SwXTextEmbeddedObjects*)pOLE)->Invalidate(); + delete pxXEmbeddedObjects; + pxXEmbeddedObjects = 0; + } + + if(xBodyText.is()) + { + xBodyText = 0; + pBodyText = 0; + } + + if(xNumFmtAgg.is()) + { + const uno::Type& rTunnelType = ::getCppuType((Reference <XUnoTunnel>*)0); + Any aNumTunnel = xNumFmtAgg->queryAggregation(rTunnelType); + SvNumberFormatsSupplierObj* pNumFmt = 0; + Reference< XUnoTunnel > xNumTunnel; + if(aNumTunnel >>= xNumTunnel) + { + pNumFmt = (SvNumberFormatsSupplierObj*) + xNumTunnel->getSomething(SvNumberFormatsSupplierObj::getUnoTunnelId()); + + } + DBG_ASSERT(pNumFmt, "No number formatter available"); + pNumFmt->SetNumberFormatter(0); + } + + if(pxXTextFieldTypes) + { + XEnumerationAccess* pT = pxXTextFieldTypes->get(); + ((SwXTextFieldTypes*)pT)->Invalidate(); + delete pxXTextFieldTypes; + pxXTextFieldTypes = 0; + } + + if(pxXTextFieldMasters) + { + XNameAccess* pT = pxXTextFieldMasters->get(); + ((SwXTextFieldMasters*)pT)->Invalidate(); + delete pxXTextFieldMasters; + pxXTextFieldMasters = 0; + } + + if(pxXTextSections) + { + XNameAccess* pSect = pxXTextSections->get(); + ((SwXTextSections*)pSect)->Invalidate(); + delete pxXTextSections; + pxXTextSections = 0; + } + + if(pxXDrawPage) + { + drawing::XDrawPage* pxPage = pxXDrawPage->get(); + pDrawPage->Invalidate(); + delete pxXDrawPage; + pxXDrawPage = 0; + } + + if(pxXFootnotes) + { + XIndexAccess* pFtn = pxXFootnotes->get(); + ((SwXFootnotes*)pFtn)->Invalidate(); + delete pxXFootnotes; + pxXFootnotes = 0; + } + + if(pxXEndnotes) + { + XIndexAccess* pFtn = pxXEndnotes->get(); + ((SwXFootnotes*)pFtn)->Invalidate(); + delete pxXEndnotes; + pxXEndnotes = 0; + } + + if(pxXDocumentIndexes) + { + XIndexAccess* pIdxs = pxXDocumentIndexes->get(); + ((SwXDocumentIndexes*)pIdxs)->Invalidate(); + delete pxXDocumentIndexes; + pxXDocumentIndexes = 0; + } + + if(pxXStyleFamilies) + { + XNameAccess* pStyles = pxXStyleFamilies->get(); + ((SwXStyleFamilies*)pStyles)->Invalidate(); + delete pxXStyleFamilies; + pxXStyleFamilies = 0; + } + + if(pxXBookmarks) + { + XNameAccess* pBm = pxXBookmarks->get(); + ((SwXBookmarks*)pBm)->Invalidate(); + delete pxXBookmarks; + pxXBookmarks = 0; + } + + if(pxXChapterNumbering) + { + XIndexReplace* pCh = pxXChapterNumbering->get(); + ((SwXChapterNumbering*)pCh)->Invalidate(); + delete pxXChapterNumbering; + pxXChapterNumbering = 0; + } + + if(pxXFootnoteSettings) + { + XPropertySet* pFntSet = pxXFootnoteSettings->get(); + ((SwXFootnoteProperties*)pFntSet)->Invalidate(); + delete pxXFootnoteSettings; + pxXFootnoteSettings = 0; + } + + if(pxXEndnoteSettings) + { + XPropertySet* pEndSet = pxXEndnoteSettings->get(); + ((SwXEndnoteProperties*)pEndSet)->Invalidate(); + delete pxXEndnoteSettings; + pxXEndnoteSettings = 0; + } + + if(pxXLineNumberingProperties) + { + XPropertySet* pLine = pxXLineNumberingProperties->get(); + ((SwXLineNumberingProperties*)pLine)->Invalidate(); + delete pxXLineNumberingProperties; + pxXLineNumberingProperties = 0; + } + if(pxXReferenceMarks) + { + XNameAccess* pMarks = pxXReferenceMarks->get(); + ((SwXReferenceMarks*)pMarks)->Invalidate(); + delete pxXReferenceMarks; + pxXReferenceMarks = 0; + } + if(pxLinkTargetSupplier) + { + XNameAccess* pAccess = (*pxLinkTargetSupplier).get(); + ((SwXLinkTargetSupplier*)pAccess)->Invalidate(); + delete pxLinkTargetSupplier; + pxLinkTargetSupplier = 0; + } + if(pxXRedlines) + { + XEnumerationAccess* pMarks = pxXRedlines->get(); + ((SwXRedlines*)pMarks)->Invalidate(); + delete pxXRedlines; + pxXRedlines = 0; + } + if(xPropertyHelper.is()) + { + pPropertyHelper->Invalidate(); + xPropertyHelper = 0; + pPropertyHelper = 0; + } +} + +/*-- 11.03.99 11:51:40--------------------------------------------------- + + -----------------------------------------------------------------------*/ +#define COM_SUN_STAR__DRAWING_LENGTH 13 +Reference< XInterface > SwXTextDocument::createInstance(const OUString& rServiceName) + throw( Exception, RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + Reference< XInterface > xRet; + sal_uInt16 nType = SwXServiceProvider::GetProviderType(rServiceName); + if(nType != SW_SERVICE_INVALID) + { + xRet = SwXServiceProvider::MakeInstance(nType, pDocShell->GetDoc()); + } + else + { + if( rServiceName.compareToAscii( "com.sun.star.", 13 ) == 0 ) + { + sal_Int32 nIndex = COM_SUN_STAR__DRAWING_LENGTH; + OUString sCategory = rServiceName.getToken( 0, '.', nIndex ); + sal_Bool bShape = sCategory == C2U("drawing"); + if( bShape || sCategory == C2U("form")) + { + if(bShape) + { + short nTable = 0; + if( 0 == rServiceName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.DashTable") ) ) + nTable = SW_CREATE_DASH_TABLE; + else if( 0 == rServiceName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.GradientTable") ) ) + nTable = SW_CREATE_GRADIENT_TABLE; + else if( 0 == rServiceName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.HatchTable") ) ) + nTable = SW_CREATE_HATCH_TABLE; + else if( 0 == rServiceName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.BitmapTable") ) ) + nTable = SW_CREATE_BITMAP_TABLE; + else if( 0 == rServiceName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.TransparencyGradientTable") ) ) + nTable = SW_CREATE_TRANSGRADIENT_TABLE; + else if( 0 == rServiceName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.MarkerTable") ) ) + nTable = SW_CREATE_MARKER_TABLE; + else if( 0 == rServiceName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.Defaults") ) ) + nTable = SW_CREATE_DRAW_DEFAULTS; + if(nTable) + { + xRet = GetPropertyHelper()->GetDrawTable(nTable); + } + } + } + else if (sCategory == C2U ("document") ) + { + if( 0 == rServiceName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.document.Settings") ) ) + xRet = Reference < XInterface > ( *new SwXDocumentSettings ( this ) ); + } + else if (sCategory == C2U ("text") ) + { + if( 0 == rServiceName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.PrintPreviewSettings") ) ) + xRet = Reference < XInterface > ( *new SwXPrintPreviewSettings ( pDocShell->GetDoc() ) ); + else if( 0 == rServiceName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.DocumentSettings") ) ) + xRet = Reference < XInterface > ( *new SwXDocumentSettings ( this ) ); + } + if(!xRet.is()) + { + //hier den Draw - Service suchen + Reference< XInterface > xTmp = SvxFmMSFactory::createInstance(rServiceName); + if(bShape) + { + nIndex = COM_SUN_STAR__DRAWING_LENGTH; + if( 0 == rServiceName.reverseCompareToAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "com.sun.star.drawing.GroupShape" ) ) || + 0 == rServiceName.reverseCompareToAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "com.sun.star.drawing.Shape3DSceneObject" ) ) ) + xRet = *new SwXGroupShape( xTmp ); + else + xRet = *new SwXShape( xTmp ); + } + else + xRet = xTmp; + } + } + else + throw ServiceNotRegisteredException(); + } + return xRet; +} +/*-- 11.03.99 11:51:40--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XInterface > SwXTextDocument::createInstanceWithArguments( + const OUString& ServiceSpecifier, + const Sequence< Any >& Arguments) + throw( Exception, RuntimeException ) +{ + Reference< XInterface > xInt = createInstance(ServiceSpecifier); + //die Any-Sequence dient zur Initialisierung von Objekten, die auf + //Parameter zwingend angewiesen sind - bis jetzt haben wir das nicht + return xInt; +} +/*-- 11.03.99 11:51:41--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Sequence< OUString > SwXTextDocument::getAvailableServiceNames(void) + throw( RuntimeException ) +{ + Sequence< OUString > aRet = SvxFmMSFactory::getAvailableServiceNames(); + Sequence< OUString > aOwn = SwXServiceProvider::GetAllServiceNames(); + return SvxFmMSFactory::concatServiceNames(aRet, aOwn); + +} +/* -----------------18.03.99 11:36------------------- + * + * --------------------------------------------------*/ +OUString SwXTextDocument::getImplementationName(void) throw( RuntimeException ) +{ + return C2U("SwXTextDocument"); +} +/* -----------------18.03.99 11:32------------------- + * + * --------------------------------------------------*/ +sal_Bool SwXTextDocument::supportsService(const OUString& rServiceName) throw( RuntimeException ) +{ + BOOL bWebDoc = 0 != PTR_CAST(SwWebDocShell, pDocShell); + BOOL bGlobalDoc = 0 != PTR_CAST(SwGlobalDocShell, pDocShell); + BOOL bTextDoc = !bWebDoc && !bGlobalDoc; + + sal_Bool bRet = ( + rServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "com.sun.star.document.OfficeDocument" ) ) || + rServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "com.sun.star.text.GenericTextDocument" ) ) || + ( + bTextDoc && + rServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "com.sun.star.text.TextDocument" ) ) + ) || + ( + bWebDoc && + rServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "com.sun.star.text.WebDocument" ) ) + ) || + ( + bGlobalDoc && + rServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "com.sun.star.text.GlobalDocument" ) ) + ) + ); + + return bRet; +} +/* -----------------18.03.99 11:32------------------- + * + * --------------------------------------------------*/ +Sequence< OUString > SwXTextDocument::getSupportedServiceNames(void) throw( RuntimeException ) +{ + BOOL bWebDoc = 0 != PTR_CAST(SwWebDocShell, pDocShell); + BOOL bGlobalDoc = 0 != PTR_CAST(SwGlobalDocShell, pDocShell); + BOOL bTextDoc = !bWebDoc && !bGlobalDoc; + + Sequence< OUString > aRet ( 3 ); + OUString* pArray = aRet.getArray(); + + pArray[0] = OUString ( RTL_CONSTASCII_USTRINGPARAM ( ( "com.sun.star.document.OfficeDocument" ) ) ); + pArray[1] = OUString ( RTL_CONSTASCII_USTRINGPARAM ( ( "com.sun.star.text.GenericTextDocument" ) ) ); + + if (bTextDoc) + pArray[2] = OUString ( RTL_CONSTASCII_USTRINGPARAM ( ( "com.sun.star.text.TextDocument" ) ) ); + if (bWebDoc) + pArray[2] = OUString ( RTL_CONSTASCII_USTRINGPARAM ( ( "com.sun.star.text.WebDocument" ) ) ); + if (bGlobalDoc) + pArray[2] = OUString ( RTL_CONSTASCII_USTRINGPARAM ( ( "com.sun.star.text.GlobalDocument" ) ) ); + + return aRet; +} +/* -----------------05.05.99 12:10------------------- + * + * --------------------------------------------------*/ +Reference< XIndexAccess > SwXTextDocument::getDocumentIndexes(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + if(!pxXDocumentIndexes) + { + ((SwXTextDocument*)this)->pxXDocumentIndexes = new Reference< XIndexAccess > ; + *pxXDocumentIndexes = new SwXDocumentIndexes(pDocShell->GetDoc()); + } + return *pxXDocumentIndexes; +} + +/*-- 10.05.99 13:58:58--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XPropertySetInfo > SwXTextDocument::getPropertySetInfo(void) throw( RuntimeException ) +{ + static Reference< XPropertySetInfo > xRet = aPropSet.getPropertySetInfo(); + return xRet; +} +/*-- 10.05.99 13:58:58--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::setPropertyValue(const OUString& rPropertyName, + const Any& aValue) + throw( UnknownPropertyException, PropertyVetoException, IllegalArgumentException, + WrappedTargetException, RuntimeException) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + const SfxItemPropertyMap* pMap = SfxItemPropertyMap::GetByName( + aPropSet.getPropertyMap(), rPropertyName); + + if(!pMap) + throw UnknownPropertyException(); + if(pMap->nFlags & PropertyAttribute::READONLY) + throw PropertyVetoException(); + switch(pMap->nWID) + { + case WID_DOC_CHAR_COUNT : + case WID_DOC_PARA_COUNT : + case WID_DOC_WORD_COUNT : + throw RuntimeException(); + break; + case WID_DOC_WORD_SEPARATOR : + { + OUString sDelim; + aValue >>= sDelim; + SW_MOD()->GetModuleConfig()->SetWordDelimiter(sDelim); + } + break; + case WID_DOC_CHANGES_RECORD: + case WID_DOC_CHANGES_SHOW: + { + sal_Bool bSet = *(sal_Bool*)aValue.getValue(); + sal_uInt16 eMode = pDocShell->GetDoc()->GetRedlineMode(); + if(WID_DOC_CHANGES_SHOW == pMap->nWID) + { + eMode &= ~(REDLINE_SHOW_INSERT | REDLINE_SHOW_DELETE); + eMode |= REDLINE_SHOW_INSERT; + if( bSet ) + eMode |= REDLINE_SHOW_DELETE; + } + else if(WID_DOC_CHANGES_RECORD == pMap->nWID) + { + eMode = bSet ? eMode|REDLINE_ON : eMode&~REDLINE_ON; + } + pDocShell->GetDoc()->SetRedlineMode( eMode ); + } + break; + case WID_DOC_CHANGES_PASSWORD: + { + Sequence <sal_Int8> aNew; + if(aValue >>= aNew) + { + SwDoc* pDoc = pDocShell->GetDoc(); + pDoc->SetRedlinePasswd(aNew); + if(aNew.getLength()) + { + sal_uInt16 eMode = pDoc->GetRedlineMode(); + eMode = eMode|REDLINE_ON; + pDoc->SetRedlineMode( eMode ); + } + } + } + break; + case WID_DOC_AUTO_MARK_URL : + { + OUString sURL; + aValue >>= sURL; + pDocShell->GetDoc()->SetTOIAutoMarkURL(sURL); + } + break; + case WID_DOC_HIDE_TIPS : + SW_MOD()->GetModuleConfig()->SetHideFieldTips(*(sal_Bool*)aValue.getValue()); + break; + case WID_DOC_REDLINE_DISPLAY: + { + sal_Int16 eRedMode = pDocShell->GetDoc()->GetRedlineMode(); + eRedMode = eRedMode & (~REDLINE_SHOW_MASK); + sal_Int16 nSet; + aValue >>= nSet; + switch(nSet) + { + case RedlineDisplayType::NONE: break; + case RedlineDisplayType::INSERTED: nSet |= REDLINE_SHOW_INSERT; break; + case RedlineDisplayType::REMOVED: nSet |= REDLINE_SHOW_DELETE; break; + case RedlineDisplayType:: + INSERTED_AND_REMOVED: nSet |= REDLINE_SHOW_INSERT|REDLINE_SHOW_DELETE; + break; + default: throw IllegalArgumentException(); + } + pDocShell->GetDoc()->SetRedlineMode(nSet); + } + break; + case WID_DOC_TWO_DIGIT_YEAR: + { + sal_Int16 nYear; + aValue >>= nYear; + pDocShell->GetDoc()->GetNumberFormatter(TRUE)->SetYear2000(nYear); + } + break; + case WID_DOC_AUTOMATIC_CONTROL_FOCUS: + { + SwDrawDocument * pDrawDoc; + sal_Bool bAuto = *(sal_Bool*) aValue.getValue(); + + if ( ( pDrawDoc = reinterpret_cast < SwDrawDocument * > (pDocShell->GetDoc()->GetDrawModel() ) ) ) + pDrawDoc->SetAutoControlFocus( bAuto ); + else if (bAuto) + { + // if setting to true, and we don't have an + // SdrModel, then we are changing the default and + // must thus create an SdrModel, if we don't have an + // SdrModel and we are leaving the default at false, + // we don't need to make an SdrModel and can do nothing + pDrawDoc = reinterpret_cast < SwDrawDocument * > (pDocShell->GetDoc()->MakeDrawModel() ); + pDrawDoc->SetAutoControlFocus ( bAuto ); + } + } + break; + case WID_DOC_APPLY_FORM_DESIGN_MODE: + { + SwDrawDocument * pDrawDoc; + sal_Bool bMode = *(sal_Bool*)aValue.getValue(); + + if ( ( pDrawDoc = reinterpret_cast < SwDrawDocument * > (pDocShell->GetDoc()->GetDrawModel() ) ) ) + pDrawDoc->SetOpenInDesignMode( bMode ); + else if (!bMode) + { + // if setting to false, and we don't have an + // SdrModel, then we are changing the default and + // must thus create an SdrModel, if we don't have an + // SdrModel and we are leaving the default at true, + // we don't need to make an SdrModel and can do + // nothing + pDrawDoc = reinterpret_cast < SwDrawDocument * > (pDocShell->GetDoc()->MakeDrawModel() ); + pDrawDoc->SetOpenInDesignMode ( bMode ); + } + } + break; + default: + { + const SfxPoolItem& rItem = pDocShell->GetDoc()->GetDefault(pMap->nWID); + SfxPoolItem* pNewItem = rItem.Clone(); + pNewItem->PutValue(aValue, pMap->nMemberId); + pDocShell->GetDoc()->SetDefault(*pNewItem); + delete pNewItem; + } + } +} +/*-- 10.05.99 13:58:59--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Any SwXTextDocument::getPropertyValue(const OUString& rPropertyName) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + const SfxItemPropertyMap* pMap = SfxItemPropertyMap::GetByName( + aPropSet.getPropertyMap(), rPropertyName); + + if(!pMap) + throw UnknownPropertyException(); + Any aAny; + switch(pMap->nWID) + { + case WID_DOC_CHAR_COUNT : + case WID_DOC_PARA_COUNT : + case WID_DOC_WORD_COUNT : + { + SwDocStat aStat(pDocShell->GetDoc()->GetDocStat()); + if(aStat.bModified) + pDocShell->GetDoc()->UpdateDocStat( aStat ); + sal_Int32 nValue; + switch(pMap->nWID) + { + case WID_DOC_CHAR_COUNT :nValue = aStat.nChar;break; + case WID_DOC_PARA_COUNT :nValue = aStat.nPara;break; + case WID_DOC_WORD_COUNT :nValue = aStat.nWord;break; + } + aAny <<= nValue; + } + break; + case WID_DOC_WORD_SEPARATOR : + { + aAny <<= OUString(SW_MOD()->GetDocStatWordDelim()); + } + break; + case WID_DOC_CHANGES_RECORD: + case WID_DOC_CHANGES_SHOW: + { + sal_uInt16 eMode = pDocShell->GetDoc()->GetRedlineMode(); + sal_Bool bSet = sal_False; + if(WID_DOC_CHANGES_SHOW == pMap->nWID) + { + sal_uInt16 nMask = REDLINE_SHOW_INSERT | REDLINE_SHOW_DELETE; + bSet = (eMode & nMask) == nMask; + } + else if(WID_DOC_CHANGES_RECORD == pMap->nWID) + { + bSet = (eMode& REDLINE_ON) != 0; + } + aAny.setValue(&bSet, ::getBooleanCppuType()); + } + break; + case WID_DOC_CHANGES_PASSWORD: + { + SwDoc* pDoc = pDocShell->GetDoc(); + aAny <<= pDoc->GetRedlinePasswd(); + } + break; + case WID_DOC_AUTO_MARK_URL : + aAny <<= OUString(pDocShell->GetDoc()->GetTOIAutoMarkURL()); + break; + case WID_DOC_HIDE_TIPS : + { + BOOL bTemp = SW_MOD()->GetModuleConfig()->IsHideFieldTips(); + aAny.setValue(&bTemp, ::getBooleanCppuType()); + } + break; + case WID_DOC_REDLINE_DISPLAY: + { + sal_Int16 eRedMode = pDocShell->GetDoc()->GetRedlineMode(); + eRedMode = eRedMode & REDLINE_SHOW_MASK; + sal_Int16 nRet = RedlineDisplayType::NONE; + if(REDLINE_SHOW_INSERT == eRedMode) + nRet = RedlineDisplayType::INSERTED; + else if(REDLINE_SHOW_DELETE == eRedMode) + nRet = RedlineDisplayType::REMOVED; + else if(REDLINE_SHOW_MASK == eRedMode) + nRet = RedlineDisplayType::INSERTED_AND_REMOVED; + aAny <<= nRet; + } + break; + case WID_DOC_FORBIDDEN_CHARS: + { + GetPropertyHelper(); + Reference<XForbiddenCharacters> xRet(xPropertyHelper, UNO_QUERY); + aAny <<= xRet; + } + break; + case WID_DOC_TWO_DIGIT_YEAR: + { + aAny <<= static_cast < sal_Int16 > (pDocShell->GetDoc()->GetNumberFormatter ( TRUE )->GetYear2000()); + } + break; + case WID_DOC_AUTOMATIC_CONTROL_FOCUS: + { + SwDrawDocument * pDrawDoc; + sal_Bool bAuto; + if ( ( pDrawDoc = reinterpret_cast < SwDrawDocument * > (pDocShell->GetDoc()->GetDrawModel() ) ) ) + bAuto = pDrawDoc->GetAutoControlFocus(); + else + bAuto = sal_False; + aAny.setValue(&bAuto, ::getBooleanCppuType()); + } + break; + case WID_DOC_APPLY_FORM_DESIGN_MODE: + { + SwDrawDocument * pDrawDoc; + sal_Bool bMode; + if ( ( pDrawDoc = reinterpret_cast < SwDrawDocument * > (pDocShell->GetDoc()->GetDrawModel() ) ) ) + bMode = pDrawDoc->GetOpenInDesignMode(); + else + bMode = sal_True; + aAny.setValue(&bMode, ::getBooleanCppuType()); + } + break; + case WID_DOC_BASIC_LIBRARIES: + aAny <<= pDocShell->GetBasicContainer(); + break; + default: + { + const SfxPoolItem& rItem = pDocShell->GetDoc()->GetDefault(pMap->nWID); + rItem.QueryValue(aAny, pMap->nMemberId); + } + } + return aAny; +} +/*-- 10.05.99 13:58:59--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::addPropertyChangeListener(const OUString& PropertyName, + const Reference< XPropertyChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ + DBG_WARNING("not implemented"); +} +/*-- 10.05.99 13:58:59--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::removePropertyChangeListener(const OUString& PropertyName, + const Reference< XPropertyChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ + DBG_WARNING("not implemented"); +} +/*-- 10.05.99 13:59:00--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::addVetoableChangeListener(const OUString& PropertyName, + const Reference< XVetoableChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ + DBG_WARNING("not implemented"); +} +/*-- 10.05.99 13:59:00--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::removeVetoableChangeListener(const OUString& PropertyName, + const Reference< XVetoableChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ + DBG_WARNING("not implemented"); +} +/* -----------------25.10.99 10:42------------------- + + --------------------------------------------------*/ +Reference< XNameAccess > SwXTextDocument::getLinks(void) throw( RuntimeException ) +{ + if(!pxLinkTargetSupplier) + { + pxLinkTargetSupplier = new Reference< XNameAccess > ; + (*pxLinkTargetSupplier) = new SwXLinkTargetSupplier(*(SwXTextDocument*)this); + } + return (*pxLinkTargetSupplier); +} +/* -----------------------------11.01.01 15:01-------------------------------- + + ---------------------------------------------------------------------------*/ +Reference< XEnumerationAccess > SwXTextDocument::getRedlines( ) throw(RuntimeException) +{ + if(!pxXRedlines) + { + pxXRedlines = new Reference< XEnumerationAccess > ; + (*pxXRedlines) = new SwXRedlines(pDocShell->GetDoc()); + } + return *pxXRedlines; +} +/*-- 21.02.00 08:41:06--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::refresh(void) throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + SwWrtShell *pWrtShell = pDocShell->GetWrtShell(); + notifyRefreshListeners(); + if(pWrtShell) + pWrtShell->CalcLayout(); +} +/*-- 21.02.00 08:41:06--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::addRefreshListener(const Reference< util::XRefreshListener > & l) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if ( !IsValid() ) + throw RuntimeException(); + aRefreshCont.AddListener ( reinterpret_cast < const Reference < lang::XEventListener > &> ( l )); +} +/*-- 21.02.00 08:41:07--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXTextDocument::removeRefreshListener(const Reference< util::XRefreshListener > & l) + throw( RuntimeException ) +{ + SolarMutexGuard aGuard; + if ( !IsValid() || !aRefreshCont.RemoveListener ( reinterpret_cast < const Reference < lang::XEventListener > &> ( l ) ) ) + throw RuntimeException(); +} +/* -----------------------------26.02.01 12:22-------------------------------- + + ---------------------------------------------------------------------------*/ +void SwXTextDocument::updateLinks( ) throw(RuntimeException) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + SwDoc* pDoc = pDocShell->GetDoc(); + SvxLinkManager& rLnkMan = pDoc->GetLinkManager(); + if( rLnkMan.GetLinks().Count() ) + { + UnoActionContext aAction(pDoc); + rLnkMan.UpdateAllLinks( FALSE, TRUE ); + } +} +//XPropertyState +PropertyState SAL_CALL SwXTextDocument::getPropertyState( const OUString& rPropertyName ) + throw (UnknownPropertyException, RuntimeException) +{ + SolarMutexGuard aGuard; + PropertyState eRet = PropertyState_DIRECT_VALUE; + if(!IsValid()) + throw RuntimeException(); + const SfxItemPropertyMap* pMap = SfxItemPropertyMap::GetByName( + aPropSet.getPropertyMap(), rPropertyName); + + if(!pMap) + throw UnknownPropertyException(); + Any aAny; + switch(pMap->nWID) + { + case 0:default:break; + } + return eRet; +} +Sequence< PropertyState > SAL_CALL SwXTextDocument::getPropertyStates( const Sequence< OUString >& rPropertyNames ) + throw (UnknownPropertyException, RuntimeException) +{ + const sal_Int32 nCount = rPropertyNames.getLength(); + const OUString * pNames = rPropertyNames.getConstArray(); + Sequence < PropertyState > aRet ( nCount ); + PropertyState *pState = aRet.getArray(); + + for ( sal_Int32 nIndex = 0; nIndex < nCount; nIndex++) + pState[nIndex] = getPropertyState( pNames[nIndex] ); + + return aRet; +} +void SAL_CALL SwXTextDocument::setPropertyToDefault( const OUString& rPropertyName ) + throw (UnknownPropertyException, RuntimeException) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + const SfxItemPropertyMap* pMap = SfxItemPropertyMap::GetByName( + aPropSet.getPropertyMap(), rPropertyName); + if(!pMap) + throw UnknownPropertyException(); + switch(pMap->nWID) + { + case 0:default:break; + } +} +Any SAL_CALL SwXTextDocument::getPropertyDefault( const OUString& rPropertyName ) + throw (UnknownPropertyException, WrappedTargetException, RuntimeException) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + const SfxItemPropertyMap* pMap = SfxItemPropertyMap::GetByName( + aPropSet.getPropertyMap(), rPropertyName); + if(!pMap) + throw UnknownPropertyException(); + Any aAny; + switch(pMap->nWID) + { + case 0:default:break; + } + return aAny; +} +/* -----------------------------23.08.02 16:00-------------------------------- + + ---------------------------------------------------------------------------*/ +/* + * GetRenderDoc: + * returns the document to be rendered, usually this will be the 'regular' + * document but in case of PDF export of (multi-)selection it will + * be a temporary document that gets created if not already done. + * The rpView variable will be set (if not already done) to the used + * SfxViewShell. +*/ + +SwDoc* SwXTextDocument::GetRenderDoc( const uno::Any& rSelection ) +{ + SwDoc *pDoc = 0; + + uno::Reference< frame::XModel > xModel; + rSelection >>= xModel; + if (xModel == pDocShell->GetModel()) + pDoc = pDocShell->GetDoc(); + else + DBG_BF_ASSERT(0, "STRIP"); + return pDoc; +} +/* -----------------------------23.08.02 16:00-------------------------------- + + ---------------------------------------------------------------------------*/ +sal_Int32 SAL_CALL SwXTextDocument::getRendererCount( + const uno::Any& rSelection, + const uno::Sequence< beans::PropertyValue >& rxOptions ) + throw (IllegalArgumentException, RuntimeException) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + + SwDoc *pDoc = GetRenderDoc( rSelection ); + if (!pDoc) + throw RuntimeException(); + + SwWrtShell *pWrtShell = pDoc->GetDocShell()->GetWrtShell(); + if( pWrtShell ) + { + SwViewOption aViewOpt( *pWrtShell->GetViewOptions() ); + aViewOpt.SetPDFExport( TRUE ); + if ( pWrtShell->IsBrowseMode() ) + aViewOpt.SetPrtFormat( TRUE ); + pWrtShell->ApplyViewOptions( aViewOpt ); + pWrtShell->CalcLayout(); + aViewOpt.SetPDFExport( FALSE ); + pWrtShell->ApplyViewOptions( aViewOpt ); + } + + return pDoc->GetPageCount(); +} +/* -----------------------------23.08.02 16:00-------------------------------- + + ---------------------------------------------------------------------------*/ +uno::Sequence< beans::PropertyValue > SAL_CALL SwXTextDocument::getRenderer( + sal_Int32 nRenderer, + const uno::Any& rSelection, + const uno::Sequence< beans::PropertyValue >& rxOptions ) + throw (IllegalArgumentException, RuntimeException) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + SwDoc *pDoc = GetRenderDoc( rSelection ); + if (!pDoc) + throw RuntimeException(); + + // due to #110067# (document page count changes sometimes during + // PDF export/printing) we can not check for the upper bound properly. + // Thus instead of throwing the exception we silently return. + if (!(0 <= nRenderer /* && nRenderer < pDoc->GetPageCount()*/)) + throw IllegalArgumentException(); + if (nRenderer >= pDoc->GetPageCount()) + return uno::Sequence< beans::PropertyValue >(); + + Size aPgSize( pDoc->GetPageSize( nRenderer + 1 ) ); + DBG_ASSERT( aPgSize != Size(), "no page size" ); + + awt::Size aPageSize( TWIP_TO_MM100( aPgSize.Width() ), + TWIP_TO_MM100( aPgSize.Height() )); + uno::Sequence< beans::PropertyValue > aRenderer(1); + PropertyValue &rValue = aRenderer.getArray()[0]; + rValue.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "PageSize" ) ); + rValue.Value <<= aPageSize; + + return aRenderer; +} +/* -----------------------------28.10.02 16:00-------------------------------- + ---------------------------------------------------------------------------*/ +void SAL_CALL SwXTextDocument::render( + sal_Int32 nRenderer, + const uno::Any& rSelection, + const uno::Sequence< beans::PropertyValue >& rxOptions ) + throw (IllegalArgumentException, RuntimeException) +{ + SolarMutexGuard aGuard; + if(!IsValid()) + throw RuntimeException(); + SwDoc *pDoc = GetRenderDoc( rSelection ); + if (!pDoc) + throw RuntimeException(); + + // due to #110067# (document page count changes sometimes during + // PDF export/printing) we can not check for the upper bound properly. + // Thus instead of throwing the exception we silently return. + if (!(0 <= nRenderer /* && nRenderer < pDoc->GetPageCount()*/)) + throw IllegalArgumentException(); + if (nRenderer >= pDoc->GetPageCount()) + return; + + DBG_BF_ASSERT(0, "STRIP"); +} +/* -----------------------------20.06.00 09:54-------------------------------- + + ---------------------------------------------------------------------------*/ +void * SAL_CALL SwXTextDocument::operator new( size_t t) throw() +{ + return SwXTextDocumentBaseClass::operator new(t); +} +/* -----------------------------20.06.00 09:54-------------------------------- + + ---------------------------------------------------------------------------*/ +void SAL_CALL SwXTextDocument::operator delete( void * p) throw() +{ + SwXTextDocumentBaseClass::operator delete(p); +} +/* -----------------25.10.99 11:06------------------- + + --------------------------------------------------*/ +SwXLinkTargetSupplier::SwXLinkTargetSupplier(SwXTextDocument& rxDoc) : + pxDoc(&rxDoc) +{ + sTables = String(SW_RES(STR_CONTENT_TYPE_TABLE)); + sFrames = String(SW_RES(STR_CONTENT_TYPE_FRAME)); + sGraphics = String(SW_RES(STR_CONTENT_TYPE_GRAPHIC)); + sOLEs = String(SW_RES(STR_CONTENT_TYPE_OLE)); + sSections = String(SW_RES(STR_CONTENT_TYPE_REGION)); + sOutlines = String(SW_RES(STR_CONTENT_TYPE_OUTLINE)); + sBookmarks = String(SW_RES(STR_CONTENT_TYPE_BOOKMARK)); +} +/* -----------------25.10.99 11:11------------------- + + --------------------------------------------------*/ +SwXLinkTargetSupplier::~SwXLinkTargetSupplier() +{ +} + +/*-- 25.10.99 11:12:45--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Any SwXLinkTargetSupplier::getByName(const OUString& rName) + throw( NoSuchElementException, WrappedTargetException, RuntimeException ) +{ + Any aRet; + if(!pxDoc) + throw RuntimeException(); + String sToCompare(rName); + String sSuffix('|'); + if(sToCompare == sTables) + { + sSuffix += UniString::CreateFromAscii(pMarkToTable); + + Reference< XNameAccess > xTbls = new SwXLinkNameAccessWrapper( + pxDoc->getTextTables(), sToCompare, sSuffix ); + Reference< XPropertySet > xRet(xTbls, UNO_QUERY); + aRet.setValue(&xRet, ::getCppuType((Reference<XPropertySet>*)0)); + } + else if(sToCompare == sFrames) + { + sSuffix += UniString::CreateFromAscii(pMarkToFrame); + Reference< XNameAccess > xTbls = new SwXLinkNameAccessWrapper( + pxDoc->getTextFrames(), sToCompare, sSuffix ); + Reference< XPropertySet > xRet(xTbls, UNO_QUERY); + aRet.setValue(&xRet, ::getCppuType((Reference< XPropertySet>*)0)); + } + else if(sToCompare == sSections) + { + sSuffix += UniString::CreateFromAscii(pMarkToRegion); + Reference< XNameAccess > xTbls = new SwXLinkNameAccessWrapper( + pxDoc->getTextSections(), sToCompare, sSuffix ); + Reference< XPropertySet > xRet(xTbls, UNO_QUERY); + aRet.setValue(&xRet, ::getCppuType((Reference< XPropertySet>*)0)); + } +/* else if(sToCompare == ) + { + sSuffix += UniString::CreateFromAscii(pMarkToText); + Reference< XNameAccess > xTbls = new SwXLinkNameAccessWrapper( + pxDoc->, sSuffix ); + Reference< XPropertySet > xRet(xTbls, UNO_QUERY); + aRet.setValue(&xRet, ::getCppuType((const XPropertySet*)0)); + }*/ + else if(sToCompare == sGraphics) + { + sSuffix += UniString::CreateFromAscii(pMarkToGraphic); + Reference< XNameAccess > xTbls = new SwXLinkNameAccessWrapper( + pxDoc->getGraphicObjects(), sToCompare, sSuffix ); + Reference< XPropertySet > xRet(xTbls, UNO_QUERY); + aRet.setValue(&xRet, ::getCppuType((Reference< XPropertySet>*)0)); + } + else if(sToCompare == sOLEs) + { + sSuffix += UniString::CreateFromAscii(pMarkToOLE); + Reference< XNameAccess > xTbls = new SwXLinkNameAccessWrapper( + pxDoc->getEmbeddedObjects(), sToCompare, sSuffix ); + Reference< XPropertySet > xRet(xTbls, UNO_QUERY); + aRet.setValue(&xRet, ::getCppuType((Reference< XPropertySet>*)0)); + } + else if(sToCompare == sOutlines) + { + sSuffix += UniString::CreateFromAscii(pMarkToOutline); + Reference< XNameAccess > xTbls = new SwXLinkNameAccessWrapper( + *pxDoc, sToCompare, sSuffix ); + Reference< XPropertySet > xRet(xTbls, UNO_QUERY); + aRet.setValue(&xRet, ::getCppuType((Reference< XPropertySet>*)0)); + } + else if(sToCompare == sBookmarks) + { + sSuffix.Erase(); + Reference< XNameAccess > xBkms = new SwXLinkNameAccessWrapper( + pxDoc->getBookmarks(), sToCompare, sSuffix ); + Reference< XPropertySet > xRet(xBkms, UNO_QUERY); + aRet.setValue(&xRet, ::getCppuType((Reference< XPropertySet>*)0)); + } + else + throw NoSuchElementException(); + return aRet; +} +/*-- 25.10.99 11:12:46--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Sequence< OUString > SwXLinkTargetSupplier::getElementNames(void) + throw( RuntimeException ) +{ + Sequence< OUString > aRet(7); + OUString* pNames = aRet.getArray(); + pNames[0] = sTables; + pNames[1] = sFrames ; + pNames[2] = sGraphics; + pNames[3] = sOLEs ; + pNames[4] = sSections; + pNames[5] = sOutlines; + pNames[6] = sBookmarks; + return aRet; +} +/*-- 25.10.99 11:12:46--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Bool SwXLinkTargetSupplier::hasByName(const OUString& rName) + throw( RuntimeException ) +{ + String sToCompare(rName); + if( sToCompare == sTables || + sToCompare == sFrames || + sToCompare == sGraphics|| + sToCompare == sOLEs || + sToCompare == sSections || + sToCompare == sOutlines || + sToCompare == sBookmarks ) + return sal_True; + return sal_False; +} +/*-- 25.10.99 11:12:47--------------------------------------------------- + + -----------------------------------------------------------------------*/ +uno::Type SwXLinkTargetSupplier::getElementType(void) + throw( RuntimeException ) +{ + return ::getCppuType((Reference< XPropertySet>*)0); + +} +/*-- 25.10.99 11:12:47--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Bool SwXLinkTargetSupplier::hasElements(void) throw( RuntimeException ) +{ + return 0 != pxDoc; +} +/*-- 25.10.99 11:12:47--------------------------------------------------- + + -----------------------------------------------------------------------*/ +OUString SwXLinkTargetSupplier::getImplementationName(void) throw( RuntimeException ) +{ + return C2U("SwXLinkTargetSupplier"); +} +/*-- 25.10.99 11:12:48--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Bool SwXLinkTargetSupplier::supportsService(const OUString& rServiceName) + throw( RuntimeException ) +{ + return (rServiceName == C2U("com.sun.star.document.LinkTargets")); +} +/*-- 25.10.99 11:12:48--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Sequence< OUString > SwXLinkTargetSupplier::getSupportedServiceNames(void) + throw( RuntimeException ) +{ + Sequence< OUString > aRet(1); + OUString* pNames = aRet.getArray(); + pNames[0] = C2U("com.sun.star.document.LinkTargets"); + return aRet; +} + +/*-- 26.10.99 09:16:23--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXLinkNameAccessWrapper::SwXLinkNameAccessWrapper( + Reference< XNameAccess > xAccess, const String& rLinkDisplayName, String sSuffix ) : + aPropSet(aSwMapProvider.GetPropertyMap(PROPERTY_MAP_LINK_TARGET)), + sLinkDisplayName(rLinkDisplayName), + xRealAccess(xAccess), + sLinkSuffix(sSuffix), + pxDoc(0) +{ +} +/* -----------------26.10.99 14:17------------------- + + --------------------------------------------------*/ +SwXLinkNameAccessWrapper::SwXLinkNameAccessWrapper(SwXTextDocument& rxDoc, + const String& rLinkDisplayName, String sSuffix) : + sLinkSuffix(sSuffix), + sLinkDisplayName(rLinkDisplayName), + aPropSet(aSwMapProvider.GetPropertyMap(PROPERTY_MAP_LINK_TARGET)), + pxDoc(&rxDoc), + xDoc(&rxDoc) +{ +} +/*-- 26.10.99 09:16:23--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXLinkNameAccessWrapper::~SwXLinkNameAccessWrapper() +{ +} +/*-- 26.10.99 09:16:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Any SwXLinkNameAccessWrapper::getByName(const OUString& rName) + throw( NoSuchElementException, WrappedTargetException, RuntimeException ) +{ + Any aRet; + sal_Bool bFound = sal_False; + //cut link extension and call the real NameAccess + String sParam = rName; + String sSuffix(sLinkSuffix); + if(sParam.Len() > sSuffix.Len() ) + { + String sCmp = sParam.Copy(sParam.Len() - sSuffix.Len(), + sSuffix.Len()); + if(sCmp == sSuffix) + { + if(pxDoc) + { + sParam = sParam.Copy(0, sParam.Len() - sSuffix.Len()); + if(!pxDoc->GetDocShell()) + throw RuntimeException(); + SwDoc* pDoc = pxDoc->GetDocShell()->GetDoc(); + sal_uInt16 nOutlineCount = pDoc->GetNodes().GetOutLineNds().Count(); + + for (sal_uInt16 i = 0; i < nOutlineCount && !bFound; ++i) + { + const SwNodes& rNds = pDoc->GetNodes(); + if(sParam == + rNds.GetOutLineNds()[ i ]->GetTxtNode()->GetExpandTxt( 0, STRING_LEN, sal_True )) + { + Reference< XPropertySet > xOutline = new SwXOutlineTarget(sParam); + aRet.setValue(&xOutline, ::getCppuType((Reference<XPropertySet>*)0)); + bFound = sal_True; + } + } + } + else + { + aRet = xRealAccess->getByName(sParam.Copy(0, sParam.Len() - sSuffix.Len())); + Reference< XInterface > xInt; + if(!(aRet >>= xInt)) + throw RuntimeException(); + Reference< XPropertySet > xProp(xInt, UNO_QUERY); + aRet <<= xProp; + bFound = sal_True; + } + } + } + if(!bFound) + throw NoSuchElementException(); + return aRet; +} +/*-- 26.10.99 09:16:24--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Sequence< OUString > SwXLinkNameAccessWrapper::getElementNames(void) + throw( RuntimeException ) +{ + Sequence< OUString > aRet; + if(pxDoc) + { + if(!pxDoc->GetDocShell()) + throw RuntimeException(); + + SwDoc* pDoc = pxDoc->GetDocShell()->GetDoc(); + sal_uInt16 nOutlineCount = pDoc->GetNodes().GetOutLineNds().Count(); + aRet.realloc(nOutlineCount); + OUString* pResArr = aRet.getArray(); + String sSuffix('|'); + sSuffix += UniString::CreateFromAscii(pMarkToOutline); + for (sal_uInt16 i = 0; i < nOutlineCount; ++i) + { + const SwNodes& rNds = pDoc->GetNodes(); + String sEntry( + rNds.GetOutLineNds()[ i ]->GetTxtNode()->GetExpandTxt( 0, STRING_LEN, sal_True )); + sEntry += sSuffix; + pResArr[i] = sEntry; + } + } + else + { + Sequence< OUString > aOrg = xRealAccess->getElementNames(); + const OUString* pOrgArr = aOrg.getConstArray(); + aRet.realloc(aOrg.getLength()); + OUString* pResArr = aRet.getArray(); + for(long i = 0; i < aOrg.getLength(); i++) + { + pResArr[i] = pOrgArr[i] + sLinkSuffix; + } + } + return aRet; +} +/*-- 26.10.99 09:16:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Bool SwXLinkNameAccessWrapper::hasByName(const OUString& rName) + throw( RuntimeException ) +{ + sal_Bool bRet = sal_False; + String sParam(rName); + if(sParam.Len() > sLinkSuffix.Len() ) + { + String sCmp = sParam.Copy(sParam.Len() - sLinkSuffix.Len(), + sLinkSuffix.Len()); + if(sCmp == sLinkSuffix) + { + sParam = sParam.Copy(0, sParam.Len() - sLinkSuffix.Len()); + if(pxDoc) + { + if(!pxDoc->GetDocShell()) + throw RuntimeException(); + SwDoc* pDoc = pxDoc->GetDocShell()->GetDoc(); + sal_uInt16 nOutlineCount = pDoc->GetNodes().GetOutLineNds().Count(); + + for (sal_uInt16 i = 0; i < nOutlineCount && !bRet; ++i) + { + const SwNodes& rNds = pDoc->GetNodes(); + if(sParam == + rNds.GetOutLineNds()[ i ]->GetTxtNode()->GetExpandTxt( 0, STRING_LEN, sal_True )) + { + bRet = sal_True; + } + } + } + else + { + bRet = xRealAccess->hasByName(sParam); + } + } + } + return bRet; +} +/*-- 26.10.99 09:16:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +uno::Type SwXLinkNameAccessWrapper::getElementType(void) + throw( RuntimeException ) +{ + return ::getCppuType((Reference<XPropertySet>*)0); +} +/*-- 26.10.99 09:16:25--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Bool SwXLinkNameAccessWrapper::hasElements(void) throw( RuntimeException ) +{ + sal_Bool bRet = sal_False; + if(pxDoc) + { + DBG_ERROR("not implemented"); + } + else + { + bRet = xRealAccess->hasElements(); + } + return bRet; +} +/*-- 26.10.99 09:16:26--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XPropertySetInfo > SwXLinkNameAccessWrapper::getPropertySetInfo(void) + throw( RuntimeException ) +{ + static Reference< XPropertySetInfo > xRet = aPropSet.getPropertySetInfo(); + return xRet; +} +/*-- 26.10.99 09:16:26--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXLinkNameAccessWrapper::setPropertyValue( + const OUString& PropertyName, const Any& aValue) + throw( UnknownPropertyException, + PropertyVetoException, + IllegalArgumentException, + WrappedTargetException, + RuntimeException) +{ + throw UnknownPropertyException(); +} +/* -----------------------------08.12.99 11:10-------------------------------- + + ---------------------------------------------------------------------------*/ +Any lcl_GetDisplayBitmap(String sLinkSuffix) +{ + Any aRet; + if(sLinkSuffix.Len()) + sLinkSuffix.Erase(0, 1); + sal_uInt16 nImgId = USHRT_MAX; + + if(COMPARE_EQUAL == sLinkSuffix.CompareToAscii(pMarkToOutline)) + nImgId = CONTENT_TYPE_OUTLINE; + else if(COMPARE_EQUAL == sLinkSuffix.CompareToAscii(pMarkToTable)) + nImgId = CONTENT_TYPE_TABLE; + else if(COMPARE_EQUAL == sLinkSuffix.CompareToAscii(pMarkToFrame)) + nImgId = CONTENT_TYPE_FRAME; + else if(COMPARE_EQUAL == sLinkSuffix.CompareToAscii(pMarkToGraphic)) + nImgId = CONTENT_TYPE_GRAPHIC; +// else if(== sLinkSuffix) +// nImgId = CONTENT_TYPE_BOOKMARK; + else if(COMPARE_EQUAL == sLinkSuffix.CompareToAscii(pMarkToRegion)) + nImgId = CONTENT_TYPE_REGION; + else if(COMPARE_EQUAL == sLinkSuffix.CompareToAscii(pMarkToOLE)) + nImgId = CONTENT_TYPE_OLE; + else if(!sLinkSuffix.Len()) + nImgId = CONTENT_TYPE_BOOKMARK; + if(USHRT_MAX != nImgId) + { + } + return aRet; +} +/*-- 26.10.99 09:16:27--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Any SwXLinkNameAccessWrapper::getPropertyValue(const OUString& rPropertyName) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ + Any aRet; + if( rPropertyName.equalsAsciiL( SW_PROP_NAME(UNO_LINK_DISPLAY_NAME))) + { + aRet <<= OUString(sLinkDisplayName); + } + else if( rPropertyName.equalsAsciiL( SW_PROP_NAME(UNO_LINK_DISPLAY_BITMAP))) + { + aRet = lcl_GetDisplayBitmap(sLinkSuffix); + } + else + throw UnknownPropertyException(); + return aRet; +} +/*-- 26.10.99 09:16:27--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXLinkNameAccessWrapper::addPropertyChangeListener( + const OUString& PropertyName, const Reference< XPropertyChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{} +/*-- 26.10.99 09:16:28--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXLinkNameAccessWrapper::removePropertyChangeListener( + const OUString& PropertyName, const Reference< XPropertyChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{} +/*-- 26.10.99 09:16:28--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXLinkNameAccessWrapper::addVetoableChangeListener( + const OUString& PropertyName, const Reference< XVetoableChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{} +/*-- 26.10.99 09:16:29--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXLinkNameAccessWrapper::removeVetoableChangeListener( + const OUString& PropertyName, const Reference< XVetoableChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{} +/*-- 26.10.99 09:16:32--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XNameAccess > SwXLinkNameAccessWrapper::getLinks(void) + throw( RuntimeException ) +{ + return (SwXLinkNameAccessWrapper*)this; +} + +/*-- 26.10.99 09:21:48--------------------------------------------------- + + -----------------------------------------------------------------------*/ +OUString SwXLinkNameAccessWrapper::getImplementationName(void) throw( RuntimeException ) +{ + return C2U("SwXLinkNameAccessWrapper"); +} +/*-- 26.10.99 09:21:48--------------------------------------------------- + + -----------------------------------------------------------------------*/ +sal_Bool SwXLinkNameAccessWrapper::supportsService(const OUString& rServiceName) + throw( RuntimeException ) +{ + return (rServiceName == C2U("com.sun.star.document.LinkTargets")); +} +/*-- 26.10.99 09:21:48--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Sequence< OUString > SwXLinkNameAccessWrapper::getSupportedServiceNames(void) + throw( RuntimeException ) +{ + Sequence< OUString > aRet(1); + OUString* pNames = aRet.getArray(); + pNames[0] = C2U("com.sun.star.document.LinkTargets"); + return aRet; +} +/* -----------------26.10.99 15:50------------------- + + --------------------------------------------------*/ +SwXOutlineTarget::SwXOutlineTarget(const String& rOutlineText) : + aPropSet(aSwMapProvider.GetPropertyMap(PROPERTY_MAP_LINK_TARGET)), + sOutlineText(rOutlineText) +{ +} +/*-- 26.10.99 15:51:45--------------------------------------------------- + + -----------------------------------------------------------------------*/ +SwXOutlineTarget::~SwXOutlineTarget() +{ +} +/*-- 26.10.99 15:51:46--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Reference< XPropertySetInfo > SwXOutlineTarget::getPropertySetInfo(void) throw( RuntimeException ) +{ + static Reference< XPropertySetInfo > xRet = aPropSet.getPropertySetInfo(); + return xRet; +} +/*-- 26.10.99 15:51:46--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXOutlineTarget::setPropertyValue( + const OUString& PropertyName, const Any& aValue) + throw( UnknownPropertyException, PropertyVetoException, + IllegalArgumentException, WrappedTargetException, RuntimeException) +{ + throw UnknownPropertyException(); +} +/*-- 26.10.99 15:51:46--------------------------------------------------- + + -----------------------------------------------------------------------*/ +Any SwXOutlineTarget::getPropertyValue(const OUString& rPropertyName) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ + Any aRet; + if(rPropertyName.equalsAsciiL( SW_PROP_NAME(UNO_LINK_DISPLAY_NAME))) + aRet <<= OUString(sOutlineText); + else + throw UnknownPropertyException(); + return aRet; +} +/*-- 26.10.99 15:51:46--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXOutlineTarget::addPropertyChangeListener( + const OUString& PropertyName, const Reference< XPropertyChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ +} +/*-- 26.10.99 15:51:47--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXOutlineTarget::removePropertyChangeListener( + const OUString& PropertyName, const Reference< XPropertyChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ +} +/*-- 26.10.99 15:51:47--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXOutlineTarget::addVetoableChangeListener( + const OUString& PropertyName, const Reference< XVetoableChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ +} +/*-- 26.10.99 15:51:47--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwXOutlineTarget::removeVetoableChangeListener( + const OUString& PropertyName, const Reference< XVetoableChangeListener > & aListener) + throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) +{ +} +/* -----------------03.05.99 12:28------------------- + * + * --------------------------------------------------*/ +OUString SwXOutlineTarget::getImplementationName(void) throw( RuntimeException ) +{ + return C2U("SwXOutlineTarget"); +} +/* -----------------03.05.99 12:28------------------- + * + * --------------------------------------------------*/ +sal_Bool SwXOutlineTarget::supportsService(const OUString& ServiceName) throw( RuntimeException ) +{ + return C2U("com.sun.star.document.LinkTarget") == ServiceName; +} +/* -----------------03.05.99 12:28------------------- + * + * --------------------------------------------------*/ +Sequence< OUString > SwXOutlineTarget::getSupportedServiceNames(void) throw( RuntimeException ) +{ + Sequence < OUString > aRet(1); + OUString* pArray = aRet.getArray(); + pArray[0] = C2U("com.sun.star.document.LinkTarget"); + + return aRet; +} +/* -----------------------------17.01.01 16:06-------------------------------- + + ---------------------------------------------------------------------------*/ +SwXDocumentPropertyHelper::SwXDocumentPropertyHelper(SwDoc& rDoc) +: m_pDoc(&rDoc) +, SvxUnoForbiddenCharsTable ( rDoc.GetForbiddenCharacterTbl() ) +{ +} +/* -----------------------------17.01.01 16:06-------------------------------- + + ---------------------------------------------------------------------------*/ +SwXDocumentPropertyHelper::~SwXDocumentPropertyHelper() +{ +} +/* -----------------------------17.01.01 16:06-------------------------------- + + ---------------------------------------------------------------------------*/ +Reference<XInterface> SwXDocumentPropertyHelper::GetDrawTable(short nWhich) +{ + Reference<XInterface> xRet; + if(m_pDoc) + { + switch(nWhich) + { + case SW_CREATE_DASH_TABLE : + if(!xDashTable.is()) + xDashTable = SvxUnoDashTable_createInstance( m_pDoc->GetDrawModel() ); + xRet = xDashTable; + break; + case SW_CREATE_GRADIENT_TABLE : + if(!xGradientTable.is()) + xGradientTable = SvxUnoGradientTable_createInstance( m_pDoc->GetDrawModel() ); + xRet = xGradientTable; + break; + case SW_CREATE_HATCH_TABLE : + if(!xHatchTable.is()) + xHatchTable = SvxUnoHatchTable_createInstance( m_pDoc->GetDrawModel() ); + xRet = xHatchTable; + break; + case SW_CREATE_BITMAP_TABLE : + if(!xBitmapTable.is()) + xBitmapTable = SvxUnoBitmapTable_createInstance( m_pDoc->GetDrawModel() ); + xRet = xBitmapTable; + break; + case SW_CREATE_TRANSGRADIENT_TABLE: + if(!xTransGradientTable.is()) + xTransGradientTable = SvxUnoTransGradientTable_createInstance( m_pDoc->GetDrawModel() ); + xRet = xTransGradientTable; + break; + case SW_CREATE_MARKER_TABLE : + if(!xMarkerTable.is()) + xMarkerTable = SvxUnoMarkerTable_createInstance( m_pDoc->GetDrawModel() ); + xRet = xMarkerTable; + break; + case SW_CREATE_DRAW_DEFAULTS: + if(!xDrawDefaults.is()) + xDrawDefaults = (cppu::OWeakObject*)new SwSvxUnoDrawPool(m_pDoc); + xRet = xDrawDefaults; + break; +#ifdef DBG_UTIL + default: DBG_ERROR("which table?"); +#endif + } + } + return xRet; +} + +void SwXDocumentPropertyHelper::Invalidate() +{ + xDashTable = 0; + xGradientTable = 0; + xHatchTable = 0; + xBitmapTable = 0; + xTransGradientTable = 0; + xMarkerTable = 0; + xDrawDefaults = 0; + m_pDoc = 0; + SvxUnoForbiddenCharsTable::mxForbiddenChars.clear(); +} + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/uno/unodefaults.hxx b/binfilter/bf_sw/source/ui/uno/unodefaults.hxx new file mode 100644 index 000000000000..b930c96f4ca5 --- /dev/null +++ b/binfilter/bf_sw/source/ui/uno/unodefaults.hxx @@ -0,0 +1,52 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _UNODEFAULTS_HXX +#define _UNODEFAULTS_HXX + +#include <bf_svx/unopool.hxx> +namespace binfilter { + +class SwDoc; + +class SwSvxUnoDrawPool : public SvxUnoDrawPool +{ + SwDoc* m_pDoc; +public: + SwSvxUnoDrawPool( SwDoc* pDoc ) throw(); + virtual ~SwSvxUnoDrawPool() throw(); + + virtual SfxItemPool* getModelPool( sal_Bool bReadOnly ) throw(); + + void Invalidate() {m_pDoc = 0;} +}; + +} //namespace binfilter +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/utlui/attrdesc.hrc b/binfilter/bf_sw/source/ui/utlui/attrdesc.hrc new file mode 100644 index 000000000000..501419006d78 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/attrdesc.hrc @@ -0,0 +1,37 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _ATTRDESC_HRC +#define _ATTRDESC_HRC + +#include "rcid.hrc" + +#define STR_EDIT_IN_READONLY (RC_ATTR_BEGIN + 50) + + + +#endif diff --git a/binfilter/bf_sw/source/ui/utlui/gloslst.hrc b/binfilter/bf_sw/source/ui/utlui/gloslst.hrc new file mode 100644 index 000000000000..0d3fe2b0f586 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/gloslst.hrc @@ -0,0 +1,38 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _INITUI_HRC +#define _INITUI_HRC + +#define FL_GLOSS 1 +#define PB_OK 2 +#define PB_HELP 3 +#define PB_CANCEL 4 +#define LB_LIST 5 + +#endif + diff --git a/binfilter/bf_sw/source/ui/utlui/initui.hrc b/binfilter/bf_sw/source/ui/utlui/initui.hrc new file mode 100644 index 000000000000..8911bdb37783 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/initui.hrc @@ -0,0 +1,61 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _INITUI_HRC +#define _INITUI_HRC + + +// lokale Resourcen fuer die Shells: +#define STR_POSTIT_PAGE 1 +#define STR_POSTIT_AUTHOR 2 +#define STR_CALC_SYNTAX 3 +#define STR_CALC_ZERODIV 4 +#define STR_CALC_BRACK 5 +#define STR_CALC_POW 6 +#define STR_CALC_VARNFND 7 +#define STR_CALC_OVERFLOW 8 +#define STR_CALC_WRONGTIME 9 +#define STR_CALC_DEFAULT 10 +#define STR_CALC_ERROR 11 +#define STR_GETREFFLD_UP 12 +#define STR_GETREFFLD_DOWN 13 +#define STR_ALLPAGE_HEADFOOT 14 +#define STR_TEMPLATE_NONE 15 +#define STR_POSTIT_LINE 16 +#define STR_FIELD_FIXED 17 +#define STR_TOI 18 +#define STR_TOU 19 +#define STR_TOC 20 +#define STR_TOX_ILL 21 +#define STR_TOX_OBJ 22 +#define STR_TOX_TBL 23 +#define STR_TOX_AUTH 24 +#define STR_PAGEDESC_NAME 25 +#define STR_PAGEDESC_FIRSTNAME 26 +#define STR_PAGEDESC_FOLLOWNAME 27 +#endif + diff --git a/binfilter/bf_sw/source/ui/utlui/makefile.mk b/binfilter/bf_sw/source/ui/utlui/makefile.mk new file mode 100644 index 000000000000..5406c69a37e3 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/makefile.mk @@ -0,0 +1,66 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_utlui + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw + +# --- Files -------------------------------------------------------- + +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_initui.src \ + sw_gloslst.src \ + sw_navipi.src \ + sw_poolfmt.src \ + sw_attrdesc.src \ + sw_utlui.src + +SLOFILES = \ + $(SLO)$/sw_attrdesc.obj \ + $(SLO)$/sw_uiitems.obj \ + $(SLO)$/sw_uitool.obj \ + $(SLO)$/sw_initui.obj + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/utlui/navipi.hrc b/binfilter/bf_sw/source/ui/utlui/navipi.hrc new file mode 100644 index 000000000000..e7c5c5489f32 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/navipi.hrc @@ -0,0 +1,92 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define TB_1 1 +#define TB_2 2 +#define TB_3 3 +#define TB_4 4 +#define BT_UP 5 +#define BT_DOWN 6 + +#define FT_PAGE 10 +#define ED_PAGE 11 + +#define LB_SELECT 22 +#define TL_SELECT 23 + +#define TB_PAGE_TEXT 41 +#define TB_PAGE_COUNT 42 + +#define TB_CONTENT 50 +#define TL_CONTENT 51 + +#define LB_DOCS 53 +#define NF_PAGE 54 +#define TL_GLOBAL 55 +#define TB_GLOBAL 56 + +//------------------------------------------------------------------- +// Strings fuer Kontextmenue des ContentTree +#define ST_CONTEXT_FIRST 60 +#define ST_OUTLINE_LEVEL ST_CONTEXT_FIRST +#define ST_DRAGMODE (ST_CONTEXT_FIRST + 1) +#define ST_HYPERLINK (ST_CONTEXT_FIRST + 2) +#define ST_LINK_REGION (ST_CONTEXT_FIRST + 3) +#define ST_COPY_REGION (ST_CONTEXT_FIRST + 4) +#define ST_DISPLAY (ST_CONTEXT_FIRST + 5) +#define ST_ACTIVE_VIEW (ST_CONTEXT_FIRST + 6) + +#define ST_STATUS_FIRST 67 +#define ST_HIDDEN (ST_STATUS_FIRST ) +#define ST_ACTIVE (ST_STATUS_FIRST + 1) +#define ST_INACTIVE (ST_STATUS_FIRST + 2) +#define ST_MISC 70 +#define ST_EDIT_ENTRY ST_MISC +#define ST_DELETE_ENTRY (ST_MISC + 1) + +#define ST_GLOBAL_CONTEXT_FIRST (ST_DELETE_ENTRY + 1) +#define ST_UPDATE (ST_GLOBAL_CONTEXT_FIRST ) +#define ST_EDIT_CONTENT (ST_GLOBAL_CONTEXT_FIRST + 1) +#define ST_INSERT (ST_GLOBAL_CONTEXT_FIRST + 2) +#define ST_INDEX (ST_GLOBAL_CONTEXT_FIRST + 3) +#define ST_FILE (ST_GLOBAL_CONTEXT_FIRST + 4) +#define ST_NEW_FILE (ST_GLOBAL_CONTEXT_FIRST + 5) +#define ST_TEXT (ST_GLOBAL_CONTEXT_FIRST + 6) +#define ST_DELETE (ST_GLOBAL_CONTEXT_FIRST + 7) +#define ST_UPDATE_SEL (ST_GLOBAL_CONTEXT_FIRST + 8) +#define ST_UPDATE_INDEX (ST_GLOBAL_CONTEXT_FIRST + 9) +#define ST_UPDATE_LINK (ST_GLOBAL_CONTEXT_FIRST +10) +#define ST_UPDATE_ALL (ST_GLOBAL_CONTEXT_FIRST +11) +#define ST_BROKEN_LINK (ST_GLOBAL_CONTEXT_FIRST +12) +#define ST_EDIT_LINK (ST_GLOBAL_CONTEXT_FIRST +13) + +#define ST_REMOVE_INDEX (ST_GLOBAL_CONTEXT_FIRST +30) +#define ST_REMOVE_TBL_PROTECTION (ST_GLOBAL_CONTEXT_FIRST +31) +#define ST_RENAME (ST_GLOBAL_CONTEXT_FIRST +32) +#define ST_READONLY_IDX (ST_GLOBAL_CONTEXT_FIRST +33) +#define ST_INVISIBLE (ST_GLOBAL_CONTEXT_FIRST +34) + + diff --git a/binfilter/bf_sw/source/ui/utlui/sw_attrdesc.cxx b/binfilter/bf_sw/source/ui/utlui/sw_attrdesc.cxx new file mode 100644 index 000000000000..00c7181135f8 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/sw_attrdesc.cxx @@ -0,0 +1,243 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + + + + +#include <fchrfmt.hxx> + +#include <horiornt.hxx> + +#include <fmtclds.hxx> +#include <hfspacingitem.hxx> +#include <paratr.hxx> +#include <pagedesc.hxx> +#include <attrdesc.hrc> +namespace binfilter { + +/*N*/ TYPEINIT2(SwFmtCharFmt,SfxPoolItem,SwClient); + +// erfrage die Attribut-Beschreibung +/*N*/ void SwAttrSet::GetPresentation( +/*N*/ SfxItemPresentation ePres, +/*N*/ SfxMapUnit eCoreMetric, +/*N*/ SfxMapUnit ePresMetric, +/*N*/ String &rText ) const +/*N*/ { +DBG_BF_ASSERT(0, "STRIP"); //STRIP001 static sal_Char __READONLY_DATA sKomma[] = ", "; +} + + +/*N*/ void SwPageDesc::GetPresentation( +/*N*/ SfxItemPresentation ePres, +/*N*/ SfxMapUnit eCoreMetric, +/*N*/ SfxMapUnit ePresMetric, +/*N*/ String &rText ) const +/*N*/ { +/*N*/ rText = GetName(); +/*N*/ } + + +// ATT_CHARFMT ********************************************* + + +/*N*/ SfxItemPresentation SwFmtCharFmt::GetPresentation +/*N*/ ( +/*N*/ SfxItemPresentation ePres, +/*N*/ SfxMapUnit eCoreUnit, +/*N*/ SfxMapUnit ePresUnit, +/*N*/ String& rText, +/*N*/ const ::IntlWrapper* pIntl +/*N*/ ) const +/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 +/*N*/ return SFX_ITEM_PRESENTATION_NONE; +/*N*/ } + +// ATT_INETFMT ********************************************* + + + + +/************************************************************************* +|* class SwFmtDrop +*************************************************************************/ + + + +/************************************************************************* +|* class SwRegisterItem +*************************************************************************/ + + + +/************************************************************************* +|* class SwNumRuleItem +*************************************************************************/ + + +/************************************************************************* +|* class SwParaConnectBorderItem +*************************************************************************/ + +/*N*/ SfxItemPresentation SwParaConnectBorderItem::GetPresentation +/*N*/ ( +/*N*/ SfxItemPresentation ePres, +/*N*/ SfxMapUnit eCoreUnit, +/*N*/ SfxMapUnit ePresUnit, +/*N*/ XubString& rText, +/*N*/ const ::IntlWrapper* pIntl +/*N*/ ) const +/*N*/ { +/*N*/ // no UI support available +/*N*/ return SfxBoolItem::GetPresentation( ePres, eCoreUnit, ePresUnit, rText, pIntl ); +/* switch ( ePres ) + { + case SFX_ITEM_PRESENTATION_NONE: + rText.Erase(); + return SFX_ITEM_PRESENTATION_NONE; + case SFX_ITEM_PRESENTATION_NAMELESS: + case SFX_ITEM_PRESENTATION_COMPLETE: + { + USHORT nId = GetValue() ? STR_CONNECT_BORDER_ON : STR_CONNECT_BORDER_OFF; + rText = SW_RESSTR( nId ); + return ePres; + } + } + return SFX_ITEM_PRESENTATION_NONE; + */ +/*N*/ } + + + +/****************************************************************************** + * Frame-Attribute: + ******************************************************************************/ + + + +//Kopfzeile, fuer Seitenformate +//Client von FrmFmt das den Header beschreibt. + + + +//Fusszeile, fuer Seitenformate +//Client von FrmFmt das den Footer beschreibt. + + + + + + +//VertOrientation, wie und woran orientiert -- +// sich der FlyFrm in der Vertikalen ----------- + + + +//HoriOrientation, wie und woran orientiert -- +// sich der FlyFrm in der Hoizontalen ---------- + + + +//FlyAnchor, Anker des Freifliegenden Rahmen ---- + + + + + +//Der ColumnDescriptor -------------------------- + + + +//URL's und Maps + + + + +//SwFmtEditInReadonly + + + + + + + + + + + +//SwHeaderAndFooterEatSpacingItem + + +/*M*/ SfxItemPresentation SwHeaderAndFooterEatSpacingItem::GetPresentation +/*M*/ ( +/*M*/ SfxItemPresentation ePres, +/*M*/ SfxMapUnit eCoreUnit, +/*M*/ SfxMapUnit ePresUnit, +/*M*/ String& rText, +/*M*/ const ::IntlWrapper* pIntl +/*M*/ ) const +/*M*/ { +// rText.Erase(); +// switch ( ePres ) +// { +// case SFX_ITEM_PRESENTATION_NONE: +// rText.Erase(); +// break; +// case SFX_ITEM_PRESENTATION_NAMELESS: +// case SFX_ITEM_PRESENTATION_COMPLETE: +// { +// if ( GetValue() ) +// rText = SW_RESSTR(STR_EDIT_IN_READONLY); +// return ePres; +// } +// } +/*M*/ return SFX_ITEM_PRESENTATION_NONE; +/*M*/ } + + +// ---------------------- Grafik-Attribute -------------------------- + + + + + + + + + + + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/utlui/sw_attrdesc.src b/binfilter/bf_sw/source/ui/utlui/sw_attrdesc.src new file mode 100644 index 000000000000..8b8085dfe398 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/sw_attrdesc.src @@ -0,0 +1,47 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#include "globals.hrc" +#include "attrdesc.hrc" +/*--------------------------------------------------------------------- + Strings fuer textuelle Attribute + ---------------------------------------------------------------------*/ + + + + + + + + + + + + + + diff --git a/binfilter/bf_sw/source/ui/utlui/sw_gloslst.src b/binfilter/bf_sw/source/ui/utlui/sw_gloslst.src new file mode 100644 index 000000000000..d2169332b234 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/sw_gloslst.src @@ -0,0 +1,60 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/binfilter/bf_sw/source/ui/utlui/sw_initui.cxx b/binfilter/bf_sw/source/ui/utlui/sw_initui.cxx new file mode 100644 index 000000000000..3d21df3f3317 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/sw_initui.cxx @@ -0,0 +1,140 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <viewsh.hxx> +#include <edtwin.hxx> +#include <shellres.hxx> + +#include <utlui.hrc> +#include <initui.hrc> +#include <comcore.hrc> +#include <authfld.hxx> +#include <dbmgr.hxx> +#include "swtypes.hxx" +namespace binfilter { + +#define C2S(cChar) UniString::CreateFromAscii(cChar) +/*-------------------------------------------------------------------- + Beschreibung: globale Pointer + --------------------------------------------------------------------*/ + +String* pOldGrfCat = 0; +String* pOldTabCat = 0; +String* pOldFrmCat = 0; +String* pOldDrwCat = 0; + +SvStringsDtor* pDBNameList = 0; + +SvStringsDtor* pAuthFieldNameList = 0; +SvStringsDtor* pAuthFieldTypeList = 0; + +/*-------------------------------------------------------------------- + Beschreibung: UI beenden + --------------------------------------------------------------------*/ + +/*N*/ ShellResource::ShellResource() +/*N*/ : Resource( SW_RES(RID_SW_SHELLRES) ), +/*N*/ aPostItPage( SW_RES( STR_POSTIT_PAGE ) ), +/*N*/ aPostItAuthor( SW_RES( STR_POSTIT_AUTHOR ) ), +/*N*/ aPostItLine( SW_RES( STR_POSTIT_LINE ) ), +/*N*/ aCalc_Syntax( SW_RES( STR_CALC_SYNTAX ) ), +/*N*/ aCalc_ZeroDiv( SW_RES( STR_CALC_ZERODIV ) ), +/*N*/ aCalc_Brack( SW_RES( STR_CALC_BRACK ) ), +/*N*/ aCalc_Pow( SW_RES( STR_CALC_POW ) ), +/*N*/ aCalc_VarNFnd( SW_RES( STR_CALC_VARNFND ) ), +/*N*/ aCalc_Overflow( SW_RES( STR_CALC_OVERFLOW ) ), +/*N*/ aCalc_WrongTime( SW_RES( STR_CALC_WRONGTIME ) ), +/*N*/ aCalc_Default( SW_RES( STR_CALC_DEFAULT ) ), +/*N*/ aCalc_Error( SW_RES( STR_CALC_ERROR ) ), +/*N*/ aGetRefFld_Up( SW_RES( STR_GETREFFLD_UP ) ), +/*N*/ aGetRefFld_Down( SW_RES( STR_GETREFFLD_DOWN ) ), +/*N*/ aStrAllPageHeadFoot( SW_RES( STR_ALLPAGE_HEADFOOT ) ), +/*N*/ aStrNone( SW_RES( STR_TEMPLATE_NONE )), +/*N*/ aFixedStr( SW_RES( STR_FIELD_FIXED )), +/*N*/ aTOXIndexName( SW_RES(STR_TOI)), +/*N*/ aTOXUserName( SW_RES(STR_TOU)), +/*N*/ aTOXContentName( SW_RES(STR_TOC)), +/*N*/ aTOXIllustrationsName( SW_RES(STR_TOX_ILL)), +/*N*/ aTOXObjectsName( SW_RES(STR_TOX_OBJ)), +/*N*/ aTOXTablesName( SW_RES(STR_TOX_TBL)), +/*N*/ aTOXAuthoritiesName( SW_RES(STR_TOX_AUTH)), +/*N*/ sPageDescFirstName( SW_RES(STR_PAGEDESC_FIRSTNAME)), +/*N*/ sPageDescFollowName( SW_RES(STR_PAGEDESC_FOLLOWNAME)), +/*N*/ sPageDescName( SW_RES(STR_PAGEDESC_NAME)), +/*N*/ pAutoFmtNameLst( 0 ) +/*N*/ { +/*N*/ const USHORT nCount = FLD_DOCINFO_END - FLD_DOCINFO_BEGIN; +/*N*/ +/*N*/ for(USHORT i = 0; i < nCount; ++i) +/*N*/ { +/*N*/ String* pNew = new SW_RESSTR(FLD_DOCINFO_BEGIN + i); +/*N*/ aDocInfoLst.Insert(pNew, aDocInfoLst.Count()); +/*N*/ } +/*N*/ +/*N*/ FreeResource(); +/*N*/ } + +/*N*/ ShellResource::~ShellResource() +/*N*/ { +/*N*/ if( pAutoFmtNameLst ) +/*?*/ delete pAutoFmtNameLst, pAutoFmtNameLst = 0; +/*N*/ } + + String ShellResource::GetPageDescName( USHORT nNo, BOOL bIsFirst, BOOL bFollow ) + { + String sRet( bIsFirst ? sPageDescFirstName + : bFollow ? sPageDescFollowName + : sPageDescName ); + sRet.SearchAndReplaceAscii( "$(ARG1)", String::CreateFromInt32( nNo )); + return sRet; + } + + + const String& SwAuthorityFieldType::GetAuthTypeName(ToxAuthorityType eType) + { + if(!pAuthFieldTypeList) + { + pAuthFieldTypeList = new SvStringsDtor(AUTH_TYPE_END, 1); + for(USHORT i = 0; i < AUTH_TYPE_END; i++) + pAuthFieldTypeList->Insert( + new String(SW_RES(STR_AUTH_TYPE_START + i)), + pAuthFieldTypeList->Count()); + } + return *pAuthFieldTypeList->GetObject(eType); + } + + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/utlui/sw_initui.src b/binfilter/bf_sw/source/ui/utlui/sw_initui.src new file mode 100644 index 000000000000..cbe623291508 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/sw_initui.src @@ -0,0 +1,1872 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#include "globals.hrc" +#include "utlui.hrc" +#include "helpid.h" +#include "initui.hrc" + +/*--------------------------------------------------------------------- + Fehler Calculator + ---------------------------------------------------------------------*/ +Resource RID_SW_SHELLRES +{ + String STR_POSTIT_PAGE + { + Text [ de ] = "Seite" ; + Text [ en-US ] = "Page" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Página"; + Text[ ru ] = "Страница"; + Text[ el ] = "Σελίδα"; + Text[ nl ] = "Pagina"; + Text[ fr ] = "Page"; + Text[ es ] = "Página"; + Text[ fi ] = "Sivu"; + Text[ ca ] = "Pàgina"; + Text[ it ] = "Pagina"; + Text[ sk ] = "Stránka"; + Text[ da ] = "Side"; + Text[ sv ] = "Sida"; + Text[ pl ] = "Strona"; + Text[ pt-BR ] = "Página"; + Text[ th ] = "หน้า"; + Text[ ja ] = "ページ"; + Text[ ko ] = "페이지"; + Text[ zh-CN ] = "页"; + Text[ zh-TW ] = "頁"; + Text[ tr ] = "Sayfa"; + Text[ hi-IN ] = "पृष्ठ"; + Text[ ar ] = "الصفحة"; + Text[ he ] = "דף"; + }; + String STR_POSTIT_LINE + { + Text [ de ] = "Zeile" ; + Text [ en-US ] = "Line" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Linha"; + Text[ ru ] = "Строка"; + Text[ el ] = "Γραμμή"; + Text[ nl ] = "Regel"; + Text[ fr ] = "Ligne"; + Text[ es ] = "Línea"; + Text[ fi ] = "Viiva"; + Text[ ca ] = "Línia"; + Text[ it ] = "Riga"; + Text[ sk ] = "Úsečka"; + Text[ da ] = "Række"; + Text[ sv ] = "Rad"; + Text[ pl ] = "Wiersz"; + Text[ pt-BR ] = "Linha"; + Text[ th ] = "บรรทัด"; + Text[ ja ] = "行"; + Text[ ko ] = "줄"; + Text[ zh-CN ] = "行"; + Text[ zh-TW ] = "行"; + Text[ tr ] = "Satır"; + Text[ hi-IN ] = "रेखा"; + Text[ ar ] = "السطر"; + Text[ he ] = "קו"; + }; + String STR_POSTIT_AUTHOR + { + Text [ de ] = "Autor" ; + Text [ en-US ] = "Author" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Autor"; + Text[ ru ] = "Автор"; + Text[ el ] = "Συντάκτης"; + Text[ nl ] = "Auteur"; + Text[ fr ] = "Auteur"; + Text[ es ] = "Autor"; + Text[ fi ] = "Tekijä"; + Text[ ca ] = "Autor"; + Text[ it ] = "Autore"; + Text[ sk ] = "Autor"; + Text[ da ] = "Forfatter"; + Text[ sv ] = "Författare"; + Text[ pl ] = "Autor"; + Text[ pt-BR ] = "Autor"; + Text[ th ] = "ผู้เขียน"; + Text[ ja ] = "作成者"; + Text[ ko ] = "작성자"; + Text[ zh-CN ] = "作者"; + Text[ zh-TW ] = "作者"; + Text[ tr ] = "Yazan"; + Text[ hi-IN ] = "लेखक"; + Text[ ar ] = "المؤلف"; + Text[ he ] = "מחבר"; + }; + String STR_CALC_SYNTAX + { + Text [ en-US ] = "** Syntax Error **" ; + Text [ de ] = "** Syntax Fehler **" ; + Text [ x-comment ] = " "; + Text[ pt ] = "** Erro de sintaxe **"; + Text[ ru ] = "** Синтаксическая ошибка **"; + Text[ el ] = "** Συντακτικό λάθος **"; + Text[ nl ] = "** Syntactische fout **"; + Text[ fr ] = "** Erreur de syntaxe **"; + Text[ es ] = "** Error de sintaxis **"; + Text[ fi ] = "** Syntaksivirhe **"; + Text[ ca ] = "** Error de sintaxi **"; + Text[ it ] = "** Errore di sintassi **"; + Text[ sk ] = "** Syntaktická chyba **"; + Text[ da ] = "** Syntaksfejl **"; + Text[ sv ] = "** Syntaxfel **"; + Text[ pl ] = "** Błąd składniowy **"; + Text[ pt-BR ] = "** Erro de Sintaxe **"; + Text[ th ] = "** ไวยกรณ์ผิดพลาด **"; + Text[ ja ] = "**シンタックスエラー**"; + Text[ ko ] = "** 구문 오류 **"; + Text[ zh-CN ] = "** 语法错误 **"; + Text[ zh-TW ] = "** 語法錯誤 **"; + Text[ tr ] = "** Söz dizimi hatası **"; + Text[ hi-IN ] = "** सिन्टाक्स गलती **"; + Text[ ar ] = "** خطأ في بناء الجملة **"; + Text[ he ] = "** Syntax Fehler **"; + }; + String STR_CALC_ZERODIV + { + Text [ en-US ] = "** Division by zero **" ; + Text [ de ] = "** Division durch Null **" ; + Text [ x-comment ] = " "; + Text[ pt ] = "** Dividir por zero **"; + Text[ ru ] = "** Деление на нуль **"; + Text[ el ] = "** Διαίρεση με το 0 **"; + Text[ nl ] = "Divideren door nul"; + Text[ fr ] = "** Division par zéro **"; + Text[ es ] = "** Dividir por cero **"; + Text[ fi ] = "** Jako nollalla **"; + Text[ ca ] = "** Dividir per zero **"; + Text[ it ] = "** Divisione per zero **"; + Text[ sk ] = "** Delenie nulou **"; + Text[ da ] = "** Division med nul **"; + Text[ sv ] = "** Division med noll **"; + Text[ pl ] = "** Dzielenie przez zero **"; + Text[ pt-BR ] = "** Divisão por zero **"; + Text[ th ] = "** หารด้วยศูนย์ **"; + Text[ ja ] = "**ゼロで割る**"; + Text[ ko ] = "** 0으로 나누기 **"; + Text[ zh-CN ] = "** 除于零 **"; + Text[ zh-TW ] = "** 除於零 **"; + Text[ tr ] = "** Sıfır ile bölme **"; + Text[ hi-IN ] = "** शून्य से विभाजन **"; + Text[ ar ] = "** قسمة على صفر **"; + Text[ he ] = "** Division durch Null **"; + }; + String STR_CALC_BRACK + { + Text [ en-US ] = "** Wrong use of brackets **" ; + Text [ de ] = "** Fehlerhafte Klammerung **" ; + Text [ x-comment ] = " "; + Text[ pt ] = "** Parênteses errados **"; + Text[ ru ] = "** Неправильное применение скобок **"; + Text[ el ] = "** Λάθος χρήση παρενθέσεων **"; + Text[ nl ] = "** Foutief gebruik van haakjes **"; + Text[ fr ] = "** Erreur de parenthèses **"; + Text[ es ] = "** Error de paréntesis **"; + Text[ fi ] = "** Virheellinen sulkeiden käyttö **"; + Text[ ca ] = "** Error de parèntesi **"; + Text[ it ] = "** Parentesi errate **"; + Text[ sk ] = "** Chybné použitie zátvoriek **"; + Text[ da ] = "** Forkert brug af parenteser **"; + Text[ sv ] = "** Felaktig användning av parenteser **"; + Text[ pl ] = "** Nieprawidłowo użyte nawiasy **"; + Text[ pt-BR ] = "** Uso incorreto de colchetes **"; + Text[ th ] = "** ใช้วงเล็บก้ามปูผิด **"; + Text[ ja ] = "**誤使用のかっこ**"; + Text[ ko ] = "**잘못된 괄호 **"; + Text[ zh-CN ] = "** 错误的括号 **"; + Text[ zh-TW ] = "** 錯誤的括號 **"; + Text[ tr ] = "** Hatalı ayraç kullanımı **"; + Text[ hi-IN ] = "** कोष्ठकों का गलत उपयोग **"; + Text[ ar ] = "** استخدام الأقواس بشكل خاطئ **"; + Text[ he ] = "** Fehlerhafte Klammerung **"; + }; + String STR_CALC_POW + { + Text [ en-US ] = "** Square function overflow **" ; + /* ### ACHTUNG: Neuer Text in Resource? ** berlauf in Quadratfunktion ** : ** berlauf in Quadratfunktion ** */ + Text [ de ] = "** Überlauf in Quadratfunktion **" ; + Text [ x-comment ] = " "; + Text[ pt ] = "** Transbordo da função quadrática **"; + Text[ ru ] = "** Переполнение в функции квадрата **"; + Text[ el ] = "** Υπερχείλιση στη λειτουργία τετραγώνου **"; + Text[ nl ] = "** Overloop in kwadraatfunctie **"; + Text[ fr ] = "** Dépassement de capacité de la fonction carré**"; + Text[ es ] = "** Desbordamiento en la función al cuadrado **"; + Text[ fi ] = "** Potenssifunktion ylivuoto **"; + Text[ ca ] = "** Desbordament en funció al quadrat **"; + Text[ it ] = "** Overflow nella funzione quadrato **"; + Text[ sk ] = "** Pretečenie funkcie umocnenia **"; + Text[ da ] = "** Overløb i kvadratfunktion **"; + Text[ sv ] = "** Spill i kvadratfunktion **"; + Text[ pl ] = "** Przepełnienie w funkcji podnoszącej do kwadratu **"; + Text[ pt-BR ] = "** Transbordo da função quadrado **"; + Text[ th ] = "** ฟังก์ชั่นสี่เหลี่ยมจัตุรัสล้น **"; + Text[ ja ] = "**四角形機能のオーバーフロー**"; + Text[ ko ] = "**제곱 함수 오버플로우 **"; + Text[ zh-CN ] = "** 平方函数的溢值 **"; + Text[ zh-TW ] = "** 根函數溢值 **"; + Text[ tr ] = "** Kare fonksiyonu taşması **"; + Text[ hi-IN ] = "** वर्ग फंक्शन में अधिकता **"; + Text[ ar ] = "** فائض في الدالة التربيعية **"; + Text[ he ] = "** Überlauf in Quadratfunktion **"; + }; + String STR_CALC_VARNFND + { + Text [ en-US ] = "** Variable not found **" ; + Text [ de ] = "** Variable wurde nicht gefunden **" ; + Text [ x-comment ] = " "; + Text[ pt ] = "** Variável não encontrada **"; + Text[ ru ] = "** Переменная не найдена **"; + Text[ el ] = "** Δεν βρέθηκε η μεταβλητή **"; + Text[ nl ] = "** Variabele niet gevonden **"; + Text[ fr ] = "** Variable introuvable **"; + Text[ es ] = "** No se ha encontrado la variable **"; + Text[ fi ] = "** Muuttujaa ei löydy **"; + Text[ ca ] = "** No s'ha trobat la variable **"; + Text[ it ] = "** Variabile non trovata **"; + Text[ sk ] = "** Premenná nenájdená **"; + Text[ da ] = "** Variabel blev ikke fundet **"; + Text[ sv ] = "** Variabel hittades inte **"; + Text[ pl ] = "** Nie znaleziono zmiennej **"; + Text[ pt-BR ] = "** Variável não encontrada **"; + Text[ th ] = "** ไม่พบตัวแปร **"; + Text[ ja ] = "**変数が見つかりません**"; + Text[ ko ] = "** 변수를 찾지 못했습니다 **"; + Text[ zh-CN ] = "** 没有找到变量 **"; + Text[ zh-TW ] = "** 沒有找到變數 **"; + Text[ tr ] = "** Değişken bulunamadı **"; + Text[ hi-IN ] = "** वेरिऐबल नहीं मिला **"; + Text[ ar ] = "** تعذر العثور على المتغيرة **"; + Text[ he ] = "** Variable wurde nicht gefunden **"; + }; + String STR_CALC_OVERFLOW + { + Text [ en-US ] = "** Overflow **" ; + /* ### ACHTUNG: Neuer Text in Resource? ** berlauf ** : ** berlauf ** */ + Text [ de ] = "** Überlauf **" ; + Text [ x-comment ] = " "; + Text[ pt ] = "** Transbordo **"; + Text[ ru ] = "** Переполнение **"; + Text[ el ] = "** Υπερχείλιση **"; + Text[ nl ] = "** Overflow **"; + Text[ fr ] = "** Dépassement de capacité **"; + Text[ es ] = "** Desbordamiento **"; + Text[ fi ] = "** Ylivuoto **"; + Text[ ca ] = "** Sobreeximent **"; + Text[ it ] = "** Overflow **"; + Text[ sk ] = "** Pretečenie **"; + Text[ da ] = "** Overløb **"; + Text[ sv ] = "** Spill **"; + Text[ pl ] = "** Przepełnienie **"; + Text[ pt-BR ] = "** Transbordo **"; + Text[ th ] = "** ล้น **"; + Text[ ja ] = "**オーバーフロー**"; + Text[ ko ] = "** 오버 플로우 **"; + Text[ zh-CN ] = "** 溢值 **"; + Text[ zh-TW ] = "** 溢值 **"; + Text[ tr ] = "** Taşma **"; + Text[ hi-IN ] = "** अधिकता **"; + Text[ ar ] = "** فائض **"; + Text[ he ] = "** Überlauf **"; + }; + String STR_CALC_WRONGTIME + { + Text [ en-US ] = "** Wrong time format **" ; + Text [ de ] = "** Falsches Zeitformat **" ; + Text [ x-comment ] = " "; + Text[ pt ] = "** Formato de hora errado**"; + Text[ ru ] = "** Неправильный формат времени **"; + Text[ el ] = "** Λάθος μορφή χρόνου **"; + Text[ nl ] = "** Foutieve tijdnotatie **"; + Text[ fr ] = "** Format d'heure erroné **"; + Text[ es ] = "** Formato de hora erróneo **"; + Text[ fi ] = "** Ajan muoto ei kelpaa **"; + Text[ ca ] = "** Format de temps erroni"; + Text[ it ] = "** Formato orario errato **"; + Text[ sk ] = "** Chybný formát času **"; + Text[ da ] = "** Forkert tidsformat **"; + Text[ sv ] = "** Fel tidsformat **"; + Text[ pl ] = "** Nieprawidłowy format godziny **"; + Text[ pt-BR ] = "** Formato de hora incorreto **"; + Text[ th ] = "** รูปแบบเวลาผิด **"; + Text[ ja ] = "**正しくない時間の書式**"; + Text[ ko ] = "** 잘못된 시간 표기 형식 **"; + Text[ zh-CN ] = "** 错误的时间格式 **"; + Text[ zh-TW ] = "** 錯誤時間格式 **"; + Text[ tr ] = "** Yanlış zaman formatı **"; + Text[ hi-IN ] = "** गलत समय रचना **"; + Text[ ar ] = "** تنسيق وقت خاطئ **"; + Text[ he ] = "** Falsches Zeitformat **"; + }; + String STR_CALC_DEFAULT + { + Text [ en-US ] = "** Error **" ; + Text [ de ] = "** Fehler **" ; + Text [ x-comment ] = " "; + Text[ pt ] = "** Erro **"; + Text[ ru ] = "** Ошибка **"; + Text[ el ] = "** Σφάλμα **"; + Text[ nl ] = "** Fout **"; + Text[ fr ] = "** Erreur **"; + Text[ es ] = "** Error **"; + Text[ fi ] = "** Virhe **"; + Text[ ca ] = "** Error **"; + Text[ it ] = "** Errore **"; + Text[ sk ] = "** Chyba **"; + Text[ da ] = "** Fejl **"; + Text[ sv ] = "** Fel **"; + Text[ pl ] = "** Błąd **"; + Text[ pt-BR ] = "** Erro **"; + Text[ th ] = "** ผิดพลาด **"; + Text[ ja ] = "**エラー**"; + Text[ ko ] = "** 오류 **"; + Text[ zh-CN ] = "**错误 **"; + Text[ zh-TW ] = "**錯誤 **"; + Text[ tr ] = "** Hata **"; + Text[ hi-IN ] = "** गलती **"; + Text[ ar ] = "** خطأ **"; + Text[ he ] = "** Fehler **"; + }; + String STR_CALC_ERROR + { + Text [ de ] = "** Fehlerhafter Ausdruck **" ; + Text [ en-US ] = "** Expression is faulty **" ; + Text [ x-comment ] = " "; + Text[ pt ] = "** Expressão errada **"; + Text[ ru ] = "** Ошибки в выражении **"; + Text[ el ] = "** Εσφαλμένη έκφραση **"; + Text[ nl ] = "** Foutieve uitdrukking **"; + Text[ fr ] = "** Expression erronée **"; + Text[ es ] = "** Expresión errónea **"; + Text[ fi ] = "** Virheellinen lauseke **"; + Text[ ca ] = "** Expressió errònia **"; + Text[ it ] = "** Errore nell'espressione **"; + Text[ sk ] = "** Výraz je chybný **"; + Text[ da ] = "** Fejlagtigt udtryk **"; + Text[ sv ] = "** Felaktigt uttryck **"; + Text[ pl ] = "** Nieprawidłowe wyrażenie **"; + Text[ pt-BR ] = "** Erro na expressão **"; + Text[ th ] = "** คำอธิบายผิด **"; + Text[ ja ] = "**エラー表現**"; + Text[ ko ] = "** 오류가 있는 식 **"; + Text[ zh-CN ] = "** 错误的表达式 **"; + Text[ zh-TW ] = "** 錯誤的表達式 **"; + Text[ tr ] = "** Yanlış denklem **"; + Text[ hi-IN ] = "** दोषयुक्त वर्णन **"; + Text[ ar ] = "** تعبير خاطئ **"; + Text[ he ] = "** Fehlerhafter Ausdruck **"; + }; + String STR_GETREFFLD_UP + { + Text [ de ] = "oben" ; + Text [ en-US ] = "above" ; + Text [ x-comment ] = " "; + Text[ pt ] = "acima"; + Text[ ru ] = "вверху"; + Text[ el ] = "πάνω"; + Text[ nl ] = "boven"; + Text[ fr ] = "En haut"; + Text[ es ] = "arriba"; + Text[ fi ] = "ylhäällä"; + Text[ ca ] = "a sobre"; + Text[ it ] = "Sopra"; + Text[ sk ] = "hore"; + Text[ da ] = "foroven"; + Text[ sv ] = "över"; + Text[ pl ] = "powyżej"; + Text[ pt-BR ] = "acima"; + Text[ th ] = "ข้างบน"; + Text[ ja ] = "上"; + Text[ ko ] = "위"; + Text[ zh-CN ] = "上"; + Text[ zh-TW ] = "上"; + Text[ tr ] = "üst"; + Text[ hi-IN ] = "ऊपर"; + Text[ ar ] = "أعلى"; + Text[ he ] = "oben"; + }; + String STR_GETREFFLD_DOWN + { + Text [ de ] = "unten" ; + Text [ en-US ] = "below" ; + Text [ x-comment ] = " "; + Text[ pt ] = "abaixo"; + Text[ ru ] = "внизу"; + Text[ el ] = "κάτω"; + Text[ nl ] = "beneden"; + Text[ fr ] = "En bas"; + Text[ es ] = "abajo"; + Text[ fi ] = "alhaalla"; + Text[ ca ] = "sota"; + Text[ it ] = "Sotto"; + Text[ sk ] = "pod"; + Text[ da ] = "forneden"; + Text[ sv ] = "under"; + Text[ pl ] = "poniżej"; + Text[ pt-BR ] = "abaixo"; + Text[ th ] = "ข้างใต้"; + Text[ ja ] = "下"; + Text[ ko ] = "아래"; + Text[ zh-CN ] = "下"; + Text[ zh-TW ] = "下"; + Text[ tr ] = "alt"; + Text[ hi-IN ] = "नीचे"; + Text[ ar ] = "أسفل"; + Text[ he ] = "unten"; + }; + String STR_ALLPAGE_HEADFOOT + { + Text [ de ] = "Alle" ; + Text [ en-US ] = "All" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Todos"; + Text[ ru ] = "Все"; + Text[ el ] = "Όλα"; + Text[ nl ] = "alle"; + Text[ fr ] = "Tous"; + Text[ es ] = "Todos"; + Text[ fi ] = "Kaikki"; + Text[ ca ] = "Tot"; + Text[ it ] = "Tutti"; + Text[ sk ] = "Všetko"; + Text[ da ] = "Alle"; + Text[ sv ] = "Alla"; + Text[ pl ] = "Wszystko"; + Text[ pt-BR ] = "Tudo"; + Text[ th ] = "ทั้งหมด"; + Text[ ja ] = "すべて"; + Text[ ko ] = "모두"; + Text[ zh-CN ] = "全部"; + Text[ zh-TW ] = "全部"; + Text[ tr ] = "Tümü"; + Text[ hi-IN ] = "सब"; + Text[ ar ] = "الكل"; + Text[ he ] = "הכל"; + }; + String STR_TEMPLATE_NONE + { + Text [ de ] = "keine" ; + Text [ en-US ] = "None" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Nenhum"; + Text[ ru ] = "Нет"; + Text[ el ] = "κανένα"; + Text[ nl ] = "geen"; + Text[ fr ] = "Aucun(e)"; + Text[ es ] = "Ninguno"; + Text[ fi ] = "Ei mitään"; + Text[ ca ] = "Cap"; + Text[ it ] = "Senza"; + Text[ sk ] = "Žiadne"; + Text[ da ] = "Ingen"; + Text[ sv ] = "Ingen"; + Text[ pl ] = "brak"; + Text[ pt-BR ] = "Nenhum"; + Text[ th ] = "ไม่มี"; + Text[ ja ] = "なし"; + Text[ ko ] = "없음"; + Text[ zh-CN ] = "无"; + Text[ zh-TW ] = "無"; + Text[ tr ] = "yok"; + Text[ hi-IN ] = "कोई नहीं"; + Text[ ar ] = "بدون"; + Text[ he ] = "ללא"; + }; + String STR_FIELD_FIXED + { + Text [ de ] = "(fix)" ; + Text [ en-US ] = "(fixed)" ; + Text [ x-comment ] = " "; + Text[ pt ] = "(fixo)"; + Text[ ru ] = "(фикс.)"; + Text[ el ] = "(σταθερά)"; + Text[ nl ] = "(vast)"; + Text[ fr ] = "(fixe)"; + Text[ es ] = "(fija)"; + Text[ fi ] = "(kiinteä)"; + Text[ ca ] = "(fix)"; + Text[ it ] = "(fissa)"; + Text[ sk ] = "(nemenný)"; + Text[ da ] = "(fast)"; + Text[ sv ] = "(fix)"; + Text[ pl ] = "(ustalone)"; + Text[ pt-BR ] = "(fixo)"; + Text[ th ] = "(คงที่)"; + Text[ ja ] = "(変更不可)"; + Text[ ko ] = "(고정)"; + Text[ zh-CN ] = "(固定)"; + Text[ zh-TW ] = "(固定)"; + Text[ tr ] = "(sabit)"; + Text[ hi-IN ] = "(स्थिर)"; + Text[ ar ] = "(ثابت)"; + Text[ he ] = "(fix)"; + }; + String STR_TOI + { + Text [ de ] = "Stichwortverzeichnis" ; + Text [ en-US ] = "Alphabetical Index" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Índice remissivo"; + Text[ ru ] = "Алфавитный указатель"; + Text[ el ] = "Ευρετήριο λέξεων"; + Text[ nl ] = "Index"; + Text[ fr ] = "Index lexical"; + Text[ es ] = "Índice alfabético"; + Text[ fi ] = "Aakkosellinen hakemisto"; + Text[ ca ] = "Índex alfabètic"; + Text[ it ] = "Indice analitico"; + Text[ sk ] = "Abecedný Index"; + Text[ da ] = "Stikordsregister"; + Text[ sv ] = "Sakregister"; + Text[ pl ] = "Indeks alfabetyczny"; + Text[ pt-BR ] = "Índice Alfabético"; + Text[ th ] = "ดัชนีเรียงตามตัวอักษร"; + Text[ ja ] = "索引"; + Text[ ko ] = "색인"; + Text[ zh-CN ] = "索引目录"; + Text[ zh-TW ] = "索引目錄"; + Text[ tr ] = "Alfabetik dizin"; + Text[ hi-IN ] = "वर्णमाला अनुक्रमणिका"; + Text[ ar ] = "فهرس أبجدي"; + Text[ he ] = "Stichwortverzeichnis"; + }; + + String STR_TOU + { + Text [ de ] = "Benutzerdefiniert" ; + Text [ en-US ] = "User-Defined" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Personalizado"; + Text[ ru ] = "Определяемый пользователем"; + Text[ el ] = "Ορισμένο από χρήστη"; + Text[ nl ] = "Gebruikersindex"; + Text[ fr ] = "Index personnalisé"; + Text[ es ] = "Índice del usuario"; + Text[ fi ] = "Käyttäjän määrittämä"; + Text[ ca ] = "Definit per l'usuari"; + Text[ it ] = "Indice personalizzato"; + Text[ sk ] = "Definované užívateľom"; + Text[ da ] = "Brugerdefineret"; + Text[ sv ] = "Användardefinierad"; + Text[ pl ] = "Zdefiniowany przez użytkownika"; + Text[ pt-BR ] = "Definido pelo usuário"; + Text[ th ] = "ระบุผู้ใช้"; + Text[ ja ] = "ユーザー定義"; + Text[ ko ] = "사용자 정의"; + Text[ zh-CN ] = "使用者自定"; + Text[ zh-TW ] = "使用者自訂"; + Text[ tr ] = "Kullanıcı tanımlı"; + Text[ hi-IN ] = "उपभोक्ता से परिभाषित"; + Text[ ar ] = "مُعرَّف من قبل المستخدم"; + Text[ he ] = "Benutzerdefiniert"; + }; + + String STR_TOC + { + Text [ de ] = "Inhaltsverzeichnis" ; + Text [ en-US ] = "Table of Contents" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Índice geral"; + Text[ ru ] = "Оглавление"; + Text[ el ] = "Κατάλογος περιεχομένων"; + Text[ nl ] = "Inhoudsopgave"; + Text[ fr ] = "Table des matières"; + Text[ es ] = "Índice de contenido"; + Text[ fi ] = "Sisällysluettelo"; + Text[ ca ] = "Índex de contingut"; + Text[ it ] = "Indice generale"; + Text[ sk ] = "Obsah"; + Text[ da ] = "Indholdsfortegnelse"; + Text[ sv ] = "Innehållsförteckning"; + Text[ pl ] = "Spis treści"; + Text[ pt-BR ] = "Índice"; + Text[ th ] = "ตารางเนื้แหา"; + Text[ ja ] = "目次"; + Text[ ko ] = "목차"; + Text[ zh-CN ] = "内容目录"; + Text[ zh-TW ] = "內容目錄"; + Text[ tr ] = "İçindekiler dizini"; + Text[ hi-IN ] = "विषयसूची सारणी"; + Text[ ar ] = "فهرس المحتويات"; + Text[ he ] = "Inhaltsverzeichnis"; + }; + + String STR_TOX_AUTH + { + Text [ de ] = "Literaturverzeichnis" ; + Text [ en-US ] = "Bibliography"; + Text [ x-comment ] = " "; + Text[ pt ] = "Bibliografia"; + Text[ ru ] = "Библиография"; + Text[ el ] = "Βιβλιογραφία"; + Text[ nl ] = "Literatuurlijst"; + Text[ fr ] = "Bibliographie"; + Text[ es ] = "Bibliografía"; + Text[ fi ] = "Lähdeluettelo"; + Text[ ca ] = "Bibliografia"; + Text[ it ] = "Bibliografia"; + Text[ sk ] = "Zoznam použitej literatúry"; + Text[ da ] = "Litteraturliste"; + Text[ sv ] = "Litteraturförteckning"; + Text[ pl ] = "Bibliografia"; + Text[ pt-BR ] = "Bibliografia"; + Text[ th ] = "บรรณานุกรม"; + Text[ ja ] = "参考文献表"; + Text[ ko ] = "참고 문헌"; + Text[ zh-CN ] = "文献目录"; + Text[ zh-TW ] = "文獻目錄"; + Text[ tr ] = "Kaynakça dizini"; + Text[ hi-IN ] = "ग्रन्थ-सूची"; + Text[ ar ] = "فهرس المراجع"; + Text[ he ] = "Literaturverzeichnis"; + }; + String STR_TOX_TBL + { + Text [ de ] = "Tabellenverzeichnis" ; + Text [ en-US ] = "Index of Tables"; + Text [ x-comment ] = " "; + Text[ pt ] = "Índice de tabelas"; + Text[ ru ] = "Список таблиц"; + Text[ el ] = "Ευρετήριο πινάκων"; + Text[ nl ] = "Tabellenregister"; + Text[ fr ] = "Index des tables"; + Text[ es ] = "Índice de tablas"; + Text[ fi ] = "Taulukkolettelo"; + Text[ ca ] = "Índex de taules"; + Text[ it ] = "Indice delle tabelle"; + Text[ sk ] = "Zoznam tabuliek"; + Text[ da ] = "Tabeloversigt"; + Text[ sv ] = "Tabellförteckning"; + Text[ pl ] = "Indeks tabel"; + Text[ pt-BR ] = "Índice de Tabelas"; + Text[ th ] = "ดัชนีตาราง"; + Text[ ja ] = "表の索引"; + Text[ ko ] = "표 색인"; + Text[ zh-CN ] = "表格目录"; + Text[ zh-TW ] = "表格目錄"; + Text[ tr ] = "Tablo dizini"; + Text[ hi-IN ] = "सारणियों का अनुक्रमणिका"; + Text[ ar ] = "فهرس الجداول"; + Text[ he ] = "Tabellenverzeichnis"; + }; + String STR_TOX_OBJ + { + Text [ de ] = "Objektverzeichnis" ; + Text [ en-US ] = "Table of Objects"; + Text [ x-comment ] = " "; + Text[ pt ] = "Índice de objectos"; + Text[ ru ] = "Список объектов"; + Text[ el ] = "Κατάλογος αντικειμένων"; + Text[ nl ] = "Objectregister"; + Text[ fr ] = "Index des objets"; + Text[ es ] = "Índice de objetos"; + Text[ fi ] = "Objektiluettelo"; + Text[ ca ] = "Taula d'objectes"; + Text[ it ] = "Indice degli oggetti"; + Text[ sk ] = "Tabuľka objektov"; + Text[ da ] = "Objektindeks"; + Text[ sv ] = "Objektförteckning"; + Text[ pl ] = "Spis obiektów"; + Text[ pt-BR ] = "Índice de Objetos"; + Text[ th ] = "ตารางวัตถุ"; + Text[ ja ] = "オブジェクトの索引"; + Text[ ko ] = "개체 색인"; + Text[ zh-CN ] = "对象目录"; + Text[ zh-TW ] = "物件目錄"; + Text[ tr ] = "Nesne dizini"; + Text[ hi-IN ] = "वस्तुओं का सारणी"; + Text[ ar ] = "فهرس الكائنات"; + Text[ he ] = "Objektverzeichnis"; + }; + String STR_TOX_ILL + { + Text [ de ] = "Abbildungsverzeichnis" ; + Text [ en-US ] = "Illustration Index"; + Text [ x-comment ] = " "; + Text[ pt ] = "Índice de ilustrações"; + Text[ ru ] = "Список иллюстраций"; + Text[ el ] = "Κατάλογος εικόνων"; + Text[ nl ] = "Afbeeldingenregister"; + Text[ fr ] = "Index des illustrations"; + Text[ es ] = "Índice de ilustraciones"; + Text[ fi ] = "Kuvitusluettelo"; + Text[ ca ] = "Índex d'il.lustracions"; + Text[ it ] = "Indice delle illustrazioni"; + Text[ sk ] = "Zoznam ilustrácií"; + Text[ da ] = "Figuroversigt"; + Text[ sv ] = "Illustrationsförteckning"; + Text[ pl ] = "Indeks ilustracji"; + Text[ pt-BR ] = "Índice de Ilustrações"; + Text[ th ] = "ดัชนีภาพประกอบ"; + Text[ ja ] = "図の索引"; + Text[ ko ] = "삽화 색인"; + Text[ zh-CN ] = "插图目录"; + Text[ zh-TW ] = "插圖目錄"; + Text[ tr ] = "Resim dizini"; + Text[ hi-IN ] = "दृष्टान्त अनुक्रमणिका"; + Text[ ar ] = "فهرس الصور الإيضاحية"; + Text[ he ] = "Abbildungsverzeichnis"; + }; + + + // SubType DocInfo + // + String FLD_DOCINFO_TITEL + { + Text [ de ] = "Titel" ; + Text [ en-US ] = "Title" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Capitulo"; + Text[ ru ] = "Заглавие"; + Text[ el ] = "Τίτλος"; + Text[ nl ] = "Titel"; + Text[ fr ] = "Titre"; + Text[ es ] = "Título"; + Text[ fi ] = "Otsikko"; + Text[ ca ] = "Títol"; + Text[ it ] = "Titolo"; + Text[ sk ] = "Titul"; + Text[ da ] = "Titel"; + Text[ sv ] = "Rubrik"; + Text[ pl ] = "Tytuł"; + Text[ pt-BR ] = "Título"; + Text[ th ] = "ชื่อ"; + Text[ ja ] = "タイトル"; + Text[ ko ] = "제목"; + Text[ zh-CN ] = "标题"; + Text[ zh-TW ] = "標題"; + Text[ tr ] = "Başlık"; + Text[ hi-IN ] = "शीर्षक"; + Text[ ar ] = "العنوان"; + Text[ he ] = "כותרת"; + }; + String FLD_DOCINFO_THEMA + { + Text [ de ] = "Thema" ; + Text [ en-US ] = "Subject" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Assunto"; + Text[ ru ] = "Тема"; + Text[ el ] = "Θέμα"; + Text[ nl ] = "Onderwerp"; + Text[ fr ] = "Sujet"; + Text[ es ] = "Asunto"; + Text[ fi ] = "Aihe"; + Text[ ca ] = "Assumpte"; + Text[ it ] = "Argomento"; + Text[ sk ] = "Predmet"; + Text[ da ] = "Emne"; + Text[ sv ] = "Tema"; + Text[ pl ] = "Temat"; + Text[ pt-BR ] = "Assunto"; + Text[ th ] = "ชื่อเรื่อง"; + Text[ ja ] = "テーマ"; + Text[ ko ] = "주제"; + Text[ zh-CN ] = "主题"; + Text[ zh-TW ] = "主題"; + Text[ tr ] = "Konu"; + Text[ hi-IN ] = "विषय"; + Text[ ar ] = "الموضوع"; + Text[ he ] = "נושא"; + }; + String FLD_DOCINFO_KEYS + { + /* ### ACHTUNG: Neuer Text in Resource? Schlsselwrter : Schlsselwrter */ + Text [ de ] = "Schlüsselwörter" ; + Text [ en-US ] = "Keywords" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Palavras-chave"; + Text[ ru ] = "Ключевые слова"; + Text[ el ] = "Λέξεις κλειδιά"; + Text[ nl ] = "Sleutelwoorden"; + Text[ fr ] = "Mots-clés"; + Text[ es ] = "Palabras clave"; + Text[ fi ] = "Avainsanat"; + Text[ ca ] = "Paraules clau"; + Text[ it ] = "Parole chiave"; + Text[ sk ] = "Kľúčové slová"; + Text[ da ] = "Nøgleord"; + Text[ sv ] = "Nyckelord"; + Text[ pl ] = "Słowa kluczowe"; + Text[ pt-BR ] = "Palavras-chave"; + Text[ th ] = "คำสำคัญ"; + Text[ ja ] = "キーワード"; + Text[ ko ] = "키워드"; + Text[ zh-CN ] = "关键字"; + Text[ zh-TW ] = "關鍵字"; + Text[ tr ] = "Anahtar sözcükler"; + Text[ hi-IN ] = "प्रधान शब्द"; + Text[ ar ] = "الكلمات الأساسية"; + Text[ he ] = "מילות מפתח"; + }; + String FLD_DOCINFO_COMMENT + { + Text [ de ] = "Kommentar" ; + Text [ en-US ] = "Comments" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Descrição"; + Text[ ru ] = "Описание"; + Text[ el ] = "Περιγραφή"; + Text[ nl ] = "Beschrijving"; + Text[ fr ] = "Commentaires"; + Text[ es ] = "Comentario"; + Text[ fi ] = "Kuvaus"; + Text[ ca ] = "Descripció"; + Text[ it ] = "Commenti"; + Text[ sk ] = "Komentár"; + Text[ da ] = "Beskrivelse"; + Text[ sv ] = "Kommentar"; + Text[ pl ] = "Opis"; + Text[ pt-BR ] = "Descrição"; + Text[ th ] = "คำอธิบาย"; + Text[ ja ] = "コメント"; + Text[ ko ] = "설명"; + Text[ zh-CN ] = "注解"; + Text[ zh-TW ] = "註解"; + Text[ tr ] = "Açıklamalar"; + Text[ hi-IN ] = "विवरण"; + Text[ ar ] = "الوصف"; + Text[ he ] = "תאור"; + }; + String FLD_DOCINFO_INFO1 + { + Text [ de ] = "Info 0" ; + Text [ en-US ] = "Info 0" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Informação 0"; + Text[ ru ] = "Инфо 0"; + Text[ el ] = "Πληροφορία 0"; + Text[ nl ] = "Info 0"; + Text[ fr ] = "Info 0"; + Text[ es ] = "Info 0"; + Text[ fi ] = "Tiedot 0"; + Text[ ca ] = "Informació 0"; + Text[ it ] = "Info 0"; + Text[ sk ] = "Informácia 0"; + Text[ da ] = "Info 0"; + Text[ sv ] = "Info 0"; + Text[ pl ] = "Informacja 0"; + Text[ pt-BR ] = "Informação 0"; + Text[ th ] = "ข้อมูล 0"; + Text[ ja ] = "情報 0"; + Text[ ko ] = "정보 0"; + Text[ zh-CN ] = "信息 0"; + Text[ zh-TW ] = "資訊 0"; + Text[ tr ] = "Bilgi 0"; + Text[ hi-IN ] = "जानकारी 0"; + Text[ ar ] = "معلومة 0"; + Text[ he ] = "Info 0"; + }; + String FLD_DOCINFO_INFO2 + { + Text [ de ] = "Info 1" ; + Text [ en-US ] = "Info 1" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Informação 1"; + Text[ ru ] = "Инфо 1"; + Text[ el ] = "Πληροφορία 1"; + Text[ nl ] = "Info 1"; + Text[ fr ] = "Info 1"; + Text[ es ] = "Info 1"; + Text[ fi ] = "Tiedot 1"; + Text[ ca ] = "Informació 1"; + Text[ it ] = "Info 1"; + Text[ sk ] = "Informácia 1"; + Text[ da ] = "Info 1"; + Text[ sv ] = "Info 1"; + Text[ pl ] = "Informacja 1"; + Text[ pt-BR ] = "Informação 1"; + Text[ th ] = "ข้อมูล 1"; + Text[ ja ] = "情報 1"; + Text[ ko ] = "정보 1"; + Text[ zh-CN ] = "信息 1"; + Text[ zh-TW ] = "資訊 1"; + Text[ tr ] = "Bilgi 1"; + Text[ hi-IN ] = "जानकारी 1"; + Text[ ar ] = "معلومة 1"; + Text[ he ] = "Info 1"; + }; + String FLD_DOCINFO_INFO3 + { + Text [ de ] = "Info 2" ; + Text [ en-US ] = "Info 2" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Informação 2"; + Text[ ru ] = "Инфо 2"; + Text[ el ] = "Πληροφορία 2"; + Text[ nl ] = "Info 2"; + Text[ fr ] = "Info 2"; + Text[ es ] = "Info 2"; + Text[ fi ] = "Tiedot 2"; + Text[ ca ] = "Informació 2"; + Text[ it ] = "Info 2"; + Text[ sk ] = "Informácia 2"; + Text[ da ] = "Info 2"; + Text[ sv ] = "Info 2"; + Text[ pl ] = "Informacja 2"; + Text[ pt-BR ] = "Informação 2"; + Text[ th ] = "ข้อมูล 2"; + Text[ ja ] = "情報 2"; + Text[ ko ] = "정보 2"; + Text[ zh-CN ] = "信息 2"; + Text[ zh-TW ] = "資訊 2"; + Text[ tr ] = "Bilgi 2"; + Text[ hi-IN ] = "जानकारी 2"; + Text[ ar ] = "معلومة 2"; + Text[ he ] = "Info 2"; + }; + String FLD_DOCINFO_INFO4 + { + Text [ de ] = "Info 3" ; + Text [ en-US ] = "Info 3" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Informação 3"; + Text[ ru ] = "Инфо 3"; + Text[ el ] = "Πληροφορία 3"; + Text[ nl ] = "Info 3"; + Text[ fr ] = "Info 3"; + Text[ es ] = "Info 3"; + Text[ fi ] = "Tiedot 3"; + Text[ ca ] = "Informació 3"; + Text[ it ] = "Info 3"; + Text[ sk ] = "Informácia 3"; + Text[ da ] = "Info 3"; + Text[ sv ] = "Info 3"; + Text[ pl ] = "Informacja 3"; + Text[ pt-BR ] = "Informação 3"; + Text[ th ] = "ข้อมูล 3"; + Text[ ja ] = "情報 3"; + Text[ ko ] = "정보 3"; + Text[ zh-CN ] = "信息 3"; + Text[ zh-TW ] = "資訊 3"; + Text[ tr ] = "Bilgi 3"; + Text[ hi-IN ] = "जानकारी 3"; + Text[ ar ] = "معلومة 3"; + Text[ he ] = "Info 3"; + }; + String FLD_DOCINFO_CREATE + { + Text [ de ] = "Erzeugung" ; + Text [ en-US ] = "Created" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Criar"; + Text[ ru ] = "Создание"; + Text[ el ] = "Δημιουργία"; + Text[ nl ] = "Gemaakt"; + Text[ fr ] = "Création"; + Text[ es ] = "Creación"; + Text[ fi ] = "Luotu"; + Text[ ca ] = "Creat"; + Text[ it ] = "Creato"; + Text[ sk ] = "Vytvorené"; + Text[ da ] = "Oprettet"; + Text[ sv ] = "Skapad"; + Text[ pl ] = "Utworzony"; + Text[ pt-BR ] = "Criado em"; + Text[ th ] = "สร้าง"; + Text[ ja ] = "作成"; + Text[ ko ] = "만들기"; + Text[ zh-CN ] = "建立"; + Text[ zh-TW ] = "產生"; + Text[ tr ] = "Yaratılmış"; + Text[ hi-IN ] = "उत्पन्न किया"; + Text[ ar ] = "إنشاء"; + Text[ he ] = "נוצר"; + }; + String FLD_DOCINFO_CHANGE + { + /* ### ACHTUNG: Neuer Text in Resource? nderung : nderung */ + Text [ de ] = "Änderung" ; + Text [ en-US ] = "Modified" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Modificar"; + Text[ ru ] = "Изменение"; + Text[ el ] = "Αλλαγή"; + Text[ nl ] = "Wijziging"; + Text[ fr ] = "Modification"; + Text[ es ] = "Modificación"; + Text[ fi ] = "Muokattu"; + Text[ ca ] = "Modificat"; + Text[ it ] = "Modifica"; + Text[ sk ] = "Zmenené"; + Text[ da ] = "Ændring"; + Text[ sv ] = "Ändring"; + Text[ pl ] = "Zmodyfikowano"; + Text[ pt-BR ] = "Modificado em"; + Text[ th ] = "ดัดแปลงแก้ไข"; + Text[ ja ] = "変更"; + Text[ ko ] = "변경"; + Text[ zh-CN ] = "更改"; + Text[ zh-TW ] = "變更"; + Text[ tr ] = "Değiştirilmiş"; + Text[ hi-IN ] = "सुधार किया"; + Text[ ar ] = "تعديل"; + Text[ he ] = "עודכן"; + }; + String FLD_DOCINFO_PRINT + { + Text [ de ] = "Letzter Druck" ; + Text [ en-US ] = "Last printed" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Última impressão"; + Text[ ru ] = "Последняя распечатка"; + Text[ el ] = "Τελευταία εκτύπωση"; + Text[ nl ] = "Laatste afdruk"; + Text[ fr ] = "Dernière impression"; + Text[ es ] = "Última impresión"; + Text[ fi ] = "Edellinen tulostus"; + Text[ ca ] = "Última impressió"; + Text[ it ] = "Ultima stampa"; + Text[ sk ] = "Naposledy tlačené"; + Text[ da ] = "Sidste udskrift"; + Text[ sv ] = "Senaste utskrift"; + Text[ pl ] = "Ostatnio wydrukowano"; + Text[ pt-BR ] = "Última impressão"; + Text[ th ] = "พิมพ์ครั้งสุดท้าย"; + Text[ ja ] = "前回の印刷"; + Text[ ko ] = "최근 인쇄"; + Text[ zh-CN ] = "上一次打印"; + Text[ zh-TW ] = "上一次列印"; + Text[ tr ] = "Son yazdırma"; + Text[ hi-IN ] = "अंतिम बार छपाई किया"; + Text[ ar ] = "الطباعة الأخيرة"; + Text[ he ] = "Letzter Druck"; + }; + String FLD_DOCINFO_DOCNO + { + Text [ de ] = "Dokumentnummer" ; + Text [ en-US ] = "Document number" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Número do documento"; + Text[ ru ] = "Номер документа"; + Text[ el ] = "Αριθμός εγγράφου"; + Text[ nl ] = "Documentnummer"; + Text[ fr ] = "Numéro du document"; + Text[ es ] = "Número del documento"; + Text[ fi ] = "Asiakirjan numero"; + Text[ ca ] = "Número del document"; + Text[ it ] = "Numero di documento"; + Text[ sk ] = "Číslo dokumentu"; + Text[ da ] = "Dokumentnummer"; + Text[ sv ] = "Dokumentnummer"; + Text[ pl ] = "Numer dokumentu"; + Text[ pt-BR ] = "Número do documento"; + Text[ th ] = "เลขเอกสาร"; + Text[ ja ] = "ドキュメント番号"; + Text[ ko ] = "문서 번호"; + Text[ zh-CN ] = "文档号码"; + Text[ zh-TW ] = "文件號碼"; + Text[ tr ] = "Belge numarası"; + Text[ hi-IN ] = "लेखपत्र संख्या"; + Text[ ar ] = "رقم المستند"; + Text[ he ] = "Dokumentnummer"; + }; + String FLD_DOCINFO_EDIT + { + Text [ de ] = "Bearbeitungszeit" ; + Text [ en-US ] = "Editing time" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Tempo de edição"; + Text[ ru ] = "Время правки"; + Text[ el ] = "Χρόνος επεξεργασίας"; + Text[ nl ] = "Bewerkingstijd"; + Text[ fr ] = "Durée d'édition"; + Text[ es ] = "Hora de la edición"; + Text[ fi ] = "Muokkausaika"; + Text[ ca ] = "Temps d'edició"; + Text[ it ] = "Tempo di modifica"; + Text[ sk ] = "Dátum a čas úpravy"; + Text[ da ] = "Redigeringstid"; + Text[ sv ] = "Redigeringstid"; + Text[ pl ] = "Czas edycji"; + Text[ pt-BR ] = "Tempo de edição"; + Text[ th ] = "แก้ไขเวลา"; + Text[ ja ] = "編集時刻"; + Text[ ko ] = "편집 시간"; + Text[ zh-CN ] = "编辑时间"; + Text[ zh-TW ] = "編輯時間"; + Text[ tr ] = "Düzenleme süresi"; + Text[ hi-IN ] = "संपादन समय "; + Text[ ar ] = "وقت التحرير"; + Text[ he ] = "Bearbeitungszeit"; + }; + + String STR_PAGEDESC_NAME + { + Text [ de ] = "Konvert $(ARG1)" ; + Text [ en-US ] = "Convert $(ARG1)"; + Text [ x-comment ] = "; DD (; DD (05.04.2001):Dieser String ist Teil eines Dialoges der erscheint wenn man ein Word- oder RTF- Dokument importiert welches verschiedene Layouts beinhaltet."; + Text[ pt ] = "Conversão $(ARG1)"; + Text[ ru ] = "Преобразование $(ARG1)"; + Text[ el ] = "Μετατροπή $(ARG1)"; + Text[ nl ] = "Converteert $(ARG1)"; + Text[ fr ] = "Conversion $(ARG1)"; + Text[ es ] = "Convertir $(ARG1)"; + Text[ fi ] = "Muunna $(ARG1)"; + Text[ ca ] = "Converteix $(ARG1)"; + Text[ it ] = "Conversione $(ARG1)"; + Text[ sk ] = "Konverzia $(ARG1)"; + Text[ da ] = "Konvertering $(ARG1)"; + Text[ sv ] = "Konvertera $(ARG1)"; + Text[ pl ] = "Konwertuj $(ARG1)"; + Text[ pt-BR ] = "Converter $(ARG1)"; + Text[ th ] = "แปลง $(ARG1)"; + Text[ ja ] = "$(ARG1) を変換"; + Text[ ko ] = "$(ARG1)을(를) 변환"; + Text[ zh-CN ] = "转换 $(ARG1)"; + Text[ zh-TW ] = "轉換 $(ARG1)"; + Text[ tr ] = "Dönüştür $(ARG1)"; + Text[ hi-IN ] = "बदलो $(ARG1)"; + Text[ ar ] = "تحويل $(ARG1)"; + Text[ he ] = "Konvert $(ARG1)"; + }; + String STR_PAGEDESC_FIRSTNAME + { + Text [ de ] = "Erste Konvert $(ARG1)" ; + Text [ en-US ] = "First convert $(ARG1)"; + Text [ x-comment ] = "; DD (; DD (05.04.2001):Dieser String ist Teil eines Dialoges der erscheint wenn man ein Word- oder RTF- Dokument importiert welches verschiedene Layouts beinhaltet. Mit $(ARG1) ist die Seitenzahl oder eine Folge von Seiten (z.B. 1-12) gemeint."; + Text[ pt ] = "Primeira conversão $(ARG1)"; + Text[ ru ] = "Первое преобразование $(ARG1)"; + Text[ el ] = "Πρώτη Μετατροπή $(ARG1)"; + Text[ nl ] = "Eerste conversie $(ARG1)"; + Text[ fr ] = "Première conversion $(ARG1)"; + Text[ es ] = "Primera conversión $(ARG1)"; + Text[ fi ] = "Muunna ensin $(ARG1)"; + Text[ ca ] = "Primera conversió $(ARG1)"; + Text[ it ] = "Prima conversione $(ARG1)"; + Text[ sk ] = "Prvá konverzia $(ARG1)"; + Text[ da ] = "Første konvertering $(ARG1)"; + Text[ sv ] = "Första konvertering $(ARG1)"; + Text[ pl ] = "Pierwsza konwersja $(ARG1)"; + Text[ pt-BR ] = "Converta primeiro $(ARG1)"; + Text[ th ] = "แปลง $(ARG1) ครั้งแรก"; + Text[ ja ] = "最初に $(ARG1) を変換"; + Text[ ko ] = "첫번째 $(ARG1)을(를) 변환"; + Text[ zh-CN ] = "第一个转换 $(ARG1)"; + Text[ zh-TW ] = "第一個轉換 $(ARG1)"; + Text[ tr ] = "İlk dönüşüm $(ARG1)"; + Text[ hi-IN ] = "पहिले बदलो $(ARG1)"; + Text[ ar ] = "أول تحويل$(ARG1)"; + Text[ he ] = "Erste Konvert $(ARG1)"; + }; + String STR_PAGEDESC_FOLLOWNAME + { + Text [ de ] = "Konvert Folge $(ARG1)" ; + Text [ en-US ] = "Next convert $(ARG1)"; + Text [ x-comment ] = "; DD (; DD (05.04.2001):Dieser String ist Teil eines Dialoges der erscheint wenn man ein Word- oder RTF- Dokument importiert welches verschiedene Layouts beinhaltet. Mit $(ARG1) ist die Seitenzahl oder eine Folge von Seiten (z.B. 1-12) gemeint."; + Text[ pt ] = "Conversão seguinte $(ARG1)"; + Text[ ru ] = "Следующее преобразование $(ARG1)"; + Text[ el ] = "Μετατροπή Συνέχεια $(ARG1)"; + Text[ nl ] = "Converteer volgorde $(ARG1)"; + Text[ fr ] = "Conversion suivante $(ARG1)"; + Text[ es ] = "Conversión siguiente $(ARG1)"; + Text[ fi ] = "Muunna seuraavaksi $(ARG1)"; + Text[ ca ] = "Converteix sèrie $(ARG1)"; + Text[ it ] = "Conversione seguente $(ARG1)"; + Text[ sk ] = "Ďalšia konverzia $(ARG1)"; + Text[ da ] = "Konvertering Følge $(ARG1)"; + Text[ sv ] = "Konvertering följande $(ARG1)"; + Text[ pl ] = "Następna konwersja $(ARG1)"; + Text[ pt-BR ] = "Em seguida converta $(ARG1)"; + Text[ th ] = "แปลง $(ARG1) ถัดไป"; + Text[ ja ] = "次に $(ARG1) を変換"; + Text[ ko ] = "다음으로 $(ARG1)을(를) 변환"; + Text[ zh-CN ] = "转换组 $(ARG1)"; + Text[ zh-TW ] = "轉換組 $(ARG1)"; + Text[ tr ] = "Sonraki dönüşüm $(ARG1)"; + Text[ hi-IN ] = "अगला बदलो $(ARG1)"; + Text[ ar ] = "تحويل تالي $(ARG1)"; + Text[ he ] = "Konvert Folge $(ARG1)"; + }; +}; + + String STR_AUTH_TYPE_ARTICLE + { + Text [ de ] ="Artikel" ; + Text[ en-US ] = "Article"; + Text[ pt ] = "Artigo"; + Text[ ru ] = "?"; + Text[ el ] = "?"; + Text[ nl ] = "Artikel"; + Text[ fr ] = "Article"; + Text[ es ] = "Artculo"; + Text[ fi ] = "Lehtiartikkeli"; + Text[ it ] = "Articolo di rivista"; + Text[ da ] = "Artikel"; + Text[ sv ] = "Artikel"; + Text[ pl ] = "Artyku?"; + Text[ pt-BR ] = "Artigo"; + Text[ ja ] = "記事"; + Text[ ko ] = "기사"; + Text[ zh-CN ] = "文章"; + Text[ zh-TW ] = "文章"; + Text[ tr ] = "Makalesi"; + Text[ ar ] = "? "; + Text[ ca ] = "Article de revista"; + Text[ th ] = "บทความในนิตยสา?"; + Text[ cz ] = "Článek"; + Text[ he ] = "Artikel"; + Text[ hi-IN ] = "अन्तर्नियम"; + Text[ sk ] = "Článok"; + }; + String STR_AUTH_TYPE_BOOK + { + Text [ de ] = "Buch" ; + Text[ en-US ] = "Book"; + Text[ pt ] = "Livro"; + Text[ ru ] = "?"; + Text[ el ] = ""; + Text[ nl ] = "Boek"; + Text[ fr ] = "Livre"; + Text[ es ] = "Libro"; + Text[ it ] = "Libro"; + Text[ da ] = "Bog"; + Text[ sv ] = "Bok"; + Text[ pl ] = "Ksika"; + Text[ pt-BR ] = "Livro"; + Text[ ja ] = "?"; + Text[ ko ] = "?"; + Text[ zh-CN ] = "书籍"; + Text[ zh-TW ] = "書籍"; + Text[ ar ] = ""; + Text[ tr ] = "Kitap"; + Text[ x-comment ] = " "; + Text[ ca ] = "Llibre"; + Text[ fi ] = "Kirja"; + Text[ th ] = "หนังสื?"; + Text[ cz ] = "Kniha"; + Text[ he ] = "Buch"; + Text[ hi-IN ] = "पुस्तक "; + Text[ sk ] = "Kniha"; + }; + String STR_AUTH_TYPE_BOOKLET + { + Text [ de ] = "Broschüre" ; + Text[ en-US ] = "Brochures"; + Text[ pt ] = "Brochura"; + Text[ ru ] = "?"; + Text[ el ] = "?"; + Text[ nl ] = "Brochure"; + Text[ fr ] = "Brochure"; + Text[ es ] = "Folleto"; + Text[ it ] = "Dpliant"; + Text[ da ] = "Brochure"; + Text[ sv ] = "Broschyr"; + Text[ pl ] = "Broszury"; + Text[ pt-BR ] = "Brochuras"; + Text[ ja ] = "冊子"; + Text[ ko ] = "팜플?"; + Text[ zh-CN ] = "小册?"; + Text[ zh-TW ] = "小手?"; + Text[ ar ] = "?"; + Text[ tr ] = "Bror"; + Text[ x-comment ] = " "; + Text[ ca ] = "Fullets"; + Text[ fi ] = "Esitteet"; + Text[ th ] = "โบรชัวร์"; + Text[ cz ] = "Příručky"; + Text[ he ] = "Broschüre"; + Text[ hi-IN ] = "छोटी पुस्तक"; + Text[ sk ] = "Príručky"; + }; + String STR_AUTH_TYPE_CONFERENCE + { + Text [ de ] = "Konferenzbericht" ; + Text[ en-US ] = "Conference proceedings"; + Text[ pt ] = "Relatrio de conferncia"; + Text[ ru ] = " "; + Text[ el ] = "?"; + Text[ nl ] = "Notulen"; + Text[ fr ] = "Rapport de confrence"; + Text[ es ] = "Informe sobre la conferencia"; + Text[ it ] = "Rapporto sulla conferenza"; + Text[ da ] = "Konferencerapport"; + Text[ sv ] = "Konferensrapport"; + Text[ pl ] = "Sprawozdanie z obrad"; + Text[ pt-BR ] = "Anais de Conferncia"; + Text[ ja ] = "会議報告"; + Text[ ko ] = "학회 보고?"; + Text[ zh-CN ] = "讨论会报?"; + Text[ zh-TW ] = "會談報告"; + Text[ ar ] = "? ?"; + Text[ tr ] = "Toplant?raporu"; + Text[ x-comment ] = " "; + Text[ ca ] = "Informe de conferencia"; + Text[ fi ] = "Konferenssijulkaisut"; + Text[ th ] = "ดำเนินการประชุม"; + Text[ cz ] = "Výnosy porady"; + Text[ he ] = "Konferenzbericht"; + Text[ hi-IN ] = "सम्मेल?कृति"; + Text[ sk ] = "Výnosy porady"; + }; + String STR_AUTH_TYPE_INBOOK + { + Text [ de ] = "Buchauszug" ; + Text[ en-US ] = "Book excerpt"; + Text[ pt ] = "Extracto de livro"; + Text[ ru ] = "? ?"; + Text[ el ] = "??"; + Text[ nl ] = "Uittreksel"; + Text[ fr ] = "Extrait de livre"; + Text[ es ] = "Extracto del libro"; + Text[ it ] = "Brano"; + Text[ da ] = "Boguddrag"; + Text[ sv ] = "Bokutdrag"; + Text[ pl ] = "Wycig z ksiki"; + Text[ pt-BR ] = "Trecho de livro"; + Text[ ja ] = "本の抜粋"; + Text[ ko ] = "발췌"; + Text[ zh-CN ] = "书籍摘录?"; + Text[ zh-TW ] = "書籍文章摘要"; + Text[ ar ] = "? "; + Text[ tr ] = "Kitap blm?"; + Text[ x-comment ] = " "; + Text[ ca ] = "Extracte del llibre"; + Text[ fi ] = "Kirjan otos"; + Text[ th ] = "คัดลอกมาจากหนังสือ"; + Text[ cz ] = "Výtah z knihy"; + Text[ he ] = "Buchauszug"; + Text[ hi-IN ] = "पुस्तक"; + Text[ sk ] = "Výťah z knihy"; + }; + String STR_AUTH_TYPE_INCOLLECTION + { + Text [ de ] = "Buchauszug mit Titel" ; + Text[ en-US ] = "Book excerpt with title"; + Text[ pt ] = "Extracto do livro com ttulo"; + Text[ ru ] = "? ???"; + Text[ el ] = "?? ?"; + Text[ nl ] = "Uittreksel met titel"; + Text[ fr ] = "Extrait de livre avec titre"; + Text[ es ] = "Extracto de libro con ttulo"; + Text[ it ] = "Brano con titolo"; + Text[ da ] = "Boguddrag med titel"; + Text[ sv ] = "Bokutdrag med titel"; + Text[ pl ] = "Wycig z ksiki z tytuem"; + Text[ pt-BR ] = "Trecho de livro com ttulo"; + Text[ ja ] = "本の抜粋(題付き?"; + Text[ ko ] = "발췌(제목 포함)"; + Text[ zh-CN ] = "注明标题的书籍摘录文"; + Text[ zh-TW ] = "含有標題的書籍文章摘?"; + Text[ ar ] = "? ??"; + Text[ tr ] = "Balkl?kitap blm?"; + Text[ x-comment ] = " "; + Text[ ca ] = "Extracte de llibre amb ttol"; + Text[ fi ] = "Kirjan otos ja otsikko"; + Text[ th ] = "คัดลอกชื่อเรื่องมาจากหนังสื?"; + Text[ cz ] = "Výtah z knihy s nadpisem"; + Text[ he ] = "Buchauszug mit Titel"; + Text[ hi-IN ] = "उपाध?सहित पुस्तक "; + Text[ sk ] = "Výťah z knihy s nadpisom"; + }; + String STR_AUTH_TYPE_INPROCEEDINGS + { + Text [ de ] = "Tagungsbericht" ; + Text[ en-US ] = "Conference proceedings"; + Text[ pt ] = "Relatrio sobre reunio"; + Text[ ru ] = "?"; + Text[ el ] = " ?"; + Text[ nl ] = "Notulen"; + Text[ fr ] = "Rapport de congrs"; + Text[ es ] = "Informe sobre la conferencia"; + Text[ it ] = "Rapporto sulla conferenza"; + Text[ da ] = "Kongresberetning"; + Text[ sv ] = "Kongressrapport"; + Text[ pl ] = "Sprawozdanie z obrad"; + Text[ pt-BR ] = "Anais de Conferncia"; + Text[ ja ] = "会議報告"; + Text[ ko ] = "학회 보고?"; + Text[ zh-CN ] = "会议报告"; + Text[ zh-TW ] = "會議報告"; + Text[ ar ] = " "; + Text[ tr ] = "Konferans raporu"; + Text[ x-comment ] = " "; + Text[ ca ] = "Informe de reuni?"; + Text[ fi ] = "Konferenssijulkaisut"; + Text[ th ] = "ดำเนินการประชุม"; + Text[ cz ] = "Výnosy porady"; + Text[ he ] = "Tagungsbericht"; + Text[ hi-IN ] = "सम्मेल?कृति"; + Text[ sk ] = "Výnosy porady"; + }; + String STR_AUTH_TYPE_JOURNAL + { + Text [ de ] = "Zeitschrift" ; + Text[ en-US ] = "Journal"; + Text[ pt ] = "Revista"; + Text[ ru ] = ""; + Text[ el ] = "?"; + Text[ nl ] = "Tijdschrift"; + Text[ fr ] = "Magazine"; + Text[ es ] = "Revista"; + Text[ it ] = "Rivista"; + Text[ da ] = "Tidsskrift"; + Text[ sv ] = "Tidskrift"; + Text[ pl ] = "Czasopismo"; + Text[ pt-BR ] = "Revista"; + Text[ ja ] = "雑誌"; + Text[ ko ] = "잡지"; + Text[ zh-CN ] = "杂志"; + Text[ zh-TW ] = "雜誌"; + Text[ ar ] = ""; + Text[ tr ] = "Dergi"; + Text[ x-comment ] = " "; + Text[ ca ] = "Revista"; + Text[ fi ] = "Pivkirja"; + Text[ th ] = "นิตยสา?"; + Text[ cz ] = "Časopis"; + Text[ he ] = "Zeitschrift"; + Text[ hi-IN ] = "पत्रिक?"; + Text[ sk ] = "Časopis"; + }; + String STR_AUTH_TYPE_MANUAL + { + Text [ de ] = "Techn. Dokumentation" ; + Text[ en-US ] = "Techn. documentation"; + Text[ pt ] = "Documentao tcn."; + Text[ ru ] = " ?"; + Text[ el ] = "?"; + Text[ nl ] = "Technische documentatie"; + Text[ fr ] = "Documentation technique"; + Text[ es ] = "Documentacin tcnica"; + Text[ it ] = "Documentazione tecnica"; + Text[ da ] = "Teknisk dokumentation"; + Text[ sv ] = "Teknisk dokumentation"; + Text[ pl ] = "Dokumentacja techn."; + Text[ pt-BR ] = "Documentao tcnica"; + Text[ ja ] = "マニュア?"; + Text[ ko ] = "기술 문서"; + Text[ zh-CN ] = "技术说明书"; + Text[ zh-TW ] = "技術說明書"; + Text[ ar ] = " ?"; + Text[ tr ] = "Teknik dokmantasyon"; + Text[ x-comment ] = " "; + Text[ ca ] = "Manual"; + Text[ fi ] = "Tekninen asiakirja"; + Text[ th ] = "เอกสารทางเทคนิ?"; + Text[ cz ] = "Technická dokumentace"; + Text[ he ] = "Techn. Dokumentation"; + Text[ hi-IN ] = "परिभाष?लेखपत्?"; + Text[ sk ] = "Technická dokumentácia"; + }; + String STR_AUTH_TYPE_MASTERSTHESIS + { + Text [ de ] = "Diplomarbeit" ; + Text[ en-US ] = "Thesis"; + Text[ pt ] = "Tese de licenciatura"; + Text[ ru ] = " "; + Text[ el ] = "??"; + Text[ nl ] = "Scriptie"; + Text[ fr ] = "Mmoire"; + Text[ es ] = "Tesina"; + Text[ it ] = "Tesi di laurea"; + Text[ da ] = "Eksamensopgave"; + Text[ sv ] = "Examensarbete"; + Text[ pl ] = "Praca dyplomowa"; + Text[ pt-BR ] = "Tese"; + Text[ ja ] = "卒業論文"; + Text[ ko ] = "학위 논문"; + Text[ zh-CN ] = "大学毕业论文"; + Text[ zh-TW ] = "理工科大學畢業論?"; + Text[ ar ] = "??"; + Text[ tr ] = "Tez"; + Text[ x-comment ] = " "; + Text[ ca ] = "Tesi"; + Text[ fi ] = "Tutkielma"; + Text[ th ] = "วิทยานิพนธ?"; + Text[ cz ] = "Diplomová práce"; + Text[ he ] = "Diplomarbeit"; + Text[ hi-IN ] = "ले?"; + Text[ sk ] = "Diplomová práca"; + }; + String STR_AUTH_TYPE_MISC + { + Text [ de ] = "Verschiedenes" ; + Text[ en-US ] = "Miscellaneous"; + Text[ pt ] = "Miscelnea"; + Text[ ru ] = ""; + Text[ el ] = "?"; + Text[ nl ] = "Diverse"; + Text[ fr ] = "Divers"; + Text[ es ] = "Diversos"; + Text[ it ] = "Varie"; + Text[ da ] = "Forskelligt"; + Text[ sv ] = "Diverse"; + Text[ pl ] = "Inne"; + Text[ pt-BR ] = "Miscelnea"; + Text[ ja ] = "その?"; + Text[ ko ] = "기타"; + Text[ zh-CN ] = "其它"; + Text[ zh-TW ] = "其他"; + Text[ ar ] = ""; + Text[ tr ] = "Muhtelif"; + Text[ x-comment ] = " "; + Text[ ca ] = "Diversos"; + Text[ fi ] = "Sekalaiset"; + Text[ th ] = "เบ็ดเตล็ด"; + Text[ cz ] = "Různé"; + Text[ he ] = "Verschiedenes"; + Text[ hi-IN ] = "मिला जुला"; + Text[ sk ] = "Rôzne"; + }; + String STR_AUTH_TYPE_PHDTHESIS + { + Text [ de ] = "Dissertation" ; + Text[ en-US ] = "Dissertation"; + Text[ pt ] = "Tese de doutoramento"; + Text[ ru ] = ""; + Text[ el ] = ""; + Text[ nl ] = "Dissertatie"; + Text[ fr ] = "Thse de doctorat"; + Text[ es ] = "Tesis doctoral"; + Text[ it ] = "Dottorato di ricerca"; + Text[ da ] = "Doktorafhandling"; + Text[ sv ] = "Doktorsavhandling"; + Text[ pl ] = "Rozprawa naukowa"; + Text[ pt-BR ] = "Dissertao"; + Text[ ja ] = "博士論文"; + Text[ ko ] = "박사 학위 논문"; + Text[ zh-CN ] = "博士论文"; + Text[ zh-TW ] = "博士論文"; + Text[ ar ] = "??"; + Text[ tr ] = "Tez almas?"; + Text[ x-comment ] = " "; + Text[ ca ] = "Tesi doctoral"; + Text[ fi ] = "Vitskirja"; + Text[ th ] = "สารนิพนธ?"; + Text[ cz ] = "Disertace"; + Text[ he ] = "Dissertation"; + Text[ hi-IN ] = "विवर?"; + Text[ sk ] = "Dizertácia"; + }; + String STR_AUTH_TYPE_PROCEEDINGS + { + Text [ de ] = "Tagungsbericht" ; + Text[ en-US ] = "Conference proceedings"; + Text[ pt ] = "Relatrio sobre reunio"; + Text[ ru ] = " "; + Text[ el ] = " ?"; + Text[ nl ] = "Notulen"; + Text[ fr ] = "Rapport de congrs"; + Text[ es ] = "Informe sobre la conferencia"; + Text[ it ] = "Rapporto sulla conferenza"; + Text[ da ] = "Kongresberetning"; + Text[ sv ] = "Kongressrapport"; + Text[ pl ] = "Sprawozdanie z obrad"; + Text[ pt-BR ] = "Anais de Conferncia"; + Text[ ja ] = "会議報告"; + Text[ ko ] = "학회 보고?"; + Text[ zh-CN ] = "会议报告"; + Text[ zh-TW ] = "會議報告"; + Text[ ar ] = " "; + Text[ tr ] = "Konferans raporu"; + Text[ x-comment ] = " "; + Text[ ca ] = "Informe de reuni?"; + Text[ fi ] = "Konferenssijulkaisut"; + Text[ th ] = "ดำเนินการประชุม"; + Text[ cz ] = "Výnosy porady"; + Text[ he ] = "Tagungsbericht"; + Text[ hi-IN ] = "सम्मेल?कृति"; + Text[ sk ] = "Výnosy porady"; + }; + String STR_AUTH_TYPE_TECHREPORT + { + Text [ de ] = "Forschungsbericht" ; + Text[ en-US ] = "Research report"; + Text[ pt ] = "Relatrio de investigao"; + Text[ ru ] = "??"; + Text[ el ] = " "; + Text[ nl ] = "Onderzoeksrapport"; + Text[ fr ] = "Rapport de recherche"; + Text[ es ] = "Informe de investigacin"; + Text[ it ] = "Rapporto di ricerca"; + Text[ da ] = "Forskningsrapport"; + Text[ sv ] = "Forskningsrapport"; + Text[ pl ] = "Sprawozdanie z bada?"; + Text[ pt-BR ] = "Relatrio de pesquisa"; + Text[ ja ] = "研究報告"; + Text[ ko ] = "연구 보고?"; + Text[ zh-CN ] = "科研报告"; + Text[ zh-TW ] = "科研報告"; + Text[ ar ] = "? ??"; + Text[ tr ] = "Aratrma raporu"; + Text[ x-comment ] = " "; + Text[ ca ] = "Informe de recerca"; + Text[ fi ] = "Tutkimusraportti"; + Text[ th ] = "รายงานการวิจัย"; + Text[ cz ] = "Vědecká zpráva"; + Text[ he ] = "Forschungsbericht"; + Text[ hi-IN ] = "अन्वेष?रिपोर्?"; + Text[ sk ] = "Vedecká správa"; + }; + String STR_AUTH_TYPE_UNPUBLISHED + { + Text [ de ] = "Unveröffentlicht" ; + Text[ en-US ] = "Unpublished"; + Text[ pt ] = "Indito"; + Text[ ru ] = " "; + Text[ el ] = "?"; + Text[ nl ] = "Niet gepubliceerd"; + Text[ fr ] = "Non publi?"; + Text[ es ] = "Indito"; + Text[ it ] = "Non pubblicato"; + Text[ da ] = "Ikke offentliggjort"; + Text[ sv ] = "Opublicerad"; + Text[ pl ] = "Niepublikowany"; + Text[ pt-BR ] = "Indito"; + Text[ ja ] = "未発?"; + Text[ ko ] = "비공?"; + Text[ zh-CN ] = "尚未发表?"; + Text[ zh-TW ] = "尚未發表"; + Text[ ar ] = " ??"; + Text[ tr ] = "Yaymlanmam"; + Text[ x-comment ] = " "; + Text[ ca ] = "Sense publicar"; + Text[ fi ] = "Julkaisematon"; + Text[ th ] = "ไม่จัดพิมพ?"; + Text[ cz ] = "Neuveřejněno"; + Text[ he ] = "Unveröffentlicht"; + Text[ hi-IN ] = "अप्रकाशि?"; + Text[ sk ] = "Neuverejnené"; + }; + String STR_AUTH_TYPE_EMAIL + { + Text [ de ] = "e-Mail" ; + Text[ en-US ] = "e-mail"; + Text[ pt ] = "e-mail"; + Text[ ru ] = ". ?"; + Text[ el ] = "e-Mail"; + Text[ nl ] = "e-mail"; + Text[ fr ] = "E-mail"; + Text[ es ] = "Correo-e"; + Text[ it ] = "eMail"; + Text[ da ] = "E-mail"; + Text[ sv ] = "e-post"; + Text[ pl ] = "e-mail"; + Text[ pt-BR ] = "e-mail"; + Text[ ja ] = "E-mail"; + Text[ ko ] = "전자 메일"; + Text[ zh-CN ] = "电子邮件"; + Text[ zh-TW ] = "電子郵件"; + Text[ ar ] = " "; + Text[ tr ] = "e-posta"; + Text[ x-comment ] = " "; + Text[ ca ] = "correu electrnic"; + Text[ fi ] = "shkposti"; + Text[ th ] = "อีเมล?"; + Text[ cz ] = "e-mail"; + Text[ he ] = "e-mail"; + Text[ hi-IN ] = "?मेइल"; + Text[ sk ] = "e-mail"; + }; + String STR_AUTH_TYPE_WWW + { + Text [ de ] = "WWW-Dokument" ; + Text[ en-US ] = "WWW document"; + Text[ pt ] = "Documento WWW"; + Text[ ru ] = "?"; + Text[ el ] = "?WWW"; + Text[ nl ] = "WWW-document"; + Text[ fr ] = "Document WWW"; + Text[ es ] = "Documento WWW"; + Text[ it ] = "Documento Web"; + Text[ da ] = "WWW-dokument"; + Text[ sv ] = "WWW-dokument"; + Text[ pl ] = "Dokument WWW"; + Text[ pt-BR ] = "Documento WWW"; + Text[ ja ] = "WWWドキュメント"; + Text[ ko ] = "?문서"; + Text[ zh-CN ] = "网页文档"; + Text[ zh-TW ] = "網頁文件"; + Text[ ar ] = "??"; + Text[ tr ] = "WWW belgesi"; + Text[ x-comment ] = " "; + Text[ ca ] = "Document WWW"; + Text[ fi ] = "Web-asiakirja"; + Text[ th ] = "เอกสา?WWW "; + Text[ cz ] = "WWW dokument"; + Text[ he ] = "WWW-Dokument"; + Text[ hi-IN ] = "WWW लेखपत्?"; + Text[ sk ] = "WWW dokument"; + }; + String STR_AUTH_TYPE_CUSTOM1 + { + Text [ de ] = "Benutzertyp1" ; + Text[ en-US ] = "User-defined1"; + Text[ pt ] = "Utilizador1"; + Text[ ru ] = "??1"; + Text[ el ] = "?1"; + Text[ nl ] = "Gebruikerstype1"; + Text[ fr ] = "Utilisateur1"; + Text[ es ] = "Usuario1"; + Text[ it ] = "Utente1"; + Text[ da ] = "Brugerdefineret type1"; + Text[ sv ] = "Anvndartyp1"; + Text[ pl ] = "Uytkownika 1"; + Text[ pt-BR ] = "Personalizado1"; + Text[ ja ] = "ユーザータイ?1"; + Text[ ko ] = "사용?정의1"; + Text[ zh-CN ] = "使用者类?"; + Text[ zh-TW ] = "自訂類型 1"; + Text[ ar ] = "? ?1"; + Text[ tr ] = "Kullanc?tipi1"; + Text[ x-comment ] = " "; + Text[ ca ] = "Definit per l'usuari 1"; + Text[ fi ] = "Kyttjn mrittm?"; + Text[ th ] = "ระบุผู้ใช้1"; + Text[ cz ] = "Uživatelem definované 1"; + Text[ he ] = "Benutzertyp1"; + Text[ hi-IN ] = "उपभोक्ता से परिभाषित1"; + Text[ sk ] = "Užívateľom definované1"; + }; + String STR_AUTH_TYPE_CUSTOM2 + { + Text [ de ] = "Benutzertyp2" ; + Text[ en-US ] = "User-defined2"; + Text[ pt ] = "Utilizador2"; + Text[ ru ] = "??2"; + Text[ el ] = "?2"; + Text[ nl ] = "Gebruikerstype2"; + Text[ fr ] = "Utilisateur2"; + Text[ es ] = "Usuario2"; + Text[ it ] = "Utente2"; + Text[ da ] = "Brugerdefineret type2"; + Text[ sv ] = "Anvndartyp2"; + Text[ pl ] = "Uytkownika 2"; + Text[ pt-BR ] = "Personalizado2"; + Text[ ja ] = "ユーザータイ?2"; + Text[ ko ] = "사용?정의2"; + Text[ zh-CN ] = "使用者类?"; + Text[ zh-TW ] = "自訂類型 2"; + Text[ ar ] = "? ?2"; + Text[ tr ] = "Kullanc?tipi2"; + Text[ x-comment ] = " "; + Text[ ca ] = "Definit per l'usuari 2"; + Text[ fi ] = "Kyttjn mrittm?"; + Text[ th ] = "ระบุผู้ใช้2"; + Text[ cz ] = "Uživatelem definované 2"; + Text[ he ] = "Benutzertyp2"; + Text[ hi-IN ] = "उपभोक्ता से परिभाषित2"; + Text[ sk ] = "Užívateľom definované2"; + }; + String STR_AUTH_TYPE_CUSTOM3 + { + Text [ de ] = "Benutzertyp3" ; + Text[ en-US ] = "User-defined3"; + Text[ pt ] = "Utilizador3"; + Text[ ru ] = "??3"; + Text[ el ] = "?3"; + Text[ nl ] = "Gebruikerstype3"; + Text[ fr ] = "Utilisateur3"; + Text[ es ] = "Usuario3"; + Text[ it ] = "Utente3"; + Text[ da ] = "Brugerdefineret type3"; + Text[ sv ] = "Anvndartyp3"; + Text[ pl ] = "Uytkownika 3"; + Text[ pt-BR ] = "Personalizado3"; + Text[ ja ] = "ユーザータイ?3"; + Text[ ko ] = "사용?정의3"; + Text[ zh-CN ] = "使用者类?"; + Text[ zh-TW ] = "自訂類型 3"; + Text[ ar ] = "? ?3"; + Text[ tr ] = "Kullanc?tipi3"; + Text[ x-comment ] = " "; + Text[ ca ] = "Definit per l'usuari 3"; + Text[ fi ] = "Kyttjn mrittm?"; + Text[ th ] = "ระบุผู้ใช้3"; + Text[ cz ] = "Uživatelem definované 3"; + Text[ he ] = "Benutzertyp3"; + Text[ hi-IN ] = "उपभोक्ता से परिभाषित3"; + Text[ sk ] = "Užívateľom definované3"; + }; + String STR_AUTH_TYPE_CUSTOM4 + { + Text [ de ] = "Benutzertyp4" ; + Text[ en-US ] = "User-defined4"; + Text[ pt ] = "Utilizador4"; + Text[ ru ] = "??4"; + Text[ el ] = "?4"; + Text[ nl ] = "Gebruikerstype4"; + Text[ fr ] = "Utilisateur4"; + Text[ es ] = "Usuario4"; + Text[ it ] = "Utente4"; + Text[ da ] = "Brugerdefineret type4"; + Text[ sv ] = "Anvndartyp4"; + Text[ pl ] = "Uytkownika 4"; + Text[ pt-BR ] = "Personalizado4"; + Text[ ja ] = "ユーザータイ?4"; + Text[ ko ] = "사용?정의4"; + Text[ zh-CN ] = "使用者类?"; + Text[ zh-TW ] = "自訂類型 4"; + Text[ ar ] = "? ?4"; + Text[ tr ] = "Kullanc?tipi4"; + Text[ x-comment ] = " "; + Text[ ca ] = "Definit per l'usuari 4"; + Text[ fi ] = "Kyttjn mrittm?"; + Text[ th ] = "ระบุผู้ใช้4"; + Text[ cz ] = "Uživatelem definované 4"; + Text[ he ] = "Benutzertyp4"; + Text[ hi-IN ] = "उपभोक्ता से परिभाषित4"; + Text[ sk ] = "Užívateľom definované4"; + }; + String STR_AUTH_TYPE_CUSTOM5 + { + Text [ de ] = "Benutzertyp5" ; + Text[ en-US ] = "User-defined5"; + Text[ pt ] = "Utilizador5"; + Text[ ru ] = "??5"; + Text[ el ] = "?5"; + Text[ nl ] = "Gebruikerstype5"; + Text[ fr ] = "Utilisateur5"; + Text[ es ] = "Usuario5"; + Text[ it ] = "Utente5"; + Text[ da ] = "Brugerdefineret type5"; + Text[ sv ] = "Anvndartyp5"; + Text[ pl ] = "Uytkownika 5"; + Text[ pt-BR ] = "Personalizado5"; + Text[ ja ] = "ユーザータイ?5"; + Text[ ko ] = "사용?정의5"; + Text[ zh-CN ] = "使用者类?"; + Text[ zh-TW ] = "自訂類型 5"; + Text[ ar ] = "? ?5"; + Text[ tr ] = "Kullanc?tipi5"; + Text[ x-comment ] = " "; + Text[ ca ] = "Definit per l'usuari 5"; + Text[ fi ] = "Kyttjn mrittm?"; + Text[ th ] = "ระบุผู้ใช้5"; + Text[ cz ] = "Uživatelem definované 5"; + Text[ he ] = "Benutzertyp5"; + Text[ hi-IN ] = "उपभोक्ता से परिभाषित5"; + Text[ sk ] = "Užívateľom definované5"; + }; + diff --git a/binfilter/bf_sw/source/ui/utlui/sw_navipi.src b/binfilter/bf_sw/source/ui/utlui/sw_navipi.src new file mode 100644 index 000000000000..3941443bee1d --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/sw_navipi.src @@ -0,0 +1,88 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#define NAVI_ENTRY_IDS \ + IdList = \ + { \ + 20000 ; \ + 20001 ; \ + 20002 ; \ + 20003 ; \ + 20004 ; \ + 20005 ; \ + 20006 ; \ + 20007 ; \ + 20008 ; \ + 20009 ; \ + 20010 ; \ + 20011 ; \ + }; \ + IdCount = { 12 ; }; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/binfilter/bf_sw/source/ui/utlui/sw_poolfmt.src b/binfilter/bf_sw/source/ui/utlui/sw_poolfmt.src new file mode 100644 index 000000000000..958dcacc7d8c --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/sw_poolfmt.src @@ -0,0 +1,740 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT +#include "poolfmt.hrc" + + // ----------------- + // Format-Namen + // ----------------- +String STR_POOLCHR_FOOTNOTE +{ + Text = "Footnote Characters" ; +}; +String STR_POOLCHR_PAGENO +{ + Text = "Page Number" ; +}; +String STR_POOLCHR_LABEL +{ + Text = "Caption Characters" ; +}; +String STR_POOLCHR_DROPCAPS +{ + Text = "Drop Caps" ; +}; +String STR_POOLCHR_NUM_LEVEL +{ + Text = "Numbering Symbols" ; +}; +String STR_POOLCHR_BUL_LEVEL +{ + Text = "Bullets" ; +}; +String STR_POOLCHR_INET_NORMAL +{ + Text = "Internet Link" ; +}; +String STR_POOLCHR_INET_VISIT +{ + Text = "Visited Internet Link" ; +}; +String STR_POOLCHR_JUMPEDIT +{ + Text = "Placeholder" ; +}; +String STR_POOLCHR_TOXJUMP +{ + Text = "Index Link" ; +}; +String STR_POOLCHR_ENDNOTE +{ + Text = "Endnote Characters" ; +}; +String STR_POOLCHR_LINENUM +{ + Text = "Line numbering" ; +}; +String STR_POOLCHR_IDX_MAIN_ENTRY +{ + Text = "Main index entry"; +}; +String STR_POOLCHR_FOOTNOTE_ANCHOR +{ + Text = "Footnote anchor"; +}; +String STR_POOLCHR_ENDNOTE_ANCHOR +{ + Text = "Endnote anchor"; +}; +String STR_POOLCHR_HTML_EMPHASIS +{ + Text = "Emphasis" ; +}; +String STR_POOLCHR_HTML_CITIATION +{ + Text = "Quotation" ; +}; +String STR_POOLCHR_HTML_STRONG +{ + Text = "Strong Emphasis" ; +}; +String STR_POOLCHR_HTML_CODE +{ + Text = "Source Text" ; +}; +String STR_POOLCHR_HTML_SAMPLE +{ + Text = "Example" ; +}; +String STR_POOLCHR_HTML_KEYBOARD +{ + Text = "User Entry" ; +}; +String STR_POOLCHR_HTML_VARIABLE +{ + Text = "Variable" ; +}; +String STR_POOLCHR_HTML_DEFINSTANCE +{ + Text = "Definition" ; + +}; +String STR_POOLCHR_HTML_TELETYPE +{ + + Text = "Teletype" ; +}; + +// Rahmenvorlagen +String STR_POOLFRM_FRAME +{ + Text = "Frame" ; +}; +String STR_POOLFRM_GRAPHIC +{ + Text = "Graphics" ; +}; +String STR_POOLFRM_OLE +{ + Text = "OLE" ; +}; +String STR_POOLFRM_FORMEL +{ + Text = "Formula" ; +}; +String STR_POOLFRM_MARGINAL +{ + Text = "Marginalia" ; +}; +String STR_POOLFRM_WATERSIGN +{ + Text = "Watermark" ; +}; +String STR_POOLFRM_LABEL +{ + Text = "Labels" ; +}; + // ----------------- + // Vorlagen-Namen + // ----------------- +String STR_POOLCOLL_STANDARD +{ + Text = "Default" ; +}; +String STR_POOLCOLL_TEXT +{ + Text = "Text body" ; +}; +String STR_POOLCOLL_TEXT_IDENT +{ + Text = "First line indent" ; +}; +String STR_POOLCOLL_TEXT_NEGIDENT +{ + Text = "Hanging indent" ; +}; +String STR_POOLCOLL_TEXT_MOVE +{ + Text = "Text body indent" ; + +}; +String STR_POOLCOLL_GREETING +{ + Text = "Complimentary close" ; + +}; +String STR_POOLCOLL_SIGNATURE +{ + Text = "Signature" ; +}; +String STR_POOLCOLL_HEADLINE_BASE +{ + Text = "Heading" ; +}; +String STR_POOLCOLL_NUMBUL_BASE +{ + Text = "List" ; +}; +String STR_POOLCOLL_REGISTER_BASE +{ + Text = "Index" ; +}; +String STR_POOLCOLL_CONFRONTATION +{ + Text = "List Indent" ; +}; +String STR_POOLCOLL_MARGINAL +{ + Text = "Marginalia" ; +}; +String STR_POOLCOLL_HEADLINE1 +{ + Text = "Heading 1" ; +}; +String STR_POOLCOLL_HEADLINE2 +{ + Text = "Heading 2" ; +}; +String STR_POOLCOLL_HEADLINE3 +{ + Text = "Heading 3" ; +}; +String STR_POOLCOLL_HEADLINE4 +{ + Text = "Heading 4" ; +}; +String STR_POOLCOLL_HEADLINE5 +{ + Text = "Heading 5" ; +}; +String STR_POOLCOLL_HEADLINE6 +{ + Text = "Heading 6" ; +}; +String STR_POOLCOLL_HEADLINE7 +{ + Text = "Heading 7" ; +}; +String STR_POOLCOLL_HEADLINE8 +{ + Text = "Heading 8" ; +}; +String STR_POOLCOLL_HEADLINE9 +{ + Text = "Heading 9" ; +}; +String STR_POOLCOLL_HEADLINE10 +{ + Text = "Heading 10" ; +}; +String STR_POOLCOLL_NUM_LEVEL1S +{ + Text = "Numbering 1 Start" ; +}; +String STR_POOLCOLL_NUM_LEVEL1 +{ + Text = "Numbering 1" ; +}; +String STR_POOLCOLL_NUM_LEVEL1E +{ + Text = "Numbering 1 End" ; +}; +String STR_POOLCOLL_NUM_NONUM1 +{ + Text = "Numbering 1 Cont." ; +}; +String STR_POOLCOLL_NUM_LEVEL2S +{ + Text = "Numbering 2 Start" ; +}; +String STR_POOLCOLL_NUM_LEVEL2 +{ + Text = "Numbering 2" ; +}; +String STR_POOLCOLL_NUM_LEVEL2E +{ + Text = "Numbering 2 End" ; +}; +String STR_POOLCOLL_NUM_NONUM2 +{ + Text = "Numbering 2 Cont." ; +}; +String STR_POOLCOLL_NUM_LEVEL3S +{ + Text = "Numbering 3 Start" ; +}; +String STR_POOLCOLL_NUM_LEVEL3 +{ + Text = "Numbering 3" ; +}; +String STR_POOLCOLL_NUM_LEVEL3E +{ + Text = "Numbering 3 End" ; +}; +String STR_POOLCOLL_NUM_NONUM3 +{ + Text = "Numbering 3 Cont." ; +}; +String STR_POOLCOLL_NUM_LEVEL4S +{ + Text = "Numbering 4 Start" ; +}; +String STR_POOLCOLL_NUM_LEVEL4 +{ + Text = "Numbering 4" ; +}; +String STR_POOLCOLL_NUM_LEVEL4E +{ + Text = "Numbering 4 End" ; +}; +String STR_POOLCOLL_NUM_NONUM4 +{ + Text = "Numbering 4 Cont." ; +}; +String STR_POOLCOLL_NUM_LEVEL5S +{ + Text = "Numbering 5 Start" ; +}; +String STR_POOLCOLL_NUM_LEVEL5 +{ + Text = "Numbering 5" ; +}; +String STR_POOLCOLL_NUM_LEVEL5E +{ + Text = "Numbering 5 End" ; +}; +String STR_POOLCOLL_NUM_NONUM5 +{ + Text = "Numbering 5 Cont." ; +}; +String STR_POOLCOLL_BUL_LEVEL1S +{ + Text = "List 1 Start" ; +}; +String STR_POOLCOLL_BUL_LEVEL1 +{ + Text = "List 1" ; +}; +String STR_POOLCOLL_BUL_LEVEL1E +{ + Text = "List 1 End" ; +}; +String STR_POOLCOLL_BUL_NONUM1 +{ + Text = "List 1 Cont." ; +}; +String STR_POOLCOLL_BUL_LEVEL2S +{ + Text = "List 2 Start" ; +}; +String STR_POOLCOLL_BUL_LEVEL2 +{ + Text = "List 2" ; +}; +String STR_POOLCOLL_BUL_LEVEL2E +{ + Text = "List 2 End" ; +}; +String STR_POOLCOLL_BUL_NONUM2 +{ + Text = "List 2 Cont." ; +}; +String STR_POOLCOLL_BUL_LEVEL3S +{ + Text = "List 3 Start" ; +}; +String STR_POOLCOLL_BUL_LEVEL3 +{ + Text = "List 3" ; +}; +String STR_POOLCOLL_BUL_LEVEL3E +{ + Text = "List 3 End" ; +}; +String STR_POOLCOLL_BUL_NONUM3 +{ + Text = "List 3 Cont." ; +}; +String STR_POOLCOLL_BUL_LEVEL4S +{ + Text = "List 4 Start" ; +}; +String STR_POOLCOLL_BUL_LEVEL4 +{ + Text = "List 4" ; +}; +String STR_POOLCOLL_BUL_LEVEL4E +{ + Text = "List 4 End" ; +}; +String STR_POOLCOLL_BUL_NONUM4 +{ + Text = "List 4 Cont." ; +}; +String STR_POOLCOLL_BUL_LEVEL5S +{ + Text = "List 5 Start" ; +}; +String STR_POOLCOLL_BUL_LEVEL5 +{ + Text = "List 5" ; +}; +String STR_POOLCOLL_BUL_LEVEL5E +{ + Text = "List 5 End" ; +}; +String STR_POOLCOLL_BUL_NONUM5 +{ + Text = "List 5 Cont." ; +}; +String STR_POOLCOLL_HEADER +{ + Text = "Header" ; +}; +String STR_POOLCOLL_HEADERL +{ + Text = "Header left" ; +}; +String STR_POOLCOLL_HEADERR +{ + Text = "Header right" ; +}; +String STR_POOLCOLL_FOOTER +{ + Text = "Footer" ; +}; +String STR_POOLCOLL_FOOTERL +{ + Text = "Footer left" ; +}; +String STR_POOLCOLL_FOOTERR +{ + Text = "Footer right" ; +}; +String STR_POOLCOLL_TABLE +{ + Text = "Table Contents" ; +}; +String STR_POOLCOLL_TABLE_HDLN +{ + Text = "Table Heading" ; +}; +String STR_POOLCOLL_FRAME +{ + Text = "Frame contents" ; +}; +String STR_POOLCOLL_FOOTNOTE +{ + Text = "Footnote" ; +}; +String STR_POOLCOLL_ENDNOTE +{ + Text = "Endnote" ; +}; +String STR_POOLCOLL_LABEL +{ + Text = "Caption" ; +}; +String STR_POOLCOLL_LABEL_ABB +{ + Text = "Illustration" ; +}; +String STR_POOLCOLL_LABEL_TABLE +{ + Text = "Table" ; +}; +String STR_POOLCOLL_LABEL_FRAME +{ + Text = "Text" ; +}; +String STR_POOLCOLL_LABEL_DRAWING +{ + Text = "Drawing"; +}; +String STR_POOLCOLL_JAKETADRESS +{ + Text = "Addressee" ; +}; +String STR_POOLCOLL_SENDADRESS +{ + Text = "Sender" ; +}; +String STR_POOLCOLL_TOX_IDXH +{ + Text = "Index Heading" ; +}; +String STR_POOLCOLL_TOX_IDX1 +{ + Text = "Index 1" ; +}; +String STR_POOLCOLL_TOX_IDX2 +{ + Text = "Index 2" ; +}; +String STR_POOLCOLL_TOX_IDX3 +{ + Text = "Index 3" ; +}; +String STR_POOLCOLL_TOX_IDXBREAK +{ + Text = "Index Separator" ; +}; +String STR_POOLCOLL_TOX_CNTNTH +{ + Text = "Contents Heading" ; +}; +String STR_POOLCOLL_TOX_CNTNT1 +{ + Text = "Contents 1" ; +}; +String STR_POOLCOLL_TOX_CNTNT2 +{ + Text = "Contents 2" ; +}; +String STR_POOLCOLL_TOX_CNTNT3 +{ + Text = "Contents 3" ; +}; +String STR_POOLCOLL_TOX_CNTNT4 +{ + Text = "Contents 4" ; +}; +String STR_POOLCOLL_TOX_CNTNT5 +{ + Text = "Contents 5" ; +}; +String STR_POOLCOLL_TOX_CNTNT6 +{ + Text = "Contents 6" ; +}; +String STR_POOLCOLL_TOX_CNTNT7 +{ + Text = "Contents 7" ; +}; +String STR_POOLCOLL_TOX_CNTNT8 +{ + Text = "Contents 8" ; +}; +String STR_POOLCOLL_TOX_CNTNT9 +{ + Text = "Contents 9" ; +}; +String STR_POOLCOLL_TOX_CNTNT10 +{ + Text = "Contents 10" ; +}; +String STR_POOLCOLL_TOX_USERH +{ + Text = "User Index Heading" ; +}; +String STR_POOLCOLL_TOX_USER1 +{ + Text = "User Index 1" ; +}; +String STR_POOLCOLL_TOX_USER2 +{ + Text = "User Index 2" ; +}; +String STR_POOLCOLL_TOX_USER3 +{ + Text = "User Index 3" ; +}; +String STR_POOLCOLL_TOX_USER4 +{ + Text = "User Index 4" ; +}; +String STR_POOLCOLL_TOX_USER5 +{ + Text = "User Index 5" ; +}; +String STR_POOLCOLL_TOX_USER6 +{ + Text = "User Index 6" ; +}; +String STR_POOLCOLL_TOX_USER7 +{ + Text = "User Index 7" ; +}; +String STR_POOLCOLL_TOX_USER8 +{ + Text = "User Index 8" ; +}; +String STR_POOLCOLL_TOX_USER9 +{ + Text = "User Index 9" ; +}; +String STR_POOLCOLL_TOX_USER10 +{ + Text = "User Index 10" ; +}; +String STR_POOLCOLL_TOX_ILLUSH +{ + Text = "Illustration Index Heading"; +}; +String STR_POOLCOLL_TOX_ILLUS1 +{ + Text = "Illustration Index 1"; +}; +String STR_POOLCOLL_TOX_OBJECTH +{ + Text = "Object index heading"; +}; +String STR_POOLCOLL_TOX_OBJECT1 +{ + Text = "Object index 1"; +}; +String STR_POOLCOLL_TOX_TABLESH +{ + Text = "Table index heading"; +}; +String STR_POOLCOLL_TOX_TABLES1 +{ + Text = "Table index 1"; +}; +String STR_POOLCOLL_TOX_AUTHORITIESH +{ + Text = "Bibliography Heading"; +}; +String STR_POOLCOLL_TOX_AUTHORITIES1 +{ + Text = "Bibliography 1"; +}; +String STR_POOLCOLL_DOC_TITEL +{ + Text = "Title" ; +}; +String STR_POOLCOLL_DOC_SUBTITEL +{ + Text = "Subtitle" ; +}; +String STR_POOLCOLL_HTML_BLOCKQUOTE +{ + Text = "Quotations" ; +}; +String STR_POOLCOLL_HTML_PRE +{ + Text = "Preformatted Text" ; +}; +String STR_POOLCOLL_HTML_HR +{ + Text = "Horizontal Line" ; +}; +String STR_POOLCOLL_HTML_DD +{ + Text = "List Contents" ; +}; +String STR_POOLCOLL_HTML_DT +{ + Text = "List Heading" ; +}; +String STR_POOLPAGE_STANDARD +{ + Text = "Default" ; +}; +String STR_POOLPAGE_FIRST +{ + Text = "First Page" ; +}; +String STR_POOLPAGE_LEFT +{ + Text = "Left Page" ; +}; +String STR_POOLPAGE_RIGHT +{ + Text = "Right Page" ; +}; +String STR_POOLPAGE_JAKET +{ + Text = "Envelope" ; +}; +String STR_POOLPAGE_REGISTER +{ + Text = "Index" ; +}; +String STR_POOLPAGE_HTML +{ + Text = "HTML" ; +}; +String STR_POOLPAGE_FOOTNOTE +{ + Text = "Footnote" ; +}; +String STR_POOLPAGE_ENDNOTE +{ + Text = "Endnote" ; +}; +String STR_POOLNUMRULE_NUM1 +{ + Text = "Numbering 1" ; +}; +String STR_POOLNUMRULE_NUM2 +{ + Text = "Numbering 2" ; +}; +String STR_POOLNUMRULE_NUM3 +{ + Text = "Numbering 3" ; +}; +String STR_POOLNUMRULE_NUM4 +{ + Text = "Numbering 4" ; +}; +String STR_POOLNUMRULE_NUM5 +{ + Text = "Numbering 5" ; +}; +String STR_POOLNUMRULE_BUL1 +{ + Text = "List 1" ; +}; +String STR_POOLNUMRULE_BUL2 +{ + Text = "List 2" ; +}; +String STR_POOLNUMRULE_BUL3 +{ + Text = "List 3" ; +}; +String STR_POOLNUMRULE_BUL4 +{ + Text = "List 4" ; +}; +String STR_POOLNUMRULE_BUL5 +{ + Text = "List 5" ; +}; + +String STR_POOLCHR_RUBYTEXT +{ + Text = "Rubies"; +}; + +String STR_POOLCHR_VERT_NUM +{ + Text = "Vertical Numbering Symbols"; +}; + diff --git a/binfilter/bf_sw/source/ui/utlui/sw_uiitems.cxx b/binfilter/bf_sw/source/ui/utlui/sw_uiitems.cxx new file mode 100644 index 000000000000..f296c4f706f3 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/sw_uiitems.cxx @@ -0,0 +1,221 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + + +#include "cmdid.h" +#include "uiitems.hxx" + +#include "utlui.hrc" +#include "attrdesc.hrc" +#include <unomid.h> +namespace binfilter { + +using namespace ::com::sun::star; +using namespace ::com::sun::star::uno; + +// Breitenangaben der Fussnotenlinien, mit TabPage abstimmen +static const USHORT __FAR_DATA nFtnLines[] = { + 0, + 10, + 50, + 80, + 100, + 150 +}; + +#define FTN_LINE_STYLE_COUNT 5 + + +/*N*/ SwPageFtnInfoItem::SwPageFtnInfoItem( const USHORT nId, SwPageFtnInfo& rInfo) : +/*N*/ SfxPoolItem( nId ), +/*N*/ aFtnInfo(rInfo) +/*N*/ { +/*N*/ } + + +/*N*/ SwPageFtnInfoItem::SwPageFtnInfoItem( const SwPageFtnInfoItem& rItem ) : +/*N*/ SfxPoolItem( rItem ), +/*N*/ aFtnInfo(rItem.GetPageFtnInfo()) +/*N*/ { +/*N*/ } + + +/*N*/ SwPageFtnInfoItem::~SwPageFtnInfoItem() +/*N*/ { +/*N*/ } + + +/*N*/ SfxPoolItem* SwPageFtnInfoItem::Clone( SfxItemPool *pPool ) const +/*N*/ { +/*N*/ return new SwPageFtnInfoItem( *this ); +/*N*/ } + + +/*N*/ int SwPageFtnInfoItem::operator==( const SfxPoolItem& rAttr ) const +/*N*/ { +/*N*/ DBG_ASSERT( Which() == rAttr.Which(), "keine gleichen Attribute" ); +/*N*/ return ( aFtnInfo == ((SwPageFtnInfoItem&)rAttr).GetPageFtnInfo()); +/*N*/ } + + +/* -----------------------------26.04.01 12:25-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ bool SwPageFtnInfoItem::QueryValue( Any& rVal, BYTE nMemberId ) const +/*N*/ { +/*N*/ bool bRet = true; +/*N*/ switch(nMemberId & ~CONVERT_TWIPS) +/*N*/ { +/*N*/ case MID_FTN_HEIGHT : rVal <<= (sal_Int32)TWIP_TO_MM100(aFtnInfo.GetHeight());break; +/*N*/ case MID_LINE_WEIGHT : rVal <<= (sal_Int16)TWIP_TO_MM100(aFtnInfo.GetLineWidth());break; +/*N*/ case MID_LINE_COLOR : rVal <<= (sal_Int32)aFtnInfo.GetLineColor().GetColor();break; +/*N*/ case MID_LINE_RELWIDTH : +/*N*/ { +/*N*/ Fraction aTmp( 100, 1 ); +/*N*/ aTmp *= aFtnInfo.GetWidth(); +/*N*/ rVal <<= (sal_Int8)(long)aTmp; +/*N*/ } +/*N*/ break; +/*N*/ case MID_LINE_ADJUST : rVal <<= (sal_Int16)aFtnInfo.GetAdj();break;//com::sun::star::text::HorizontalAdjust +/*N*/ case MID_LINE_TEXT_DIST : rVal <<= (sal_Int32)TWIP_TO_MM100(aFtnInfo.GetTopDist());break; +/*N*/ case MID_LINE_FOOTNOTE_DIST: rVal <<= (sal_Int32)TWIP_TO_MM100(aFtnInfo.GetBottomDist());break; +/*N*/ default: +/*N*/ bRet = false; +/*N*/ } +/*N*/ return bRet; +/*N*/ } +/* -----------------------------26.04.01 12:26-------------------------------- + + ---------------------------------------------------------------------------*/ +/*N*/ bool SwPageFtnInfoItem::PutValue(const Any& rVal, BYTE nMemberId) +/*N*/ { +/*N*/ sal_Int32 nSet32; +/*N*/ bool bRet = true; +/*N*/ switch(nMemberId & ~CONVERT_TWIPS) +/*N*/ { +/*N*/ case MID_LINE_COLOR : +/*N*/ rVal >>= nSet32; +/*N*/ aFtnInfo.SetLineColor(nSet32); +/*N*/ break; +/*N*/ case MID_FTN_HEIGHT: +/*N*/ case MID_LINE_TEXT_DIST : +/*N*/ case MID_LINE_FOOTNOTE_DIST: +/*N*/ rVal >>= nSet32; +/*N*/ if(nSet32 < 0) +/*N*/ bRet = sal_False; +/*N*/ else +/*N*/ { +/*N*/ nSet32 = MM100_TO_TWIP(nSet32); +/*N*/ switch(nMemberId & ~CONVERT_TWIPS) +/*N*/ { +/*N*/ case MID_FTN_HEIGHT: aFtnInfo.SetHeight(nSet32); break; +/*N*/ case MID_LINE_TEXT_DIST: aFtnInfo.SetTopDist(nSet32);break; +/*N*/ case MID_LINE_FOOTNOTE_DIST: aFtnInfo.SetBottomDist(nSet32);break; +/*N*/ } +/*N*/ } +/*N*/ break; +/*N*/ case MID_LINE_WEIGHT : +/*N*/ { +/*N*/ sal_Int16 nSet; rVal >>= nSet; +/*N*/ if(nSet >= 0) +/*N*/ aFtnInfo.SetLineWidth(MM100_TO_TWIP(nSet)); +/*N*/ else +/*N*/ bRet = false; +/*N*/ } +/*N*/ break; +/*N*/ case MID_LINE_RELWIDTH : +/*N*/ { +/*N*/ sal_Int8 nSet; rVal >>= nSet; +/*N*/ if(nSet < 0) +/*N*/ bRet = false; +/*N*/ else +/*N*/ aFtnInfo.SetWidth(Fraction(nSet, 100)); +/*N*/ } +/*N*/ break; +/*N*/ case MID_LINE_ADJUST : +/*N*/ { +/*N*/ sal_Int16 nSet; rVal >>= nSet; +/*N*/ if(nSet >= 0 && nSet < 3) //com::sun::star::text::HorizontalAdjust +/*N*/ aFtnInfo.SetAdj((SwFtnAdj)nSet); +/*N*/ else +/*N*/ bRet = false; +/*N*/ } +/*N*/ break; +/*N*/ default: +/*N*/ bRet = false; +/*N*/ } +/*N*/ return bRet; +/*N*/ } + + +/*-------------------------------------------------------------------- + Beschreibung: Copy-Konstruktor + --------------------------------------------------------------------*/ + + + +/*-------------------------------------------------------------------- + Beschreibung: Clonen + --------------------------------------------------------------------*/ + + + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + + + + +/*-----------------12.11.97 12:55------------------------------- + SwUINumRuleItem fuer die NumTabPages der FormatNumRule/Stylisten +---------------------------------------------------------------*/ + + + + + + + +/* -----------------17.06.98 17:43------------------- + * + * --------------------------------------------------*/ +/* -----------------17.06.98 17:44------------------- + * + * --------------------------------------------------*/ + + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/utlui/sw_uitool.cxx b/binfilter/bf_sw/source/ui/utlui/sw_uitool.cxx new file mode 100644 index 000000000000..8b3cd30b251c --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/sw_uitool.cxx @@ -0,0 +1,424 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <hintids.hxx> +#include <uiparam.hxx> + + + +#include <bf_svx/tstpitem.hxx> +#include <bf_svx/boxitem.hxx> +#include <bf_svx/sizeitem.hxx> +#include <bf_svx/pageitem.hxx> + +#include <horiornt.hxx> + + +#include <fmtfsize.hxx> +#include <fmthdft.hxx> +#include <uiitems.hxx> + +#include <horiornt.hxx> + +#include <paratr.hxx> +#include <fmtcol.hxx> + +#include <error.h> +#include <cmdid.h> +#include <globals.hrc> +#include <utlui.hrc> +#include <doc.hxx> +#include <SwStyleNameMapper.hxx> +#include "bf_so3/staticbaseurl.hxx" +namespace binfilter { +// 50 cm 28350 +// +#define MAXHEIGHT 28350 +#define MAXWIDTH 28350 + +/*-------------------------------------------------------------------- + Beschreibung: Allgemeine List von StringPointern + --------------------------------------------------------------------*/ + + +/*-------------------------------------------------------------------- + Beschreibung: Metric umschalten + --------------------------------------------------------------------*/ + + + +/*-------------------------------------------------------------------- + Beschreibung: Boxinfo-Attribut setzen + --------------------------------------------------------------------*/ + + + +/*-------------------------------------------------------------------- + Beschreibung: Header Footer fuellen + --------------------------------------------------------------------*/ + + +/*N*/ void FillHdFt(SwFrmFmt* pFmt, const SfxItemSet& rSet) +/*N*/ { +/*N*/ SwAttrSet aSet(pFmt->GetAttrSet()); +/*N*/ aSet.Put(rSet); +/*N*/ +/*N*/ const SvxSizeItem& rSize = (const SvxSizeItem&)rSet.Get(SID_ATTR_PAGE_SIZE); +/*N*/ const SfxBoolItem& rDynamic = (const SfxBoolItem&)rSet.Get(SID_ATTR_PAGE_DYNAMIC); +/*N*/ +/*N*/ // Groesse umsetzen +/*N*/ // +/*N*/ SwFmtFrmSize aFrmSize(rDynamic.GetValue() ? ATT_MIN_SIZE : ATT_FIX_SIZE, +/*N*/ rSize.GetSize().Width(), +/*N*/ rSize.GetSize().Height()); +/*N*/ aSet.Put(aFrmSize); +/*N*/ pFmt->SetAttr(aSet); +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: PageDesc <-> in Sets wandeln und zurueck + --------------------------------------------------------------------*/ + + +/*N*/ void ItemSetToPageDesc( const SfxItemSet& rSet, SwPageDesc& rPageDesc ) +/*N*/ { +/*N*/ SwFrmFmt& rMaster = rPageDesc.GetMaster(); +/*N*/ +/*N*/ // alle allgemeinen Rahmen-Attribute uebertragen +/*N*/ // +/*N*/ rMaster.SetAttr(rSet); +/*N*/ +/*N*/ // PageData +/*N*/ // +/*N*/ if(rSet.GetItemState(SID_ATTR_PAGE) == SFX_ITEM_SET) +/*N*/ { +/*N*/ const SvxPageItem& rPageItem = (const SvxPageItem&)rSet.Get(SID_ATTR_PAGE); +/*N*/ +/*N*/ USHORT nUse = (USHORT)rPageItem.GetPageUsage(); +/*N*/ if(nUse & 0x04) +/*N*/ nUse |= 0x03; +/*N*/ if(nUse) +/*N*/ rPageDesc.SetUseOn( (UseOnPage) nUse ); +/*N*/ rPageDesc.SetLandscape(rPageItem.IsLandscape()); +/*N*/ SvxNumberType aNumType; +/*N*/ aNumType.SetNumberingType(rPageItem.GetNumType()); +/*N*/ rPageDesc.SetNumType(aNumType); +/*N*/ } +/*N*/ // Groesse +/*N*/ // +/*N*/ if(rSet.GetItemState(SID_ATTR_PAGE_SIZE) == SFX_ITEM_SET) +/*N*/ { +/*N*/ const SvxSizeItem& rSizeItem = (const SvxSizeItem&)rSet.Get(SID_ATTR_PAGE_SIZE); +/*N*/ SwFmtFrmSize aSize(ATT_FIX_SIZE); +/*N*/ aSize.SetSize(rSizeItem.GetSize()); +/*N*/ rMaster.SetAttr(aSize); +/*N*/ } +/*N*/ // Kopzeilen-Attribute auswerten +/*N*/ // +/*N*/ const SfxPoolItem* pItem; +/*N*/ if( SFX_ITEM_SET == rSet.GetItemState( SID_ATTR_PAGE_HEADERSET, +/*N*/ FALSE, &pItem ) ) +/*N*/ { +/*N*/ const SfxItemSet& rHeaderSet = ((SvxSetItem*)pItem)->GetItemSet(); +/*N*/ const SfxBoolItem& rHeaderOn = (const SfxBoolItem&)rHeaderSet.Get(SID_ATTR_PAGE_ON); +/*N*/ +/*N*/ if(rHeaderOn.GetValue()) +/*N*/ { +/*N*/ // Werte uebernehmen +/*N*/ if(!rMaster.GetHeader().IsActive()) +/*N*/ rMaster.SetAttr(SwFmtHeader(TRUE)); +/*N*/ +/*N*/ // Das Headerformat rausholen und anpassen +/*N*/ // +/*N*/ SwFmtHeader aHeaderFmt(rMaster.GetHeader()); +/*N*/ SwFrmFmt *pHeaderFmt = aHeaderFmt.GetHeaderFmt(); +/*N*/ ASSERT(pHeaderFmt != 0, "kein HeaderFormat"); +/*N*/ +/*N*/ ::binfilter::FillHdFt(pHeaderFmt, rHeaderSet); +/*N*/ +/*N*/ rPageDesc.ChgHeaderShare(((const SfxBoolItem&) +/*N*/ rHeaderSet.Get(SID_ATTR_PAGE_SHARED)).GetValue()); +/*N*/ } +/*N*/ else +/*N*/ { // Header ausschalten +/*N*/ // +/*?*/ if(rMaster.GetHeader().IsActive()) +/*?*/ { +/*?*/ rMaster.SetAttr(SwFmtHeader(BOOL(FALSE))); +/*?*/ rPageDesc.ChgHeaderShare(FALSE); +/*N*/ } +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ // Fusszeilen-Attribute auswerten +/*N*/ // +/*N*/ if( SFX_ITEM_SET == rSet.GetItemState( SID_ATTR_PAGE_FOOTERSET, +/*N*/ FALSE, &pItem ) ) +/*N*/ { +/*N*/ const SfxItemSet& rFooterSet = ((SvxSetItem*)pItem)->GetItemSet(); +/*N*/ const SfxBoolItem& rFooterOn = (const SfxBoolItem&)rFooterSet.Get(SID_ATTR_PAGE_ON); +/*N*/ +/*N*/ if(rFooterOn.GetValue()) +/*N*/ { +/*N*/ // Werte uebernehmen +/*N*/ if(!rMaster.GetFooter().IsActive()) +/*N*/ rMaster.SetAttr(SwFmtFooter(TRUE)); +/*N*/ +/*N*/ // Das Footerformat rausholen und anpassen +/*N*/ // +/*N*/ SwFmtFooter aFooterFmt(rMaster.GetFooter()); +/*N*/ SwFrmFmt *pFooterFmt = aFooterFmt.GetFooterFmt(); +/*N*/ ASSERT(pFooterFmt != 0, "kein FooterFormat"); +/*N*/ +/*N*/ ::binfilter::FillHdFt(pFooterFmt, rFooterSet); +/*N*/ +/*N*/ rPageDesc.ChgFooterShare(((const SfxBoolItem&) +/*N*/ rFooterSet.Get(SID_ATTR_PAGE_SHARED)).GetValue()); +/*N*/ } +/*N*/ else +/*N*/ { // Footer ausschalten +/*?*/ // +/*?*/ if(rMaster.GetFooter().IsActive()) +/*?*/ { +/*?*/ rMaster.SetAttr(SwFmtFooter(BOOL(FALSE))); +/*?*/ rPageDesc.ChgFooterShare(FALSE); +/*?*/ } +/*N*/ } +/*N*/ } +/*N*/ +/*N*/ // Fussnoten +/*N*/ // +/*N*/ if( SFX_ITEM_SET == rSet.GetItemState( FN_PARAM_FTN_INFO, +/*N*/ FALSE, &pItem ) ) +/*N*/ rPageDesc.SetFtnInfo( ((SwPageFtnInfoItem*)pItem)->GetPageFtnInfo() ); +/*N*/ +/*N*/ +/*N*/ // +/*N*/ // Columns +/*N*/ // +/*N*/ +/*N*/ // Registerhaltigkeit +/*N*/ +/*N*/ if(SFX_ITEM_SET == rSet.GetItemState( +/*N*/ SID_SWREGISTER_MODE, FALSE, &pItem)) +/*N*/ { +/*N*/ BOOL bSet = ((const SfxBoolItem*)pItem)->GetValue(); +/*N*/ if(!bSet) +/*N*/ rPageDesc.SetRegisterFmtColl(0); +/*N*/ else if(SFX_ITEM_SET == rSet.GetItemState( +/*N*/ SID_SWREGISTER_COLLECTION, FALSE, &pItem)) +/*N*/ { +/*N*/ const String& rColl = ((const SfxStringItem*)pItem)->GetValue(); +/*N*/ SwDoc& rDoc = *rMaster.GetDoc(); +/*N*/ SwTxtFmtColl* pColl = rDoc.FindTxtFmtCollByName( rColl ); +/*N*/ if( !pColl ) +/*N*/ { +/*?*/ USHORT nId = SwStyleNameMapper::GetPoolIdFromUIName( rColl, GET_POOLID_TXTCOLL ); +/*?*/ if( USHRT_MAX != nId ) +/*?*/ pColl = rDoc.GetTxtCollFromPool( nId ); +/*?*/ else +/*?*/ pColl = rDoc.MakeTxtFmtColl( rColl, +/*?*/ (SwTxtFmtColl*)rDoc.GetDfltTxtFmtColl() ); +/*N*/ } +/*N*/ if( pColl ) +/*N*/ pColl->SetAttr( SwRegisterItem ( TRUE )); +/*N*/ rPageDesc.SetRegisterFmtColl( pColl ); +/*N*/ } +/*N*/ } +/*N*/ } + +/*-------------------------------------------------------------------- + Beschreibung: + --------------------------------------------------------------------*/ + + +/*N*/ void PageDescToItemSet( const SwPageDesc& rPageDesc, SfxItemSet& rSet) +/*N*/ { +/*N*/ const SwFrmFmt& rMaster = rPageDesc.GetMaster(); +/*N*/ +/*N*/ // Seitendaten +/*N*/ // +/*N*/ SvxPageItem aPageItem(SID_ATTR_PAGE); +/*N*/ aPageItem.SetDescName(rPageDesc.GetName()); +/*N*/ aPageItem.SetPageUsage((SvxPageUsage)rPageDesc.GetUseOn()); +/*N*/ aPageItem.SetLandscape(rPageDesc.GetLandscape()); +/*N*/ aPageItem.SetNumType((SvxNumType)rPageDesc.GetNumType().GetNumberingType()); +/*N*/ rSet.Put(aPageItem); +/*N*/ +/*N*/ // Groesse +/*N*/ SvxSizeItem aSizeItem(SID_ATTR_PAGE_SIZE, rMaster.GetFrmSize().GetSize()); +/*N*/ rSet.Put(aSizeItem); +/*N*/ +/*N*/ // Maximale Groesse +/*N*/ SvxSizeItem aMaxSizeItem(SID_ATTR_PAGE_MAXSIZE, Size(MAXWIDTH, MAXHEIGHT)); +/*N*/ rSet.Put(aMaxSizeItem); +/*N*/ +/*N*/ // Raender, Umrandung und das andere Zeug +/*N*/ // +/*N*/ rSet.Put(rMaster.GetAttrSet()); +/*N*/ +/*N*/ SvxBoxInfoItem aBoxInfo; +/*N*/ const SfxPoolItem *pBoxInfo; +/*N*/ if ( SFX_ITEM_SET == rSet.GetItemState( SID_ATTR_BORDER_INNER, +/*N*/ TRUE, &pBoxInfo) ) +/*?*/ {DBG_BF_ASSERT(0, "STRIP");} //STRIP001 aBoxInfo = *(SvxBoxInfoItem*)pBoxInfo; +/*N*/ +/*N*/ aBoxInfo.SetTable( FALSE ); +/*N*/ // Abstandsfeld immer anzeigen +/*N*/ aBoxInfo.SetDist( TRUE); +/*N*/ // Minimalgroesse in Tabellen und Absaetzen setzen +/*N*/ aBoxInfo.SetMinDist( FALSE ); +/*N*/ // Default-Abstand immer setzen +/*N*/ aBoxInfo.SetDefDist( MIN_BORDER_DIST ); +/*N*/ // Einzelne Linien koennen nur in Tabellen DontCare-Status haben +/*N*/ aBoxInfo.SetValid( VALID_DISABLE ); +/*N*/ rSet.Put( aBoxInfo ); +/*N*/ +/*N*/ +/*N*/ SfxStringItem aFollow(SID_ATTR_PAGE_EXT1, aEmptyStr); +/*N*/ if(rPageDesc.GetFollow()) +/*N*/ aFollow.SetValue(rPageDesc.GetFollow()->GetName()); +/*N*/ rSet.Put(aFollow); +/*N*/ +/*N*/ // Header +/*N*/ // +/*N*/ if(rMaster.GetHeader().IsActive()) +/*N*/ { +/*N*/ const SwFmtHeader &rHeaderFmt = rMaster.GetHeader(); +/*N*/ const SwFrmFmt *pHeaderFmt = rHeaderFmt.GetHeaderFmt(); +/*N*/ ASSERT(pHeaderFmt != 0, kein HeaderFormat.); +/*N*/ +/*N*/ // HeaderInfo, Raender, Hintergrund, Umrandung +/*N*/ // +/*N*/ SfxItemSet aHeaderSet( *rSet.GetPool(), +/*N*/ SID_ATTR_PAGE_ON, SID_ATTR_PAGE_SHARED, +/*N*/ SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE, +/*N*/ SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER, +/*N*/ RES_FRMATR_BEGIN, RES_FRMATR_END-1, +/*N*/ 0); +/*N*/ +/*N*/ // dynamische oder feste Hoehe +/*N*/ // +/*N*/ SfxBoolItem aOn(SID_ATTR_PAGE_ON, TRUE); +/*N*/ aHeaderSet.Put(aOn); +/*N*/ +/*N*/ const SwFmtFrmSize &rFrmSize = pHeaderFmt->GetFrmSize(); +/*N*/ const SwFrmSize eSizeType = rFrmSize.GetSizeType(); +/*N*/ SfxBoolItem aDynamic(SID_ATTR_PAGE_DYNAMIC, eSizeType != ATT_FIX_SIZE); +/*N*/ aHeaderSet.Put(aDynamic); +/*N*/ +/*N*/ // Links gleich rechts +/*N*/ // +/*N*/ SfxBoolItem aShared(SID_ATTR_PAGE_SHARED, rPageDesc.IsHeaderShared()); +/*N*/ aHeaderSet.Put(aShared); +/*N*/ +/*N*/ // Groesse +/*N*/ SvxSizeItem aSize(SID_ATTR_PAGE_SIZE, Size(rFrmSize.GetSize())); +/*N*/ aHeaderSet.Put(aSize); +/*N*/ +/*N*/ // Rahmen-Attribute umschaufeln +/*N*/ // +/*N*/ aHeaderSet.Put(pHeaderFmt->GetAttrSet()); +/*N*/ aHeaderSet.Put( aBoxInfo ); +/*N*/ +/*N*/ // SetItem erzeugen +/*N*/ // +/*N*/ SvxSetItem aSetItem(SID_ATTR_PAGE_HEADERSET, aHeaderSet); +/*N*/ rSet.Put(aSetItem); +/*N*/ } +/*N*/ +/*N*/ // Footer +/*N*/ if(rMaster.GetFooter().IsActive()) +/*N*/ { +/*N*/ const SwFmtFooter &rFooterFmt = rMaster.GetFooter(); +/*N*/ const SwFrmFmt *pFooterFmt = rFooterFmt.GetFooterFmt(); +/*N*/ ASSERT(pFooterFmt != 0, kein FooterFormat.); +/*N*/ +/*N*/ // FooterInfo, Raender, Hintergrund, Umrandung +/*N*/ // +/*N*/ SfxItemSet aFooterSet( *rSet.GetPool(), +/*N*/ SID_ATTR_PAGE_ON, SID_ATTR_PAGE_SHARED, +/*N*/ SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE, +/*N*/ SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER, +/*N*/ RES_FRMATR_BEGIN, RES_FRMATR_END-1, +/*N*/ 0); +/*N*/ +/*N*/ // dynamische oder feste Hoehe +/*N*/ // +/*N*/ SfxBoolItem aOn(SID_ATTR_PAGE_ON, TRUE); +/*N*/ aFooterSet.Put(aOn); +/*N*/ +/*N*/ const SwFmtFrmSize &rFrmSize = pFooterFmt->GetFrmSize(); +/*N*/ const SwFrmSize eSizeType = rFrmSize.GetSizeType(); +/*N*/ SfxBoolItem aDynamic(SID_ATTR_PAGE_DYNAMIC, eSizeType != ATT_FIX_SIZE); +/*N*/ aFooterSet.Put(aDynamic); +/*N*/ +/*N*/ // Links gleich rechts +/*N*/ // +/*N*/ SfxBoolItem aShared(SID_ATTR_PAGE_SHARED, rPageDesc.IsFooterShared()); +/*N*/ aFooterSet.Put(aShared); +/*N*/ +/*N*/ // Groesse +/*N*/ SvxSizeItem aSize(SID_ATTR_PAGE_SIZE, Size(rFrmSize.GetSize())); +/*N*/ aFooterSet.Put(aSize); +/*N*/ +/*N*/ // Rahmen-Attribute umschaufeln +/*N*/ // +/*N*/ aFooterSet.Put(pFooterFmt->GetAttrSet()); +/*N*/ aFooterSet.Put( aBoxInfo ); +/*N*/ +/*N*/ // SetItem erzeugen +/*N*/ // +/*N*/ SvxSetItem aSetItem(SID_ATTR_PAGE_FOOTERSET, aFooterSet); +/*N*/ rSet.Put(aSetItem); +/*N*/ } +/*N*/ +/*N*/ // Fussnoten einbauen +/*N*/ // +/*N*/ SwPageFtnInfo& rInfo = (SwPageFtnInfo&)rPageDesc.GetFtnInfo(); +/*N*/ SwPageFtnInfoItem aFtnItem(FN_PARAM_FTN_INFO, rInfo); +/*N*/ rSet.Put(aFtnItem); +/*N*/ +/*N*/ // Registerhaltigkeit +/*N*/ +/*N*/ const SwTxtFmtColl* pCol = rPageDesc.GetRegisterFmtColl(); +/*N*/ SwRegisterItem aReg(pCol != 0); +/*N*/ aReg.SetWhich(SID_SWREGISTER_MODE); +/*N*/ rSet.Put(aReg); +/*N*/ if(pCol) +/*N*/ rSet.Put(SfxStringItem(SID_SWREGISTER_COLLECTION, pCol->GetName())); +/*N*/ +/*N*/ } +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/utlui/sw_utlui.src b/binfilter/bf_sw/source/ui/utlui/sw_utlui.src new file mode 100644 index 000000000000..28cbaffdf175 --- /dev/null +++ b/binfilter/bf_sw/source/ui/utlui/sw_utlui.src @@ -0,0 +1,841 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT + +#include "globals.hrc" +#include "utlui.hrc" +#include "helpid.h" +#include "comcore.hrc" + + + +/*--------------------------------------------------------------------- + Diverses + ---------------------------------------------------------------------*/ + +String STR_CONTENT_TYPE_OUTLINE +{ + /* ### ACHTUNG: Neuer Text in Resource? berschriften : berschriften */ + Text [ de ] = "Überschriften" ; + Text [ en-US ] = "Headings" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Títulos"; + Text[ ru ] = "Заголовки"; + Text[ el ] = "Επικεφαλίδες"; + Text[ nl ] = "Koppen"; + Text[ fr ] = "Titres"; + Text[ es ] = "Encabezados"; + Text[ fi ] = "Otsikot"; + Text[ ca ] = "Encapçalaments"; + Text[ it ] = "Intestazioni"; + Text[ sk ] = "Nadpisy"; + Text[ da ] = "Overskrifter"; + Text[ sv ] = "Överskrifter"; + Text[ pl ] = "Nagłówek"; + Text[ pt-BR ] = "Títulos"; + Text[ th ] = "หัวข้อ"; + Text[ ja ] = "見出し"; + Text[ ko ] = "제목"; + Text[ zh-CN ] = "标题"; + Text[ zh-TW ] = "標頭"; + Text[ tr ] = "Başlık"; + Text[ hi-IN ] = "शीर्षकें"; + Text[ ar ] = "عناوين"; + Text[ he ] = "Überschriften"; +}; +String STR_CONTENT_TYPE_TABLE +{ + Text [ de ] = "Tabellen" ; + Text [ en-US ] = "Tables" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Tabelas"; + Text[ ru ] = "Таблицы"; + Text[ el ] = "Πίνακες"; + Text[ nl ] = "Tabellen"; + Text[ fr ] = "Tableaux"; + Text[ es ] = "Tablas"; + Text[ fi ] = "Taulukot"; + Text[ ca ] = "Taules"; + Text[ it ] = "Tabelle"; + Text[ sk ] = "Tabuľky"; + Text[ da ] = "Tabeller"; + Text[ sv ] = "Tabeller"; + Text[ pl ] = "Tabele"; + Text[ pt-BR ] = "Tabelas"; + Text[ th ] = "ตาราง"; + Text[ ja ] = "表"; + Text[ ko ] = "표"; + Text[ zh-CN ] = "表格"; + Text[ zh-TW ] = "表格"; + Text[ tr ] = "Tablo"; + Text[ hi-IN ] = "सारणी"; + Text[ ar ] = "جداول"; + Text[ he ] = "טבלאות"; +}; +String STR_CONTENT_TYPE_FRAME +{ + Text [ de ] = "Textrahmen" ; + Text [ en-US ] = "Text frame" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Molduras de texto"; + Text[ ru ] = "Врезка"; + Text[ el ] = "Πλαίσιο κειμένου"; + Text[ nl ] = "Tekstkader"; + Text[ fr ] = "Cadres texte"; + Text[ es ] = "Marco de texto"; + Text[ fi ] = "Tekstikehys"; + Text[ ca ] = "Marc de text"; + Text[ it ] = "Cornice"; + Text[ sk ] = "Ohraničenie textu"; + Text[ da ] = "Tekstbokse"; + Text[ sv ] = "Textram"; + Text[ pl ] = "Ramka tekstowa"; + Text[ pt-BR ] = "Moldura de texto"; + Text[ th ] = "กรอบข้อความ"; + Text[ ja ] = "テキスト枠"; + Text[ ko ] = "텍스트 프레임"; + Text[ zh-CN ] = "文本框"; + Text[ zh-TW ] = "文字方塊"; + Text[ tr ] = "Metin kutusu"; + Text[ hi-IN ] = "टेक्स्ट् फ्रेम"; + Text[ ar ] = "كوادر نص"; + Text[ he ] = "Textrahmen"; +}; +String STR_CONTENT_TYPE_GRAPHIC +{ + Text [ de ] = "Grafiken" ; + Text [ en-US ] = "Graphics" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Imagens"; + Text[ ru ] = "Графические объекты"; + Text[ el ] = "Γραφικά"; + Text[ nl ] = "Afbeeldingen"; + Text[ fr ] = "Images"; + Text[ es ] = "Imágenes"; + Text[ fi ] = "Grafiikka"; + Text[ ca ] = "Gràfics"; + Text[ it ] = "Immagini"; + Text[ sk ] = "Obrázky"; + Text[ da ] = "Grafik"; + Text[ sv ] = "Grafik"; + Text[ pl ] = "Grafika"; + Text[ pt-BR ] = "Figura"; + Text[ th ] = "กราฟิค"; + Text[ ja ] = "図"; + Text[ ko ] = "그림"; + Text[ zh-CN ] = "图形"; + Text[ zh-TW ] = "圖形"; + Text[ tr ] = "Grafik"; + Text[ hi-IN ] = "सुचित्र"; + Text[ ar ] = "صور"; + Text[ he ] = "גרפיקה"; +}; +String STR_CONTENT_TYPE_OLE +{ + Text [ de ] = "OLE-Objekte" ; + Text [ en-US ] = "OLE objects" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Objectos OLE"; + Text[ ru ] = "OLE объекты"; + Text[ el ] = "Αντικείμενα OLE"; + Text[ nl ] = "OLE-objecten"; + Text[ fr ] = "Objets OLE"; + Text[ es ] = "Objetos OLE"; + Text[ fi ] = "OLE-objektit"; + Text[ ca ] = "Objectes OLE"; + Text[ it ] = "Oggetti OLE"; + Text[ sk ] = "Objekty OLE"; + Text[ da ] = "OLE-objekter"; + Text[ sv ] = "OLE-objekt"; + Text[ pl ] = "Obiekty OLE"; + Text[ pt-BR ] = "Objetos OLE"; + Text[ th ] = "วัตถุ OLE "; + Text[ ja ] = "OLE オブジェクト"; + Text[ ko ] = "OLE 개체"; + Text[ zh-CN ] = "OLE-对象"; + Text[ zh-TW ] = "OLE 物件"; + Text[ tr ] = "OLE nesnesi"; + Text[ hi-IN ] = "OLE वस्तु"; + Text[ ar ] = "كائنات OLE"; + Text[ he ] = "OLE-Objekte"; +}; +String STR_CONTENT_TYPE_BOOKMARK +{ + Text [ de ] = "Textmarken" ; + Text [ en-US ] = "Bookmarks" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Marcadores de texto"; + Text[ ru ] = "Закладки"; + Text[ el ] = "Σημάδια κειμένου"; + Text[ nl ] = "Tekstmarkeringen"; + Text[ fr ] = "Repères de texte"; + Text[ es ] = "Marcas de texto"; + Text[ fi ] = "Kirjanmerkit"; + Text[ ca ] = "Adreces d'interès"; + Text[ it ] = "Segnalibri"; + Text[ sk ] = "Záložky"; + Text[ da ] = "Tekstmarkeringer"; + Text[ sv ] = "Bokmärken"; + Text[ pl ] = "Zakładki"; + Text[ pt-BR ] = "Marcadores"; + Text[ th ] = "ที่คั่น"; + Text[ ja ] = "テキストマーク"; + Text[ ko ] = "책갈피"; + Text[ zh-CN ] = "书签"; + Text[ zh-TW ] = "內文標籤"; + Text[ tr ] = "Metin işareti"; + Text[ hi-IN ] = "पृष्ठसंकेतें"; + Text[ ar ] = "إشارات مرجعية"; + Text[ he ] = "Textmarken"; +}; +String STR_CONTENT_TYPE_REGION +{ + Text [ de ] = "Bereiche" ; + Text [ en-US ] = "Sections" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Categorias"; + Text[ ru ] = "Разделы"; + Text[ el ] = "Ενότητες"; + Text[ nl ] = "Bereiken"; + Text[ fr ] = "Sections"; + Text[ es ] = "Secciones"; + Text[ fi ] = "Osat"; + Text[ ca ] = "Seccions"; + Text[ it ] = "Sezioni"; + Text[ sk ] = "Sekcie"; + Text[ da ] = "Områder"; + Text[ sv ] = "Områden"; + Text[ pl ] = "Sekcje"; + Text[ pt-BR ] = "Seções"; + Text[ th ] = "ส่วน"; + Text[ ja ] = "範囲"; + Text[ ko ] = "구역"; + Text[ zh-CN ] = "区域"; + Text[ zh-TW ] = "區域"; + Text[ tr ] = "Bölüm"; + Text[ hi-IN ] = "विभाग"; + Text[ ar ] = "نطاقات"; + Text[ he ] = "חלקי מסמך"; +}; +String STR_CONTENT_TYPE_URLFIELD +{ + Text [ de ] = "Hyperlinks" ; + Text [ en-US ] = "Hyperlinks" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Hiperligações"; + Text[ ru ] = "Гиперссылки"; + Text[ el ] = "Υπερ-συνδέσεις"; + Text[ nl ] = "Hyperlinks"; + Text[ fr ] = "Hyperliens"; + Text[ es ] = "Hiperenlaces"; + Text[ fi ] = "Hyperlinkit"; + Text[ ca ] = "Hiperenllaços"; + Text[ it ] = "Hyperlink"; + Text[ sk ] = "Hypertextové odkazy"; + Text[ da ] = "Hyperlinks"; + Text[ sv ] = "Hyperlänkar"; + Text[ pl ] = "Hiperłącza"; + Text[ pt-BR ] = "Hiperlinks"; + Text[ th ] = "เชื่อมโยงหลายมิติ"; + Text[ ja ] = "ハイパーリンク"; + Text[ ko ] = "하이퍼링크"; + Text[ zh-CN ] = "超链接"; + Text[ zh-TW ] = "超連結"; + Text[ tr ] = "Hiperlink"; + Text[ hi-IN ] = "हाइपरलिंक"; + Text[ ar ] = "ارتباطات تشعبية"; + Text[ he ] = "Hyperlinks"; +}; +String STR_CONTENT_TYPE_REFERENCE +{ + Text [ de ] = "Referenzen" ; + Text [ en-US ] = "References" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Referências"; + Text[ ru ] = "Ссылки"; + Text[ el ] = "Παραπομπές"; + Text[ nl ] = "Verwijzingen"; + Text[ fr ] = "Références"; + Text[ es ] = "Referencias"; + Text[ fi ] = "Viitteet"; + Text[ ca ] = "Referències"; + Text[ it ] = "Riferimenti"; + Text[ sk ] = "Odkazy"; + Text[ da ] = "Referencer"; + Text[ sv ] = "Referenser"; + Text[ pl ] = "Odwołania"; + Text[ pt-BR ] = "Referências"; + Text[ th ] = "อ้างอิง"; + Text[ ja ] = "参照"; + Text[ ko ] = "참조"; + Text[ zh-CN ] = "引用"; + Text[ zh-TW ] = "參照"; + Text[ tr ] = "Referanslar"; + Text[ hi-IN ] = "रेफरेन्स "; + Text[ ar ] = "مراجع"; + Text[ he ] = "Referenzen"; +}; +String STR_CONTENT_TYPE_INDEX +{ + Text [ de ] = "Verzeichnisse" ; + Text [ en-US ] = "Indexes" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Indices"; + Text[ ru ] = "Указатели"; + Text[ el ] = "Ευρετήρια"; + Text[ nl ] = "Indices"; + Text[ fr ] = "Index"; + Text[ es ] = "Índices"; + Text[ fi ] = "Hakemistot"; + Text[ ca ] = "Índexs"; + Text[ it ] = "Indici"; + Text[ sk ] = "Obsahy"; + Text[ da ] = "Indeks"; + Text[ sv ] = "Förteckningar"; + Text[ pl ] = "Indeksy"; + Text[ pt-BR ] = "Índices"; + Text[ th ] = "ดัชนี"; + Text[ ja ] = "目次と索引"; + Text[ ko ] = "색인"; + Text[ zh-CN ] = "目录"; + Text[ zh-TW ] = "目錄"; + Text[ tr ] = "Dizin"; + Text[ hi-IN ] = "अनुक्रमणिका"; + Text[ ar ] = "فهارس"; + Text[ he ] = "Verzeichnisse"; +}; +String STR_CONTENT_TYPE_DRAWOBJECT +{ + Text [ de ] = "Zeichenobjekte" ; + Text [ en-US ] = "Draw objects" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Objectos de desenho"; + Text[ ru ] = "Графические объекты"; + Text[ el ] = "Αντικείμενα σχεδίασης"; + Text[ nl ] = "Tekenobjecten"; + Text[ fr ] = "Objets de dessin"; + Text[ es ] = "Objetos de dibujo"; + Text[ fi ] = "Piirrosobjektit"; + Text[ ca ] = "Objectes de dibuix"; + Text[ it ] = "Oggetti di disegno"; + Text[ sk ] = "Kresby"; + Text[ da ] = "Tegneobjekter"; + Text[ sv ] = "Ritobjekt"; + Text[ pl ] = "Obiekty rysunkowe"; + Text[ pt-BR ] = "Objetos de desenho"; + Text[ th ] = "วาดวัตถุ"; + Text[ ja ] = "図形描画オブジェクト"; + Text[ ko ] = "그리기 개체"; + Text[ zh-CN ] = "绘图对象"; + Text[ zh-TW ] = "繪圖物件"; + Text[ tr ] = "Çizim nesnesi"; + Text[ hi-IN ] = "वस्तुओं को खींचना"; + Text[ ar ] = "كائنات رسومية"; + Text[ he ] = "Zeichenobjekte"; +}; +String STR_CONTENT_TYPE_POSTIT +{ + Text [ de ] = "Notizen" ; + Text [ en-US ] = "Notes" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Anotações"; + Text[ ru ] = "Примечания"; + Text[ el ] = "Σημειώσεις"; + Text[ nl ] = "Aantekeningen"; + Text[ fr ] = "Notes"; + Text[ es ] = "Notas"; + Text[ fi ] = "Huomautukset"; + Text[ ca ] = "Notes"; + Text[ it ] = "Note"; + Text[ sk ] = "Poznámky"; + Text[ da ] = "Noter"; + Text[ sv ] = "Anteckningar"; + Text[ pl ] = "Notatki"; + Text[ pt-BR ] = "Anotações"; + Text[ th ] = "บันทึกย่อ"; + Text[ ja ] = "コメント"; + Text[ ko ] = "메모"; + Text[ zh-CN ] = "备注"; + Text[ zh-TW ] = "備註"; + Text[ tr ] = "Notlar"; + Text[ hi-IN ] = "सूचना"; + Text[ ar ] = "ملاحظات"; + Text[ he ] = "הערות"; +}; +String STR_CONTENT_TYPE_SINGLE_OUTLINE +{ + /* ### ACHTUNG: Neuer Text in Resource? berschrift : berschrift */ + Text [ de ] = "Überschrift" ; + Text [ en-US ] = "Heading" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Título"; + Text[ ru ] = "Заголовок"; + Text[ el ] = "Επικεφαλίδα"; + Text[ nl ] = "Kop"; + Text[ fr ] = "Titre"; + Text[ es ] = "Encabezado"; + Text[ fi ] = "Otsikko"; + Text[ ca ] = "Encapçalament"; + Text[ it ] = "Intestazione"; + Text[ sk ] = "Nadpis"; + Text[ da ] = "Overskrift"; + Text[ sv ] = "Överskrift"; + Text[ pl ] = "Nagłówek"; + Text[ pt-BR ] = "Título"; + Text[ th ] = "หัวข้อ"; + Text[ ja ] = "見出し"; + Text[ ko ] = "제목"; + Text[ zh-CN ] = "标题"; + Text[ zh-TW ] = "標頭"; + Text[ tr ] = "Başlık"; + Text[ hi-IN ] = "शीर्षक"; + Text[ ar ] = "عنوان"; + Text[ he ] = "Überschrift"; +}; +String STR_CONTENT_TYPE_SINGLE_TABLE +{ + Text [ de ] = "Tabelle" ; + Text [ en-US ] = "Table" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Tabela"; + Text[ ru ] = "Таблица"; + Text[ el ] = "Πίνακας"; + Text[ nl ] = "Tabel"; + Text[ fr ] = "Tableau"; + Text[ es ] = "Tabla"; + Text[ fi ] = "Taulukko"; + Text[ ca ] = "Taula"; + Text[ it ] = "Tabella"; + Text[ sk ] = "Tabuľka"; + Text[ da ] = "Tabel"; + Text[ sv ] = "Tabell"; + Text[ pl ] = "Tabela"; + Text[ pt-BR ] = "Tabela"; + Text[ th ] = "ตาราง"; + Text[ ja ] = "表"; + Text[ ko ] = "표"; + Text[ zh-CN ] = "表格"; + Text[ zh-TW ] = "表格"; + Text[ tr ] = "Tablo"; + Text[ hi-IN ] = "सारणी"; + Text[ ar ] = "جدول"; + Text[ he ] = "טבלה"; +}; +String STR_CONTENT_TYPE_SINGLE_FRAME +{ + Text [ de ] = "Textrahmen" ; + Text [ en-US ] = "Text frame" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Moldura de texto"; + Text[ ru ] = "Врезка"; + Text[ el ] = "Πλαίσιο κειμένου"; + Text[ nl ] = "Tekstkader"; + Text[ fr ] = "Cadre texte"; + Text[ es ] = "Marco de texto"; + Text[ fi ] = "Tekstikehys"; + Text[ ca ] = "Marc de text"; + Text[ it ] = "Cornice"; + Text[ sk ] = "Ohraničenie textu"; + Text[ da ] = "Tekstboks"; + Text[ sv ] = "Textram"; + Text[ pl ] = "Ramka tekstowa"; + Text[ pt-BR ] = "Moldura de texto"; + Text[ th ] = "กรอบข้อความ"; + Text[ ja ] = "テキスト枠"; + Text[ ko ] = "텍스트 프레임"; + Text[ zh-CN ] = "文本框"; + Text[ zh-TW ] = "文字方塊"; + Text[ tr ] = "Metin kutusu"; + Text[ hi-IN ] = "टेक्स्ट् फ्रेम"; + Text[ ar ] = "كادر نص"; + Text[ he ] = "Textrahmen"; +}; +String STR_CONTENT_TYPE_SINGLE_GRAPHIC +{ + Text [ de ] = "Grafik" ; + Text [ en-US ] = "Graphics" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Imagem"; + Text[ ru ] = "Графический объект"; + Text[ el ] = "Γραφικό"; + Text[ nl ] = "Afbeelding"; + Text[ fr ] = "Image"; + Text[ es ] = "Imagen"; + Text[ fi ] = "Grafiikka"; + Text[ ca ] = "Gràfics"; + Text[ it ] = "Immagine"; + Text[ sk ] = "Obrázky"; + Text[ da ] = "Grafik"; + Text[ sv ] = "Grafik"; + Text[ pl ] = "Grafika"; + Text[ pt-BR ] = "Figura"; + Text[ th ] = "กราฟิค"; + Text[ ja ] = "図"; + Text[ ko ] = "그림"; + Text[ zh-CN ] = "图形"; + Text[ zh-TW ] = "圖形"; + Text[ tr ] = "Grafik"; + Text[ hi-IN ] = "सुचित्र "; + Text[ ar ] = "صورة"; + Text[ he ] = "גרפיקה"; +}; +String STR_CONTENT_TYPE_SINGLE_OLE +{ + Text [ de ] = "OLE-Objekt" ; + Text [ en-US ] = "OLE object" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Objecto OLE"; + Text[ ru ] = "OLE объект"; + Text[ el ] = "Αντικείμενο OLE"; + Text[ nl ] = "OLE-object"; + Text[ fr ] = "Objet OLE"; + Text[ es ] = "Objeto OLE"; + Text[ fi ] = "OLE-objekti"; + Text[ ca ] = "Objecte OLE"; + Text[ it ] = "Oggetto OLE"; + Text[ sk ] = "Objekt OLE"; + Text[ da ] = "OLE-objekt"; + Text[ sv ] = "OLE-objekt"; + Text[ pl ] = "Obiekt OLE"; + Text[ pt-BR ] = "Objeto OLE"; + Text[ th ] = "วัตถุ OLE "; + Text[ ja ] = "OLE オブジェクト"; + Text[ ko ] = "OLE 개체"; + Text[ zh-CN ] = "OLE-对象"; + Text[ zh-TW ] = "OLE 物件"; + Text[ tr ] = "OLE nesnesi"; + Text[ hi-IN ] = "OLE वस्तु"; + Text[ ar ] = "كائن OLE"; + Text[ he ] = "OLEאוביקט "; +}; +String STR_CONTENT_TYPE_SINGLE_BOOKMARK +{ + Text [ de ] = "Textmarke" ; + Text [ en-US ] = "Bookmark" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Marcador de texto"; + Text[ ru ] = "Закладка"; + Text[ el ] = "Σημάδι κειμένου"; + Text[ nl ] = "Tekstmarkering"; + Text[ fr ] = "Repère de texte"; + Text[ es ] = "Marca de texto"; + Text[ fi ] = "Kirjanmerkki"; + Text[ ca ] = "Adreça d'interès"; + Text[ it ] = "Segnalibro"; + Text[ sk ] = "Záložka"; + Text[ da ] = "Tekstmarkering"; + Text[ sv ] = "Bokmärke"; + Text[ pl ] = "Zakładka"; + Text[ pt-BR ] = "Marcador"; + Text[ th ] = "ที่คั่น"; + Text[ ja ] = "テキストマーク"; + Text[ ko ] = "책갈피"; + Text[ zh-CN ] = "书签"; + Text[ zh-TW ] = "內文標籤"; + Text[ tr ] = "Metin işareti"; + Text[ hi-IN ] = "पृष्ठसंकेत "; + Text[ ar ] = "إشارة مرجعية"; + Text[ he ] = "סימניה"; +}; +String STR_CONTENT_TYPE_SINGLE_REGION +{ + Text [ de ] = "Bereich" ; + Text [ en-US ] = "Section" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Área"; + Text[ ru ] = "Раздел"; + Text[ el ] = "Ενότητα"; + Text[ nl ] = "Bereik"; + Text[ fr ] = "Section"; + Text[ es ] = "Sección"; + Text[ fi ] = "Osa"; + Text[ ca ] = "Secció"; + Text[ it ] = "Area"; + Text[ sk ] = "Sekcia"; + Text[ da ] = "Område"; + Text[ sv ] = "Kategori"; + Text[ pl ] = "Sekcja"; + Text[ pt-BR ] = "Seção"; + Text[ th ] = "ส่วน"; + Text[ ja ] = "範囲"; + Text[ ko ] = "구역"; + Text[ zh-CN ] = "区域"; + Text[ zh-TW ] = "區域"; + Text[ tr ] = "Bölüm"; + Text[ hi-IN ] = "विभाग"; + Text[ ar ] = "نطاق"; + Text[ he ] = "מיקטע"; +}; +String STR_CONTENT_TYPE_SINGLE_URLFIELD +{ + Text [ de ] = "Hyperlink" ; + Text [ en-US ] = "Hyperlink" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Hiperligação"; + Text[ ru ] = "Гиперссылка"; + Text[ el ] = "Υπερ-σύνδεση"; + Text[ nl ] = "Hyperlink"; + Text[ fr ] = "Hyperlien"; + Text[ es ] = "Hiperenlace"; + Text[ fi ] = "Hyperlinkki"; + Text[ ca ] = "Hiperenllaç"; + Text[ it ] = "Hyperlink"; + Text[ sk ] = "Hypertextový odkaz"; + Text[ da ] = "Hyperlink"; + Text[ sv ] = "Hyperlänk"; + Text[ pl ] = "Hiperłącze"; + Text[ pt-BR ] = "Hiperlink"; + Text[ th ] = "เชื่อมโยงหลายมิติ"; + Text[ ja ] = "ハイパーリンク"; + Text[ ko ] = "하이퍼링크"; + Text[ zh-CN ] = "超链接"; + Text[ zh-TW ] = "超連結"; + Text[ tr ] = "Hiperlink"; + Text[ hi-IN ] = "हाइपरलिंक "; + Text[ ar ] = "ارتباط تشعبي"; + Text[ he ] = "היפר לינק"; +}; +String STR_CONTENT_TYPE_SINGLE_REFERENCE +{ + Text [ de ] = "Referenz" ; + Text [ en-US ] = "Reference" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Referência"; + Text[ ru ] = "Ссылка"; + Text[ el ] = "Παραπομπή"; + Text[ nl ] = "Verwijzing"; + Text[ fr ] = "Référence"; + Text[ es ] = "Referencia"; + Text[ fi ] = "Viite"; + Text[ ca ] = "Referència"; + Text[ it ] = "Riferimento"; + Text[ sk ] = "Odkaz"; + Text[ da ] = "Reference"; + Text[ sv ] = "Referens"; + Text[ pl ] = "Odwołanie"; + Text[ pt-BR ] = "Referência"; + Text[ th ] = "อ้างอิง"; + Text[ ja ] = "参照"; + Text[ ko ] = "참조"; + Text[ zh-CN ] = "引用"; + Text[ zh-TW ] = "參照"; + Text[ tr ] = "Referans"; + Text[ hi-IN ] = "रेफरेन्स"; + Text[ ar ] = "مرجع"; + Text[ he ] = "הפניה"; +}; +String STR_CONTENT_TYPE_SINGLE_INDEX +{ + Text [ de ] = "Verzeichnis" ; + Text [ en-US ] = "Index" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Índice"; + Text[ ru ] = "Указатель"; + Text[ el ] = "Ευρετήριο"; + Text[ nl ] = "Index"; + Text[ fr ] = "Index"; + Text[ es ] = "Índice"; + Text[ fi ] = "Hakemisto"; + Text[ ca ] = "Índex"; + Text[ it ] = "Indice"; + Text[ sk ] = "Obsah"; + Text[ da ] = "Indeks"; + Text[ sv ] = "Förteckning"; + Text[ pl ] = "Indeks"; + Text[ pt-BR ] = "Índice"; + Text[ th ] = "ดัชนี"; + Text[ ja ] = "索引"; + Text[ ko ] = "색인"; + Text[ zh-CN ] = "目录"; + Text[ zh-TW ] = "目錄"; + Text[ tr ] = "Dizin"; + Text[ hi-IN ] = "अनुक्रमणिका"; + Text[ ar ] = "فهرس"; + Text[ he ] = "אינדקס"; +}; +String STR_CONTENT_TYPE_SINGLE_POSTIT +{ + Text [ de ] = "Notiz" ; + Text [ en-US ] = "Note" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Anotação"; + Text[ ru ] = "Примечание"; + Text[ el ] = "Σημείωση"; + Text[ nl ] = "Aantekening"; + Text[ fr ] = "Note"; + Text[ es ] = "Nota"; + Text[ fi ] = "Huomautus"; + Text[ ca ] = "Nota"; + Text[ it ] = "Nota"; + Text[ sk ] = "Poznámka"; + Text[ da ] = "Note"; + Text[ sv ] = "Anteckning"; + Text[ pl ] = "Notatka"; + Text[ pt-BR ] = "Anotações"; + Text[ th ] = "บันทึกย่อ"; + Text[ ja ] = "メモ"; + Text[ ko ] = "메모"; + Text[ zh-CN ] = "备注"; + Text[ zh-TW ] = "備註"; + Text[ tr ] = "Not"; + Text[ hi-IN ] = "टिप्पणी "; + Text[ ar ] = "ملاحظة"; + Text[ he ] = "הערה"; +}; +String STR_CONTENT_TYPE_SINGLE_DRAWOBJECT +{ + Text [ de ] = "Zeichenobjekt" ; + Text [ en-US ] = "Draw object" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Objecto de desenho"; + Text[ ru ] = "Графический объект"; + Text[ el ] = "Aντικείμενο σχεδίασης"; + Text[ nl ] = "Tekenobject"; + Text[ fr ] = "Objet de dessin"; + Text[ es ] = "Objeto de dibujo"; + Text[ fi ] = "Piirrosobjekti"; + Text[ ca ] = "Objecte de dibuix"; + Text[ it ] = "Oggetto di disegno"; + Text[ sk ] = "Kresba "; + Text[ da ] = "Tegneobjekt"; + Text[ sv ] = "Ritobjekt"; + Text[ pl ] = "Obiekt rysunkowy"; + Text[ pt-BR ] = "Objeto de desenho"; + Text[ th ] = "วาดวัตถุ"; + Text[ ja ] = "図形描画オブジェクト"; + Text[ ko ] = "그리기 개체"; + Text[ zh-CN ] = "绘图对象"; + Text[ zh-TW ] = "繪圖物件"; + Text[ tr ] = "Çizim nesnesi"; + Text[ hi-IN ] = "वस्तु खींचो"; + Text[ ar ] = "كائن رسومي"; + Text[ he ] = "אוביקט Draw"; +}; +String STR_DEFINE_NUMBERFORMAT +{ + Text [ de ] = "Weitere Formate..." ; + Text [ en-US ] = "Additional formats..." ; + Text [ x-comment ] = " "; + Text[ pt ] = "Outros formatos..."; + Text[ ru ] = "Дополнительные форматы..."; + Text[ el ] = "Επιπρόσθετες μορφές..."; + Text[ nl ] = "Andere formaten..."; + Text[ fr ] = "Autres formats..."; + Text[ es ] = "Otros formatos..."; + Text[ fi ] = "Lisämuotoilut..."; + Text[ ca ] = "Formats addicionals..."; + Text[ it ] = "Ulteriori formati..."; + Text[ sk ] = "Ďalšie formáty..."; + Text[ da ] = "Yderligere formater..."; + Text[ sv ] = "Ytterligare format..."; + Text[ pl ] = "Dodatkowe formaty..."; + Text[ pt-BR ] = "Formatos Adicionais..."; + Text[ th ] = "รูปแบบเพิ่มเติม..."; + Text[ ja ] = "その他の書式..."; + Text[ ko ] = "추가 서식..."; + Text[ zh-CN ] = "其它的格式..."; + Text[ zh-TW ] = "其它格式..."; + Text[ tr ] = "Diğer formatlar..."; + Text[ hi-IN ] = "अधिकतरा रचना..."; + Text[ ar ] = "...تنسيقات إضافية"; + Text[ he ] = "Weitere Formate..."; +}; + +#define IMGLIST_IDS\ + IdList = \ + { \ + IMG_COLLAPSE;\ + IMG_EXPAND ;\ + IMG_DB ;\ + IMG_DBTABLE ;\ + IMG_DBQUERY ;\ + }; \ + IdCount = 5 + + + + + + + +String STR_HYPERCTRL_SEL +{ + Text [ de ] = "SEL" ; + Text [ en-US ] = "SEL"; + Text[ pt ] = "SEL"; + Text[ ru ] = "SEL"; + Text[ el ] = "SEL"; + Text[ nl ] = "SEL"; + Text[ fr ] = "SEL"; + Text[ es ] = "SEL"; + Text[ fi ] = "SEL"; + Text[ ca ] = "SEL"; + Text[ it ] = "SEL"; + Text[ sk ] = "SEL"; + Text[ da ] = "SEL"; + Text[ sv ] = "SEL"; + Text[ pl ] = "SEL"; + Text[ pt-BR ] = "SEL"; + Text[ th ] = "SEL"; + Text[ ja ] = "SEL"; + Text[ ko ] = "SEL"; + Text[ zh-CN ] = "SEL"; + Text[ zh-TW ] = "SEL"; + Text[ tr ] = "SEL"; + Text[ hi-IN ] = "SEL"; + Text[ ar ] = "SEL"; + Text[ he ] = "SEL"; +}; + +String STR_HYPERCTRL_HYP +{ + Text [ de ] = "HYP" ; + Text [ en-US ] = "HYP"; + Text[ pt ] = "HYP"; + Text[ ru ] = "HYP"; + Text[ el ] = "HYP"; + Text[ nl ] = "HYP"; + Text[ fr ] = "HYP"; + Text[ es ] = "HYP"; + Text[ fi ] = "HYP"; + Text[ ca ] = "HYP"; + Text[ it ] = "HYP"; + Text[ sk ] = "HYP"; + Text[ da ] = "HYP"; + Text[ sv ] = "HYP"; + Text[ pl ] = "HYP"; + Text[ pt-BR ] = "HYP"; + Text[ th ] = "HYP"; + Text[ ja ] = "HYP"; + Text[ ko ] = "HYP"; + Text[ zh-CN ] = "HYP"; + Text[ zh-TW ] = "HYP"; + Text[ tr ] = "HYP"; + Text[ hi-IN ] = "HYP"; + Text[ ar ] = "HYP"; + Text[ he ] = "HYP"; +}; diff --git a/binfilter/bf_sw/source/ui/web/makefile.mk b/binfilter/bf_sw/source/ui/web/makefile.mk new file mode 100644 index 000000000000..48ae0e5a0c2a --- /dev/null +++ b/binfilter/bf_sw/source/ui/web/makefile.mk @@ -0,0 +1,57 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_web + +#GEN_HID=TRUE +#GEN_HID_OTHER=TRUE +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +#.INCLUDE : $(PRJ)$/inc$/swpre.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +#.INCLUDE : $(PRJ)$/inc$/sw.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- + +SLOFILES = \ + $(SLO)$/sw_wdocsh.obj + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/web/sw_wdocsh.cxx b/binfilter/bf_sw/source/ui/web/sw_wdocsh.cxx new file mode 100644 index 000000000000..7fe40520dc0c --- /dev/null +++ b/binfilter/bf_sw/source/ui/web/sw_wdocsh.cxx @@ -0,0 +1,84 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + + +#include <bf_sfx2/app.hxx> +#include <bf_svx/svxids.hrc> + +#include <comphelper/classids.hxx> + +#include "cmdid.h" +#include "swtypes.hxx" + +// nur wegen des Itemtypes +#include "wdocsh.hxx" +#include "web.hrc" + +namespace binfilter { + +#define C2S(cChar) UniString::CreateFromAscii(cChar) + +/*-------------------------------------------------------------------- + Beschreibung: Alle Filter registrieren + --------------------------------------------------------------------*/ + +// 4.0: 0xf0caa840, 0x7821, 0x11d0, 0xa4, 0xa7, 0x0, 0xa0, 0x24, 0x9d, 0x57, 0xb1, Sw) +// 5.0: 0xc20cf9d2, 0x85ae, 0x11d1, 0xaa, 0xb4, 0x0, 0x60, 0x97, 0xda, 0x56, 0x1a + +SFX_IMPL_OBJECTFACTORY_LOD(SwWebDocShell, SFXOBJECTSHELL_STD_NORMAL|SFXOBJECTSHELL_HASMENU, /*swriter4/web,*/ \ + SvGlobalName(BF_SO3_SWWEB_CLASSID), Sw) +/*{ + ::RegisterWebFilterInSfxFactory( (SfxObjectFactory&)Factory(), RC_WEB_ICON ); +} */ + + +TYPEINIT1(SwWebDocShell, SwDocShell); + +SwWebDocShell::SwWebDocShell(SfxObjectCreateMode eMode ) : +SwDocShell(eMode), +nSourcePara(0) +{ +} + +SwWebDocShell::~SwWebDocShell() +{ +} + + + + + + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/wrtsh/makefile.mk b/binfilter/bf_sw/source/ui/wrtsh/makefile.mk new file mode 100644 index 000000000000..16e674583b4c --- /dev/null +++ b/binfilter/bf_sw/source/ui/wrtsh/makefile.mk @@ -0,0 +1,59 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +EXTERNAL_WARNINGS_NOT_ERRORS := TRUE + +PRJ=..$/..$/..$/.. +BFPRJ=..$/..$/.. + +PRJNAME=binfilter +TARGET=sw_wrtsh + +NO_HIDS=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : $(PRJ)$/inc$/bf_sw$/swpre.mk +.INCLUDE : settings.mk +.INCLUDE : $(PRJ)$/inc$/bf_sw$/sw.mk + +INC+= -I$(PRJ)$/inc$/bf_sw +# --- Files -------------------------------------------------------- +SRS1NAME=$(TARGET) +SRC1FILES = \ + sw_wrtsh.src + +SLOFILES = \ + $(SLO)$/sw_move.obj \ + $(SLO)$/sw_select.obj \ + $(SLO)$/sw_wrtsh1.obj \ + $(SLO)$/sw_wrtsh3.obj + +# --- Tagets ------------------------------------------------------- + +.INCLUDE : target.mk + diff --git a/binfilter/bf_sw/source/ui/wrtsh/sw_move.cxx b/binfilter/bf_sw/source/ui/wrtsh/sw_move.cxx new file mode 100644 index 000000000000..879fbe11041b --- /dev/null +++ b/binfilter/bf_sw/source/ui/wrtsh/sw_move.cxx @@ -0,0 +1,99 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +namespace binfilter { + +/* Immer: + - Zuruecksetzen des Cursorstacks + - Timer nachtriggern + - gfs. GCAttr + + bei Selektion + - SttSelect() + + sonst + - EndSelect() + */ + +const long nReadOnlyScrollOfst = 10; + +/*------------------------------------------------------------------------ + Beschreibung: Spaltenweises Springen + Parameter: mit oder ohne SSelection + Return: Erfolg oder Misserfolg +------------------------------------------------------------------------*/ + + +/*N*/ BOOL SwWrtShell::PopCrsr(BOOL bUpdate, BOOL bSelect) +/*N*/ { +/*N*/ if( 0 == pCrsrStack) +/*N*/ return FALSE; + +/*?*/ const BOOL bValidPos = pCrsrStack->bValidCurPos; +/*?*/ if( bUpdate && bValidPos ) +/*?*/ { +/*?*/ // falls ein Vorgaenger auf dem Stack steht, dessen Flag fuer eine +/*?*/ // gueltige Position verwenden. +/*?*/ SwRect aTmpArea(VisArea()); +/*?*/ aTmpArea.Pos().Y() -= pCrsrStack->lOffset; +/*?*/ if( aTmpArea.IsInside( pCrsrStack->aDocPos ) ) +/*?*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 if( bSelect ) +/*?*/ } +/*?*/ // Falls eine Verschiebung zwischen dem sichtbaren Bereich +/*?*/ // und der gemerkten Cursorpositionen auftritt, werden +/*?*/ // alle gemerkten Positionen weggeschmissen +/*?*/ else +/*?*/ { +/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 _ResetCursorStack(); +/*?*/ return FALSE; +/*?*/ } +/*?*/ } +/*?*/ CrsrStack *pTmp = pCrsrStack; +/*?*/ pCrsrStack = pCrsrStack->pNext; +/*?*/ delete pTmp; +/*?*/ if( 0 == pCrsrStack ) +/*?*/ { +/*?*/ ePageMove = MV_NO; +/*?*/ bDestOnStack = FALSE; +/*?*/ } +/*?*/ return bValidPos; +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/wrtsh/sw_select.cxx b/binfilter/bf_sw/source/ui/wrtsh/sw_select.cxx new file mode 100644 index 000000000000..4d7ab0cfa08c --- /dev/null +++ b/binfilter/bf_sw/source/ui/wrtsh/sw_select.cxx @@ -0,0 +1,72 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <limits.h> + + + + +#include <cmdid.h> + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +#include <swdtflvr.hxx> + +#if OSL_DEBUG_LEVEL > 1 +#endif +namespace binfilter { + +namespace com { namespace sun { namespace star { namespace util { + struct SearchOptions; +} } } } + +using namespace ::com::sun::star::util; + + +static long nStartDragX = 0, nStartDragY = 0; +static BOOL bStartDrag = FALSE; + +/*------------------------------------------------------------------------ + Beschreibung: Rahmengebundenes Macro ausfuehren +------------------------------------------------------------------------*/ + +/*N*/ IMPL_LINK( SwWrtShell, ExecFlyMac, void *, pFlyFmt ) +/*N*/ { +DBG_BF_ASSERT(0, "STRIP"); //STRIP001 const SwFrmFmt *pFmt = pFlyFmt ? (SwFrmFmt*)pFlyFmt : GetFlyFrmFmt(); +/*N*/ return 0; +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/wrtsh/sw_wrtsh.src b/binfilter/bf_sw/source/ui/wrtsh/sw_wrtsh.src new file mode 100644 index 000000000000..1c5d170696e5 --- /dev/null +++ b/binfilter/bf_sw/source/ui/wrtsh/sw_wrtsh.src @@ -0,0 +1,2847 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#define NO_LOCALIZE_EXPORT +#include "wrtsh.hrc" + + // Undo +String STR_CANT_UNDO +{ + Text [ de ] = "unmöglich" ; + Text [ en-US ] = "not possible" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Impossível"; + Text[ ru ] = "невозможно"; + Text[ el ] = "αδύνατον"; + Text[ nl ] = "Onmogelijk"; + Text[ fr ] = "impossible"; + Text[ es ] = "imposible"; + Text[ fi ] = "ei mahdollinen"; + Text[ ca ] = "impossible"; + Text[ it ] = "Impossibile"; + Text[ sk ] = "nie je možné"; + Text[ da ] = "ikke mulig"; + Text[ sv ] = "inte möjlig"; + Text[ pl ] = "niemożliwe"; + Text[ pt-BR ] = "impossível"; + Text[ th ] = "ไม่สามารถเป็นไปได้"; + Text[ ja ] = "不可能"; + Text[ ko ] = "불가능"; + Text[ zh-CN ] = "不可能"; + Text[ zh-TW ] = "不可能"; + Text[ tr ] = "olanaksız"; + Text[ hi-IN ] = "संभव नहीं"; + Text[ ar ] = "غير ممكن"; + Text[ he ] = "unmöglich"; +}; +String STR_DELETE_UNDO +{ + Text [ de ] = "Löschen" ; + Text [ en-US ] = "Delete" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Eliminar"; + Text[ ru ] = "Удалить"; + Text[ el ] = "Διαγραφή"; + Text[ nl ] = "Wissen"; + Text[ fr ] = "Supprimer"; + Text[ es ] = "Borrar"; + Text[ fi ] = "Poista"; + Text[ ca ] = "Suprimeix"; + Text[ it ] = "Elimina"; + Text[ sk ] = "Zmazať"; + Text[ da ] = "Slet"; + Text[ sv ] = "Radera"; + Text[ pl ] = "Usuń"; + Text[ pt-BR ] = "Excluir"; + Text[ th ] = "ลบ"; + Text[ ja ] = "削除"; + Text[ ko ] = "삭제"; + Text[ zh-CN ] = "删除"; + Text[ zh-TW ] = "刪除"; + Text[ tr ] = "Sil"; + Text[ hi-IN ] = "मिटाओ"; + Text[ ar ] = "حذف"; + Text[ he ] = "מחיקה"; +}; +String STR_INSERT_UNDO +{ + Text [ de ] = "Einfügen" ; + Text [ en-US ] = "Insert" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir"; + Text[ ru ] = "Вставить"; + Text[ el ] = "Εισαγωγή"; + Text[ nl ] = "Invoegen"; + Text[ fr ] = "Insérer"; + Text[ es ] = "Insertar"; + Text[ fi ] = "Lisää"; + Text[ ca ] = "Insereix"; + Text[ it ] = "Inserisci"; + Text[ sk ] = "Vložiť"; + Text[ da ] = "Indsæt"; + Text[ sv ] = "Infoga"; + Text[ pl ] = "Wstaw"; + Text[ pt-BR ] = "Inserir"; + Text[ th ] = "แทรก"; + Text[ ja ] = "挿入"; + Text[ ko ] = "삽입"; + Text[ zh-CN ] = "插入"; + Text[ zh-TW ] = "插入"; + Text[ tr ] = "Ekle"; + Text[ hi-IN ] = "जोड़ो"; + Text[ ar ] = "إدراج"; + Text[ he ] = "הוספה"; +}; +String STR_OVR_UNDO +{ + Text [ de ] = "Überschreiben" ; + Text [ en-US ] = "Overwrite" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Substituir"; + Text[ ru ] = "Заменить"; + Text[ el ] = "Αντικατάσταση"; + Text[ nl ] = "Overschrijven"; + Text[ fr ] = "Écraser"; + Text[ es ] = "Sobrescribir"; + Text[ fi ] = "Korvaa"; + Text[ ca ] = "Sobreescriu"; + Text[ it ] = "Sovrascrivi"; + Text[ sk ] = "Prepísať"; + Text[ da ] = "Overskriv"; + Text[ sv ] = "Skriv över"; + Text[ pl ] = "Zastąp"; + Text[ pt-BR ] = "Sobrescrever"; + Text[ th ] = "เขียนทับ"; + Text[ ja ] = "上書き"; + Text[ ko ] = "겹쳐쓰기"; + Text[ zh-CN ] = "改写"; + Text[ zh-TW ] = "覆寫"; + Text[ tr ] = "Üzerine yaz"; + Text[ hi-IN ] = "ओवररइट्"; + Text[ ar ] = "الكتابة فوق"; + Text[ he ] = "Überschreiben"; +}; +String STR_SPLITNODE_UNDO +{ + Text [ de ] = "neuer Absatz" ; + Text [ en-US ] = "New Paragraph" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Novo parágrafo"; + Text[ ru ] = "создание абзаца"; + Text[ el ] = "Δημιουργία παραγράφου"; + Text[ nl ] = "Nieuwe alinea"; + Text[ fr ] = "Nouveau paragraphe"; + Text[ es ] = "Párrafo nuevo"; + Text[ fi ] = "Uusi kappale"; + Text[ ca ] = "Paràgraf nou"; + Text[ it ] = "Nuovo paragrafo"; + Text[ sk ] = "Nový odstavec"; + Text[ da ] = "nyt afsnit"; + Text[ sv ] = "Nytt stycke"; + Text[ pl ] = "Nowy akapit"; + Text[ pt-BR ] = "Novo Parágrafo"; + Text[ th ] = "ย่อหน้าใหม่"; + Text[ ja ] = "新しい段落"; + Text[ ko ] = "새 단락"; + Text[ zh-CN ] = "新建段落"; + Text[ zh-TW ] = "新建段落"; + Text[ tr ] = "Yeni paragraf"; + Text[ hi-IN ] = "नया परिच्छेद"; + Text[ ar ] = "فقرة جديدة"; + Text[ he ] = "neuer Absatz"; +}; +String STR_MOVE_UNDO +{ + Text [ de ] = "Verschieben" ; + Text [ en-US ] = "Move" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Mover"; + Text[ ru ] = "Переместить"; + Text[ el ] = "Μετακίνηση"; + Text[ nl ] = "Verplaatsen"; + Text[ fr ] = "Déplacer"; + Text[ es ] = "Desplazar"; + Text[ fi ] = "Siirrä"; + Text[ ca ] = "Mou"; + Text[ it ] = "Sposta"; + Text[ sk ] = "Presunúť"; + Text[ da ] = "Flyt"; + Text[ sv ] = "Flytta"; + Text[ pl ] = "Przesuń"; + Text[ pt-BR ] = "Mover"; + Text[ th ] = "ย้าย"; + Text[ ja ] = "移動"; + Text[ ko ] = "이동"; + Text[ zh-CN ] = "移动"; + Text[ zh-TW ] = "移動"; + Text[ tr ] = "Taşı"; + Text[ hi-IN ] = "स्थान परिवर्तन करो"; + Text[ ar ] = "إزاحة"; + Text[ he ] = "Verschieben"; +}; +String STR_INSATTR_UNDO +{ + Text [ de ] = "Attribute anwenden" ; + Text [ en-US ] = "Apply attributes" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Aplicar atributos"; + Text[ ru ] = "Применить атрибуты"; + Text[ el ] = "Εφαρμογή ιδιοτήτων"; + Text[ nl ] = "Attributen toepassen"; + Text[ fr ] = "Appliquer les attributs"; + Text[ es ] = "Aplicar atributos"; + Text[ fi ] = "Käytä määritteitä"; + Text[ ca ] = "Aplica els atributs"; + Text[ it ] = "Applica attributi"; + Text[ sk ] = "Použiť atribúty"; + Text[ da ] = "Anvend attributter"; + Text[ sv ] = "Använd attribut"; + Text[ pl ] = "Zastosuj atrybuty"; + Text[ pt-BR ] = "Aplicar atributos"; + Text[ th ] = "ใช้คุณลักษณะ"; + Text[ ja ] = "属性の適用"; + Text[ ko ] = "속성 적용"; + Text[ zh-CN ] = "使用属性"; + Text[ zh-TW ] = "使用屬性"; + Text[ tr ] = "Öznitelikleri değiştir"; + Text[ hi-IN ] = "ऐट्रिब्यूट्स लागू करो"; + Text[ ar ] = "استخدام السمات"; + Text[ he ] = "Attribute anwenden"; +}; +String STR_SETFMTCOLL_UNDO +{ + Text [ de ] = "Vorlagen anwenden" ; + Text [ en-US ] = "Apply Styles" ; + Text [ x-comment ] = "; All ; All \"Vorlage\"/Styles are always written with capital S. 10.5.00EM"; + Text[ pt ] = "Aplicar estilos"; + Text[ ru ] = "Применить стили"; + Text[ el ] = "Εφαρμογή προτύπων"; + Text[ nl ] = "Opmaakprofielen toepassen"; + Text[ fr ] = "Appliquer les styles"; + Text[ es ] = "Aplicar estilos"; + Text[ fi ] = "Käytä tyylejä"; + Text[ ca ] = "Aplica els estils"; + Text[ it ] = "Applica stili"; + Text[ sk ] = "Použiť štýly"; + Text[ da ] = "Anvend typografi"; + Text[ sv ] = "Använd mallar"; + Text[ pl ] = "Zastosuj style"; + Text[ pt-BR ] = "Aplicar Estilos"; + Text[ th ] = "ใช้ลักษณะ"; + Text[ ja ] = "スタイルの適用"; + Text[ ko ] = "스타일 적용"; + Text[ zh-CN ] = "使用样式"; + Text[ zh-TW ] = "使用樣式"; + Text[ tr ] = "Biçim uygula"; + Text[ hi-IN ] = "शैलियाँ लागू करो"; + Text[ ar ] = "استخدام النماذج"; + Text[ he ] = "Vorlagen anwenden"; +}; +String STR_RESET_ATTR_UNDO +{ + Text [ de ] = "Attribute zurücksetzen" ; + Text [ en-US ] = "Reset attributes" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Restaurar atributos"; + Text[ ru ] = "Восстановить атрибуты"; + Text[ el ] = "Επαναφορά ιδιοτήτων"; + Text[ nl ] = "Attributen herstellen"; + Text[ fr ] = "Restaurer les attributs"; + Text[ es ] = "Restablecer atributos"; + Text[ fi ] = "Palauta määritteet"; + Text[ ca ] = "Reinicia els atributs"; + Text[ it ] = "Reimposta attributi"; + Text[ sk ] = "Obnoviť atribúty"; + Text[ da ] = "Nulstil attributter"; + Text[ sv ] = "Återställ attribut"; + Text[ pl ] = "Resetuj atrybuty"; + Text[ pt-BR ] = "Redefinir atributos"; + Text[ th ] = "กำหนดคุณลักษณะใหม่"; + Text[ ja ] = "属性のリセット"; + Text[ ko ] = "속성 원래대로"; + Text[ zh-CN ] = "重设属性"; + Text[ zh-TW ] = "重設屬性"; + Text[ tr ] = "Öznitelikleri ilk değerler al"; + Text[ hi-IN ] = "ऐट्रिब्यूट्स रिसेट्ट करो"; + Text[ ar ] = "إعادة تعيين السمات"; + Text[ he ] = "Attribute zurücksetzen"; +}; +String STR_APPLY_ATTR_UNDO +{ + Text [ de ] = "Attribute anwenden" ; + Text [ en-US ] = "Apply attributes" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Aplicar atributos"; + Text[ ru ] = "Применить атрибуты"; + Text[ el ] = "Εφαρμογή ιδιοτήτων"; + Text[ nl ] = "Attributen toepassen"; + Text[ fr ] = "Appliquer les attributs"; + Text[ es ] = "Aplicar atributos"; + Text[ fi ] = "Käytä määritteitä"; + Text[ ca ] = "Aplica els atributs"; + Text[ it ] = "Applica attributi"; + Text[ sk ] = "Použiť atribúty"; + Text[ da ] = "Anvend attributter"; + Text[ sv ] = "Använd attribut"; + Text[ pl ] = "Zastosuj atrybuty"; + Text[ pt-BR ] = "Aplicar atributos"; + Text[ th ] = "ใช้คุณลักษณะ"; + Text[ ja ] = "属性の適用"; + Text[ ko ] = "속성 적용"; + Text[ zh-CN ] = "使用属性"; + Text[ zh-TW ] = "使用屬性"; + Text[ tr ] = "Öznitelikleri uygula"; + Text[ hi-IN ] = "ऐट्रिब्यूट्स लगाओ"; + Text[ ar ] = "استخدام السمات"; + Text[ he ] = "Attribute anwenden"; +}; +String STR_INSERT_DOC_UNDO +{ + Text [ de ] = "Dokument einfügen" ; + Text [ en-US ] = "Insert Document" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir documento"; + Text[ ru ] = "Вставить документ"; + Text[ el ] = "Εισαγωγή εγγράφου"; + Text[ nl ] = "Document invoegen"; + Text[ fr ] = "Insérer un document"; + Text[ es ] = "Insertar documento"; + Text[ fi ] = "Lisää asiakirja"; + Text[ ca ] = "Insereix el document"; + Text[ it ] = "Inserisci documento"; + Text[ sk ] = "Vložiť dokument"; + Text[ da ] = "Indsæt dokument"; + Text[ sv ] = "Infoga dokument"; + Text[ pl ] = "Wstaw dokument"; + Text[ pt-BR ] = "Inserir Documento"; + Text[ th ] = "แทรกเอกสาร"; + Text[ ja ] = "ドキュメントの挿入"; + Text[ ko ] = "문서 삽입"; + Text[ zh-CN ] = "插入文档"; + Text[ zh-TW ] = "插入文件"; + Text[ tr ] = "Belge ekle"; + Text[ hi-IN ] = "लेखपत्र जोड़ो"; + Text[ ar ] = "إدراج مستند"; + Text[ he ] = "הוספת מסמך"; +}; +String STR_INSERT_GLOSSARY +{ + Text [ de ] = "AutoText einfügen" ; + Text [ en-US ] = "Insert AutoText" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir AutoTexto"; + Text[ ru ] = "Вставить автотекст"; + Text[ el ] = "Εισαγωγή αυτόματου κειμένου"; + Text[ nl ] = "AutoTekst invoegen"; + Text[ fr ] = "Insérer un AutoTexte"; + Text[ es ] = "Insertar Texto automático"; + Text[ fi ] = "Lisää automaattinen teksti"; + Text[ ca ] = "Insereix el text automàtic"; + Text[ it ] = "Inserisci testo automatico"; + Text[ sk ] = "Vložiť automatický text"; + Text[ da ] = "Indsæt AutoTekst"; + Text[ sv ] = "Infoga AutoText"; + Text[ pl ] = "Wstaw Autotekst"; + Text[ pt-BR ] = "Inserir AutoTexto"; + Text[ th ] = "แทรกข้อความอัตโนมัติ"; + Text[ ja ] = "入力支援の挿入"; + Text[ ko ] = "자동 텍스트 삽입"; + Text[ zh-CN ] = "插入自动图文集"; + Text[ zh-TW ] = "插入自動圖文集"; + Text[ tr ] = "Otomatik metin ekle"; + Text[ hi-IN ] = "स्वचालित टेक्स्ट् जोड़ो"; + Text[ ar ] = "إدراج نص تلقائي"; + Text[ he ] = "AutoText einfügen"; +}; +String STR_DELBOOKMARK +{ + Text [ de ] = "Textmarke löschen" ; + Text [ en-US ] = "Delete bookmark" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Eliminar marcador de texto"; + Text[ ru ] = "Удалить закладку"; + Text[ el ] = "Διαγραφή σημαδιού κειμένου"; + Text[ nl ] = "Tekstmarkering verwijderen"; + Text[ fr ] = "Supprimer le repère de texte"; + Text[ es ] = "Borrar marca de texto"; + Text[ fi ] = "Poista kirjanmerkki"; + Text[ ca ] = "Suprimeix l'adreça d'interès"; + Text[ it ] = "Elimina segnalibro"; + Text[ sk ] = "Zmazať záložku"; + Text[ da ] = "Slet tekstmarkering"; + Text[ sv ] = "Radera bokmärke"; + Text[ pl ] = "Usuń zakładkę"; + Text[ pt-BR ] = "Excluir marcador"; + Text[ th ] = "ลบตัวคั่น"; + Text[ ja ] = "テキストマークの削除"; + Text[ ko ] = "책갈피 삭제"; + Text[ zh-CN ] = "删除书签"; + Text[ zh-TW ] = "刪除內文標籤"; + Text[ tr ] = "Metin işaretini sil"; + Text[ hi-IN ] = "पृष्ठसंकेत मिटाओ "; + Text[ ar ] = "حذف إشارة مرجعية"; + Text[ he ] = "Textmarke löschen"; +}; +String STR_INSBOOKMARK +{ + Text [ de ] = "Textmarke einfügen" ; + Text [ en-US ] = "Insert bookmark" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir marcador de texto"; + Text[ ru ] = "Вставить закладку"; + Text[ el ] = "Εισαγωγή σημαδιού κειμένου"; + Text[ nl ] = "Tekstmarkering invoegen"; + Text[ fr ] = "Insérer un repère de texte"; + Text[ es ] = "Insertar marca"; + Text[ fi ] = "Lisää kirjanmerkki"; + Text[ ca ] = "Insereix una adreça d'interès"; + Text[ it ] = "Inserisci segnalibro"; + Text[ sk ] = "Vložiť záložku"; + Text[ da ] = "Indsæt tekstmarkering"; + Text[ sv ] = "Infoga bokmärke"; + Text[ pl ] = "Wstaw zakładkę"; + Text[ pt-BR ] = "Inserir marcador"; + Text[ th ] = "แทรกตัวคั่น"; + Text[ ja ] = "テキストマークの挿入"; + Text[ ko ] = "책갈피 삽입"; + Text[ zh-CN ] = "插入书签"; + Text[ zh-TW ] = "插入內文標籤"; + Text[ tr ] = "Metin işareti ekle"; + Text[ hi-IN ] = "पृष्ठसंकेत जोड़ो"; + Text[ ar ] = "إدراج إشارة مرجعية"; + Text[ he ] = "Textmarke einfügen"; +}; +String STR_SORT_TBL +{ + Text [ de ] = "Tabelle sortieren" ; + Text [ en-US ] = "Sort table" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Ordenar tabela"; + Text[ ru ] = "Сортировка таблицы"; + Text[ el ] = "Ταξινόμηση πίνακα"; + Text[ nl ] = "Tabel sorteren"; + Text[ fr ] = "Trier le tableau"; + Text[ es ] = "Ordenar tabla"; + Text[ fi ] = "Lajittele taulukko"; + Text[ ca ] = "Ordena la taula"; + Text[ it ] = "Ordina tabella"; + Text[ sk ] = "Zoradiť tabuľku"; + Text[ da ] = "Sorter tabel"; + Text[ sv ] = "Sortera tabell"; + Text[ pl ] = "Sortuj tabelę"; + Text[ pt-BR ] = "Ordenar tabela"; + Text[ th ] = "เรียงตาราง"; + Text[ ja ] = "表の並べ替え"; + Text[ ko ] = "표 정렬"; + Text[ zh-CN ] = "排序表格"; + Text[ zh-TW ] = "排序表格"; + Text[ tr ] = "Tabloyu sırala"; + Text[ hi-IN ] = "सारणी सोर्ट करो"; + Text[ ar ] = "فرز الجدول"; + Text[ he ] = "Tabelle sortieren"; +}; +String STR_SORT_TXT +{ + Text [ de ] = "Text sortieren" ; + Text [ en-US ] = "Sort text" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Ordenar texto"; + Text[ ru ] = "Сортировка текста"; + Text[ el ] = "Ταξινόμηση κειμένου"; + Text[ nl ] = "Tekst sorteren"; + Text[ fr ] = "Trier le texte"; + Text[ es ] = "Ordenar texto"; + Text[ fi ] = "Lajittele teksti"; + Text[ ca ] = "Ordena el text"; + Text[ it ] = "Ordina testo"; + Text[ sk ] = "Radiť text"; + Text[ da ] = "Sorter tekst"; + Text[ sv ] = "Sortera text"; + Text[ pl ] = "Sortuj tekst"; + Text[ pt-BR ] = "Ordenar texto"; + Text[ th ] = "เรียงข้อความ"; + Text[ ja ] = "テキストの並べ替え"; + Text[ ko ] = "텍스트 정렬"; + Text[ zh-CN ] = "排序文字"; + Text[ zh-TW ] = "排序文字"; + Text[ tr ] = "Metni sırala"; + Text[ hi-IN ] = "टेक्स्ट् सोर्ट करो"; + Text[ ar ] = "فرز النص"; + Text[ he ] = "Text sortieren"; +}; +String STR_INSTABLE_UNDO +{ + Text [ de ] = "Tabelle einfügen" ; + Text [ en-US ] = "Insert Table" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir tabela"; + Text[ ru ] = "Вставить таблицу"; + Text[ el ] = "Εισαγωγή πίνακα"; + Text[ nl ] = "Tabel invoegen"; + Text[ fr ] = "Insérer un tableau"; + Text[ es ] = "Insertar tabla"; + Text[ fi ] = "Lisää taulukko"; + Text[ ca ] = "Insereix una taula"; + Text[ it ] = "Inserisci tabella"; + Text[ sk ] = "Vložiť tabuľku"; + Text[ da ] = "Indsæt tabel"; + Text[ sv ] = "Infoga tabell"; + Text[ pl ] = "Wstaw tabelę"; + Text[ pt-BR ] = "Inserir Tabela"; + Text[ th ] = "แทรกตาราง"; + Text[ ja ] = "表の挿入"; + Text[ ko ] = "표 삽입"; + Text[ zh-CN ] = "插入表格"; + Text[ zh-TW ] = "插入表格"; + Text[ tr ] = "Tablo ekle"; + Text[ hi-IN ] = "सारणी जोड़ो"; + Text[ ar ] = "إدراج جدول"; + Text[ he ] = "הוספת טבלה"; +}; +String STR_TEXTTOTABLE_UNDO +{ + Text [ de ] = "Konvertierung Text -> Tabelle" ; + Text [ en-US ] = "Convert text -> table" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Converter texto -> tabela"; + Text[ ru ] = "Преобразовать текст в таблицу"; + Text[ el ] = "Μετατροπή Κείμενο -> Πίνακας"; + Text[ nl ] = "Tekst naar tabel converteren"; + Text[ fr ] = "Conversion de texte en tableau"; + Text[ es ] = "Convertir texto en tabla"; + Text[ fi ] = "Muunna teksti -> taulukko"; + Text[ ca ] = "Converteix text -> taula"; + Text[ it ] = "Converti testo in tabella."; + Text[ sk ] = "Previesť text na tabuľku"; + Text[ da ] = "Konverter tekst til tabel"; + Text[ sv ] = "Konvertera text till tabell"; + Text[ pl ] = "Konwertuj tekst na tabelę"; + Text[ pt-BR ] = "Converter texto -> tabela"; + Text[ th ] = "แปลงข้อความ -> ตาราง"; + Text[ ja ] = "文書を表に変換"; + Text[ ko ] = "텍스트를 표로 변환"; + Text[ zh-CN ] = "文字转换成表格"; + Text[ zh-TW ] = "文字轉換成表格"; + Text[ tr ] = "Metni tabloya dönüştür"; + Text[ hi-IN ] = "टेक्स्ट् बदलो -> सारणी"; + Text[ ar ] = "تحويل نص -> جدول"; + Text[ he ] = "Konvertierung Text -> Tabelle"; +}; +String STR_TABLETOTEXT_UNDO +{ + Text [ de ] = "Konvertierung Tabelle -> Text" ; + Text [ en-US ] = "Convert table to text" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Converter tabela -> texto"; + Text[ ru ] = "Преобразовать таблицу в текст"; + Text[ el ] = "Μετατροπή Πίνακας -> Κείμενο"; + Text[ nl ] = "Tabel naar tekst converteren"; + Text[ fr ] = "Convertir le tableau en texte"; + Text[ es ] = "Convertir tabla en texto"; + Text[ fi ] = "Muunna taulukko tekstiksi"; + Text[ ca ] = "Converteix la taula en text"; + Text[ it ] = "Converti tabella in testo"; + Text[ sk ] = "Previesť tabuľku na text"; + Text[ da ] = "Konverter tabel til tekst"; + Text[ sv ] = "Konvertera tabell till text"; + Text[ pl ] = "Konwertuj tabelę na tekst"; + Text[ pt-BR ] = "Converter tabela em texto"; + Text[ th ] = "แปลงตารางเป็นข้อความ"; + Text[ ja ] = "表を文書に変換"; + Text[ ko ] = "표를 텍스트로 변환"; + Text[ zh-CN ] = "表格转换成文字"; + Text[ zh-TW ] = "表格轉換成文字"; + Text[ tr ] = "Tabloyu metne dönüştür"; + Text[ hi-IN ] = "सारणी को टेक्स्ट् में बदलो"; + Text[ ar ] = "تحويل الجدول إلى نص"; + Text[ he ] = "Konvertierung Tabelle -> Text"; +}; +String STR_COPY_UNDO +{ + Text [ de ] = "Kopieren" ; + Text [ en-US ] = "Copy" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Copiar"; + Text[ ru ] = "Копировать"; + Text[ el ] = "Αντιγραφή"; + Text[ nl ] = "Kopiëren"; + Text[ fr ] = "Copier"; + Text[ es ] = "Copiar"; + Text[ fi ] = "Kopioi"; + Text[ ca ] = "Copia"; + Text[ it ] = "Copia"; + Text[ sk ] = "Kópia"; + Text[ da ] = "Kopier"; + Text[ sv ] = "Kopiera"; + Text[ pl ] = "Kopiuj"; + Text[ pt-BR ] = "Copiar"; + Text[ th ] = "คัดลอก"; + Text[ ja ] = "コピー"; + Text[ ko ] = "복사"; + Text[ zh-CN ] = "复制"; + Text[ zh-TW ] = "複製"; + Text[ tr ] = "Kopyala"; + Text[ hi-IN ] = "प्रतिलिपि"; + Text[ ar ] = "نسخ"; + Text[ he ] = "העתקה"; +}; +String STR_REPLACE_UNDO +{ + Text [ de ] = "Ersetzen" ; + Text [ en-US ] = "Replace" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Substituir"; + Text[ ru ] = "Заменить"; + Text[ el ] = "Αντικατάσταση"; + Text[ nl ] = "Vervangen"; + Text[ fr ] = "Remplacer"; + Text[ es ] = "Reemplazar"; + Text[ fi ] = "Korvaa"; + Text[ ca ] = "Reemplaça"; + Text[ it ] = "Sostituisci"; + Text[ sk ] = "Nahradiť"; + Text[ da ] = "Erstat"; + Text[ sv ] = "Ersätt"; + Text[ pl ] = "Zamień"; + Text[ pt-BR ] = "Substituir"; + Text[ th ] = "แทนที่"; + Text[ ja ] = "置換"; + Text[ ko ] = "바꾸기"; + Text[ zh-CN ] = "替换"; + Text[ zh-TW ] = "代替"; + Text[ tr ] = "Değiştir"; + Text[ hi-IN ] = "प्रतिस्थापन"; + Text[ ar ] = "استبدال"; + Text[ he ] = "החלפה"; +}; +String STR_INSERT_PAGE_BREAK_UNDO +{ + Text [ de ] = "Harter Seitenumbruch" ; + Text [ en-US ] = "Direct page break" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Quebra de página fixa"; + Text[ ru ] = "Жесткий разрыв страниц"; + Text[ el ] = "Έντονη αλλαγή σελίδας"; + Text[ nl ] = "Vast pagina-einde"; + Text[ fr ] = "Saut de page direct"; + Text[ es ] = "Salto fijo de página"; + Text[ fi ] = "Suora sivunvaihto"; + Text[ ca ] = "Salt de pàgina directe"; + Text[ it ] = "Interruzione di pagina fissa"; + Text[ sk ] = "Priame zalomenie strany"; + Text[ da ] = "Hårdt sideskift"; + Text[ sv ] = "Hård sidbrytning"; + Text[ pl ] = "Twardy podział strony"; + Text[ pt-BR ] = "Quebra de página direta"; + Text[ th ] = "แบ่งหน้าโดยตรง"; + Text[ ja ] = "任意指定の改ページ"; + Text[ ko ] = "수동 페이지 나누기"; + Text[ zh-CN ] = "手工换页"; + Text[ zh-TW ] = "手動換頁"; + Text[ tr ] = "Sabit sayfa sonu"; + Text[ hi-IN ] = "सीधा पृष्ठ खण्डन"; + Text[ ar ] = "فاصل صفحات يدوي"; + Text[ he ] = "Harter Seitenumbruch"; +}; +String STR_INSERT_COLUMN_BREAK_UNDO +{ + Text [ de ] = "Harter Spaltenumbruch" ; + Text [ en-US ] = "Direct column break" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Quebra de coluna fixa"; + Text[ ru ] = "Жесткий разрыв колонок"; + Text[ el ] = "Έντονη αλλαγή στήλης"; + Text[ nl ] = "Vast kolomeinde"; + Text[ fr ] = "Saut de colonne direct"; + Text[ es ] = "Salto de columna directo"; + Text[ fi ] = "Suora sarakkeenvaihto"; + Text[ ca ] = "Salt de columna directe"; + Text[ it ] = "Interruzione di colonna fissa"; + Text[ sk ] = "Priame zalomenie stĺpca"; + Text[ da ] = "Hårdt spalteskift"; + Text[ sv ] = "Hård kolumnbrytning"; + Text[ pl ] = "Twardy podział kolumny"; + Text[ pt-BR ] = "Quebra de coluna direta"; + Text[ th ] = "แบ่งคอลัมน์โดยตรง"; + Text[ ja ] = "任意指定の改列"; + Text[ ko ] = "수동 열 나누기"; + Text[ zh-CN ] = "手工换列"; + Text[ zh-TW ] = "手動換欄"; + Text[ tr ] = "Sabit sütun sonu"; + Text[ hi-IN ] = "सीधा स्तंभ खण्डन"; + Text[ ar ] = "فاصل أعمدة يدوي"; + Text[ he ] = "Harter Spaltenumbruch"; +}; +String STR_PLAY_MACRO_UNDO +{ + Text [ de ] = "Makro abspielen" ; + Text [ en-US ] = "Run macro" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Executar macro"; + Text[ ru ] = "Выполнить макрос"; + Text[ el ] = "Εκτέλεση μακροεντολής"; + Text[ nl ] = "Macro starten"; + Text[ fr ] = "Exécuter la macro"; + Text[ es ] = "Reproducir macro"; + Text[ fi ] = "Suorita makro"; + Text[ ca ] = "Executa la macro"; + Text[ it ] = "Esegui macro"; + Text[ sk ] = "Spustiť makro"; + Text[ da ] = "Spil makro"; + Text[ sv ] = "Spela upp makro"; + Text[ pl ] = "Uruchom makro"; + Text[ pt-BR ] = "Executar macro"; + Text[ th ] = "ใช้งานมาโคร"; + Text[ ja ] = "マクロの実行"; + Text[ ko ] = "매크로 실행"; + Text[ zh-CN ] = "执行宏"; + Text[ zh-TW ] = "執行巨集"; + Text[ tr ] = "Makroyu çalıştır"; + Text[ hi-IN ] = "मॉक्रो चलाओ"; + Text[ ar ] = "تنفيذ الماكرو"; + Text[ he ] = "Makro abspielen"; +}; +String STR_INSERT_ENV_UNDO +{ + Text [ de ] = "Briefumschlag einfügen" ; + Text [ en-US ] = "Insert Envelope" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir envelope"; + Text[ ru ] = "Вставить конверт"; + Text[ el ] = "Εισαγωγή φακέλου επιστολής"; + Text[ nl ] = "Envelop invoegen"; + Text[ fr ] = "Insérer une enveloppe"; + Text[ es ] = "Insertar sobre"; + Text[ fi ] = "Lisää kirjekuori"; + Text[ ca ] = "Insereix el sobre"; + Text[ it ] = "Inserisci busta"; + Text[ sk ] = "Vložiť obálku"; + Text[ da ] = "Indsæt konvolut"; + Text[ sv ] = "Infoga kuvert"; + Text[ pl ] = "Wstaw kopertę"; + Text[ pt-BR ] = "Inserir Envelope"; + Text[ th ] = "แทรกซองจดหมาย"; + Text[ ja ] = "封筒の挿入"; + Text[ ko ] = "편지봉투 삽입"; + Text[ zh-CN ] = "插入信封"; + Text[ zh-TW ] = "插入信封"; + Text[ tr ] = "Zarf ekle"; + Text[ hi-IN ] = "लिफाफा जोड़ो"; + Text[ ar ] = "إدراج ظرف"; + Text[ he ] = "הוספת מעטפה"; +}; +String STR_DRAG_AND_COPY +{ + Text [ de ] = "Kopieren" ; + Text [ en-US ] = "Copy" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Copiar"; + Text[ ru ] = "Копировать"; + Text[ el ] = "Αντιγραφή"; + Text[ nl ] = "Kopiëren"; + Text[ fr ] = "Copier"; + Text[ es ] = "Copiar"; + Text[ fi ] = "Kopioi"; + Text[ ca ] = "Copia"; + Text[ it ] = "Copia"; + Text[ sk ] = "Kópia"; + Text[ da ] = "Kopier"; + Text[ sv ] = "Kopiera"; + Text[ pl ] = "Kopiuj"; + Text[ pt-BR ] = "Copiar"; + Text[ th ] = "คัดลอก"; + Text[ ja ] = "コピーする"; + Text[ ko ] = "복사"; + Text[ zh-CN ] = "复制"; + Text[ zh-TW ] = "複製"; + Text[ tr ] = "Kopyala"; + Text[ hi-IN ] = "प्रतिलिपि"; + Text[ ar ] = "نسخ"; + Text[ he ] = "העתקה"; +}; +String STR_DRAG_AND_MOVE +{ + Text [ de ] = "Verschieben" ; + Text [ en-US ] = "Move" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Mover"; + Text[ ru ] = "Переместить"; + Text[ el ] = "Μετακίνηση"; + Text[ nl ] = "Verplaatsen"; + Text[ fr ] = "Déplacer"; + Text[ es ] = "Desplazar"; + Text[ fi ] = "Siirrä"; + Text[ ca ] = "Mou"; + Text[ it ] = "Spostare"; + Text[ sk ] = "Presunúť"; + Text[ da ] = "Flyt"; + Text[ sv ] = "Flytta"; + Text[ pl ] = "Przesuń"; + Text[ pt-BR ] = "Mover"; + Text[ th ] = "ย้าย"; + Text[ ja ] = "移動する"; + Text[ ko ] = "이동"; + Text[ zh-CN ] = "移动"; + Text[ zh-TW ] = "移動"; + Text[ tr ] = "Taşı"; + Text[ hi-IN ] = "स्थान परिवर्तन करो"; + Text[ ar ] = "إزاحة"; + Text[ he ] = "Verschieben"; +}; +String STR_INSERT_RULER +{ + Text [ de ] = "Ruler einfügen" ; + Text [ en-US ] = "Insert ruler" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir régua"; + Text[ ru ] = "Вставить линейку разметки"; + Text[ el ] = "Εισαγωγή χάρακα"; + Text[ nl ] = "Liniaal invoegen"; + Text[ fr ] = "Insérer une règle"; + Text[ es ] = "Insertar regla"; + Text[ fi ] = "Lisää viivain"; + Text[ ca ] = "Insereix el regle"; + Text[ it ] = "Inserisci ruler"; + Text[ sk ] = "Vložiť pravítko"; + Text[ da ] = "Indsæt lineal"; + Text[ sv ] = "Infoga linjal"; + Text[ pl ] = "Wstaw linijkę"; + Text[ pt-BR ] = "Inserir régua"; + Text[ th ] = "แทรกไม้บรรทัด"; + Text[ ja ] = "ルーラの挿入"; + Text[ ko ] = "눈금자 삽입"; + Text[ zh-CN ] = "插入标尺"; + Text[ zh-TW ] = "插入標尺"; + Text[ tr ] = "Cetvel ekle"; + Text[ hi-IN ] = "रूलर जोड़ो"; + Text[ ar ] = "إدراج مسطرة"; + Text[ he ] = "Ruler einfügen"; +}; +String STR_INSERT_CHART +{ + Text [ de ] = "%PRODUCTNAME Chart einfügen" ; + Text [ en-US ] = "Insert %PRODUCTNAME Chart" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir %PRODUCTNAME Chart"; + Text[ ru ] = "Вставить %PRODUCTNAME Chart"; + Text[ el ] = "Εισαγωγή διαγράμματος %PRODUCTNAME"; + Text[ nl ] = "%PRODUCTNAME Chart invoegen"; + Text[ fr ] = "Insérer un diagramme %PRODUCTNAME Chart"; + Text[ es ] = "Insertar un diagrama de %PRODUCTNAME Chart"; + Text[ fi ] = "Lisää %PRODUCTNAME-kaavio"; + Text[ ca ] = "Insereix el %PRODUCTNAME Chart"; + Text[ it ] = "Inserisci %PRODUCTNAME Chart"; + Text[ sk ] = "Vložiť graf %PRODUCTNAME"; + Text[ da ] = "Indsæt %PRODUCTNAME Chart"; + Text[ sv ] = "Infoga %PRODUCTNAME Chart"; + Text[ pl ] = "Wstaw wykres %PRODUCTNAME Chart"; + Text[ pt-BR ] = "Inserir gráfico do %PRODUCTNAME Chart"; + Text[ th ] = "แทรกแผนภูมิ %PRODUCTNAME "; + Text[ ja ] = "%PRODUCTNAME Chart の挿入"; + Text[ ko ] = "%PRODUCTNAME Chart 삽입"; + Text[ zh-CN ] = "插入 %PRODUCTNAME 图表"; + Text[ zh-TW ] = "插入 %PRODUCTNAME 圖表"; + Text[ tr ] = "%PRODUCTNAME Grafiği Ekle"; + Text[ hi-IN ] = "%PRODUCTNAME चार्ट जोड़ो"; + Text[ ar ] = "إدراج %PRODUCTNAME Chart"; + Text[ he ] = "%PRODUCTNAME Chart einfügen"; +}; +String STR_INSERTFLY +{ + Text [ de ] = "Rahmen einfügen" ; + Text [ en-US ] = "Insert frame" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir moldura"; + Text[ ru ] = "Вставить рамку"; + Text[ el ] = "Εισαγωγή πλαισίου"; + Text[ nl ] = "Kader invoegen"; + Text[ fr ] = "Insérer un cadre"; + Text[ es ] = "Insertar marco"; + Text[ fi ] = "Lisää kehys"; + Text[ ca ] = "Insereix un marc"; + Text[ it ] = "Inserisci cornice"; + Text[ sk ] = "Vložiť rámec"; + Text[ da ] = "Indsæt ramme"; + Text[ sv ] = "Infoga ram"; + Text[ pl ] = "Wstaw ramkę"; + Text[ pt-BR ] = "Inserir moldura"; + Text[ th ] = "แทรกกรอบ"; + Text[ ja ] = "枠の挿入"; + Text[ ko ] = "프레임 삽입"; + Text[ zh-CN ] = "插入框对象"; + Text[ zh-TW ] = "插入框物件"; + Text[ tr ] = "Çerçeve ekle"; + Text[ hi-IN ] = "फ्रेम जोड़ो"; + Text[ ar ] = "إدراج كادر"; + Text[ he ] = "Rahmen einfügen"; +}; +String STR_DELETEFLY +{ + Text [ de ] = "Rahmen löschen" ; + Text [ en-US ] = "Delete frame" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Eliminar moldura"; + Text[ ru ] = "Удалить рамку"; + Text[ el ] = "Διαγραφή πλαισίου"; + Text[ nl ] = "Kader wissen"; + Text[ fr ] = "Supprimer le cadre"; + Text[ es ] = "Borrar el marco"; + Text[ fi ] = "Poista kehys"; + Text[ ca ] = "Suprimeix el marc"; + Text[ it ] = "Elimina cornice"; + Text[ sk ] = "Odstrániť ohraničenie"; + Text[ da ] = "Slet ramme"; + Text[ sv ] = "Radera ram"; + Text[ pl ] = "Usuń ramkę"; + Text[ pt-BR ] = "Excluir moldura"; + Text[ th ] = "ลบกรอบ"; + Text[ ja ] = "枠の削除"; + Text[ ko ] = "프레임 삭제"; + Text[ zh-CN ] = "删除框对象"; + Text[ zh-TW ] = "刪除框物件"; + Text[ tr ] = "Çerçeveyi sil"; + Text[ hi-IN ] = "फ्रेम मिटाओ"; + Text[ ar ] = "حذف كادر"; + Text[ he ] = "Rahmen löschen"; +}; +String STR_AUTOFORMAT +{ + Text [ de ] = "AutoFormat" ; + Text [ en-US ] = "AutoFormat" ; + Text [ x-comment ] = " "; + Text[ pt ] = "AutoFormato"; + Text[ ru ] = "Автоформат"; + Text[ el ] = "Αυτόματη μορφοποίηση"; + Text[ nl ] = "AutoOpmaak"; + Text[ fr ] = "AutoFormat"; + Text[ es ] = "Formateado automático"; + Text[ fi ] = "Automaattinen muotoilu"; + Text[ ca ] = "Formatatge automàtic"; + Text[ it ] = "Formattazione automatica"; + Text[ sk ] = "Automatický formát"; + Text[ da ] = "AutoFormat"; + Text[ sv ] = "Autoformat"; + Text[ pl ] = "Autoformatowanie"; + Text[ pt-BR ] = "AutoFormatação"; + Text[ th ] = "รูปแบบอัตโนมัติ"; + Text[ ja ] = "オートフォーマット"; + Text[ ko ] = "자동 서식"; + Text[ zh-CN ] = "自动格式"; + Text[ zh-TW ] = "自動格式"; + Text[ tr ] = "Otomatik formatlama"; + Text[ hi-IN ] = "स्वचालित रचना"; + Text[ ar ] = "تنسيق تلقائي"; + Text[ he ] = "עיצוב אוטומטי"; +}; +String STR_TABLEHEADLINE +{ + Text [ de ] = "Tabellenüberschrift" ; + Text [ en-US ] = "Table heading" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Título da tabela"; + Text[ ru ] = "Заголовок таблицы"; + Text[ el ] = "Επικεφαλίδα πίνακα"; + Text[ nl ] = "Tabelkop"; + Text[ fr ] = "Titre de la table"; + Text[ es ] = "Encabezado de la tabla"; + Text[ fi ] = "Taulukon otsikko"; + Text[ ca ] = "Encapçalament de la taula"; + Text[ it ] = "Intestazione tabella"; + Text[ sk ] = "Nadpis tabuľky"; + Text[ da ] = "Tabeloverskrift"; + Text[ sv ] = "Tabellöverskrift"; + Text[ pl ] = "Nagłówek tabeli"; + Text[ pt-BR ] = "Título de tabela"; + Text[ th ] = "หัวข้อตาราง"; + Text[ ja ] = "表の見出し"; + Text[ ko ] = "표 제목"; + Text[ zh-CN ] = "表格标题"; + Text[ zh-TW ] = "表格標題"; + Text[ tr ] = "Tablo başlığı"; + Text[ hi-IN ] = "सारणी शीर्षक"; + Text[ ar ] = "عنوان الجدول"; + Text[ he ] = "Tabellenüberschrift"; +}; +String STR_REPLACE +{ + Text [ de ] = "Ersetzen" ; + Text [ en-US ] = "Replace" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Substituir"; + Text[ ru ] = "Заменить"; + Text[ el ] = "Αντικατάσταση"; + Text[ nl ] = "Vervangen"; + Text[ fr ] = "Remplacer"; + Text[ es ] = "Reemplazar"; + Text[ fi ] = "Korvaa"; + Text[ ca ] = "Reemplaça"; + Text[ it ] = "Sostituisci"; + Text[ sk ] = "Nahradiť"; + Text[ da ] = "Erstat"; + Text[ sv ] = "Ersätt"; + Text[ pl ] = "Zamień"; + Text[ pt-BR ] = "Substituir"; + Text[ th ] = "แทนที่"; + Text[ ja ] = "置換"; + Text[ ko ] = "바꾸기"; + Text[ zh-CN ] = "替换"; + Text[ zh-TW ] = "代替"; + Text[ tr ] = "Değiştir"; + Text[ hi-IN ] = "प्रतिस्थापन"; + Text[ ar ] = "استبدال"; + Text[ he ] = "החלפה"; +}; +String STR_INSERTSECTION +{ + Text [ de ] = "Bereich einfügen" ; + Text [ en-US ] = "Insert section" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir secção"; + Text[ ru ] = "Вставить раздел"; + Text[ el ] = "Εισαγωγή ενότητας"; + Text[ nl ] = "Bereik invoegen"; + Text[ fr ] = "Insérer une section"; + Text[ es ] = "Insertar una sección"; + Text[ fi ] = "Lisää osa"; + Text[ ca ] = "Insereix una secció"; + Text[ it ] = "Inserisci area"; + Text[ sk ] = "Vložiť oblasť"; + Text[ da ] = "Indsæt område"; + Text[ sv ] = "Infoga område"; + Text[ pl ] = "Wstaw sekcję"; + Text[ pt-BR ] = "Inserir seção"; + Text[ th ] = "แทรกส่วน"; + Text[ ja ] = "範囲の挿入"; + Text[ ko ] = "구역 삽입"; + Text[ zh-CN ] = "插入区域"; + Text[ zh-TW ] = "插入區域"; + Text[ tr ] = "Bölüm ekle"; + Text[ hi-IN ] = "विभाग जोड़ो"; + Text[ ar ] = "إدراج نطاق"; + Text[ he ] = "Bereich einfügen"; +}; +String STR_DELETESECTION +{ + Text [ de ] = "Bereich löschen" ; + Text [ en-US ] = "Delete section" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Eliminar categoria"; + Text[ ru ] = "Удалить раздел"; + Text[ el ] = "Διαγραφή ενότητας"; + Text[ nl ] = "Bereik wissen"; + Text[ fr ] = "Supprimer la section"; + Text[ es ] = "Borrar sección"; + Text[ fi ] = "Poista osa"; + Text[ ca ] = "Suprimeix una secció"; + Text[ it ] = "Elimina area"; + Text[ sk ] = "Odstrániť sekciu"; + Text[ da ] = "Slet område"; + Text[ sv ] = "Radera kategori"; + Text[ pl ] = "Usuń sekcję"; + Text[ pt-BR ] = "Excluir seção"; + Text[ th ] = "ลบส่วน"; + Text[ ja ] = "範囲の削除"; + Text[ ko ] = "구역 삭제"; + Text[ zh-CN ] = "删除区域"; + Text[ zh-TW ] = "刪除區域"; + Text[ tr ] = "Bölümü sil"; + Text[ hi-IN ] = "विभाग मिटाओ"; + Text[ ar ] = "حذف الفئة"; + Text[ he ] = "Bereich löschen"; +}; +String STR_CHANGESECTION +{ + Text [ de ] = "Bereich ändern" ; + Text [ en-US ] = "Modify section" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Alterar secção"; + Text[ ru ] = "Изменить раздел"; + Text[ el ] = "Τροποποίηση ενότητας"; + Text[ nl ] = "Bereik wijzigen"; + Text[ fr ] = "Éditer la section"; + Text[ es ] = "Modificar la sección"; + Text[ fi ] = "Muokkaa osaa"; + Text[ ca ] = "Modifica la secció"; + Text[ it ] = "Cambia area"; + Text[ sk ] = "Upraviť sekciu"; + Text[ da ] = "Modificer område"; + Text[ sv ] = "Ändra område"; + Text[ pl ] = "Modyfikuj sekcję"; + Text[ pt-BR ] = "Modificar seção"; + Text[ th ] = "ดัดแปลงส่วน"; + Text[ ja ] = "範囲の変更"; + Text[ ko ] = "구역 수정"; + Text[ zh-CN ] = "更改区域"; + Text[ zh-TW ] = "變更區域"; + Text[ tr ] = "Bölümü değiştir"; + Text[ hi-IN ] = "विभाग सुधारो"; + Text[ ar ] = "تعديل النطاق"; + Text[ he ] = "Bereich ändern"; +}; +String STR_CHANGESECTPASSWD +{ + Text [ de ] = "Passwortschutz ändern" ; + Text [ en-US ] = "Change password protection" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Alterar protecção da senha"; + Text[ ru ] = "Изменить защиту паролем"; + Text[ el ] = "Αλλαγή προστασίας κωδικού πρόσβασης"; + Text[ nl ] = "Wachtwoordbeveiliging wijzigen"; + Text[ fr ] = "Modification du mot de passe"; + Text[ es ] = "Cambiar contraseña"; + Text[ fi ] = "Muuta salasanasuojausta"; + Text[ ca ] = "Canvia la contrasenya"; + Text[ it ] = "Cambia protezione password"; + Text[ sk ] = "Upraviť ochranu heslom"; + Text[ da ] = "Modificer adgangskodebeskyttelse"; + Text[ sv ] = "Ändra lösenordsskydd"; + Text[ pl ] = "Zmień ochronę hasłem"; + Text[ pt-BR ] = "Alterar a proteção por senha"; + Text[ th ] = "เปลี่ยนการป้องกันรหัสผ่าน"; + Text[ ja ] = "パスワード保護の変更"; + Text[ ko ] = "암호 보안 변경"; + Text[ zh-CN ] = "更改保护密码"; + Text[ zh-TW ] = "變更保護密碼"; + Text[ tr ] = "Şifre korumasını değiştir"; + Text[ hi-IN ] = "कूटशब्द रक्षा बदलो"; + Text[ ar ] = "تغيير حماية كلمة السر"; + Text[ he ] = "Passwortschutz ändern"; +}; +String STR_CHANGEDEFATTR +{ + Text [ de ] = "Standardwerte ändern" ; + Text [ en-US ] = "Modify default values" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Alterar valores padrão"; + Text[ ru ] = "Изменить стандартные значения"; + Text[ el ] = "Τροποποίηση προεπιλεγμένων τιμών"; + Text[ nl ] = "Standaardwaarden wijzigen"; + Text[ fr ] = "Changement des valeurs standard"; + Text[ es ] = "Modificar valores predeterminados"; + Text[ fi ] = "Muokkaa oletusarvoja"; + Text[ ca ] = "Modifica els valors per defecte"; + Text[ it ] = "Cambia valori predefiniti"; + Text[ sk ] = "Upraviť východzie hodnoty"; + Text[ da ] = "Modificer standardværdier"; + Text[ sv ] = "Ändra standardvärden"; + Text[ pl ] = "Modyfikuj wartości domyślne"; + Text[ pt-BR ] = "Modificar valores padrão"; + Text[ th ] = "ดัดแปลงค่าเริ่มต้น"; + Text[ ja ] = "標準値の変更"; + Text[ ko ] = "기본값 수정"; + Text[ zh-CN ] = "更改标准值"; + Text[ zh-TW ] = "變更標準值"; + Text[ tr ] = "Öndeğerleri değiştir"; + Text[ hi-IN ] = "अनुपस्थिति मूल्यों को सुधारो"; + Text[ ar ] = "تعديل القيم الافتراضية"; + Text[ he ] = "Standardwerte ändern"; +}; +String STR_OUTLINE_LR +{ + Text [ de ] = "Gliederung stufen" ; + Text [ en-US ] = "Promote Outline" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Escalonar esquema"; + Text[ ru ] = "Уровни структуры"; + Text[ el ] = "Διάρθρωση με εσοχές"; + Text[ nl ] = "Overzichtsniveaus bepalen"; + Text[ fr ] = "Échelonner la structure"; + Text[ es ] = "Escalonar el esquema"; + Text[ fi ] = "Korota jäsennystasoa"; + Text[ ca ] = "Promou el contorn"; + Text[ it ] = "Graduare struttura"; + Text[ sk ] = "O úroveň vyššie"; + Text[ da ] = "Inddel disposition"; + Text[ sv ] = "Dela in disposition"; + Text[ pl ] = "Konspekt wyżej"; + Text[ pt-BR ] = "Promover Tópico"; + Text[ th ] = "เลื่อนเค้าร่าง"; + Text[ ja ] = "アウトラインのレベル"; + Text[ ko ] = "개요 수준 올리기"; + Text[ zh-CN ] = "分级大纲"; + Text[ zh-TW ] = "分級大綱"; + Text[ tr ] = "Anahatı değiştir"; + Text[ hi-IN ] = "बाहरी रूपरेखा को उत्तेजित करो"; + Text[ ar ] = "تدريج التقسيم"; + Text[ he ] = "Gliederung stufen"; +}; +String STR_OUTLINE_UD +{ + Text [ de ] = "Gliederung verschieben" ; + Text [ en-US ] = "Move outline" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Mover esquema"; + Text[ ru ] = "Переместить структуру"; + Text[ el ] = "Μετακίνηση διάρθρωσης"; + Text[ nl ] = "Overzicht verplaatsen"; + Text[ fr ] = "Déplacer le plan"; + Text[ es ] = "Desplazar esquema"; + Text[ fi ] = "Siirrä ääriviivaa"; + Text[ ca ] = "Mou el contorn"; + Text[ it ] = "Sposta struttura"; + Text[ sk ] = "Presunúť úroveň"; + Text[ da ] = "Flyt disposition"; + Text[ sv ] = "Flytta disposition"; + Text[ pl ] = "Przenieś konspekt"; + Text[ pt-BR ] = "Mover tópicos"; + Text[ th ] = "ย้ายเค้าร่าง"; + Text[ ja ] = "アウトラインの移動"; + Text[ ko ] = "개요 이동"; + Text[ zh-CN ] = "移动大纲"; + Text[ zh-TW ] = "移動大綱"; + Text[ tr ] = "Anahatı taşı"; + Text[ hi-IN ] = "बाहरी रूपरेखा का स्थान परिवर्तन करो"; + Text[ ar ] = "نقل التقسيم"; + Text[ he ] = "Gliederung verschieben"; +}; +String STR_INSNUM +{ + Text [ de ] = "Nummerierung einfügen" ; + Text [ en-US ] = "Insert numbering" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir numeração"; + Text[ ru ] = "Вставить нумерацию"; + Text[ el ] = "Εισαγωγή αρίθμησης"; + Text[ nl ] = "Nummering invoegen"; + Text[ fr ] = "Insérer une numérotation"; + Text[ es ] = "Insertar numeración"; + Text[ fi ] = "Lisää numerointi"; + Text[ ca ] = "Insereix la numeració"; + Text[ it ] = "Inserisci numerazione"; + Text[ sk ] = "Vložiť číslovanie"; + Text[ da ] = "Indsæt nummerering"; + Text[ sv ] = "Infoga numrering"; + Text[ pl ] = "Wstaw numerację"; + Text[ pt-BR ] = "Inserir numeração"; + Text[ th ] = "แทรกลำดับตัวเลข"; + Text[ ja ] = "番号付けの挿入"; + Text[ ko ] = "번호 매기기 삽입"; + Text[ zh-CN ] = "插入编号"; + Text[ zh-TW ] = "插入編號"; + Text[ tr ] = "Numaralama ekle"; + Text[ hi-IN ] = "संख्या देना जोड़ो"; + Text[ ar ] = "إدراج ترقيم"; + Text[ he ] = "Nummerierung einfügen"; +}; +String STR_NUMUPDOWN +{ + Text [ de ] = "Nummerierung stufen" ; + Text [ en-US ] = "Shift numbering" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Escalonar numeração"; + Text[ ru ] = "Уровни нумерации"; + Text[ el ] = "Αρίθμηση με εσοχές"; + Text[ nl ] = "Nummering indelen"; + Text[ fr ] = "Échelonner la numérotation"; + Text[ es ] = "Graduar numeración"; + Text[ fi ] = "Siirrä numerointi"; + Text[ ca ] = "Desplaça la numeració"; + Text[ it ] = "Sposta numerazione"; + Text[ sk ] = "Posunúť číslovanie"; + Text[ da ] = "Inddel nummerering"; + Text[ sv ] = "Flernivånumrering"; + Text[ pl ] = "Przesuń numerację"; + Text[ pt-BR ] = "Deslocar numeração"; + Text[ th ] = "เลื่อนลำดับตัวเลข"; + Text[ ja ] = "番号付けの段階付け"; + Text[ ko ] = "번호 매기기 단계"; + Text[ zh-CN ] = "分级编号"; + Text[ zh-TW ] = "分級編號"; + Text[ tr ] = "Numaralamayı kaydır"; + Text[ hi-IN ] = "संख्या देना स्थानान्तर करो"; + Text[ ar ] = "تدريج الترقيم"; + Text[ he ] = "Nummerierung stufen"; +}; +String STR_MOVENUM +{ + Text [ de ] = "Absätze verschieben" ; + Text [ en-US ] = "Move paragraphs" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Mover parágrafos"; + Text[ ru ] = "Переместить абзацы"; + Text[ el ] = "Μεταφορά παραγράφων"; + Text[ nl ] = "Alinea's verplaatsen"; + Text[ fr ] = "Déplacer paragraphes"; + Text[ es ] = "Desplazar párrafos"; + Text[ fi ] = "Siirrä kappaleita"; + Text[ ca ] = "Mou els paràgrafs"; + Text[ it ] = "Sposta paragrafi"; + Text[ sk ] = "Presunúť odstavce"; + Text[ da ] = "Flyt afsnit"; + Text[ sv ] = "Flytta stycken"; + Text[ pl ] = "Przenieś akapity"; + Text[ pt-BR ] = "Mover parágrafos"; + Text[ th ] = "ย้ายย่อหน้า"; + Text[ ja ] = "段落の移動"; + Text[ ko ] = "단락 이동"; + Text[ zh-CN ] = "移动段落"; + Text[ zh-TW ] = "移動段落"; + Text[ tr ] = "Paragrafları taşı"; + Text[ hi-IN ] = "परिच्छेदों का स्थान परिवर्तन करो"; + Text[ ar ] = "إزاحة الفقرات"; + Text[ he ] = "Absätze verschieben"; +}; +String STR_INSERTDRAW +{ + Text [ de ] = "Zeichenobjekt einfügen" ; + Text [ en-US ] = "Insert Draw Object" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir objecto de desenho"; + Text[ ru ] = "Вставить графический объект"; + Text[ el ] = "Εισαγωγή αντικειμένου σχεδίασης"; + Text[ nl ] = "Tekenobject invoegen"; + Text[ fr ] = "Insérer un objet de dessin"; + Text[ es ] = "Insertar objeto de dibujo"; + Text[ fi ] = "Lisää piirrosobjekti"; + Text[ ca ] = "Insereix l'objecte de dibuix"; + Text[ it ] = "Inserisci oggetti di disegno"; + Text[ sk ] = "Vložiť kresby"; + Text[ da ] = "Indsæt tegneobjekt"; + Text[ sv ] = "Infoga ritobjekt"; + Text[ pl ] = "Wstaw obiekt rysunkowy"; + Text[ pt-BR ] = "Inserir Objeto de Desenho"; + Text[ th ] = "แทรกวัตถุวาดรูป"; + Text[ ja ] = "描画オブジェクトの挿入"; + Text[ ko ] = "그리기 개체 삽입"; + Text[ zh-CN ] = "插入绘图对象"; + Text[ zh-TW ] = "插入繪圖物件"; + Text[ tr ] = "Çizim nesnesi ekle"; + Text[ hi-IN ] = "रेखाचित्र वस्तु जोड़ो"; + Text[ ar ] = "إدراج كائن رسومي"; + Text[ he ] = "Zeichenobjekt einfügen"; +}; +String STR_NUMORNONUM +{ + Text [ de ] = "Nummer an/aus" ; + Text [ en-US ] = "Number On/Off" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Número activado/des."; + Text[ ru ] = "Номер"; + Text[ el ] = "Αριθμός Ναι/Όχι"; + Text[ nl ] = "Nummer aan/uit"; + Text[ fr ] = "(Dés)activer le numéro"; + Text[ es ] = "Número activado/desactivado"; + Text[ fi ] = "Numerot Käytössä/poissa käytöstä"; + Text[ ca ] = "Número activat/desactivat"; + Text[ it ] = "Mostra/nascondi numero"; + Text[ sk ] = "Čísla zap/vyp"; + Text[ da ] = "Aktiver/deaktiver nummer"; + Text[ sv ] = "Nummer på/av"; + Text[ pl ] = "Włącz/wyłącz numerację"; + Text[ pt-BR ] = "Ativar/Desativar Número"; + Text[ th ] = "ตัวเลข มี/ไม่มี"; + Text[ ja ] = "番号 オン/オフ"; + Text[ ko ] = "번호 적용/해제"; + Text[ zh-CN ] = "显示/隐入编号"; + Text[ zh-TW ] = "顯示/隱入編號"; + Text[ tr ] = "Numara açık/kapalı"; + Text[ hi-IN ] = "संख्या शुरु/बंद"; + Text[ ar ] = "إظهار/إخفاء الرقم"; + Text[ he ] = "Nummer an/aus"; +}; +String STR_INC_LEFTMARGIN +{ + Text [ de ] = "Einzug vergrößern" ; + Text [ en-US ] = "Increase Indent" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Aumentar avanço"; + Text[ ru ] = "Увеличить отступ"; + Text[ el ] = "Αύξηση εσοχής"; + Text[ nl ] = "Inspringing vergroten"; + Text[ fr ] = "Augmenter le retrait"; + Text[ es ] = "Aumentar sangría"; + Text[ fi ] = "Lisää sisennystä"; + Text[ ca ] = "Augmenta el sagnat"; + Text[ it ] = "Aumenta rientro"; + Text[ sk ] = "Zväčšiť odsadenie"; + Text[ da ] = "Forstør indrykning"; + Text[ sv ] = "Öka indrag"; + Text[ pl ] = "Zwiększ wcięcie"; + Text[ pt-BR ] = "Aumentar Recuo"; + Text[ th ] = "เพิ่มระยะเยื้อง"; + Text[ ja ] = "インデントの間隔の拡大"; + Text[ ko ] = "들여쓰기"; + Text[ zh-CN ] = "增大缩进"; + Text[ zh-TW ] = "增大縮排"; + Text[ tr ] = "Girintiyi büyüt"; + Text[ hi-IN ] = "इन्डेन्ट बढ़ाओ "; + Text[ ar ] = "زيادة الإزاحة"; + Text[ he ] = "הוספת שוליים"; +}; +String STR_DEC_LEFTMARGIN +{ + Text [ de ] = "Einzug verringern" ; + Text [ en-US ] = "Decrease indent" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Reduzir avanço de parágrafo"; + Text[ ru ] = "Уменьшить отступ"; + Text[ el ] = "Μείωση εσοχής"; + Text[ nl ] = "Inspringing verkleinen"; + Text[ fr ] = "Réduire le retrait"; + Text[ es ] = "Reducir la sangría"; + Text[ fi ] = "Vähennä sisennystä"; + Text[ ca ] = "Redueix el sagnat"; + Text[ it ] = "Riduci rientro"; + Text[ sk ] = "Zmenšiť odsadenie"; + Text[ da ] = "Formindsk indrykning"; + Text[ sv ] = "Minska indrag"; + Text[ pl ] = "Zmniejsz wcięcie"; + Text[ pt-BR ] = "Reduzir recuo"; + Text[ th ] = "ลดระยะเยื้อง"; + Text[ ja ] = "インデント間隔の縮小"; + Text[ ko ] = "내어쓰기"; + Text[ zh-CN ] = "减少缩进"; + Text[ zh-TW ] = "減少縮排"; + Text[ tr ] = "Girintiyi küçült"; + Text[ hi-IN ] = "इन्डेन्ट घटाओ"; + Text[ ar ] = "إنقاص الإزاحة"; + Text[ he ] = "הפחתת שוליים"; +}; +String STR_INSERTLABEL +{ + Text [ de ] = "Beschriftung einfügen" ; + Text [ en-US ] = "Insert caption" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir legenda"; + Text[ ru ] = "Вставить название"; + Text[ el ] = "Εισαγωγή λεζάντας"; + Text[ nl ] = "Bijschrift invoegen"; + Text[ fr ] = "Insérer une légende"; + Text[ es ] = "Insertar etiqueta"; + Text[ fi ] = "Lisää otsikko"; + Text[ ca ] = "Insereix una llegenda"; + Text[ it ] = "Inserisci dicitura"; + Text[ sk ] = "Vložiť popis"; + Text[ da ] = "Indsæt billedtekst"; + Text[ sv ] = "Infoga bildtext"; + Text[ pl ] = "Wstaw podpis"; + Text[ pt-BR ] = "Inserir legenda"; + Text[ th ] = "แทรกคำบรรยายภาพ"; + Text[ ja ] = "図表番号の挿入"; + Text[ ko ] = "캡션 삽입"; + Text[ zh-CN ] = "插入标签"; + Text[ zh-TW ] = "插入標籤"; + Text[ tr ] = "Resim yazısı ekle"; + Text[ hi-IN ] = "कॉप्शन् जोड़ो"; + Text[ ar ] = "إدراج تسمية توضيحية"; + Text[ he ] = "Beschriftung einfügen"; +}; +String STR_SETNUMRULESTART +{ + Text [ de ] = "Nummerierung neu starten" ; + Text [ en-US ] = "Restart numbering" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Reiniciar numeração"; + Text[ ru ] = "Начать нумерацию заново"; + Text[ el ] = "Επανεκκίνηση αρίθμησης"; + Text[ nl ] = "Nieuwe nummering"; + Text[ fr ] = "Reprendre la numérotation"; + Text[ es ] = "Reiniciar numeración"; + Text[ fi ] = "Aloita numerointi uudestaan"; + Text[ ca ] = "Reinicia la numeració"; + Text[ it ] = "Riavvia la numerazione"; + Text[ sk ] = "Reštartovať číslovanie"; + Text[ da ] = "Genstart nummerering"; + Text[ sv ] = "Starta numrering på nytt"; + Text[ pl ] = "Zacznij numerację od nowa"; + Text[ pt-BR ] = "Reiniciar numeração"; + Text[ th ] = "เริ่มลำดับตัวเลขใหม่"; + Text[ ja ] = "番号付けを新しく開始"; + Text[ ko ] = "번호 다시 매기기"; + Text[ zh-CN ] = "重新开始编号"; + Text[ zh-TW ] = "重新編號"; + Text[ tr ] = "Numaralamayı yeniden başlat"; + Text[ hi-IN ] = "संख्या देना पुनः प्रारंभ करो"; + Text[ ar ] = "إعادة بدء الترقيم"; + Text[ he ] = "מיספור-ספירה חדשה"; +}; +String STR_CHANGEFTN +{ + Text [ de ] = "Fußnote ändern" ; + Text [ en-US ] = "Modify footnote" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Modificar nota de rodapé"; + Text[ ru ] = "Изменить сноску"; + Text[ el ] = "Τροποποίηση υποσημείωσης"; + Text[ nl ] = "Voetnoot wijzigen"; + Text[ fr ] = "Modifier la note de bas de page"; + Text[ es ] = "Modificar nota al pie"; + Text[ fi ] = "Muokkaa alaviitettä"; + Text[ ca ] = "Modifica la nota al peu"; + Text[ it ] = "Modifica nota a piè pagina"; + Text[ sk ] = "Upraviť poznámku pod čiarou"; + Text[ da ] = "Modificer fodnote"; + Text[ sv ] = "Ändra fotnot"; + Text[ pl ] = "Modyfikuj przypis dolny"; + Text[ pt-BR ] = "Modificar nota de rodapé"; + Text[ th ] = "ดัดแปลงแก้ไขเชิงอรรถ"; + Text[ ja ] = "脚注の変更"; + Text[ ko ] = "각주 수정"; + Text[ zh-CN ] = "更改注脚"; + Text[ zh-TW ] = "變更註腳"; + Text[ tr ] = "Dipnotu değiştir"; + Text[ hi-IN ] = "पृष्ठ के नीचे की टीका सुधारो"; + Text[ ar ] = "تعديل الحاشية السفلية"; + Text[ he ] = "Fußnote ändern"; +}; +String STR_REDLINE +{ + /* !! sollte NIE gebraucht/uebersetzt werden !! */ + Text = "Redline" ; +}; +String STR_ACCEPT_REDLINE +{ + Text [ de ] = "Änderung akzeptieren" ; + Text [ en-US ] = "Accept changes" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Aceitar modificações"; + Text[ ru ] = "Принять изменения"; + Text[ el ] = "Αποδοχή αλλαγών"; + Text[ nl ] = "Wijziging accepteren"; + Text[ fr ] = "Accepter la modification"; + Text[ es ] = "Aceptar modificaciones"; + Text[ fi ] = "Hyväksy muutokset"; + Text[ ca ] = "Accepta els canvis"; + Text[ it ] = "Accetta le modifiche"; + Text[ sk ] = "Prijať zmeny"; + Text[ da ] = "Accepter ændring"; + Text[ sv ] = "Acceptera ändring"; + Text[ pl ] = "Akceptuj zmiany"; + Text[ pt-BR ] = "Aceitar modificações"; + Text[ th ] = "ยอมรับการเปลี่ยนแปลง"; + Text[ ja ] = "変更を受け入れる"; + Text[ ko ] = "변경 동의"; + Text[ zh-CN ] = "接受更改"; + Text[ zh-TW ] = "接受變更"; + Text[ tr ] = "Değişiklikleri kabul et"; + Text[ hi-IN ] = "परिवर्तनों को स्वीकृत करो"; + Text[ ar ] = "قبول التغييرات"; + Text[ he ] = "Änderung akzeptieren"; +}; +String STR_REJECT_REDLINE +{ + Text [ de ] = "Änderung ablehnen" ; + Text [ en-US ] = "Reject change" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Rejeitar alteração"; + Text[ ru ] = "Отклонить изменения"; + Text[ el ] = "Απόρριψη αλλαγών"; + Text[ nl ] = "Wijziging verwerpen"; + Text[ fr ] = "Rejeter la modification"; + Text[ es ] = "Rechazar modificación"; + Text[ fi ] = "Hylkää muutos"; + Text[ ca ] = "Rebutja el canvi"; + Text[ it ] = "Rifiuta modifica"; + Text[ sk ] = "Odmietnuť zmenu"; + Text[ da ] = "Forkast ændring"; + Text[ sv ] = "Ignorera ändring"; + Text[ pl ] = "Odrzuć zmiany"; + Text[ pt-BR ] = "Rejeitar modificações"; + Text[ th ] = "ปฏิเสธการเปลี่ยนแปลง"; + Text[ ja ] = "変更を受け入れない"; + Text[ ko ] = "변경 거부"; + Text[ zh-CN ] = "拒绝更改"; + Text[ zh-TW ] = "拒絕變更"; + Text[ tr ] = "Değişikliği reddet"; + Text[ hi-IN ] = "परिवर्तन अस्वीकार करो"; + Text[ ar ] = "رفض التغيير"; + Text[ he ] = "Änderung ablehnen"; +}; +String STR_SPLIT_TABLE +{ + Text [ de ] = "Tabelle auftrennen" ; + Text [ en-US ] = "Split Table" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Dividir tabela"; + Text[ ru ] = "Разбить таблицу"; + Text[ el ] = "Διαίρεση πίνακα"; + Text[ nl ] = "Tabel opsplitsen"; + Text[ fr ] = "Scinder le tableau"; + Text[ es ] = "Dividir tabla"; + Text[ fi ] = "Jaa taulukko"; + Text[ ca ] = "Divideix la taula"; + Text[ it ] = "Dividi tabella"; + Text[ sk ] = "Rozdeliť tabuľku"; + Text[ da ] = "Opdel tabel"; + Text[ sv ] = "Dela tabell"; + Text[ pl ] = "Podziel tabelę"; + Text[ pt-BR ] = "Dividir a Tabela"; + Text[ th ] = "แยกตาราง"; + Text[ ja ] = "表の分割"; + Text[ ko ] = "표 나누기"; + Text[ zh-CN ] = "分隔表格"; + Text[ zh-TW ] = "分開表格"; + Text[ tr ] = "Tabloyu böl"; + Text[ hi-IN ] = "सारणी अलगा करो"; + Text[ ar ] = "فصل الجدول"; + Text[ he ] = "פיצול טבלה"; +}; +String STR_DONTEXPAND +{ + Text [ de ] = "Attribut stoppen" ; + Text [ en-US ] = "Stop attribute" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Parar atributo"; + Text[ ru ] = "Остановить атрибут"; + Text[ el ] = "Διακοπή ιδιότητας"; + Text[ nl ] = "Attribuut stoppen"; + Text[ fr ] = "Arrêter"; + Text[ es ] = "Detener atributo"; + Text[ fi ] = "Pysäytä ominaisuus"; + Text[ ca ] = "Atura l'atribut"; + Text[ it ] = "Interrompi attributo"; + Text[ sk ] = "Atribút zastavenia"; + Text[ da ] = "Stop attribut"; + Text[ sv ] = "Stoppa attribut"; + Text[ pl ] = "Zatrzymaj atrybuty"; + Text[ pt-BR ] = "Atributos de parada"; + Text[ th ] = "หยุดคุณลักษณะ"; + Text[ ja ] = "属性の中止"; + Text[ ko ] = "속성 중지"; + Text[ zh-CN ] = "停止显示属性"; + Text[ zh-TW ] = "停止顯示屬性"; + Text[ tr ] = "Özniteliği durdur"; + Text[ hi-IN ] = "ऐट्रिब्यूट रोको"; + Text[ ar ] = "وقف السمات"; + Text[ he ] = "Attribut stoppen"; +}; +String STR_AUTOCORRECT +{ + Text [ de ] = "AutoKorrektur" ; + Text [ en-US ] = "AutoCorrect" ; + Text [ x-comment ] = " "; + Text[ pt ] = "AutoCorrecção"; + Text[ ru ] = "Автозамена"; + Text[ el ] = "Αυτόματη Διόρθωση"; + Text[ nl ] = "AutoCorrectie"; + Text[ fr ] = "AutoCorrection"; + Text[ es ] = "Corrección automática"; + Text[ fi ] = "Autom. korjaus"; + Text[ ca ] = "Correcció automàtica"; + Text[ it ] = "Correzione automatica"; + Text[ sk ] = "Automatické opravy"; + Text[ da ] = "AutoKorrektur"; + Text[ sv ] = "AutoKorrigering"; + Text[ pl ] = "Autokorekta"; + Text[ pt-BR ] = "AutoCorreção"; + Text[ th ] = "แก้ไขให้ถูกต้องอัตโนมัติ"; + Text[ ja ] = "オートコレクト"; + Text[ ko ] = "자동 수정/자동 서식"; + Text[ zh-CN ] = "自动更正"; + Text[ zh-TW ] = "自動校正"; + Text[ tr ] = "Otomatik düzeltme"; + Text[ hi-IN ] = "स्वचालित ढंग से ठीक करो"; + Text[ ar ] = "تصحيح تلقائي"; + Text[ he ] = "תיקון אוטומטי"; +}; +String STR_MERGE_TABLE +{ + Text [ de ] = "Tabelle verbinden" ; + Text [ en-US ] = "Merge table"; + Text [ x-comment ] = " "; + Text[ pt ] = "Unir tabela"; + Text[ ru ] = "Объединить таблицу"; + Text[ el ] = "Συγχώνευση πινάκων"; + Text[ nl ] = "Tabel verbinden"; + Text[ fr ] = "Fusionner les tableaux"; + Text[ es ] = "unir tablas"; + Text[ fi ] = "Yhdistä taulukko"; + Text[ ca ] = "Fusiona la taula"; + Text[ it ] = "Collega tabella"; + Text[ sk ] = "Zlúčiť tabuľku"; + Text[ da ] = "Flet tabeller"; + Text[ sv ] = "Sammanfoga tabeller"; + Text[ pl ] = "Scal tabele"; + Text[ pt-BR ] = "Mesclar tabela"; + Text[ th ] = "ผสานตาราง"; + Text[ ja ] = "表の結合"; + Text[ ko ] = "표 합치기"; + Text[ zh-CN ] = "合并表格"; + Text[ zh-TW ] = "合併表格"; + Text[ tr ] = "Tabloyu birleştir"; + Text[ hi-IN ] = "सारणी को मिलाओ"; + Text[ ar ] = "وصل الجدول"; + Text[ he ] = "Tabelle verbinden"; +}; + +String STR_TRANSLITERATE +{ + Text [ de ] = "Groß-/Kleinschreibung" ; + Text [ en-US ] = "Case/Characters"; + Text[ pt ] = "Caixa/Caracteres"; + Text[ ru ] = "регистр"; + Text[ el ] = "Κεφαλαία/Πεζά"; + Text[ nl ] = "Hoofdletters/kleine letters"; + Text[ fr ] = "Casse/Caractères"; + Text[ es ] = "Mayúsculas/minúsculas"; + Text[ fi ] = "Muuta kirjainkoko"; + Text[ ca ] = "Majúscules/minúscules"; + Text[ it ] = "Maiuscole/minuscole"; + Text[ sk ] = "Veľkosť/znaky"; + Text[ da ] = "Store og små bogstaver"; + Text[ sv ] = "Bokstäver/tecken"; + Text[ pl ] = "Wielkie i małe litery"; + Text[ pt-BR ] = "Caixa/Caracteres"; + Text[ th ] = "ตัวพิมพ์/ตัวอักขระ"; + Text[ ja ] = "文字種の変換"; + Text[ ko ] = "문자 바꾸기"; + Text[ zh-CN ] = "字母大小写"; + Text[ zh-TW ] = "字母大小寫"; + Text[ tr ] = "Büyük/küçük harf"; + Text[ hi-IN ] = "केस/अक्षरें"; + Text[ ar ] = "الكتابة بأحرف كبيرة أو صغيرة"; + Text[ he ] = "סיווג אותיות"; +}; + +String STR_DELNUM +{ + Text [ de ] = "Nummerierung löschen" ; + Text [ en-US ] = "Delete numbering" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Eliminar numeração"; + Text[ ru ] = "Удалить нумерацию"; + Text[ el ] = "Διαγραφή αρίθμησης"; + Text[ nl ] = "Nummering wissen"; + Text[ fr ] = "Supprimer la numérotation"; + Text[ es ] = "Borrar numeración"; + Text[ fi ] = "Poista numerointi"; + Text[ ca ] = "Suprimeix la numeració"; + Text[ it ] = "Elimina numerazione"; + Text[ sk ] = "Odstrániť číslovanie"; + Text[ da ] = "Slet nummerering"; + Text[ sv ] = "Radera numrering"; + Text[ pl ] = "Usuń numerację"; + Text[ pt-BR ] = "Excluir numeração"; + Text[ th ] = "ลบลำดับตัวเลข"; + Text[ ja ] = "番号付けの削除"; + Text[ ko ] = "번호 매기기 삭제"; + Text[ zh-CN ] = "删除编号"; + Text[ zh-TW ] = "刪除編號"; + Text[ tr ] = "Numaralamayı sil"; + Text[ hi-IN ] = "संख्या देना मिटाओ"; + Text[ ar ] = "حذف الترقيم"; + Text[ he ] = "Nummerierung löschen"; +}; +String STR_DRAWUNDO +{ + Text [ de ] = "Zeichenobjekte" ; + Text [ en-US ] = "Draw objects" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Objectos de desenho"; + Text[ ru ] = "Графический объект"; + Text[ el ] = "Αντικείμενα σχεδίασης"; + Text[ nl ] = "Tekenobjecten"; + Text[ fr ] = "Objets de dessin"; + Text[ es ] = "Objetos de dibujo"; + Text[ fi ] = "Piirrosobjektit"; + Text[ ca ] = "Objectes de dibuix"; + Text[ it ] = "Oggetti di disegno"; + Text[ sk ] = "Kresby"; + Text[ da ] = "Tegneobjekter"; + Text[ sv ] = "Ritobjekt"; + Text[ pl ] = "Obiekty rysunkowe"; + Text[ pt-BR ] = "Objetos de desenho"; + Text[ th ] = "วาดวัตถุ"; + Text[ ja ] = "図形描画オブジェクト"; + Text[ ko ] = "그리기 개체"; + Text[ zh-CN ] = "绘图对象"; + Text[ zh-TW ] = "繪圖物件"; + Text[ tr ] = "Çizim nesneleri"; + Text[ hi-IN ] = "रेखाचित्र वस्तु"; + Text[ ar ] = "كائنات رسومية"; + Text[ he ] = "Zeichenobjekte"; +}; +String STR_DRAWGROUP +{ + Text [ de ] = "Zeichenobjekte gruppieren" ; + Text [ en-US ] = "Group draw objects" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Agrupar objectos de desenho"; + Text[ ru ] = "Группировать графические объекты"; + Text[ el ] = "Ομαδοποίηση αντικειμένων σχεδίασης"; + Text[ nl ] = "Tekenobjecten groeperen"; + Text[ fr ] = "Grouper des objets de dessin"; + Text[ es ] = "Agrupar objetos de dibujo"; + Text[ fi ] = "Ryhmittele piirrosobjektit"; + Text[ ca ] = "Agrupa els objectes de dibuix"; + Text[ it ] = "Raggruppa oggetti di disegno"; + Text[ sk ] = "Zoskupiť kresby"; + Text[ da ] = "Grupper tegneobjekter"; + Text[ sv ] = "Gruppera ritobjekt"; + Text[ pl ] = "Grupuj obiekty rysunkowe"; + Text[ pt-BR ] = "Agrupar objetos de desenho"; + Text[ th ] = "จัดกลุ่มวัตถุวาดรูป"; + Text[ ja ] = "図形描画をグループ化する"; + Text[ ko ] = "그리기 개체 그룹"; + Text[ zh-CN ] = "分组绘图对象"; + Text[ zh-TW ] = "繪圖物件群組"; + Text[ tr ] = "Çizim nesnelerini grupla"; + Text[ hi-IN ] = "रेखाचित्र वस्तु समूह"; + Text[ ar ] = "تجميع كائنات رسومية"; + Text[ he ] = "Zeichenobjekte gruppieren"; +}; +String STR_DRAWUNGROUP +{ + Text [ de ] = "Gruppenobjekt auflösen" ; + Text [ en-US ] = "Ungroup drawing objects" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Desagrupar objectos"; + Text[ ru ] = "Разгруппировать графический объект"; + Text[ el ] = "Κατάργηση ομαδοποίησης αντικειμένων"; + Text[ nl ] = "Groepsobject opheffen"; + Text[ fr ] = "Dissocier les objets"; + Text[ es ] = "Resolver objeto de grupo"; + Text[ fi ] = "Pura piirrosobjektien ryhmitys"; + Text[ ca ] = "Desagrupa els objectes de dibuix"; + Text[ it ] = "Sciogli gruppo oggetti"; + Text[ sk ] = "Zrušiť zoskupenie kresieb"; + Text[ da ] = "Ophæv gruppeobjekter"; + Text[ sv ] = "Lös upp gruppobjekt"; + Text[ pl ] = "Rozgrupuj obiekty rysunkowe"; + Text[ pt-BR ] = "Desagrupar objetos de desenho"; + Text[ th ] = "ไม่จัดกลุ่มวัตถุวาดรูป"; + Text[ ja ] = "グループ化されたオブジュクトの解除"; + Text[ ko ] = "그리기 개체 그룹 해제"; + Text[ zh-CN ] = "取消分组对象"; + Text[ zh-TW ] = "取消群組物件"; + Text[ tr ] = "Nesne grubunu çöz"; + Text[ hi-IN ] = "रेखाचित्र वस्तु को अलगाना"; + Text[ ar ] = "فك تجميع الكائنات"; + Text[ he ] = "Gruppenobjekt auflösen"; +}; +String STR_DRAWDELETE +{ + Text [ de ] = "Zeichenobjekte löschen" ; + Text [ en-US ] = "Delete drawing objects" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Eliminar objectos de desenho"; + Text[ ru ] = "Удалить графические объекты"; + Text[ el ] = "Διαγραφή αντικειμένων σχεδίασης"; + Text[ nl ] = "Tekenobjecten wissen"; + Text[ fr ] = "Supprimer des objets de dessin"; + Text[ es ] = "Borrar objetos de dibujo"; + Text[ fi ] = "Poista piirrosobjektit"; + Text[ ca ] = "Suprimeix els objectes de dibuix"; + Text[ it ] = "Elimina oggetti di disegno"; + Text[ sk ] = "Zmazať kreslenie objektov"; + Text[ da ] = "Slet tegneobjekter"; + Text[ sv ] = "Radera ritobjekt"; + Text[ pl ] = "Usuń obiekty rysunkowe"; + Text[ pt-BR ] = "Excluir objetos de desenho"; + Text[ th ] = "ลบวัตถุวาดรูป"; + Text[ ja ] = "図形描画オブジェクトを解除"; + Text[ ko ] = "그리기 개체 삭제"; + Text[ zh-CN ] = "删除绘图对象"; + Text[ zh-TW ] = "刪除繪圖物件"; + Text[ tr ] = "Çizim nesnelerini sil"; + Text[ hi-IN ] = "रेखाचित्र वस्तुओं को मिटाओ"; + Text[ ar ] = "حذف كائنات رسومية"; + Text[ he ] = "Zeichenobjekte löschen"; +}; +String STR_REREAD +{ + Text [ de ] = "Grafik ersetzen" ; + Text [ en-US ] = "Replace graphics" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Substituir imagem"; + Text[ ru ] = "Заменить графику"; + Text[ el ] = "Αντικατάσταση γραφικών"; + Text[ nl ] = "Afbeelding vervangen"; + Text[ fr ] = "Remplacer l'image"; + Text[ es ] = "Reemplazar imagen"; + Text[ fi ] = "Korvaa grafiikka"; + Text[ ca ] = "Reemplaça la imatge"; + Text[ it ] = "Sostituisci l'immagine"; + Text[ sk ] = "Nahradiť obrázok"; + Text[ da ] = "Erstat grafik"; + Text[ sv ] = "Ersätt grafik"; + Text[ pl ] = "Zamień grafikę"; + Text[ pt-BR ] = "Substituir figura"; + Text[ th ] = "แทนที่กราฟิค"; + Text[ ja ] = "図の置換"; + Text[ ko ] = "그림 바꾸기"; + Text[ zh-CN ] = "替换图形"; + Text[ zh-TW ] = "代替圖形"; + Text[ tr ] = "Grafiği değiştirmek"; + Text[ hi-IN ] = "सुचित्र को प्रतिस्थापित करो"; + Text[ ar ] = "استبدال الرسومات"; + Text[ he ] = "Grafik ersetzen"; +}; +String STR_DELGRF +{ + Text [ de ] = "Grafik löschen" ; + Text [ en-US ] = "Delete graphics" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Eliminar imagem"; + Text[ ru ] = "Удалить графику"; + Text[ el ] = "Διαγραφή γραφικού"; + Text[ nl ] = "Afbeelding wissen"; + Text[ fr ] = "Supprimer l'image"; + Text[ es ] = "Borrar imagen"; + Text[ fi ] = "Poista grafiikka"; + Text[ ca ] = "Suprimeix la imatge"; + Text[ it ] = "Elimina immagine"; + Text[ sk ] = "Odstrániť obrázok"; + Text[ da ] = "Slet grafik"; + Text[ sv ] = "Radera grafik"; + Text[ pl ] = "Usuń grafikę"; + Text[ pt-BR ] = "Excluir gráfico"; + Text[ th ] = "ลบกราฟิค"; + Text[ ja ] = "図の削除"; + Text[ ko ] = "그림 삭제"; + Text[ zh-CN ] = "删除图形"; + Text[ zh-TW ] = "刪除圖形"; + Text[ tr ] = "Grafiği silme"; + Text[ hi-IN ] = "सुचित्र मिटाओ"; + Text[ ar ] = "حذف صورة"; + Text[ he ] = "Grafik löschen"; +}; +String STR_DELOLE +{ + Text [ de ] = "Objekt löschen" ; + Text [ en-US ] = "Delete object" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Eliminar objecto"; + Text[ ru ] = "Удалить объект"; + Text[ el ] = "Διαγραφή αντικειμένου"; + Text[ nl ] = "Object wissen"; + Text[ fr ] = "Supprimer l'objet"; + Text[ es ] = "Borrar objeto"; + Text[ fi ] = "Poista objekti"; + Text[ ca ] = "Suprimeix l'objecte"; + Text[ it ] = "Elimina oggetto"; + Text[ sk ] = "Odstrániť objekt"; + Text[ da ] = "Slet objekt"; + Text[ sv ] = "Radera objekt"; + Text[ pl ] = "Usuń obiekt"; + Text[ pt-BR ] = "Excluir objeto"; + Text[ th ] = "ลบวัตถุ"; + Text[ ja ] = "オブジェクトの削除"; + Text[ ko ] = "개체 삭제"; + Text[ zh-CN ] = "删除对象"; + Text[ zh-TW ] = "刪除物件"; + Text[ tr ] = "Nesneyi silme"; + Text[ hi-IN ] = "वस्तु मिटाओ"; + Text[ ar ] = "حذف كائن"; + Text[ he ] = "Objekt löschen"; +}; +String STR_TABLE_ATTR +{ + Text [ de ] = "Tabellenattribute anwenden" ; + Text [ en-US ] = "Apply table attributes" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Aplicar atributos da tabela"; + Text[ ru ] = "Применить атрибуты таблицы"; + Text[ el ] = "Εφαρμογή ιδιοτήτων πίνακα"; + Text[ nl ] = "Tabelattributen toepassen"; + Text[ fr ] = "Appliquer les attributs de tableau"; + Text[ es ] = "Aplicar atributos de la tabla"; + Text[ fi ] = "Käytä taulukkomääritteitä"; + Text[ ca ] = "Aplica els atributs de la taula"; + Text[ it ] = "Utilizza gli attributi della tabella"; + Text[ sk ] = "Použiť atribúty tabuľky"; + Text[ da ] = "Anvend tabelattributter"; + Text[ sv ] = "Använd tabellattribut"; + Text[ pl ] = "Zastosuj atrybuty tabeli"; + Text[ pt-BR ] = "Aplicar atributos da tabela"; + Text[ th ] = "ใช้คุณลักษณะตาราง"; + Text[ ja ] = "表の属性の適用"; + Text[ ko ] = "표의 속성 적용"; + Text[ zh-CN ] = "使用表格属性"; + Text[ zh-TW ] = "使用表格屬性"; + Text[ tr ] = "Tablo özniteliklerini kullan"; + Text[ hi-IN ] = "टेबल ऐट्रिब्यूट्स लगाओ"; + Text[ ar ] = "استخدام سمات الجدول"; + Text[ he ] = "Tabellenattribute anwenden"; +}; +String STR_TABLE_AUTOFMT +{ + Text [ de ] = "Autoformat Tabelle" ; + Text [ en-US ] = "AutoFormat Table" ; + Text [ x-comment ] = " "; + Text[ pt ] = "AutoFormato tabela"; + Text[ ru ] = "Автоформат таблицы"; + Text[ el ] = "Αυτόματη μορφοποίηση πίνακα"; + Text[ nl ] = "AutoOpmaak tabel"; + Text[ fr ] = "AutoFormat de tableau"; + Text[ es ] = "Formateado automático tabla"; + Text[ fi ] = "Automaattinen taulukon muotoilu"; + Text[ ca ] = "Taula de formatatge automàtic"; + Text[ it ] = "Formattazione automatica tabella"; + Text[ sk ] = "Automatický formát tabuľky"; + Text[ da ] = "AutoFormat tabel"; + Text[ sv ] = "Autoformat Tabell"; + Text[ pl ] = "Autoformatowanie tabeli"; + Text[ pt-BR ] = "AutoFormatar Tabela"; + Text[ th ] = "ตารางรูปแบบอัตโนมัติ"; + Text[ ja ] = "オートフォーマット 表"; + Text[ ko ] = "표 자동 서식"; + Text[ zh-CN ] = "自动格式 表格"; + Text[ zh-TW ] = "自動格式 表格"; + Text[ tr ] = "Otomatik formatlama Tablo"; + Text[ hi-IN ] = "सारणी का स्वचालित रचना"; + Text[ ar ] = "تنسيق تلقائي للجدول"; + Text[ he ] = "Autoformat Tabelle"; +}; +String STR_TABLE_INSCOL +{ + Text [ de ] = "Spalte einfügen" ; + Text [ en-US ] = "Insert Column" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir coluna"; + Text[ ru ] = "Вставить столбец"; + Text[ el ] = "Εισαγωγή στήλης"; + Text[ nl ] = "Kolom invoegen"; + Text[ fr ] = "Insérer une colonne"; + Text[ es ] = "Insertar columna"; + Text[ fi ] = "Lisää sarake"; + Text[ ca ] = "Insereix una columna"; + Text[ it ] = "Inserisci colonna"; + Text[ sk ] = "Vložiť stĺpec"; + Text[ da ] = "Indsæt kolonne"; + Text[ sv ] = "Infoga kolumn"; + Text[ pl ] = "Wstaw kolumnę"; + Text[ pt-BR ] = "Inserir Coluna"; + Text[ th ] = "แทรกคอลัมน์"; + Text[ ja ] = "列の挿入"; + Text[ ko ] = "열 삽입"; + Text[ zh-CN ] = "插入列"; + Text[ zh-TW ] = "插入欄"; + Text[ tr ] = "Sütunu ekle"; + Text[ hi-IN ] = "स्तंभ जोड़ो"; + Text[ ar ] = "إدراج عمود"; + Text[ he ] = "הכנסת טור"; +}; +String STR_TABLE_INSROW +{ + Text [ de ] = "Zeile einfügen" ; + Text [ en-US ] = "Insert Row" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir linha"; + Text[ ru ] = "Вставить строку"; + Text[ el ] = "Εισαγωγή γραμμής"; + Text[ nl ] = "Rij invoegen"; + Text[ fr ] = "Insérer une ligne"; + Text[ es ] = "Insertar fila"; + Text[ fi ] = "Lisää rivi"; + Text[ ca ] = "Insereix una fila"; + Text[ it ] = "Inserisci riga"; + Text[ sk ] = "Vložiť riadok"; + Text[ da ] = "Indsæt række"; + Text[ sv ] = "Infoga rad"; + Text[ pl ] = "Wstaw wiersz"; + Text[ pt-BR ] = "Inserir Linha"; + Text[ th ] = "แทรกแถว"; + Text[ ja ] = "行の挿入"; + Text[ ko ] = "행 삽입"; + Text[ zh-CN ] = "插入行"; + Text[ zh-TW ] = "插入行"; + Text[ tr ] = "Satır ekle"; + Text[ hi-IN ] = "पंक्ति जोड़ो"; + Text[ ar ] = "إدراج صف"; + Text[ he ] = "הכנסת שורה"; +}; +String STR_TABLE_DELBOX +{ + Text [ de ] = "Zeile/Spalte löschen" ; + Text [ en-US ] = "Delete row/column" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Eliminar linha/coluna"; + Text[ ru ] = "Удалить строку/столбец"; + Text[ el ] = "Διαγραφή γραμμής/στήλης"; + Text[ nl ] = "Rij/Kolom wissen"; + Text[ fr ] = "Supprimer la ligne/colonne"; + Text[ es ] = "Borrar fila/columna"; + Text[ fi ] = "Poista rivi/sarake"; + Text[ ca ] = "Suprimeix la fila/columna"; + Text[ it ] = "Elimina riga/colonna"; + Text[ sk ] = "Odstrániť riadok/stĺpec"; + Text[ da ] = "Slet række/kolonne"; + Text[ sv ] = "Radera rad/kolumn"; + Text[ pl ] = "Usuń wiersz/kolumnę"; + Text[ pt-BR ] = "Excluir linha / coluna"; + Text[ th ] = "ลบแถว/คอลัมน์"; + Text[ ja ] = "行/列の削除"; + Text[ ko ] = "행/열 삭제"; + Text[ zh-CN ] = "删除行/列"; + Text[ zh-TW ] = "刪除列/欄"; + Text[ tr ] = "Satırı/sütunu sil"; + Text[ hi-IN ] = "पंक्ति/स्तंभ को मिटाओ"; + Text[ ar ] = "حذف صف/عمود"; + Text[ he ] = "Zeile/Spalte löschen"; +}; +String STR_TABLE_SPLIT +{ + Text [ de ] = "Zellen teilen" ; + Text [ en-US ] = "Split Cells" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Dividir células"; + Text[ ru ] = "Разбить ячейки"; + Text[ el ] = "Διαίρεση κελιών"; + Text[ nl ] = "Cellen splitsen"; + Text[ fr ] = "Scinder les cellules"; + Text[ es ] = "Dividir celdas"; + Text[ fi ] = "Jaa solut"; + Text[ ca ] = "Divideix les cel.les"; + Text[ it ] = "Dividi celle"; + Text[ sk ] = "Rozdeliť bunky"; + Text[ da ] = "Opdel celler"; + Text[ sv ] = "Dela celler"; + Text[ pl ] = "Podziel komórki"; + Text[ pt-BR ] = "Dividir Células"; + Text[ th ] = "แยกเซลล์"; + Text[ ja ] = "セルの分割"; + Text[ ko ] = "셀 나누기"; + Text[ zh-CN ] = "分隔单元格"; + Text[ zh-TW ] = "分開儲存格"; + Text[ tr ] = "Hücreyi ayır"; + Text[ hi-IN ] = "कोष्ठों को अलगाना"; + Text[ ar ] = "تقسيم الخلايا"; + Text[ he ] = "פיצול תאים"; +}; +String STR_TABLE_MERGE +{ + Text [ de ] = "Zelle verbinden" ; + Text [ en-US ] = "Merge Cells" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Unir células"; + Text[ ru ] = "Объединить ячейки"; + Text[ el ] = "Συγχώνευση κελιών"; + Text[ nl ] = "Cel koppelen"; + Text[ fr ] = "Fusionner la cellule"; + Text[ es ] = "Unir celdas"; + Text[ fi ] = "Yhdistä solut"; + Text[ ca ] = "Fusiona les cel.les"; + Text[ it ] = "Collega celle"; + Text[ sk ] = "Zlúčiť bunky"; + Text[ da ] = "Flet celler"; + Text[ sv ] = "Sammanfoga celler"; + Text[ pl ] = "Scal komórki"; + Text[ pt-BR ] = "Mesclar Células"; + Text[ th ] = "ผสานเซลล์"; + Text[ ja ] = "セルの結合"; + Text[ ko ] = "셀 합치기"; + Text[ zh-CN ] = "合并单元格"; + Text[ zh-TW ] = "合併儲存格"; + Text[ tr ] = "Hücreleri birleştir"; + Text[ hi-IN ] = "कोष्ठों को मिलाओ"; + Text[ ar ] = "وصل الخلية"; + Text[ he ] = "מיזוג תאים"; +}; +String STR_TABLE_NUMFORMAT +{ + Text [ de ] = "Zelle formatieren" ; + Text [ en-US ] = "Format cell" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Formatar célula"; + Text[ ru ] = "Формат ячеек"; + Text[ el ] = "Μορφοποίηση κελιού"; + Text[ nl ] = "Cel opmaken"; + Text[ fr ] = "Formater la cellule"; + Text[ es ] = "Formatear celda"; + Text[ fi ] = "Muotoile solu"; + Text[ ca ] = "Formata la cel.la"; + Text[ it ] = "Formatta cella"; + Text[ sk ] = "Formátovať bunku"; + Text[ da ] = "Formater celler"; + Text[ sv ] = "Formatera cell"; + Text[ pl ] = "Formatuj komórkę"; + Text[ pt-BR ] = "Formatar célula"; + Text[ th ] = "จัดรูปแบบเซลล์"; + Text[ ja ] = "セルの書式設定"; + Text[ ko ] = "셀 서식 설정"; + Text[ zh-CN ] = "格式化单元格"; + Text[ zh-TW ] = "格式化儲存格"; + Text[ tr ] = "Hücreyi formatla"; + Text[ hi-IN ] = "कोष्ठ रचना"; + Text[ ar ] = "تنسيق الخلية"; + Text[ he ] = "Zelle formatieren"; +}; +String STR_INSERT_TOX +{ + Text [ de ] = "Einfügen Verzeichnis" ; + Text [ en-US ] = "Insert index" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir índice"; + Text[ ru ] = "Вставка указатель"; + Text[ el ] = "Εισαγωγή ευρετηρίου"; + Text[ nl ] = "Index invoegen"; + Text[ fr ] = "Insérer un index"; + Text[ es ] = "Insertar índice"; + Text[ fi ] = "Lisää hakemisto"; + Text[ ca ] = "Insereix l'índex"; + Text[ it ] = "Inserisci indice"; + Text[ sk ] = "Vložiť obsah"; + Text[ da ] = "Indsæt indeks"; + Text[ sv ] = "Infoga förteckning"; + Text[ pl ] = "Wstaw indeks"; + Text[ pt-BR ] = "Inserir índice"; + Text[ th ] = "แทรกดัชนี"; + Text[ ja ] = "目次と索引の挿入"; + Text[ ko ] = "색인 및 목차 삽입"; + Text[ zh-CN ] = "插入目录"; + Text[ zh-TW ] = "插入目錄"; + Text[ tr ] = "Dizin ekle"; + Text[ hi-IN ] = "अनुक्रमणिका जोड़ो"; + Text[ ar ] = "إدراج فهرس"; + Text[ he ] = "Insert index"; +}; +String STR_CLEAR_TOX_RANGE +{ + Text [ de ] = "Verzeichnis aufheben" ; + Text [ en-US ] = "Remove index" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Remover índice"; + Text[ ru ] = "Удалить указатель"; + Text[ el ] = "Κατάργηση ευρετηρίου"; + Text[ nl ] = "Index verwijderen"; + Text[ fr ] = "Supprimer l'index"; + Text[ es ] = "Borrar el directorio"; + Text[ fi ] = "Poista hakemisto"; + Text[ ca ] = "Elimina l'índex"; + Text[ it ] = "Rimuovi indice"; + Text[ sk ] = "Odstrániť index"; + Text[ da ] = "Ophæv indeks"; + Text[ sv ] = "Upphäv förteckning"; + Text[ pl ] = "Usuń indeks"; + Text[ pt-BR ] = "Remover índice"; + Text[ th ] = "เอาดัชนีออก"; + Text[ ja ] = "目次と索引の解除"; + Text[ ko ] = "색인 및 목차 제거"; + Text[ zh-CN ] = "取消目录"; + Text[ zh-TW ] = "取消目錄"; + Text[ tr ] = "Dizini kaldır"; + Text[ hi-IN ] = "अनुक्रमणिका हटाओ"; + Text[ ar ] = "إزالة الفهرس"; + Text[ he ] = "Remove index"; +}; +String STR_TABLE_TBLCPYTBL +{ + Text [ de ] = "Tabelle kopieren" ; + Text [ en-US ] = "Copy table" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Copiar tabela"; + Text[ ru ] = "Копировать таблицу"; + Text[ el ] = "Αντιγραφή πίνακα"; + Text[ nl ] = "Tabel kopiëren"; + Text[ fr ] = "Copier le tableau"; + Text[ es ] = "Copiar tabla"; + Text[ fi ] = "Kopioi taulukko"; + Text[ ca ] = "Copia la taula"; + Text[ it ] = "Copia tabella"; + Text[ sk ] = "Kopírovať tabuľku"; + Text[ da ] = "Kopier tabel"; + Text[ sv ] = "Kopiera tabell"; + Text[ pl ] = "Kopiuj tabelę"; + Text[ pt-BR ] = "Copiar tabela"; + Text[ th ] = "คัดลอกตาราง"; + Text[ ja ] = "表のコピー"; + Text[ ko ] = "표 복사"; + Text[ zh-CN ] = "复制表格"; + Text[ zh-TW ] = "複製表格"; + Text[ tr ] = "Tabloyu kopyala"; + Text[ hi-IN ] = "सारणी का प्रतिलिपि"; + Text[ ar ] = "نسخ الجدول"; + Text[ he ] = "Tabelle kopieren"; +}; +String STR_TABLE_CPYTBL +{ + Text [ de ] = "Tabelle kopieren" ; + Text [ en-US ] = "Copy table" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Copiar tabela"; + Text[ ru ] = "Копировать таблицу"; + Text[ el ] = "Αντιγραφή πίνακα"; + Text[ nl ] = "Tabel kopiëren"; + Text[ fr ] = "Copier le tableau"; + Text[ es ] = "Copiar tabla"; + Text[ fi ] = "Kopioi taulukko"; + Text[ ca ] = "Copia la taula"; + Text[ it ] = "Copia tabella"; + Text[ sk ] = "Kopírovať tabuľku"; + Text[ da ] = "Kopier tabel"; + Text[ sv ] = "Kopiera tabell"; + Text[ pl ] = "Kopiuj tabelę"; + Text[ pt-BR ] = "Copiar tabela"; + Text[ th ] = "คัดลอกตาราง"; + Text[ ja ] = "表のコピー"; + Text[ ko ] = "표 복사"; + Text[ zh-CN ] = "复制表格"; + Text[ zh-TW ] = "複製表格"; + Text[ tr ] = "Tabloyu kopyala"; + Text[ hi-IN ] = "सारणी का प्रतिलिपि"; + Text[ ar ] = "نسخ الجدول"; + Text[ he ] = "Tabelle kopieren"; +}; +String STR_INS_FROM_SHADOWCRSR +{ + Text [ de ] = "Cursor setzen" ; + Text [ en-US ] = "Set cursor" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Configurar cursor"; + Text[ ru ] = "Установить курсор"; + Text[ el ] = "Ορισμός δείκτη"; + Text[ nl ] = "Cursor configureren"; + Text[ fr ] = "Définir le curseur"; + Text[ es ] = "Poner cursor"; + Text[ fi ] = "Määritä kohdistin"; + Text[ ca ] = "Defineix el cursor"; + Text[ it ] = "Imposta cursore"; + Text[ sk ] = "Nastaviť kurzor"; + Text[ da ] = "Konfigurer markør"; + Text[ sv ] = "Sätt markör"; + Text[ pl ] = "Ustaw kursor"; + Text[ pt-BR ] = "Definir cursor"; + Text[ th ] = "กำหนดเคอร์เซอร์"; + Text[ ja ] = "カーソルの設定"; + Text[ ko ] = "커서 설정"; + Text[ zh-CN ] = "定位光标"; + Text[ zh-TW ] = "定位游標"; + Text[ tr ] = "İmleci ayarla"; + Text[ hi-IN ] = "कर्सर सेट्ट करो"; + Text[ ar ] = "تعيين المؤشر"; + Text[ he ] = "Cursor setzen"; +}; +String STR_UNDO_CHAIN +{ + Text [ de ] = "Textrahmen verbinden" ; + Text [ en-US ] = "Link text frames" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Ligar molduras de texto"; + Text[ ru ] = "Объединить текстовые рамки"; + Text[ el ] = "Σύνδεση πλαισίου κειμένου"; + Text[ nl ] = "Tekstkader verbinden"; + Text[ fr ] = "Enchaîner les cadres texte"; + Text[ es ] = "Conectar marcos de texto"; + Text[ fi ] = "Linkitä tekstikehykset"; + Text[ ca ] = "Enllaça els marcs de text"; + Text[ it ] = "Collega la cornice di testo."; + Text[ sk ] = "Prepojiť textové rámce"; + Text[ da ] = "Kæd tekstbokse"; + Text[ sv ] = "Länka textram"; + Text[ pl ] = "Połącz ramki tekstowe"; + Text[ pt-BR ] = "Vincular molduras de texto"; + Text[ th ] = "เชื่อมโยงกรอบข้อความ"; + Text[ ja ] = "テキスト枠の連結"; + Text[ ko ] = "텍스트 프레임 연결"; + Text[ zh-CN ] = "链接文本框"; + Text[ zh-TW ] = "連結文字方塊"; + Text[ tr ] = "Metin kutularını bağla"; + Text[ hi-IN ] = "टेक्स्ट् फ्रेम को लिंक करो"; + Text[ ar ] = "ترابط كوادر النص"; + Text[ he ] = "Textrahmen verbinden"; +}; +String STR_UNDO_UNCHAIN +{ + Text [ de ] = "Textrahmenverbindung lösen" ; + Text [ en-US ] = "Unlink text frames" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Desligar molduras de texto"; + Text[ ru ] = "Разъединить текстовую рамку"; + Text[ el ] = "Αποσύνδεση πλαίσια κειμένου"; + Text[ nl ] = "Tekstkaderverbinding verwijderen"; + Text[ fr ] = "Détacher les cadres texte"; + Text[ es ] = "Deshacer el vínculo de los marcos de texto."; + Text[ fi ] = "Poista tekstikehysten linkki"; + Text[ ca ] = "Desenllaça els marcs de text."; + Text[ it ] = "Staccare il collegamento della cornice di testo"; + Text[ sk ] = "Rozpojiť textové rámce"; + Text[ da ] = "Ophæv tekstbokskædning"; + Text[ sv ] = "Lös upp länkning av textramar"; + Text[ pl ] = "Rozłącz ramki tekstowe"; + Text[ pt-BR ] = "Desvincular molduras de texto"; + Text[ th ] = "ไม่เชื่อมโยงกรอบข้อความ"; + Text[ ja ] = "テキスト枠の連結解除"; + Text[ ko ] = "텍스트 프레임 연결 삭제"; + Text[ zh-CN ] = "取消文本框的链接"; + Text[ zh-TW ] = "取消文字方塊的連結"; + Text[ tr ] = "Metin kutusu bağlantılarını çöz"; + Text[ hi-IN ] = "टेक्स्ट् फ्रेमों का लिंक हटाओ"; + Text[ ar ] = "فك ترابط كوادر النص"; + Text[ he ] = "Textrahmenverbindung lösen"; +}; +String STR_UNDO_FTNINFO +{ + Text [ de ] = "Fußnoteneinstellungen ändern" ; + Text [ en-US ] = "Modify footnote options" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Modificar configuração de notas finais"; + Text[ ru ] = "Изменить настройки сносок"; + Text[ el ] = "Τροποποίηση επιλογών υποσημειώσεων"; + Text[ nl ] = "Voetnoteninstellingen wijzigen"; + Text[ fr ] = "Modifier les paramètres des notes de bas de page"; + Text[ es ] = "Modificar opciones de nota al pie"; + Text[ fi ] = "Muokkaa alaviiteasetuksia"; + Text[ ca ] = "Modifica les opcions de notes al peu"; + Text[ it ] = "Modifica impostazioni note a piè pagina"; + Text[ sk ] = "Upraviť nastavenia poznámok pod čiarou"; + Text[ da ] = "Modificer fodnoteindstillinger"; + Text[ sv ] = "Ändra fotnotsinställningar"; + Text[ pl ] = "Modyfikuj ustawienia przypisów dolnych"; + Text[ pt-BR ] = "Modificar opções de nota de rodapé"; + Text[ th ] = "ดัดแปลงแก้ไขตัวเลือกเชิงอรรถ"; + Text[ ja ] = "脚注の設定変更"; + Text[ ko ] = "각주 설정 수정"; + Text[ zh-CN ] = "更改注脚设定"; + Text[ zh-TW ] = "變更註腳設定"; + Text[ tr ] = "Dipnot ayarlarını değiştir"; + Text[ hi-IN ] = "पृष्ठ के नीचे की टीका के विकल्पों को सुधारो"; + Text[ ar ] = "تعديل خيارات الحاشية السفلية"; + Text[ he ] = "Fußnoteneinstellungen ändern"; +}; +String STR_UNDO_ENDNOTEINFO +{ + Text [ de ] = "Endnoteneinstellungen ändern" ; + Text [ en-US ] = "Modify endnote settings" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Modificar configuração de notas finais"; + Text[ ru ] = "Изменить установки концевых сносок"; + Text[ el ] = "Τροποποίηση επιλογών σημειώσεων τέλους"; + Text[ nl ] = "Eindnootinstellingen wijzigen"; + Text[ fr ] = "Modifier les paramètres des notes de fin"; + Text[ es ] = "Modificar la configuración de las notas finales"; + Text[ fi ] = "Muokkaa loppuviiteasetuksia"; + Text[ ca ] = "Modifica la configuració de notes finals"; + Text[ it ] = "Modifica impostazione note di chiusura"; + Text[ sk ] = "Upraviť nastavenie vysvetliviek"; + Text[ da ] = "Modificer slutnoteindstillinger"; + Text[ sv ] = "Ändra slutnotsinställningar"; + Text[ pl ] = "Modyfikuj ustawienia przypisów końcowych"; + Text[ pt-BR ] = "Modificar configurações de nota de fim"; + Text[ th ] = "ดัดแปลงแก้ไขการกำหนดการอ้างอิงท้ายเรื่อง"; + Text[ ja ] = "文末脚注の設定変更"; + Text[ ko ] = "미주 설정 수정"; + Text[ zh-CN ] = "更改尾注设定"; + Text[ zh-TW ] = "變更尾註設定"; + Text[ tr ] = "Sonnot ayarlarını değiştir"; + Text[ hi-IN ] = "अंतिम टीका निर्धारण को सुधारो"; + Text[ ar ] = "تعديل إعدادات التعليقات الختامية"; + Text[ he ] = "Endnoteneinstellungen ändern"; +}; +String STR_UNDO_COMPAREDOC +{ + Text [ de ] = "Dokument vergleich" ; + Text [ en-US ] = "Compare Document" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Comparar documento"; + Text[ ru ] = "Сравнить версии документа"; + Text[ el ] = "Σύγκριση εγγράφου"; + Text[ nl ] = "Documentvergelijking"; + Text[ fr ] = "Comparaison de documents"; + Text[ es ] = "Comparar documento"; + Text[ fi ] = "Vertaa asiakirjaa"; + Text[ ca ] = "Compara el document"; + Text[ it ] = "Confronto documento"; + Text[ sk ] = "Porovnať dokument"; + Text[ da ] = "Sammenlign dokument"; + Text[ sv ] = "Jämförelse av dokument"; + Text[ pl ] = "Porównaj dokumenty"; + Text[ pt-BR ] = "Comparar Documento"; + Text[ th ] = "เปรียบเทียบเอกสาร"; + Text[ ja ] = "ドキュメントの比較"; + Text[ ko ] = "문서 비교"; + Text[ zh-CN ] = "比较文档"; + Text[ zh-TW ] = "比較文件"; + Text[ tr ] = "Belgeyi karşılaştır"; + Text[ hi-IN ] = "लेखपत्र को तुलना करो"; + Text[ ar ] = "مقارنة المستند"; + Text[ he ] = "השווה מסמכים"; +}; +String STR_UNDO_SETFLYFRMFMT +{ + Text [ de ] = "Rahmenvorlage anwenden" ; + Text [ en-US ] = "Apply frame style" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Aplicar estilo de moldura"; + Text[ ru ] = "Применить стиль рамок"; + Text[ el ] = "Εφαρμογή στυλ πλαισίου"; + Text[ nl ] = "Kaderopmaakprofiel toepassen"; + Text[ fr ] = "Utiliser un style de cadre"; + Text[ es ] = "Aplicar estilo de marco"; + Text[ fi ] = "Käytä kehystyyliä"; + Text[ ca ] = "Aplica l'estil del marc"; + Text[ it ] = "Applica modello di cornice"; + Text[ sk ] = "Použiť štýl ohraničenia"; + Text[ da ] = "Anvend rammetypografi"; + Text[ sv ] = "Använd ramformatmall"; + Text[ pl ] = "Zastosuj styl ramki"; + Text[ pt-BR ] = "Aplicar estilo de moldura"; + Text[ th ] = "ใช้ลักษณะกรอบ"; + Text[ ja ] = "枠スタイルの適用"; + Text[ ko ] = "프레임 스타일 적용"; + Text[ zh-CN ] = "使用框样式"; + Text[ zh-TW ] = "使用方塊樣式"; + Text[ tr ] = "Çerçeve biçimi uygula"; + Text[ hi-IN ] = "फ्रेम शैली लागू करो"; + Text[ ar ] = "استخدام نمط كادر"; + Text[ he ] = "Rahmenvorlage anwenden"; +}; +String STR_UNDO_SETRUBYATTR +{ + Text [ de ] = "Phonetische Symbole setzen" ; + Text [ en-US ] = "Ruby Setting"; + Text[ pt ] = "Atributo Ruby"; + Text[ ru ] = "Настройки транскрипции"; + Text[ el ] = "Ορισμός φωνητικών συμβόλων"; + Text[ nl ] = "Fonetische symbolen invoegen"; + Text[ fr ] = "Attribut Ruby"; + Text[ es ] = "Aplicar símbolos fonéticos"; + Text[ fi ] = "Ruby-tekstin asetukset"; + Text[ ca ] = "Aplica els símbols fonètics"; + Text[ it ] = "Applica testo Ruby"; + Text[ sk ] = "Nastavenie Ruby"; + Text[ da ] = "Sæt fonetiske symboler"; + Text[ sv ] = "Sätt fonetiska symboler"; + Text[ pl ] = "Ustawienia dopisków fonetycznych"; + Text[ pt-BR ] = "Configuração Ruby"; + Text[ th ] = "กำหนดตัวพิมพ์ขนาดเล็ก"; + Text[ ja ] = "ルビ設定"; + Text[ ko ] = "덧말 넣기 설정"; + Text[ zh-CN ] = "加上拼音或注音符号"; + Text[ zh-TW ] = "加上注音標示"; + Text[ tr ] = "Tellafuz yardımci kutunun özelliklerini ayarla"; + Text[ hi-IN ] = "रूबी निर्धारण"; + Text[ ar ] = "تعيين رموز صوتية"; + Text[ he ] = "Phonetische Symbole setzen"; +}; +#102505# +String STR_UNDO_TMPAUTOCORR +{ + Text [ de ] = "AutoKorrektur" ; + Text [ en-US ] = "AutoCorrect" ; + Text [ x-comment ] = " "; + Text[ pt ] = "AutoCorrecção"; + Text[ ru ] = "Автозамена"; + Text[ el ] = "ΑυτοΔιόρθωση"; + Text[ nl ] = "AutoCorrectie"; + Text[ fr ] = "AutoCorrection"; + Text[ es ] = "Corrección automática"; + Text[ fi ] = "Automaattinen korjaus"; + Text[ ca ] = "Correcció automàtica"; + Text[ it ] = "Correzione automatica"; + Text[ sk ] = "Automatické opravy"; + Text[ da ] = "AutoKorrektur"; + Text[ sv ] = "AutoKorrigering"; + Text[ pl ] = "Autokorekta"; + Text[ pt-BR ] = "AutoCorreção"; + Text[ th ] = "แก้ไขให้ถูกต้องอัตโนมัติ"; + Text[ ja ] = "オートコレクト"; + Text[ ko ] = "자동 수정"; + Text[ zh-CN ] = "自动更正"; + Text[ zh-TW ] = "自動校正"; + Text[ tr ] = "OtomatikDüzeltme"; + Text[ hi-IN ] = "स्वचालित ढंग से ठीक करो"; + Text[ ar ] = "تصحيح تلقائي"; + Text[ he ] = "תיקון אוטומטי"; +}; +String STR_INSERT_FOOTNOTE +{ + Text [ de ] = "Fußnote einfügen" ; + Text [ en-US ] = "Insert footnote" ; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir nota de rodapé"; + Text[ ru ] = "Вставить сноску"; + Text[ el ] = "Εισαγωγή υποσημείωσης"; + Text[ nl ] = "Voetnoot invoegen"; + Text[ fr ] = "Insérer une note de bas de page"; + Text[ es ] = "Insertar nota al pie"; + Text[ fi ] = "Lisää alaviite"; + Text[ ca ] = "Insereix una nota al peu"; + Text[ it ] = "Inserisci nota a piè pagina"; + Text[ sk ] = "Vložiť poznámku pod čiarou"; + Text[ da ] = "Indsæt fodnote"; + Text[ sv ] = "Infoga fotnot"; + Text[ pl ] = "Wstaw przypis dolny"; + Text[ pt-BR ] = "Inserir nota de rodapé"; + Text[ th ] = "แทรกเชิงอรรถ"; + Text[ ja ] = "脚注の挿入"; + Text[ ko ] = "각주 삽입"; + Text[ zh-CN ] = "插入注脚"; + Text[ zh-TW ] = "插入註腳"; + Text[ tr ] = "Dipnot ekle"; + Text[ hi-IN ] = "पृष्ठ के नीचे की टीका जोड़ो"; + Text[ ar ] = "إدراج حاشية سفلية"; + Text[ he ] = "Fußnote einfügen"; +}; +String STR_INSERT_URLBTN +{ + Text [ de ] = "URL Button einfügen" ; + Text [ en-US ] = "insert URL button"; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir botão URL"; + Text[ ru ] = "Вставить кнопку URL"; + Text[ el ] = "Εισαγωγή πεδίου επιλογής URL"; + Text[ nl ] = "URL-knop invoegen"; + Text[ fr ] = "Insérer un bouton d'URL"; + Text[ es ] = "Insertar botón URL"; + Text[ fi ] = "Lisää URL-painike"; + Text[ ca ] = "Insereix un botó URL"; + Text[ it ] = "Inserisci pulsante URL"; + Text[ sk ] = "Vložiť URL tlačítko"; + Text[ da ] = "Indsæt URL-knap"; + Text[ sv ] = "Infoga URL-knapp"; + Text[ pl ] = "Wstaw przycisk URL"; + Text[ pt-BR ] = "Inserir botão URL"; + Text[ th ] = "แทรกปุ่ม URL "; + Text[ ja ] = "URLボタンの挿入"; + Text[ ko ] = "URL 버튼 삽입"; + Text[ zh-CN ] = "插入 URL 按钮"; + Text[ zh-TW ] = "插入 URL 按鈕"; + Text[ tr ] = "URL düğmesi ekle"; + Text[ hi-IN ] = "URL बटन जोड़ो"; + Text[ ar ] = "إدراج مفتاح URL"; + Text[ he ] = "URL Button einfügen"; +}; +String STR_INSERT_URLTXT +{ + Text [ de ] = "Hyperlink einfügen" ; + Text [ en-US ] = "Insert Hyperlink"; + Text [ x-comment ] = " "; + Text[ pt ] = "Inserir hiperligação"; + Text[ ru ] = "Вставить гиперссылку"; + Text[ el ] = "Εισαγωγή υπερ-σύνδεσης"; + Text[ nl ] = "Hyperlink invoegen"; + Text[ fr ] = "Insérer un hyperlien"; + Text[ es ] = "Insertar hiperenlace"; + Text[ fi ] = "Lisää hyperlinkki"; + Text[ ca ] = "Insereix un hiperenllaç"; + Text[ it ] = "Inserisci hyperlink"; + Text[ sk ] = "Vložiť hypertextový odkaz"; + Text[ da ] = "Indsæt hyperlink"; + Text[ sv ] = "Infoga hyperlänk"; + Text[ pl ] = "Wstaw hiperłącze"; + Text[ pt-BR ] = "Inserir Hiperlink"; + Text[ th ] = "แทรกการเชื่อมโยงหลายมิติ"; + Text[ ja ] = "ハイパーリンクの挿入"; + Text[ ko ] = "하이퍼링크 삽입"; + Text[ zh-CN ] = "插入超链接"; + Text[ zh-TW ] = "插入超連結"; + Text[ tr ] = "Hiperlink ekle"; + Text[ hi-IN ] = "हाइपरलिंक जोड़ो"; + Text[ ar ] = "إدراج ارتباط تشعبي"; + Text[ he ] = "Hyperlink הוספת"; +}; +String STR_DELETE_INVISIBLECNTNT +{ + Text [ de ] = "unischtbaren Inhalt enfernen" ; + Text [ en-US ] = "remove invisible content"; + Text [ x-comment ] = " "; + Text[ pt ] = "eliminar conteúdo invisível"; + Text[ ru ] = "удалить невидимое содержимое"; + Text[ el ] = "κατάργηση μη ορατών περιεχομένων"; + Text[ nl ] = "Onzichtbare inhoud verwijderen"; + Text[ fr ] = "supprimer le contenu invisible"; + Text[ es ] = "borrar el contenido invisible"; + Text[ fi ] = "poista näkymätön sisältö"; + Text[ ca ] = "elimina el contingut invisible"; + Text[ it ] = "Rimuovi contenuto nascosto"; + Text[ sk ] = "odstrániť skrytý obsah"; + Text[ da ] = "fjern usynlige indhold"; + Text[ sv ] = "ta bort osynligt innehåll"; + Text[ pl ] = "usuń niewidoczną zawartość"; + Text[ pt-BR ] = "remover conteúdo invisível"; + Text[ th ] = "เอาเนื้อหาที่มองไม่เห็นออก"; + Text[ ja ] = "表示できない内容を削除する"; + Text[ ko ] = "숨긴 내용 제거"; + Text[ zh-CN ] = "删除隐入的内容"; + Text[ zh-TW ] = "清除隱入的內容"; + Text[ tr ] = "Görünmez içeriği kaldır"; + Text[ hi-IN ] = "अलक सन्तोष हटाओ"; + Text[ ar ] = "إزالة المحتويات الغير مرئية"; + Text[ he ] = "unischtbaren Inhalt enfernen"; +}; + +String STR_DDEERROR_APP1 +{ + Text [ de ] = "Die Applikation [" ; + Text [ en-US ] = "Application [" ; + Text[ pt ] = "A aplicação ["; + Text[ ru ] = "Приложению ["; + Text[ el ] = "Η εφαρμογή ["; + Text[ nl ] = "Toepassing ["; + Text[ fr ] = "L'application ["; + Text[ es ] = "La aplicación ["; + Text[ fi ] = "Sovellus ["; + Text[ ca ] = "L'aplicació ["; + Text[ it ] = "L'applicazione ["; + Text[ sk ] = "Aplikácia ["; + Text[ da ] = "Applikationen ["; + Text[ sv ] = "Programmet ["; + Text[ pl ] = "Aplikacja ["; + Text[ pt-BR ] = "A aplicação ["; + Text[ th ] = "โปรแกรมประยุกต์ ["; + Text[ ja ] = "アプリケーション ["; + Text[ ko ] = "응용 프로그램 ["; + Text[ zh-CN ] = "应用程序 ["; + Text[ zh-TW ] = "程式 ["; + Text[ tr ] = "Uygulama ["; + Text[ hi-IN ] = "कार्यक्रम ["; + Text[ ar ] = "التطبيق ]"; + Text[ he ] = "פעולה ["; +}; +String STR_DDEERROR_APP2 +{ + Text [ de ] = "] kann nicht angesprochen werden" ; + Text [ en-US ] = "] is not responding." ; + Text [ x-comment ] = " "; + Text[ pt ] = "] não responde."; + Text[ ru ] = "] не отвечает"; + Text[ el ] = "] δεν ανταποκρίνεται."; + Text[ nl ] = "] reageert niet"; + Text[ fr ] = "] ne répond pas"; + Text[ es ] = "] no responde"; + Text[ fi ] = "] ei vastaa."; + Text[ ca ] = "] no respon"; + Text[ it ] = "] non risponde"; + Text[ sk ] = "] neodpovedá."; + Text[ da ] = "] svarer ikke"; + Text[ sv ] = "] svarar inte"; + Text[ pl ] = "] nie reaguje."; + Text[ pt-BR ] = "] não está respondendo"; + Text[ th ] = "] ไม่ตอบสนอง"; + Text[ ja ] = "] からの応答がありません"; + Text[ ko ] = "] 으로부터 응답이 없습니다."; + Text[ zh-CN ] = "] 没有回应。"; + Text[ zh-TW ] = "] 沒有回應。"; + Text[ tr ] = "] cevap vermiyor"; + Text[ hi-IN ] = "] उत्तर नहीं दे रहा है ।"; + Text[ ar ] = "[ لا يستجيب"; + Text[ he ] = "] kann nicht angesprochen werden"; +}; +String STR_DDEERROR_DATA1 +{ + Text [ de ] = "Die Daten zu [" ; + Text [ en-US ] = "Data for [" ; + Text[ pt ] = "Os dados para ["; + Text[ ru ] = "Данные для ["; + Text[ el ] = "Τα δεδομένα για ["; + Text[ nl ] = "Gegevens voor ["; + Text[ fr ] = "Les données pour ["; + Text[ es ] = "Los datos para ["; + Text[ fi ] = "Tietoja ["; + Text[ ca ] = "Les dades per a ["; + Text[ it ] = "Dati per ["; + Text[ sk ] = "Dáta pre ["; + Text[ da ] = "Dataene til ["; + Text[ sv ] = "Data till ["; + Text[ pl ] = "Danych dla ["; + Text[ pt-BR ] = "Os dados para ["; + Text[ th ] = "ข้อมูลสำหรับ ["; + Text[ ja ] = "["; + Text[ ko ] = "["; + Text[ zh-CN ] = "用于 ["; + Text[ zh-TW ] = "用於["; + Text[ tr ] = "["; + Text[ hi-IN ] = "केलिए ड़ॉटा ["; + Text[ ar ] = "بيانات ] "; + Text[ he ] = "Die Daten zu ["; +}; +String STR_DDEERROR_DATA2 +{ + Text [ de ] = "] können nicht ermittelt werden" ; + Text [ en-US ] = "] cannot be obtained" ; + Text [ x-comment ] = " "; + Text[ pt ] = "] não podem ser determinados."; + Text[ ru ] = "] получить невозможно"; + Text[ el ] = "] δεν είναι δυνατόν να εξακριβωθούν."; + Text[ nl ] = "] onmogelijk"; + Text[ fr ] = "] ne peuvent pas être obtenues"; + Text[ es ] = "] no pueden ser determinados"; + Text[ fi ] = "] eivät ole saatavilla"; + Text[ ca ] = "] no es poden obtenir"; + Text[ it ] = "]"; + Text[ sk ] = "] nemožno získať"; + Text[ da ] = "] kan ikke bestemmes"; + Text[ sv ] = "] kan inte bestämmas"; + Text[ pl ] = "] nie może być uzyskany"; + Text[ pt-BR ] = "] não podem ser obtidos"; + Text[ th ] = "] ไม่สามารถได้รับ"; + Text[ ja ] = "] のデータは確認できません"; + Text[ ko ] = "] 의 데이터를 확인할 수 없습니다"; + Text[ zh-CN ] = "] 的数据无法被读取。"; + Text[ zh-TW ] = "] 的資料無法被讀取。"; + Text[ tr ] = "] ile ilgili veriler alınamıyor"; + Text[ hi-IN ] = "] नहीं मिल सकता है"; + Text[ ar ] = "[ غير متوفرة"; + Text[ he ] = "] können nicht ermittelt werden"; +}; +String STR_DDEERROR_LINK1 +{ + Text [ de ] = "Die Verknüpfung zu [" ; + Text [ en-US ] = "Link to [" ; + Text[ pt ] = "A ligação a ["; + Text[ ru ] = "Ссылку на ["; + Text[ el ] = "Η σύνδεση με ["; + Text[ nl ] = "Koppeling naar ["; + Text[ fr ] = "Le lien à ["; + Text[ es ] = "El vínculo con ["; + Text[ fi ] = "Linkki ["; + Text[ ca ] = "L'enllaç amb ["; + Text[ it ] = "Collegamento con ["; + Text[ sk ] = "Odkaz na ["; + Text[ da ] = "Kæden til ["; + Text[ sv ] = "Länk till ["; + Text[ pl ] = "Łącza do ["; + Text[ pt-BR ] = "O vinculo para ["; + Text[ th ] = "เชื่อมโยงไปยัง ["; + Text[ ja ] = "["; + Text[ ko ] = "["; + Text[ zh-CN ] = "无法建立与 ["; + Text[ zh-TW ] = "連結 ["; + Text[ tr ] = "["; + Text[ hi-IN ] = "Link to ["; + Text[ ar ] = "الارتباط إلى ]"; + Text[ he ] = "Die Verknüpfung zu ["; +}; +String STR_DDEERROR_LINK2 +{ + Text [ de ] = "] kann nicht eingerichtet werden" ; + Text [ en-US ] = "] cannot be established" ; + Text [ x-comment ] = " "; + Text[ pt ] = "] não pode ser estabelecido."; + Text[ ru ] = "] установить невозможно"; + Text[ el ] = "] δεν είναι δυνατόν να πραγματοποιηθεί."; + Text[ nl ] = "] onmogelijk"; + Text[ fr ] = "] ne peut pas être établi"; + Text[ es ] = "] no se puede establecer"; + Text[ fi ] = "] ei ole muodostettavissa"; + Text[ ca ] = "] no es pot establir"; + Text[ it ] = "]"; + Text[ sk ] = "] nemožno vykonať"; + Text[ da ] = "] kan ikke oprettes"; + Text[ sv ] = "] kan inte etableras"; + Text[ pl ] = "] nie może być ustanowiony"; + Text[ pt-BR ] = "] não pode ser estabelecido"; + Text[ th ] = "] ไม่สามารถถูกสร้างได้"; + Text[ ja ] = "] へのリンクはつくれません"; + Text[ ko ] = "] 로의 링크는 만들 수 없습니다"; + Text[ zh-CN ] = "]的链接"; + Text[ zh-TW ] = "] 無法建立。"; + Text[ tr ] = "] ile ilgili bağlantı oluşturulamıyor"; + Text[ hi-IN ] = "] स्थापित नहीं कर सकते है"; + Text[ ar ] = "[ غير قابل للإعداد"; + Text[ he ] = "] kann nicht eingerichtet werden"; +}; diff --git a/binfilter/bf_sw/source/ui/wrtsh/sw_wrtsh1.cxx b/binfilter/bf_sw/source/ui/wrtsh/sw_wrtsh1.cxx new file mode 100644 index 000000000000..fed767f5714f --- /dev/null +++ b/binfilter/bf_sw/source/ui/wrtsh/sw_wrtsh1.cxx @@ -0,0 +1,74 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <hintids.hxx> + +#include <bf_svx/svdview.hxx> +#include <bf_so3/ipenv.hxx> + +#include <wdocsh.hxx> + +#include <horiornt.hxx> + +#include <wrtsh.hxx> +#include <cmdid.h> +#include <pagedesc.hxx> +#include <viscrs.hxx> +#include <swdtflvr.hxx> +#include <swerror.h> +#include <wrtsh.hrc> +namespace binfilter { + +/*N*/ void SwWrtShell::CalcAndSetScale( SvEmbeddedObjectRef xObj, +/*N*/ const SwRect *pFlyPrtRect, +/*N*/ const SwRect *pFlyFrmRect ) +/*N*/ { + DBG_ERROR("Split!"); +/*N*/ } + + void SwWrtShell::ConnectObj( SvInPlaceObjectRef, const SwRect &, const SwRect & ) + { + } + + SwWrtShell::~SwWrtShell() + { + SET_CURR_SHELL( this ); + while(IsModePushed()) + { + DBG_BF_ASSERT(0, "STRIP"); + }; + while(PopCrsr(FALSE)); + } +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/wrtsh/sw_wrtsh3.cxx b/binfilter/bf_sw/source/ui/wrtsh/sw_wrtsh3.cxx new file mode 100644 index 000000000000..ab57866d569e --- /dev/null +++ b/binfilter/bf_sw/source/ui/wrtsh/sw_wrtsh3.cxx @@ -0,0 +1,76 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + + +#ifdef _MSC_VER +#pragma hdrstop +#endif + +#include <bf_svx/svxids.hrc> + + +#include <horiornt.hxx> + +#include "wrtsh.hxx" +#include "wrtsh.hrc" + +namespace binfilter { + +#define C2U(cChar) ::rtl::OUString::createFromAscii(cChar) + +using namespace ::com::sun::star; +using namespace ::rtl; + +extern sal_Bool bNoInterrupt; // in mainwn.cxx + + + +/*-------------------------------------------------------------------- + Beschreibung: FontWork-Slots invalidieren + --------------------------------------------------------------------*/ + + +/*N*/ void SwWrtShell::DrawSelChanged(SdrView* pView) +/*N*/ { +//STRIP001 static sal_uInt16 __READONLY_DATA aInval[] = +//STRIP001 /*N*/ { +//STRIP001 /*N*/ SID_ATTR_FILL_STYLE, SID_ATTR_FILL_COLOR, SID_ATTR_LINE_STYLE, +//STRIP001 /*N*/ SID_ATTR_LINE_WIDTH, SID_ATTR_LINE_COLOR, 0 +//STRIP001 /*N*/ }; +//STRIP001 /*N*/ +//STRIP001 /*N*/ GetView().GetViewFrame()->GetBindings().Invalidate(aInval); +//STRIP001 /*N*/ +//STRIP001 /*N*/ sal_Bool bOldVal = bNoInterrupt; +//STRIP001 /*N*/ /*N*/ bNoInterrupt = sal_True; // Trick, um AttrChangedNotify ueber Timer auszufuehren +//STRIP001 /*N*/ /*N*/ GetView().AttrChangedNotify(this); +//STRIP001 /*N*/ /*N*/ bNoInterrupt = bOldVal; +/*N*/ } + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_sw/source/ui/wrtsh/wrtsh.hrc b/binfilter/bf_sw/source/ui/wrtsh/wrtsh.hrc new file mode 100644 index 000000000000..30a2968e1c7f --- /dev/null +++ b/binfilter/bf_sw/source/ui/wrtsh/wrtsh.hrc @@ -0,0 +1,173 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _WRTSH_HRC +#define _WRTSH_HRC + +#include "rcid.hrc" + +#define DLG_GOTO (RC_WRTSH_BEGIN + 1) + + +#define STR_DDEERROR_APP1 (RC_WRTSH_BEGIN + 2) +#define STR_DDEERROR_APP2 (RC_WRTSH_BEGIN + 3) +#define STR_DDEERROR_DATA1 (RC_WRTSH_BEGIN + 4) +#define STR_DDEERROR_DATA2 (RC_WRTSH_BEGIN + 5) +#define STR_DDEERROR_LINK1 (RC_WRTSH_BEGIN + 6) +#define STR_DDEERROR_LINK2 (RC_WRTSH_BEGIN + 7) + + +// Undo +#define UNDO_BASE (RC_WRTSH_BEGIN + 8) +#define STR_CANT_UNDO (UNDO_BASE + 0) + +// im enun folgen hier START & END fuer die Klammerungen, + +// Id's fuer die Undo/Redo/Repeat faehigen "Funktionen" +#define STR_DELETE_UNDO (UNDO_BASE + 3) +#define STR_INSERT_UNDO (UNDO_BASE + 4) +#define STR_OVR_UNDO (UNDO_BASE + 5) +#define STR_SPLITNODE_UNDO (UNDO_BASE + 6) +#define STR_INSATTR_UNDO (UNDO_BASE + 7) +#define STR_SETFMTCOLL_UNDO (UNDO_BASE + 8) +#define STR_RESET_ATTR_UNDO (UNDO_BASE + 9) +#define STR_APPLY_ATTR_UNDO (UNDO_BASE +10) +#define STR_INSERT_DOC_UNDO (UNDO_BASE +11) +#define STR_COPY_UNDO (UNDO_BASE +12) +#define STR_INSTABLE_UNDO (UNDO_BASE +13) +#define STR_TABLETOTEXT_UNDO (UNDO_BASE +14) +#define STR_TEXTTOTABLE_UNDO (UNDO_BASE +15) +#define STR_SORT_TXT (UNDO_BASE +16) +#define STR_INSERTFLY (UNDO_BASE +17) +#define STR_TABLEHEADLINE (UNDO_BASE +18) +#define STR_INSERTSECTION (UNDO_BASE +19) +#define STR_OUTLINE_LR (UNDO_BASE +20) +#define STR_OUTLINE_UD (UNDO_BASE +21) +#define STR_INSNUM (UNDO_BASE +22) +#define STR_NUMUPDOWN (UNDO_BASE +23) +#define STR_MOVENUM (UNDO_BASE +24) +#define STR_INSERTDRAW (UNDO_BASE +25) +#define STR_NUMORNONUM (UNDO_BASE +26) +#define STR_INC_LEFTMARGIN (UNDO_BASE +27) +#define STR_DEC_LEFTMARGIN (UNDO_BASE +28) +#define STR_INSERTLABEL (UNDO_BASE +29) +#define STR_SETNUMRULESTART (UNDO_BASE +30) +#define STR_CHANGEFTN (UNDO_BASE +31) +#define STR_REDLINE (UNDO_BASE +32) +#define STR_ACCEPT_REDLINE (UNDO_BASE +33) +#define STR_REJECT_REDLINE (UNDO_BASE +34) +#define STR_SPLIT_TABLE (UNDO_BASE +35) +#define STR_DONTEXPAND (UNDO_BASE +36) +#define STR_AUTOCORRECT (UNDO_BASE +37) +#define STR_MERGE_TABLE (UNDO_BASE +38) +#define STR_TRANSLITERATE (UNDO_BASE +39) + +#define STR_REPEAT_DUMMY_4 (UNDO_BASE +40) +#define STR_REPEAT_DUMMY_5 (UNDO_BASE +41) +#define STR_REPEAT_DUMMY_6 (UNDO_BASE +42) +#define STR_REPEAT_DUMMY_7 (UNDO_BASE +43) +#define STR_REPEAT_DUMMY_8 (UNDO_BASE +44) +#define STR_REPEAT_DUMMY_9 (UNDO_BASE +45) +// !!!!!! umsetzen !!!!!!!!!!! umsetzen !!!!!!!!!!! umsetzen !!!! +#define CORE_REPEAT_END STR_REPEAT_DUMMY_9// !!!! umsetzen !!! + + +// Id's nur fuer die Undo/Redo faehigen "Funktionen" +#define STR_MOVE_UNDO (CORE_REPEAT_END + 1) +#define STR_INSERT_GLOSSARY (CORE_REPEAT_END + 2) +#define STR_DELBOOKMARK (CORE_REPEAT_END + 3) +#define STR_INSBOOKMARK (CORE_REPEAT_END + 4) +#define STR_SORT_TBL (CORE_REPEAT_END + 5) +#define STR_DELETEFLY (CORE_REPEAT_END + 6) +#define STR_AUTOFORMAT (CORE_REPEAT_END + 7) +#define STR_REPLACE (CORE_REPEAT_END + 8) +#define STR_DELETESECTION (CORE_REPEAT_END + 9) +#define STR_CHANGESECTION (CORE_REPEAT_END +10) +#define STR_CHANGESECTPASSWD (CORE_REPEAT_END +11) +#define STR_CHANGEDEFATTR (CORE_REPEAT_END +12) +#define STR_DELNUM (CORE_REPEAT_END +13) +#define STR_DRAWUNDO (CORE_REPEAT_END +14) +#define STR_DRAWGROUP (CORE_REPEAT_END +15) +#define STR_DRAWUNGROUP (CORE_REPEAT_END +16) +#define STR_DRAWDELETE (CORE_REPEAT_END +17) +#define STR_REREAD (CORE_REPEAT_END +18) +#define STR_DELGRF (CORE_REPEAT_END +19) +#define STR_DELOLE (CORE_REPEAT_END +20) +#define STR_TABLE_ATTR (CORE_REPEAT_END +21) +#define STR_TABLE_AUTOFMT (CORE_REPEAT_END +22) +#define STR_TABLE_INSCOL (CORE_REPEAT_END +23) +#define STR_TABLE_INSROW (CORE_REPEAT_END +24) +#define STR_TABLE_DELBOX (CORE_REPEAT_END +25) +#define STR_TABLE_SPLIT (CORE_REPEAT_END +26) +#define STR_TABLE_MERGE (CORE_REPEAT_END +27) +#define STR_TABLE_NUMFORMAT (CORE_REPEAT_END +28) +#define STR_INSERT_TOX (CORE_REPEAT_END +29) +#define STR_CLEAR_TOX_RANGE (CORE_REPEAT_END +30) +#define STR_TABLE_TBLCPYTBL (CORE_REPEAT_END +31) +#define STR_TABLE_CPYTBL (CORE_REPEAT_END +32) +#define STR_INS_FROM_SHADOWCRSR (CORE_REPEAT_END +33) +#define STR_UNDO_CHAIN (CORE_REPEAT_END +34) +#define STR_UNDO_UNCHAIN (CORE_REPEAT_END +35) +#define STR_UNDO_FTNINFO (CORE_REPEAT_END +36) +#define STR_UNDO_ENDNOTEINFO (CORE_REPEAT_END +37) +#define STR_UNDO_COMPAREDOC (CORE_REPEAT_END +38) +#define STR_UNDO_SETFLYFRMFMT (CORE_REPEAT_END +39) +#define STR_UNDO_SETRUBYATTR (CORE_REPEAT_END +40) +// #102505# +#define STR_UNDO_TMPAUTOCORR (CORE_REPEAT_END +41) + +#define STR_UNDO_DUMMY_3 (CORE_REPEAT_END +42) +#define STR_UNDO_DUMMY_4 (CORE_REPEAT_END +43) +#define STR_UNDO_DUMMY_5 (CORE_REPEAT_END +44) +#define STR_UNDO_DUMMY_6 (CORE_REPEAT_END +45) +#define STR_UNDO_DUMMY_7 (CORE_REPEAT_END +46) +#define STR_UNDO_DUMMY_8 (CORE_REPEAT_END +47) +#define STR_UNDO_DUMMY_9 (CORE_REPEAT_END +48) +// !!!!!! umsetzen !!!!!!!!!!! umsetzen !!!!!!!!!!! umsetzen !!!! +#define CORE_UNDO_END STR_UNDO_DUMMY_9// !!!! umsetzen !!! + +// UI-Undo Klammerungen +#define UI_UNDO_BEGIN (CORE_UNDO_END + 1) +#define STR_REPLACE_UNDO (UI_UNDO_BEGIN) +#define STR_INSERT_PAGE_BREAK_UNDO (UI_UNDO_BEGIN + 1) +#define STR_INSERT_COLUMN_BREAK_UNDO (UI_UNDO_BEGIN + 2) +#define STR_PLAY_MACRO_UNDO (UI_UNDO_BEGIN + 3) +#define STR_INSERT_ENV_UNDO (UI_UNDO_BEGIN + 4) +#define STR_DRAG_AND_COPY (UI_UNDO_BEGIN + 5) +#define STR_DRAG_AND_MOVE (UI_UNDO_BEGIN + 6) +#define STR_INSERT_RULER (UI_UNDO_BEGIN + 7) +#define STR_INSERT_CHART (UI_UNDO_BEGIN + 8) +#define STR_INSERT_FOOTNOTE (UI_UNDO_BEGIN + 9) +#define STR_INSERT_URLBTN (UI_UNDO_BEGIN + 10) +#define STR_INSERT_URLTXT (UI_UNDO_BEGIN + 11) +#define STR_DELETE_INVISIBLECNTNT (UI_UNDO_BEGIN + 12) +#define UNDO_ACT_END STR_DELETE_INVISIBLECNTNT + +#if WRTSH_ACT_END > RC_WRTSH_END +#error Resource-Id Ueberlauf +#endif + +#endif |