diff options
Diffstat (limited to 'svx/inc')
253 files changed, 1280 insertions, 9672 deletions
diff --git a/svx/inc/bolnitem.hxx b/svx/inc/bolnitem.hxx index bfb55d676866..22040d790c71 100644 --- a/svx/inc/bolnitem.hxx +++ b/svx/inc/bolnitem.hxx @@ -34,7 +34,7 @@ -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/bulitem.hxx b/svx/inc/bulitem.hxx index b0adc0d4dd9f..cae4fbcc24ef 100644 --- a/svx/inc/bulitem.hxx +++ b/svx/inc/bulitem.hxx @@ -66,7 +66,7 @@ #define VALID_STYLE 0x0040 #define VALID_PREVTEXT 0x0080 #define VALID_FOLLOWTEXT 0x0100 -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <vcl/font.hxx> #include <goodies/grfmgr.hxx> diff --git a/svx/inc/charhiddenitem.hxx b/svx/inc/charhiddenitem.hxx index ea36786a503b..c11abea5145d 100644 --- a/svx/inc/charhiddenitem.hxx +++ b/svx/inc/charhiddenitem.hxx @@ -32,8 +32,8 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> -#include <svtools/eitem.hxx> +#include <svl/poolitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" // class SvxCharHiddenItem ------------------------------------------------- diff --git a/svx/inc/chrtitem.hxx b/svx/inc/chrtitem.hxx index a15824e0790c..ffaa10c71360 100644 --- a/svx/inc/chrtitem.hxx +++ b/svx/inc/chrtitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" //------------------------------------------------------------------------ diff --git a/svx/inc/clipboardctl.hxx b/svx/inc/clipboardctl.hxx index f17ecfbc6983..3e76dc7a5fe1 100644 --- a/svx/inc/clipboardctl.hxx +++ b/svx/inc/clipboardctl.hxx @@ -33,7 +33,7 @@ #include <sfx2/tbxctrl.hxx> #include <sfx2/ctrlitem.hxx> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/clipfmtitem.hxx b/svx/inc/clipfmtitem.hxx index cdb62e84fb66..b304c0796bfc 100644 --- a/svx/inc/clipfmtitem.hxx +++ b/svx/inc/clipfmtitem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #include <tools/gen.hxx> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" // class SvxClipboardFmtItem ---------------------------------------------- diff --git a/svx/inc/connect.hrc b/svx/inc/connect.hrc deleted file mode 100644 index f6c49e5c7d6e..000000000000 --- a/svx/inc/connect.hrc +++ /dev/null @@ -1,48 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: connect.hrc,v $ - * $Revision: 1.4 $ - * - * 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_DISTANCE 1 -#define FL_DELTA 2 -#define FT_LINE_1 1 -#define FT_LINE_2 2 -#define FT_LINE_3 3 -#define MTR_FLD_LINE_1 1 -#define MTR_FLD_LINE_2 2 -#define MTR_FLD_LINE_3 3 -#define FT_HORZ_1 4 -#define FT_HORZ_2 5 -#define MTR_FLD_HORZ_1 4 -#define MTR_FLD_HORZ_2 5 -#define MTR_FLD_VERT_1 6 -#define MTR_FLD_VERT_2 7 -#define FT_VERT_2 7 -#define FT_VERT_1 6 -#define FT_TYPE 8 -#define LB_TYPE 1 -#define CTL_PREVIEW 1 diff --git a/svx/inc/countryid.hxx b/svx/inc/countryid.hxx deleted file mode 100644 index 20794a355477..000000000000 --- a/svx/inc/countryid.hxx +++ /dev/null @@ -1,321 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: countryid.hxx,v $ - * $Revision: 1.7 $ - * - * 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 INCLUDED_SVX_COUNTRYID_HXX -#define INCLUDED_SVX_COUNTRYID_HXX - -#include <sal/types.h> -#include <i18npool/lang.h> -#include "svx/svxdllapi.h" - -// ---------------------------------------------------------------------------- - -namespace svx { - -// Windows Country IDs ======================================================== - -/** Represents a Windows country ID. - - The country IDs used in Windows are equal to the international calling - code of each country, i.e. the code 353 represents Ireland (+353). - - ATTENTION: These country codes are not supposed to be used anywhere in core - structures! They shall ONLY be used in the import/export filters for - Microsoft Office documents! - */ -typedef sal_uInt16 CountryId; - -const CountryId COUNTRY_DONTKNOW = 0; -const CountryId COUNTRY_USA = 1; -const CountryId COUNTRY_DOMINICAN_REPUBLIC = 1; // NANP -const CountryId COUNTRY_GUAM = 1; // NANP -const CountryId COUNTRY_JAMAICA = 1; // NANP -const CountryId COUNTRY_PUERTO_RICO = 1; // NANP -const CountryId COUNTRY_TRINIDAD_Y_TOBAGO = 1; // NANP -const CountryId COUNTRY_CANADA = 2; -const CountryId COUNTRY_RUSSIA = 7; -const CountryId COUNTRY_KAZAKHSTAN = 7; // no own ID -const CountryId COUNTRY_TATARSTAN = 7; // no own ID -const CountryId COUNTRY_EGYPT = 20; -const CountryId COUNTRY_SOUTH_AFRICA = 27; -const CountryId COUNTRY_GREECE = 30; -const CountryId COUNTRY_NETHERLANDS = 31; -const CountryId COUNTRY_BELGIUM = 32; -const CountryId COUNTRY_FRANCE = 33; -const CountryId COUNTRY_SPAIN = 34; -const CountryId COUNTRY_HUNGARY = 36; -const CountryId COUNTRY_ITALY = 39; -const CountryId COUNTRY_ROMANIA = 40; -const CountryId COUNTRY_SWITZERLAND = 41; -const CountryId COUNTRY_AUSTRIA = 43; -const CountryId COUNTRY_UNITED_KINGDOM = 44; -const CountryId COUNTRY_DENMARK = 45; -const CountryId COUNTRY_SWEDEN = 46; -const CountryId COUNTRY_NORWAY = 47; -const CountryId COUNTRY_POLAND = 48; -const CountryId COUNTRY_GERMANY = 49; -const CountryId COUNTRY_PERU = 51; -const CountryId COUNTRY_MEXICO = 52; -const CountryId COUNTRY_CUBA = 53; -const CountryId COUNTRY_ARGENTINIA = 54; -const CountryId COUNTRY_BRAZIL = 55; -const CountryId COUNTRY_CHILE = 56; -const CountryId COUNTRY_COLOMBIA = 57; -const CountryId COUNTRY_VENEZUELA = 58; -const CountryId COUNTRY_MALAYSIA = 60; -const CountryId COUNTRY_AUSTRALIA = 61; -const CountryId COUNTRY_INDONESIA = 62; -const CountryId COUNTRY_PHILIPPINES = 63; -const CountryId COUNTRY_NEW_ZEALAND = 64; -const CountryId COUNTRY_SINGAPORE = 65; -const CountryId COUNTRY_THAILAND = 66; -const CountryId COUNTRY_JAPAN = 81; -const CountryId COUNTRY_SOUTH_KOREA = 82; -const CountryId COUNTRY_VIET_NAM = 84; -const CountryId COUNTRY_PR_CHINA = 86; -const CountryId COUNTRY_TIBET = 86; // no own ID -const CountryId COUNTRY_TURKEY = 90; -const CountryId COUNTRY_INDIA = 91; -const CountryId COUNTRY_PAKISTAN = 92; -const CountryId COUNTRY_AFGHANISTAN = 93; -const CountryId COUNTRY_SRI_LANKA = 94; -const CountryId COUNTRY_MYANMAR = 95; -const CountryId COUNTRY_MOROCCO = 212; -const CountryId COUNTRY_ALGERIA = 213; -const CountryId COUNTRY_TUNISIA = 216; -const CountryId COUNTRY_LIBYA = 218; -const CountryId COUNTRY_GAMBIA = 220; -const CountryId COUNTRY_SENEGAL = 221; -const CountryId COUNTRY_MAURITANIA = 222; -const CountryId COUNTRY_MALI = 223; -const CountryId COUNTRY_GUINEA = 224; -const CountryId COUNTRY_COTE_D_IVOIRE = 225; -const CountryId COUNTRY_BURKINA_FARSO = 226; -const CountryId COUNTRY_NIGER = 227; -const CountryId COUNTRY_TOGO = 228; -const CountryId COUNTRY_BENIN = 229; -const CountryId COUNTRY_MAURITIUS = 230; -const CountryId COUNTRY_LIBERIA = 231; -const CountryId COUNTRY_SIERRA_LEONE = 232; -const CountryId COUNTRY_GHANA = 233; -const CountryId COUNTRY_NIGERIA = 234; -const CountryId COUNTRY_CHAD = 235; -const CountryId COUNTRY_CENTRAL_AFR_REP = 236; -const CountryId COUNTRY_CAMEROON = 237; -const CountryId COUNTRY_CAPE_VERDE = 238; -const CountryId COUNTRY_SAO_TOME = 239; -const CountryId COUNTRY_EQUATORIAL_GUINEA = 240; -const CountryId COUNTRY_GABON = 241; -const CountryId COUNTRY_CONGO = 242; -const CountryId COUNTRY_ZAIRE = 243; -const CountryId COUNTRY_ANGOLA = 244; -const CountryId COUNTRY_GUINEA_BISSAU = 245; -const CountryId COUNTRY_DIEGO_GARCIA = 246; -const CountryId COUNTRY_ASCENSION_ISLAND = 247; -const CountryId COUNTRY_SEYCHELLES = 248; -const CountryId COUNTRY_SUDAN = 249; -const CountryId COUNTRY_RWANDA = 250; -const CountryId COUNTRY_ETHIOPIA = 251; -const CountryId COUNTRY_SOMALIA = 252; -const CountryId COUNTRY_DJIBOUTI = 253; -const CountryId COUNTRY_KENYA = 254; -const CountryId COUNTRY_TANZANIA = 255; -const CountryId COUNTRY_UGANDA = 256; -const CountryId COUNTRY_BURUNDI = 257; -const CountryId COUNTRY_MOZAMBIQUE = 258; -const CountryId COUNTRY_ZANZIBAR = 259; -const CountryId COUNTRY_ZAMBIA = 260; -const CountryId COUNTRY_MADAGASKAR = 261; -const CountryId COUNTRY_REUNION = 262; -const CountryId COUNTRY_ZIMBABWE = 263; -const CountryId COUNTRY_NAMIBIA = 264; -const CountryId COUNTRY_MALAWI = 265; -const CountryId COUNTRY_LESOTHO = 266; -const CountryId COUNTRY_BOTSWANA = 267; -const CountryId COUNTRY_SWAZILAND = 268; -const CountryId COUNTRY_COMOROS_MAYOTTE = 269; -const CountryId COUNTRY_ST_HELENA = 290; -const CountryId COUNTRY_ERITREA = 291; -const CountryId COUNTRY_ARUBA = 297; -const CountryId COUNTRY_FAEROE_ISLANDS = 298; -const CountryId COUNTRY_GREEN_ISLAND = 299; -const CountryId COUNTRY_GIBRALTAR = 350; -const CountryId COUNTRY_PORTUGAL = 351; -const CountryId COUNTRY_LUXEMBOURG = 352; -const CountryId COUNTRY_IRELAND = 353; -const CountryId COUNTRY_ICELAND = 354; -const CountryId COUNTRY_ALBANIA = 355; -const CountryId COUNTRY_MALTA = 356; -const CountryId COUNTRY_CYPRUS = 357; -const CountryId COUNTRY_FINLAND = 358; -const CountryId COUNTRY_BULGARIA = 359; -const CountryId COUNTRY_LITHUANIA = 370; -const CountryId COUNTRY_LATVIA = 371; -const CountryId COUNTRY_ESTONIA = 372; -const CountryId COUNTRY_MOLDOVA = 373; -const CountryId COUNTRY_ARMENIA = 374; -const CountryId COUNTRY_BELARUS = 375; -const CountryId COUNTRY_ANDORRA = 376; -const CountryId COUNTRY_MONACO = 377; -const CountryId COUNTRY_SAN_MARINO = 378; -const CountryId COUNTRY_VATICAN_CITY = 379; -const CountryId COUNTRY_UKRAINE = 380; -const CountryId COUNTRY_SERBIA = 381; -const CountryId COUNTRY_CROATIA = 385; -const CountryId COUNTRY_SLOVENIA = 386; -const CountryId COUNTRY_BOSNIA = 387; -const CountryId COUNTRY_MACEDONIA = 389; -const CountryId COUNTRY_CZECH = 420; -const CountryId COUNTRY_SLOVAK = 421; -const CountryId COUNTRY_LIECHTENSTEIN = 423; -const CountryId COUNTRY_FALKLAND_ISLANDS = 500; -const CountryId COUNTRY_BELIZE = 501; -const CountryId COUNTRY_GUATEMALA = 502; -const CountryId COUNTRY_EL_SALVADOR = 503; -const CountryId COUNTRY_HONDURAS = 504; -const CountryId COUNTRY_NICARAGUA = 505; -const CountryId COUNTRY_COSTA_RICA = 506; -const CountryId COUNTRY_PANAMA = 507; -const CountryId COUNTRY_ST_PIERRE = 508; -const CountryId COUNTRY_HAITI = 509; -const CountryId COUNTRY_GUADELOUPE = 590; -const CountryId COUNTRY_BOLIVIA = 591; -const CountryId COUNTRY_GUYANA = 592; -const CountryId COUNTRY_ECUADOR = 593; -const CountryId COUNTRY_FRENCH_GUIANA = 594; -const CountryId COUNTRY_PARAGUAY = 595; -const CountryId COUNTRY_MARTINIQUE = 596; -const CountryId COUNTRY_SURINAME = 597; -const CountryId COUNTRY_URUGUAY = 598; -const CountryId COUNTRY_NETHERL_ANTILLES = 599; -const CountryId COUNTRY_EAST_TIMOR = 670; -const CountryId COUNTRY_ANTARCTICA = 672; -const CountryId COUNTRY_BRUNEI_DARUSSALAM = 673; -const CountryId COUNTRY_NARUPU = 674; -const CountryId COUNTRY_PAPUA_NEW_GUINEA = 675; -const CountryId COUNTRY_TONGA = 676; -const CountryId COUNTRY_SOLOMON_ISLANDS = 677; -const CountryId COUNTRY_VANUATU = 678; -const CountryId COUNTRY_FIJI = 679; -const CountryId COUNTRY_PALAU = 680; -const CountryId COUNTRY_WALLIS_AND_FUTUNA = 681; -const CountryId COUNTRY_COOK_ISLANDS = 682; -const CountryId COUNTRY_NIUE_ISLAND = 683; -const CountryId COUNTRY_AMERICAN_SAMOA = 684; -const CountryId COUNTRY_WESTERN_SAMOA = 685; -const CountryId COUNTRY_KIRIBATI = 686; -const CountryId COUNTRY_NEW_CALEDONIA = 687; -const CountryId COUNTRY_TUVALU = 688; -const CountryId COUNTRY_FRENCH_POLYNESIA = 689; -const CountryId COUNTRY_TOKELAU = 690; -const CountryId COUNTRY_MICRONESIA = 691; -const CountryId COUNTRY_MARSHALL_ISLANDS = 692; -const CountryId COUNTRY_NORTH_KOREA = 850; -const CountryId COUNTRY_HONG_KONG = 852; -const CountryId COUNTRY_MACAU = 853; -const CountryId COUNTRY_CAMBODIA = 855; -const CountryId COUNTRY_LAOS = 856; -const CountryId COUNTRY_BANGLADESH = 880; -const CountryId COUNTRY_TAIWAN = 886; -const CountryId COUNTRY_MALDIVES = 960; -const CountryId COUNTRY_LEBANON = 961; -const CountryId COUNTRY_JORDAN = 962; -const CountryId COUNTRY_SYRIA = 963; -const CountryId COUNTRY_IRAQ = 964; -const CountryId COUNTRY_KUWAIT = 965; -const CountryId COUNTRY_SAUDI_ARABIA = 966; -const CountryId COUNTRY_YEMEN = 967; -const CountryId COUNTRY_OMAN = 968; -const CountryId COUNTRY_PALESTINE = 970; -const CountryId COUNTRY_UAE = 971; -const CountryId COUNTRY_ISRAEL = 972; -const CountryId COUNTRY_BAHRAIN = 973; -const CountryId COUNTRY_QATAR = 974; -const CountryId COUNTRY_BHUTAN = 975; -const CountryId COUNTRY_MONGOLIA = 976; -const CountryId COUNTRY_NEPAL = 977; -const CountryId COUNTRY_IRAN = 981; -const CountryId COUNTRY_TAJIKISTAN = 992; -const CountryId COUNTRY_TURKMENISTAN = 993; -const CountryId COUNTRY_AZERBAIJAN = 994; -const CountryId COUNTRY_GEORGIA = 995; -const CountryId COUNTRY_KYRGYZSTAN = 996; -const CountryId COUNTRY_UZBEKISTAN = 998; - -// Country ID <-> Language type conversion ==================================== - -/** Converts a language type to a Windows country ID. - - The function regards the sub type of the passed language, and tries to - return the appropriate country, i.e. COUNTRY_IRELAND for - LANGUAGE_ENGLISH_EIRE. - - A few countries do not have an own associated country ID. Most of these - countries are mapped to another related country, i.e. Kazakhstan is - mapped to Russia. - - If no country can be found, the value COUNTRY_DONTKNOW will be returned. - - @param eLanguage - A language type, defined in tools/lang.hxx. - - @return - The best Windows country ID for the passed language type, or - COUNTRY_DONTKNOW on error. - */ -SVX_DLLPUBLIC CountryId ConvertLanguageToCountry( LanguageType eLanguage ); - -/** Converts a Windows country ID to a language type. - - The function returns the most used language for the passed country - (hopefully), i.e. LANGUAGE_ENGLISH_EIRE for COUNTRY_IRELAND. - - If the passed country ID is not valid, the value LANGUAGE_DONTKNOW will be - returned. - - @param eCountry - A Windows country ID, defined above. - - @return - The most used language type in the passed country, or LANGUAGE_DONTKNOW - on error. - */ -SVX_DLLPUBLIC LanguageType ConvertCountryToLanguage( CountryId eCountry ); - -// ============================================================================ - -} // namespace svx - -// ============================================================================ - -#endif - diff --git a/svx/inc/defdlgname.hxx b/svx/inc/defdlgname.hxx deleted file mode 100644 index 1fcc17b1f41a..000000000000 --- a/svx/inc/defdlgname.hxx +++ /dev/null @@ -1,43 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: defdlgname.hxx,v $ - * $Revision: 1.5 $ - * - * 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 _SVX_DEF_DLG_NAME_HXX -#define _SVX_DEF_DLG_NAME_HXX - -// define ---------------------------------------------------------------- - -#define MESS_BTN_1 ((USHORT)0) -#define MESS_BTN_2 ((USHORT)1) - -// const ----------------------------------------------------------------- - -const short RET_BTN_1 = 100; -const short RET_BTN_2 = 101; - -#endif diff --git a/svx/inc/dlgutil.hxx b/svx/inc/dlgutil.hxx index 866db4a6c3fd..9cf995814674 100644 --- a/svx/inc/dlgutil.hxx +++ b/svx/inc/dlgutil.hxx @@ -34,8 +34,8 @@ #ifndef _FIELD_HXX #include <vcl/field.hxx> #endif -#include <svtools/poolitem.hxx> -#include <svtools/intitem.hxx> +#include <svl/poolitem.hxx> +#include <svl/intitem.hxx> #include "svx/svxdllapi.h" // macro ----------------------------------------------------------------- diff --git a/svx/inc/drawitem.hxx b/svx/inc/drawitem.hxx index 5e5e10725bf6..f9bb93b47136 100644 --- a/svx/inc/drawitem.hxx +++ b/svx/inc/drawitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/drawing/LineDash.hpp> #include "svx/svxdllapi.h" diff --git a/svx/inc/editund2.hxx b/svx/inc/editund2.hxx index bb693183136d..65c83dd4f0e8 100644 --- a/svx/inc/editund2.hxx +++ b/svx/inc/editund2.hxx @@ -32,7 +32,7 @@ #define _EDITUND2_HXX #include "svx/svxdllapi.h" -#include <svtools/undo.hxx> +#include <svl/undo.hxx> class ImpEditEngine; diff --git a/svx/inc/extrusioncontrols.hxx b/svx/inc/extrusioncontrols.hxx index 35e63fb55a1c..b707cae39f98 100644 --- a/svx/inc/extrusioncontrols.hxx +++ b/svx/inc/extrusioncontrols.hxx @@ -31,7 +31,7 @@ #define _SVX_EXTRUSION_CONTROLS_HXX #include <svtools/valueset.hxx> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include <sfx2/tbxctrl.hxx> #include <svtools/svtreebx.hxx> #ifndef _SV_BUTTON_HXX diff --git a/svx/inc/flstitem.hxx b/svx/inc/flstitem.hxx index 72b1001a3c39..f41970cc79da 100644 --- a/svx/inc/flstitem.hxx +++ b/svx/inc/flstitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <rtl/ustring.hxx> #include <com/sun/star/uno/Sequence.h> #include "svx/svxdllapi.h" diff --git a/svx/inc/fmhelp.hrc b/svx/inc/fmhelp.hrc index b5089d663c72..5c3acad950e6 100644 --- a/svx/inc/fmhelp.hrc +++ b/svx/inc/fmhelp.hrc @@ -31,10 +31,9 @@ #define _SVX_FMHELP_HRC // include ----------------------------------------------------------- -#include <svtools/solar.hrc> +#include <svl/solar.hrc> // Help-Ids -------------------------------------------------------------- - #define HID_DLG_DBMSG ( HID_FORMS_START + 1) #define HID_FORM_NAVIGATOR ( HID_FORMS_START + 2) #define HID_FORM_NAVIGATOR_WIN ( HID_FORMS_START + 3) @@ -45,7 +44,7 @@ #define HID_FM_DLG_SEARCH ( HID_FORMS_START + 8) #define HID_SEARCH_TEXT ( HID_FORMS_START + 9) #define HID_SEARCH_ALLFIELDS ( HID_FORMS_START + 10) -#define HID_SEARCH_SINGLEFIELD ( HID_FORMS_START + 11) +//#define HID_SEARCH_SINGLEFIELD ( HID_FORMS_START + 11) #define HID_SEARCH_FIELDSELECTION ( HID_FORMS_START + 12) #define HID_SEARCH_POSITION ( HID_FORMS_START + 13) #define HID_SEARCH_FORMATTER ( HID_FORMS_START + 14) @@ -75,9 +74,9 @@ #define HID_XFORMS_NAMESPACEITEM_DLG ( HID_FORMS_START + 38) #define HID_XFORMS_NAMESPACEITEM_LIST ( HID_FORMS_START + 39) #define HID_XFORMS_MANAGENAMESPACE_DLG ( HID_FORMS_START + 40) -#define HID_TP_XFORMS_INSTANCE ( HID_FORMS_START + 41) -#define HID_TP_XFORMS_SUBMISSION ( HID_FORMS_START + 42) -#define HID_TP_XFORMS_BINDING ( HID_FORMS_START + 43) +//#define HID_TP_XFORMS_INSTANCE ( HID_FORMS_START + 41) +//#define HID_TP_XFORMS_SUBMISSION ( HID_FORMS_START + 42) +//#define HID_TP_XFORMS_BINDING ( HID_FORMS_START + 43) #define HID_MN_XFORMS_MODELS_ADD ( HID_FORMS_START + 44) #define HID_MN_XFORMS_MODELS_EDIT ( HID_FORMS_START + 45) #define HID_MN_XFORMS_MODELS_REMOVE ( HID_FORMS_START + 46) @@ -103,7 +102,6 @@ // if you add a new define here, please adjust the overflow check // at the end of the file!! - // ----------------------------------------------------------------------- // "Uberlaufpr"ufung ----------------------------------------------------- // ----------------------------------------------------------------------- diff --git a/svx/inc/fontitem.hxx b/svx/inc/fontitem.hxx index da0ee972954b..c6d0087382a5 100644 --- a/svx/inc/fontitem.hxx +++ b/svx/inc/fontitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <tools/string.hxx> #ifndef _FONT_HXX //autogen #include <vcl/font.hxx> diff --git a/svx/inc/fwdtitem.hxx b/svx/inc/fwdtitem.hxx index 14cf9559210f..8a02474f525c 100644 --- a/svx/inc/fwdtitem.hxx +++ b/svx/inc/fwdtitem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> // class SvxFontWidthItem ----------------------------------------------- diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx index 5eac53593608..119146fe62e7 100644 --- a/svx/inc/galbrws2.hxx +++ b/svx/inc/galbrws2.hxx @@ -37,7 +37,7 @@ #include <vcl/timer.hxx> #include <vcl/toolbox.hxx> #include <svtools/transfer.hxx> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include <svtools/miscopt.hxx> #include "galbrws.hxx" diff --git a/svx/inc/galctrl.hxx b/svx/inc/galctrl.hxx index d2cdbcd68847..2a986ea60ba8 100644 --- a/svx/inc/galctrl.hxx +++ b/svx/inc/galctrl.hxx @@ -41,12 +41,12 @@ #include <vcl/edit.hxx> #include <vcl/combobox.hxx> #include <vcl/sound.hxx> -#include <svtools/slstitm.hxx> +#include <svl/slstitm.hxx> #include <svtools/transfer.hxx> #include <svtools/valueset.hxx> #include <svtools/brwbox.hxx> #include <goodies/grfmgr.hxx> -#include "galmisc.hxx" +#include "svx/galmisc.hxx" #include "svx/svxdllapi.h" // ------------ @@ -95,6 +95,7 @@ public: ~GalleryPreview(); void SetGraphic( const Graphic& rGraphic ) { aGraphicObj.SetGraphic( rGraphic ); } + bool SetGraphic( const INetURLObject& ); void PreviewMedia( const INetURLObject& rURL ); }; diff --git a/svx/inc/galdlg.hxx b/svx/inc/galdlg.hxx deleted file mode 100644 index fb07dcadba6b..000000000000 --- a/svx/inc/galdlg.hxx +++ /dev/null @@ -1,72 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: galdlg.hxx,v $ - * $Revision: 1.4 $ - * - * 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 _SVX_GALDLG_HXX_ -#define _SVX_GALDLG_HXX_ - - -#include <vos/thread.hxx> -#include <bootstrp/sstring.hxx> -#include <vcl/dialog.hxx> -#include <vcl/graph.hxx> -#include <vcl/fixed.hxx> -#include <vcl/button.hxx> -#include <vcl/lstbox.hxx> -#include <vcl/menu.hxx> -#include <vcl/edit.hxx> -#include <vcl/combobox.hxx> -#include <vcl/sound.hxx> -#include <svtools/slstitm.hxx> -#include <svtools/transfer.hxx> -#include <goodies/grfmgr.hxx> -#include <sfx2/tabdlg.hxx> -#include "galctrl.hxx" -#include "galmisc.hxx" - -// ------------ -// - Forwards - -// ------------ - -class GalleryTheme; - -// ---------------- -// - ExchangeData - -// ---------------- - -struct ExchangeData -{ - GalleryTheme* pTheme; - String aEditedTitle; - Date aThemeChangeDate; - Time aThemeChangeTime; -}; - - -#endif // _SVX_GALDLG_HXX_ diff --git a/svx/inc/gallery.hrc b/svx/inc/gallery.hrc index 88b632061f0c..556399b2a5f3 100644 --- a/svx/inc/gallery.hrc +++ b/svx/inc/gallery.hrc @@ -36,27 +36,10 @@ // - Defines - // ----------- -// Gallery-TabDialoge/-TabPages -#define RID_SVXTABDLG_GALLERY (RID_SVX_GALLERY_START) -#define RID_SVXTABPAGE_GALLERY_GENERAL (RID_SVX_GALLERY_START + 1) - -#define RID_SVXTABDLG_GALLERYTHEME (RID_SVX_GALLERY_START + 2) -#define RID_SVXTABPAGE_GALLERYTHEME_GENERAL (RID_SVX_GALLERY_START + 3) -#define RID_SVXTABPAGE_GALLERYTHEME_FILES (RID_SVX_GALLERY_START + 4) - // Dialoge #define RID_SVXDLG_GALLERYBROWSER (RID_SVX_GALLERY_START + 5) -#define RID_SVXDLG_GALLERY_SEARCH_PROGRESS (RID_SVX_GALLERY_START + 6) -#define RID_SVXDLG_GALLERY_TAKE_PROGRESS (RID_SVX_GALLERY_START + 7) -#define RID_SVXDLG_GALLERY_ACTUALIZE_PROGRESS (RID_SVX_GALLERY_START + 8) -#define RID_SVXDLG_GALLERY_THEMEID (RID_SVX_GALLERY_START + 9) // Gallery-Strings -#define RID_SVXSTR_GALLERY_ACTUALIZE (RID_SVX_GALLERY_START + 10) -#define RID_SVXSTR_GALLERY_FOPENERROR (RID_SVX_GALLERY_START + 11) -#define RID_SVXSTR_GALLERY_NOFILES (RID_SVX_GALLERY_START + 12) -#define RID_SVXSTR_GALLERY_NOTHEME (RID_SVX_GALLERY_START + 13) -#define RID_SVXSTR_GALLERY_DELETEOBJ (RID_SVX_GALLERY_START + 14) #define RID_SVXSTR_EXTFORMAT1_SYS (RID_SVX_GALLERY_START + 15) #define RID_SVXSTR_EXTFORMAT1_UI (RID_SVX_GALLERY_START + 16) #define RID_SVXSTR_EXTFORMAT2_SYS (RID_SVX_GALLERY_START + 17) @@ -67,42 +50,38 @@ #define RID_SVXSTR_EXTFORMAT4_UI (RID_SVX_GALLERY_START + 22) #define RID_SVXSTR_EXTFORMAT5_SYS (RID_SVX_GALLERY_START + 23) #define RID_SVXSTR_EXTFORMAT5_UI (RID_SVX_GALLERY_START + 24) +#define RID_SVXSTR_GALLERY_FOPENERROR (RID_SVX_GALLERY_START + 11) +#define RID_SVXSTR_GALLERY_NOTHEME (RID_SVX_GALLERY_START + 13) +#define RID_SVXSTR_GALLERY_DELETEOBJ (RID_SVX_GALLERY_START + 14) #define RID_SVXSTR_GALLERY_ACTUALIZE_PROGRESS (RID_SVX_GALLERY_START + 25) #define RID_SVXSTR_GALLERY_FILTER (RID_SVX_GALLERY_START + 26) #define RID_SVXSTR_GALLERY_LENGTH (RID_SVX_GALLERY_START + 27) #define RID_SVXSTR_GALLERY_SIZE (RID_SVX_GALLERY_START + 28) #define RID_SVXSTR_GALLERY_DELETEDD (RID_SVX_GALLERY_START + 29) -#define RID_SVXSTR_GALLERY_SEARCH (RID_SVX_GALLERY_START + 30) #define RID_SVXSTR_GALLERY_SGIERROR (RID_SVX_GALLERY_START + 31) #define RID_SVXSTR_GALLERY_NEWTHEME (RID_SVX_GALLERY_START + 32) #define RID_SVXSTR_GALLERY_BROWSER (RID_SVX_GALLERY_START + 33) #define RID_SVXSTR_GALLERY_THEMEERR (RID_SVX_GALLERY_START + 34) +#define RID_SVXSTR_GALLERY_IMPORTTHEME (RID_SVX_GALLERY_START + 41) +#define RID_SVXSTR_GALLERY_CREATETHEME (RID_SVX_GALLERY_START + 42) +#define RID_SVXSTR_GALLERY_DIALOGID (RID_SVX_GALLERY_START + 80) +#define RID_SVXSTR_GALLERY_DELETETHEME (RID_SVX_GALLERY_START + 83) +#define RID_SVXSTR_GALLERY_TITLE (RID_SVX_GALLERY_START + 84) +#define RID_SVXSTR_GALLERY_PATH (RID_SVX_GALLERY_START + 85) +#define RID_SVXSTR_GALLERY_ICONVIEW (RID_SVX_GALLERY_START + 86) +#define RID_SVXSTR_GALLERY_LISTVIEW (RID_SVX_GALLERY_START + 87) // Controls fuer Gallery -#define RID_SVXDLG_GALLERY_CBX (RID_SVX_GALLERY_START + 35) #define RID_SVXMN_GALLERY1 (RID_SVX_GALLERY_START + 36) #define RID_SVXMN_GALLERY2 (RID_SVX_GALLERY_START + 37) -// zus. Strings -#define RID_SVXSTR_GALLERYPROPS_THEME (RID_SVX_GALLERY_START + 38) -#define RID_SVXSTR_GALLERYPROPS_OBJECT (RID_SVX_GALLERY_START + 39) -#define RID_SVXSTR_GALLERYPROPS_GALTHEME (RID_SVX_GALLERY_START + 40) -#define RID_SVXSTR_GALLERY_IMPORTTHEME (RID_SVX_GALLERY_START + 41) -#define RID_SVXSTR_GALLERY_CREATETHEME (RID_SVX_GALLERY_START + 42) -#define RID_SVXSTR_GALLERY_READONLY (RID_SVX_GALLERY_START + 43) -#define RID_SVXSTR_GALLERY_ALLFILES (RID_SVX_GALLERY_START + 44) - // Images #define RID_SVXBMP_GALLERY (RID_SVX_GALLERY_START + 46) #define RID_SVXBMP_THEME (RID_SVX_GALLERY_START + 47) #define RID_SVXBMP_THEME_NORMAL (RID_SVX_GALLERY_START + 48) -#define RID_SVXBMP_THEME_NORMAL_BIG (RID_SVX_GALLERY_START + 49) #define RID_SVXBMP_THEME_IMPORTED (RID_SVX_GALLERY_START + 50) -#define RID_SVXBMP_THEME_IMPORTED_BIG (RID_SVX_GALLERY_START + 51) #define RID_SVXBMP_THEME_READONLY (RID_SVX_GALLERY_START + 52) -#define RID_SVXBMP_THEME_READONLY_BIG (RID_SVX_GALLERY_START + 53) #define RID_SVXBMP_THEME_DEFAULT (RID_SVX_GALLERY_START + 54) -#define RID_SVXBMP_THEME_DEFAULT_BIG (RID_SVX_GALLERY_START + 55) #define RID_SVXIMG_GALLERY_VIEW_ICON (RID_SVX_GALLERY_START + 56) #define RID_SVXIMG_GALLERY_VIEW_LIST (RID_SVX_GALLERY_START + 57) #define RID_SVXIMG_GALLERY_VIEW_ICON_HC (RID_SVX_GALLERY_START + 58) @@ -119,16 +98,6 @@ #define RID_SVXBMP_GALLERY_SOUND_7 (RID_SVX_GALLERY_START + 68) #define RID_SVXBMP_GALLERY_MEDIA (RID_SVX_GALLERY_START + 71) -// weitere IDs -#define RID_SVXSTR_GALLERY_DIALOGID (RID_SVX_GALLERY_START + 80) -#define RID_SVXSTR_GALLERY_ID_EXISTS (RID_SVX_GALLERY_START + 81) -#define RID_SVXDLG_GALLERY_TITLE (RID_SVX_GALLERY_START + 82) -#define RID_SVXSTR_GALLERY_DELETETHEME (RID_SVX_GALLERY_START + 83) -#define RID_SVXSTR_GALLERY_TITLE (RID_SVX_GALLERY_START + 84) -#define RID_SVXSTR_GALLERY_PATH (RID_SVX_GALLERY_START + 85) -#define RID_SVXSTR_GALLERY_ICONVIEW (RID_SVX_GALLERY_START + 86) -#define RID_SVXSTR_GALLERY_LISTVIEW (RID_SVX_GALLERY_START + 87) - // lokale Defines #define BTN_OK 1 #define BTN_CANCEL 1 @@ -194,8 +163,6 @@ #define BTN_THEME 2 #define BTN_RECOVER 3 #define BTN_CLOSEBROWSER 7 -#define BTN_MADDIN1 8 -#define BTN_MADDIN2 9 #define LBX_THEME2 1 #define FL_THEME2 1 #define BTN_NEWTHEME2 1 diff --git a/svx/inc/galobj.hxx b/svx/inc/galobj.hxx index a33a1b5cbd81..e2a5bee41dd6 100644 --- a/svx/inc/galobj.hxx +++ b/svx/inc/galobj.hxx @@ -33,6 +33,7 @@ #include <tools/urlobj.hxx> #include <vcl/graph.hxx> +#include "svx/galmisc.hxx" // ----------- // - Defines - @@ -50,21 +51,6 @@ #define SGA_FORMAT_SVDRAW 0x00010000L #define SGA_FORMAT_ALL 0xFFFFFFFFL -// -------------- -// - SgaObjKind - -// -------------- - -enum SgaObjKind -{ - SGA_OBJ_NONE = 0, // Abstraktes Objekt - SGA_OBJ_BMP = 1, // Bitmap-Objekt - SGA_OBJ_SOUND = 2, // Sound-Objekt - SGA_OBJ_VIDEO = 3, // Video-Objekt - SGA_OBJ_ANIM = 4, // Animations-Objekt - SGA_OBJ_SVDRAW = 5, // Svdraw-Objekt - SGA_OBJ_INET = 6 // Grafik aus dem Internet -}; - // ---------------- // - GalSoundType - // ---------------- diff --git a/svx/inc/galtheme.hxx b/svx/inc/galtheme.hxx index 15a1c6fbb1e2..96834327a203 100644 --- a/svx/inc/galtheme.hxx +++ b/svx/inc/galtheme.hxx @@ -38,17 +38,21 @@ #include <tools/debug.hxx> #include <tools/urlobj.hxx> #include <vcl/salctype.hxx> -#include <svtools/brdcst.hxx> -#include <svtools/lstner.hxx> +#include <svl/brdcst.hxx> +#include <svl/lstner.hxx> #include <svtools/transfer.hxx> #include <sot/storage.hxx> -#include "galobj.hxx" -#include "galmisc.hxx" -#include "gallery1.hxx" +#include <svx/svdmodel.hxx> +//#include <svx/galobj.hxx> +#include <svx/galmisc.hxx> +//#include <svx/gallery1.hxx> // ----------------- // - GalleryObject - // ----------------- +// -------------- +// - SgaObjKind - +// -------------- struct GalleryObject { @@ -60,6 +64,11 @@ struct GalleryObject DECLARE_LIST( GalleryObjectList, GalleryObject* ) +class GalleryThemeEntry; +class SgaObject; +class FmFormModel; +class ListBox; + // ----------------- // - GalDragParams - // ----------------- @@ -116,7 +125,7 @@ private: ULONG ImplGetGalleryObjectPos( const GalleryObject* pObj ) const { return aObjectList.GetPos( pObj ); } INetURLObject ImplGetURL( const GalleryObject* pObject ) const; INetURLObject ImplCreateUniqueURL( SgaObjKind eObjKind, ULONG nFormat = CVT_UNKNOWN ); - void ImplSetModified( BOOL bModified ) { pThm->SetModified( bModified ); } + void ImplSetModified( BOOL bModified ); void ImplBroadcast( ULONG nUpdatePos ); GalleryTheme(); @@ -136,20 +145,20 @@ public: SVX_DLLPUBLIC BOOL RemoveObject( ULONG nPos ); BOOL ChangeObjectPos( ULONG nOldPos, ULONG nNewPos ); - const String& GetName() const { return IsImported() ? aImportName : pThm->GetThemeName(); } - const String& GetRealName() const { return pThm->GetThemeName(); } + SVX_DLLPUBLIC const String& GetName() const; + const String& GetRealName() const; const String& GetImportName() const { return aImportName; } void SetImportName(const String& rImportName) { aImportName = rImportName; } const String& GetDestDir() const { return m_aDestDir; } void SetDestDir(const String& rDestDir) { m_aDestDir = rDestDir; } - const INetURLObject& GetThmURL() const { return pThm->GetThmURL(); } - const INetURLObject& GetSdgURL() const { return pThm->GetSdgURL(); } - const INetURLObject& GetSdvURL() const { return pThm->GetSdvURL(); } + const INetURLObject& GetThmURL() const; + SVX_DLLPUBLIC const INetURLObject& GetSdgURL() const; + const INetURLObject& GetSdvURL() const; - UINT32 GetId() const { return pThm->GetId(); } - void SetId( UINT32 nNewId, BOOL bResetThemeName ) { pThm->SetId( nNewId, bResetThemeName ); } + SVX_DLLPUBLIC UINT32 GetId() const; + void SetId( UINT32 nNewId, BOOL bResetThemeName ); void SetDragging( BOOL bSet ) { bDragging = bSet; } BOOL IsDragging() const { return bDragging; } @@ -164,12 +173,12 @@ public: void SetDragPos( ULONG nPos ) { nDragPos = nPos; } ULONG GetDragPos() const { return nDragPos; } - BOOL IsThemeNameFromResource() const { return pThm->IsNameFromResource(); } + BOOL IsThemeNameFromResource() const; - BOOL IsImported() const { return pThm->IsImported(); } - BOOL IsReadOnly() const { return pThm->IsReadOnly(); } - BOOL IsDefault() const { return pThm->IsDefault(); } - BOOL IsModified() const { return pThm->IsModified(); } + SVX_DLLPUBLIC BOOL IsImported() const; + SVX_DLLPUBLIC BOOL IsReadOnly() const; + SVX_DLLPUBLIC BOOL IsDefault() const; + BOOL IsModified() const; SVX_DLLPUBLIC void Actualize( const Link& rActualizeLink, GalleryProgress* pProgress = NULL ); void AbortActualize() { bAbortActualize = TRUE; } @@ -216,6 +225,7 @@ public: SvStream& WriteData( SvStream& rOut ) const; SvStream& ReadData( SvStream& rIn ); + static SVX_DLLPUBLIC void InsertAllThemes( ListBox& rListBox ); }; SvStream& operator<<( SvStream& rOut, const GalleryTheme& rTheme ); diff --git a/svx/inc/grafctrl.hxx b/svx/inc/grafctrl.hxx index b0a27462fb04..ea5a7236f6fe 100644 --- a/svx/inc/grafctrl.hxx +++ b/svx/inc/grafctrl.hxx @@ -31,8 +31,8 @@ #ifndef _SVX_GRAFCTRL_HXX #define _SVX_GRAFCTRL_HXX -#include <svtools/lstner.hxx> -#include <svtools/intitem.hxx> +#include <svl/lstner.hxx> +#include <svl/intitem.hxx> #include <sfx2/tbxctrl.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/helpid.hrc b/svx/inc/helpid.hrc index 3cac79c92f80..bc36634e24c3 100644 --- a/svx/inc/helpid.hrc +++ b/svx/inc/helpid.hrc @@ -31,794 +31,258 @@ #define _SVX_HELPID_HRC // include --------------------------------------------------------------- -#include <svtools/solar.hrc> +#include <svl/solar.hrc> -// Help-Ids -------------------------------------------------------------- - -#define HID_GALLERY_BROWSER (HID_SVX_START + 0) -#define HID_GALLERY_THEME (HID_SVX_START + 1) -#define HID_GALLERY_NEW_THEME (HID_SVX_START + 2) -#define HID_GALLERY_RENAME_THEME (HID_SVX_START + 3) -#define HID_GALLERY_SEARCH (HID_SVX_START + 4) -#define HID_GALLERY_APPLY (HID_SVX_START + 5) -#define HID_GALLERY_ACTUALIZE (HID_SVX_START + 6) -#define HID_GALLERY_WINDOW (HID_SVX_START + 7) -#define HID_GALLERY_RENAME (HID_SVX_START + 8) -#define HID_GALLERY_PROPERTIES (HID_SVX_START + 9) - -#define HID_TRANS_POSITION (HID_SVX_START + 10) -#define HID_TRANS_SIZE (HID_SVX_START + 11) -#define HID_TRANS_ANGLE (HID_SVX_START + 12) -#define HID_TRANS_SLANT (HID_SVX_START + 13) - -#define HID_TABULATOR (HID_SVX_START + 14) -#define HID_BORDER (HID_SVX_START + 15) -#define HID_BACKGROUND (HID_SVX_START + 16) -#define HID_ALIGNMENT (HID_SVX_START + 17) -#define HID_NUMBERFORMAT (HID_SVX_START + 18) -#define HID_CAPTION (HID_SVX_START + 19) - -#define HID_FORMAT_PAGE (HID_SVX_START + 20) -#define HID_FORMAT_HEADER (HID_SVX_START + 21) -#define HID_FORMAT_FOOTER (HID_SVX_START + 22) -#define HID_FORMAT_CHAR_STD (HID_SVX_START + 23) -#define HID_FORMAT_CHAR_EXT (HID_SVX_START + 24) -#define HID_FORMAT_PARAGRAPH_STD (HID_SVX_START + 25) -#define HID_FORMAT_PARAGRAPH_EXT (HID_SVX_START + 26) -#define HID_FORMAT_PARAGRAPH_ALIGN (HID_SVX_START + 27) - -#define HID_AREA_AREA (HID_SVX_START + 30) -#define HID_AREA_HATCH (HID_SVX_START + 31) -#define HID_AREA_BITMAP (HID_SVX_START + 32) -#define HID_AREA_GRADIENT (HID_SVX_START + 33) -#define HID_LINE_LINE (HID_SVX_START + 34) -#define HID_LINE_DEF (HID_SVX_START + 35) -#define HID_LINE_ENDDEF (HID_SVX_START + 36) -#define HID_AREA_SHADOW (HID_SVX_START + 37) -#define HID_AREA_TRANSPARENCE (HID_SVX_START + 38) - -#define HID_OPTIONS_COLOR (HID_SVX_START + 40) -#define HID_OPTIONS_SAVE (HID_SVX_START + 41) -#define HID_OPTIONS_PATH (HID_SVX_START + 42) -#define HID_OPTIONS_GENERAL (HID_SVX_START + 43) -#define HID_OPTIONS_LINGU (HID_SVX_START + 44) -#define HID_OPTIONS_SPELL (HID_SVX_START + 45) -#define HID_OPTIONS_DICT_NEW (HID_SVX_START + 46) -#define HID_OPTIONS_DICT_EDIT (HID_SVX_START + 47) -#define HID_OPTIONS_GRID (HID_SVX_START + 48) -#define HID_OPTIONS_INET (HID_SVX_START + 49) - -#define HID_DLG_NAME (HID_SVX_START + 50) -#define HID_DLG_MESSBOX (HID_SVX_START + 51) -#define HID_SEARCHATTR (HID_SVX_START + 52) -#define HID_HYPHENATE (HID_SVX_START + 53) -#define HID_SPELLCHECK (HID_SVX_START + 54) -#define HID_SEARCHSIMILARITY (HID_SVX_START + 55) -#define HID_PASSWORD (HID_SVX_START + 56) -#define HID_MULTIPATH (HID_SVX_START + 57) - -#define HID_GALLERY_PROPERTIES_GENERAL (HID_SVX_START + 58) - -// #i68101# -#define HID_DLG_OBJECT_NAME (HID_SVX_START + 59) -#define HID_DLG_OBJECT_TITLE_DESC (HID_SVX_START + 60) - -//#define HID_BASICIDE_OBJECTS (HID_SVX_START + 59) -//#define HID_MACRO_OPTIONS (HID_SVX_START + 60) -//#define HID_BASICIDE_BRKPNTS (HID_SVX_START + 61) -//#define HID_BASICIDE_MODULS (HID_SVX_START + 62) -//#define HID_BASICIDE_LIBS_TP (HID_SVX_START + 63) -//#define HID_BASICIDE_LIBS_DLG (HID_SVX_START + 64) -//#define HID_BASICIDE_CONTROLS (HID_SVX_START + 65) -//#define HID_BASICIDE_MACROS (HID_SVX_START + 66) -//#define HID_BASICIDE_LIBS (HID_SVX_START + 67) -//#define HID_BASICIDE_ORG_TC (HID_SVX_START + 68) - -#define HID_POPUP_COLOR (HID_SVX_START + 70) -#define HID_POPUP_BRUSH (HID_SVX_START + 71) -#define HID_POPUP_FRAME (HID_SVX_START + 72) -#define HID_POPUP_LINE (HID_SVX_START + 73) - -#define HID_OPTIONS_MAIL (HID_SVX_START + 74) -#define HID_THES_LANGUAGE (HID_SVX_START + 75) - -#define HID_OPTIONS_PROXY (HID_SVX_START + 76) -#define HID_OPTIONS_CACHE (HID_SVX_START + 77) -#define HID_OPTIONS_TYPE (HID_SVX_START + 78) -#define HID_OPTIONS_SEARCH (HID_SVX_START + 79) - -//#define HID_BASICIDE_MODULES_TREE (HID_SVX_START + 80) -//#define HID_BASICIDE_LIBS_TREE (HID_SVX_START + 81) -//#define HID_BASICIDE_LIBSDLG_TREE (HID_SVX_START + 82) -//#define HID_BASICIDE_OBJECTCAT (HID_SVX_START + 83) - -#define HID_PAGE_LIGHT3D (HID_SVX_START + 84) -#define HID_PAGE_MEASURE (HID_SVX_START + 85) -#define HID_PAGE_TEXTATTR (HID_SVX_START + 86) -#define HID_PAGE_3DATTR (HID_SVX_START + 87) -#define HID_CTRL_COLOR (HID_SVX_START + 88) -#define HID_PAGE_CONNECTION (HID_SVX_START + 89) -#define HID_PAGE_CONNECTION_CTL_PREVIEW (HID_SVX_START + 90) -#define HID_PAGE_DISTRIBUTE (HID_SVX_START + 91) - -#define HID_WIN_FONTWORK_ALIGN (HID_SVX_START + 92) -#define HID_WIN_FONTWORK_CHARSPACE (HID_SVX_START + 93) -#define HID_CTL_FONTWORK_FAVORITES (HID_SVX_START + 94) - -#define HID_BACKGROUND_CTL_BGDCOLORSET (HID_SVX_START + 100) -#define HID_BACKGROUND_CTL_PATTERNSET (HID_SVX_START + 101) -#define HID_BACKGROUND_CTL_PATCOLORSET (HID_SVX_START + 102) -#define HID_BACKGROUND_CTL_POSITION (HID_SVX_START + 103) -#define HID_BMPMASK_CTL_QCOL_1 (HID_SVX_START + 104) -#define HID_BMPMASK_CTL_PIPETTE (HID_SVX_START + 105) -#define HID_BORDER_CTL_PRESETS (HID_SVX_START + 106) -#define HID_BORDER_CTL_SHADOWS (HID_SVX_START + 107) -#define HID_CHARMAP_CTL_SHOWSET (HID_SVX_START + 108) -#define HID_CHARMAP_CTL_SHOWTEXT (HID_SVX_START + 109) -#define HID_CHARMAP_CTL_SHOWCHAR (HID_SVX_START + 110) -#define HID_FONTWORK_CTL_FORMS (HID_SVX_START + 111) -#define HID_LIGHT3D_CTL_LIGHT (HID_SVX_START + 112) -#define HID_MEASURE_CTL_POSITION (HID_SVX_START + 113) -#define HID_MEASURE_CTL_PREVIEW (HID_SVX_START + 114) -#define HID_SEARCHATTR_CTL_ATTR (HID_SVX_START + 115) -#define HID_TEXTATTR_CTL_POSITION (HID_SVX_START + 116) -#define HID_3DATTR_CTL_DISTANCE (HID_SVX_START + 117) -#define HID_3DATTR_CTL_FOCALLENGTH (HID_SVX_START + 118) -#define HID_COLOR_CTL_COLORS (HID_SVX_START + 119) -#define HID_OPTPATH_CTL_PATH (HID_SVX_START + 120) -#define HID_OPTLINGU_CTL_DICTS (HID_SVX_START + 121) -#define HID_OPTINET2_CTL_TYPES (HID_SVX_START + 122) -#define HID_OPTIONS_DICT_DELETE (HID_SVX_START + 123) - -#define HID_TPCOLOR_RGB_1 (HID_SVX_START + 124) -#define HID_TPCOLOR_RGB_2 (HID_SVX_START + 125) -#define HID_TPCOLOR_RGB_3 (HID_SVX_START + 126) -#define HID_TPCOLOR_CMYK_1 (HID_SVX_START + 127) -#define HID_TPCOLOR_CMYK_2 (HID_SVX_START + 128) -#define HID_TPCOLOR_CMYK_3 (HID_SVX_START + 129) - -#define HID_BMPMASK_TBI_PIPETTE (HID_SVX_START + 130) -//#define HID_BASICIDE_PROP_BROWSER (HID_SVX_START + 131) -#define HID_STYLE_LISTBOX (HID_SVX_START + 132) - -#define HID_FONTWORK_TBI_STYLE_OFF (HID_SVX_START + 133) -#define HID_FONTWORK_TBI_STYLE_ROTATE (HID_SVX_START + 134) -#define HID_FONTWORK_TBI_STYLE_UPRIGHT (HID_SVX_START + 135) -#define HID_FONTWORK_TBI_STYLE_SLANTX (HID_SVX_START + 136) -#define HID_FONTWORK_TBI_STYLE_SLANTY (HID_SVX_START + 137) -#define HID_FONTWORK_TBI_ADJUST_MIRROR (HID_SVX_START + 138) -#define HID_FONTWORK_TBI_ADJUST_LEFT (HID_SVX_START + 139) -#define HID_FONTWORK_TBI_ADJUST_CENTER (HID_SVX_START + 140) -#define HID_FONTWORK_TBI_ADJUST_RIGHT (HID_SVX_START + 141) -#define HID_FONTWORK_TBI_ADJUST_AUTOSIZE (HID_SVX_START + 142) -#define HID_FONTWORK_TBI_SHOWFORM (HID_SVX_START + 143) -#define HID_FONTWORK_TBI_OUTLINE (HID_SVX_START + 144) -#define HID_FONTWORK_TBI_SHADOW_OFF (HID_SVX_START + 145) -#define HID_FONTWORK_TBI_SHADOW_NORMAL (HID_SVX_START + 146) -#define HID_FONTWORK_TBI_SHADOW_SLANT (HID_SVX_START + 147) - -#define HID_NUMBERFORMAT_TBI_ADD (HID_SVX_START + 148) -#define HID_NUMBERFORMAT_TBI_REMOVE (HID_SVX_START + 149) - -#define HID_CONTDLG_APPLY (HID_SVX_START + 150) -#define HID_CONTDLG_WORKPLACE (HID_SVX_START + 151) -#define HID_CONTDLG_SELECT (HID_SVX_START + 152) -#define HID_CONTDLG_RECT (HID_SVX_START + 153) -#define HID_CONTDLG_CIRCLE (HID_SVX_START + 154) -#define HID_CONTDLG_POLY (HID_SVX_START + 155) -#define HID_CONTDLG_FREEPOLY (HID_SVX_START + 156) -#define HID_CONTDLG_POLYEDIT (HID_SVX_START + 157) -#define HID_CONTDLG_POLYMOVE (HID_SVX_START + 158) -#define HID_CONTDLG_POLYINSERT (HID_SVX_START + 159) -#define HID_CONTDLG_POLYDELETE (HID_SVX_START + 160) -#define HID_CONTDLG_UNDO (HID_SVX_START + 161) -#define HID_CONTDLG_REDO (HID_SVX_START + 162) -#define HID_CONTDLG_AUTOCONTOUR (HID_SVX_START + 163) -#define HID_CONTDLG_PIPETTE (HID_SVX_START + 164) - -//#define HID_BASICIDE_PROP_BROWSER_LBOX (HID_SVX_START + 165) -#define HID_DRAWTOOL_TBX (HID_SVX_START + 166) -#define HID_ALIGN_TBX (HID_SVX_START + 167) - -#define HID_IMAPDLG_APPLY (HID_SVX_START + 168) -#define HID_IMAPDLG_OPEN (HID_SVX_START + 169) -#define HID_IMAPDLG_SAVEAS (HID_SVX_START + 170) -#define HID_IMAPDLG_SELECT (HID_SVX_START + 171) -#define HID_IMAPDLG_RECT (HID_SVX_START + 172) -#define HID_IMAPDLG_CIRCLE (HID_SVX_START + 173) -#define HID_IMAPDLG_POLY (HID_SVX_START + 174) -#define HID_IMAPDLG_FREEPOLY (HID_SVX_START + 175) -#define HID_IMAPDLG_POLYEDIT (HID_SVX_START + 176) -#define HID_IMAPDLG_POLYMOVE (HID_SVX_START + 177) -#define HID_IMAPDLG_POLYINSERT (HID_SVX_START + 178) -#define HID_IMAPDLG_POLYDELETE (HID_SVX_START + 179) -#define HID_IMAPDLG_UNDO (HID_SVX_START + 180) -#define HID_IMAPDLG_REDO (HID_SVX_START + 181) -#define HID_IMAPDLG_ACTIVE (HID_SVX_START + 182) -#define HID_IMAPDLG_MACRO (HID_SVX_START + 183) -#define HID_IMAPDLG_PROPERTY (HID_SVX_START + 184) - -#define HID_SVXTBX_ALIGNMENT (HID_SVX_START + 185) -#define HID_SVXTBX_DRAW (HID_SVX_START + 186) - -#define HID_GALLERY_MN_ADDMENU (HID_SVX_START + 187) -#define HID_GALLERY_MN_ADD (HID_SVX_START + 188) -#define HID_GALLERY_MN_ADD_LINK (HID_SVX_START + 189) -#define HID_GALLERY_MN_BACKGROUND (HID_SVX_START + 190) -#define HID_GALLERY_MN_PREVIEW (HID_SVX_START + 191) -#define HID_GALLERY_MN_DELETE (HID_SVX_START + 192) -#define HID_GALLERY_TITLE (HID_SVX_START + 193) -#define HID_GALLERY_TITLE_EDIT (HID_SVX_START + 194) - -//#define HID_BASICIDE_OBJCAT_SHOW (HID_SVX_START + 195) -//#define HID_BASICIDE_OBJCAT_PROPS (HID_SVX_START + 196) -//#define HID_BASICIDE_OBJCAT_HELP (HID_SVX_START + 197) - -#define HID_IMPGRF_BTN_STANDARD (HID_SVX_START + 198) -#define HID_IMPGRF_BTN_INTERNET (HID_SVX_START + 199) -#define HID_IMPGRF_BTN_PROPERTIES (HID_SVX_START + 200) -#define HID_IMPGRF_BTN_FILTER (HID_SVX_START + 201) -#define HID_IMPGRF_CB_LINK (HID_SVX_START + 202) -#define HID_IMPGRF_CB_PREVIEW (HID_SVX_START + 203) - -//#define HID_BASICIDE_BRKDLG (HID_SVX_START + 204) -//#define HID_BASICIDE_ACTIV (HID_SVX_START + 205) -//#define HID_BASICIDE_BRKPROPS (HID_SVX_START + 206) -//#define HID_BASICIDE_REMOVEWATCH (HID_SVX_START + 207) -//#define HID_BASICIDE_GOTOALL (HID_SVX_START + 208) - -#define HID_SVX_OPT_EXT_LINGU (HID_SVX_START + 209) -#define HID_CACHE_EXTRA_DLG (HID_SVX_START + 210) - -#define HID_CONTDLG_TOOLBOX (HID_SVX_START + 211) -#define HID_CONTDLG_GRAPHWND (HID_SVX_START + 212) - -#define HID_IMAPDLG_TOOLBOX (HID_SVX_START + 213) -#define HID_IMAPDLG_GRAPHWND (HID_SVX_START + 214) - -#define HID_OPTLINGU_TOOLBOX (HID_SVX_START + 215) - -#define HID_OPTLDAP_SERVERLIST (HID_SVX_START + 216) -#define HID_OPTLDAP_EDITSERVER (HID_SVX_START + 217) - -#define HID_SPELLDLG_EXTRAS_AUDIT (HID_SVX_START + 218) -#define HID_SPELLDLG_EXTRAS_AUTOCORR (HID_SVX_START + 219) -#define HID_SPELLDLG_EXTRAS_THESAURUS (HID_SVX_START + 220) -#define HID_SPELLDLG_EXTRAS_OPTIONS (HID_SVX_START + 221) - -#define HID_TPSHADOW_CTRL (HID_SVX_START + 222) -#define HID_TPHATCH_CTRL (HID_SVX_START + 223) -#define HID_TPPOSITION_CTRL (HID_SVX_START + 224) -#define HID_TPSIZE_CTRL (HID_SVX_START + 225) -#define HID_TPROTATION_CTRL1 (HID_SVX_START + 226) -#define HID_TPROTATION_CTRL2 (HID_SVX_START + 227) - -#define HID_OPTIONS_SSLSITE (HID_SVX_START + 228) -#define HID_OPTIONS_SSLPERSONAL (HID_SVX_START + 229) -#define HID_OPTIONS_COOKIES (HID_SVX_START + 230) -#define HID_OPTINET2_CTL_COOKIES (HID_SVX_START + 231) -#define HID_OPTIONS_CHANNELS (HID_SVX_START + 232) -#define HID_OPTINET2_CTL_CHANNELS (HID_SVX_START + 233) - -#define HID_CAPTION_CTL_TYPE (HID_SVX_START + 234) - -#define HID_NUMBERFORMAT_TBI_INFO (HID_SVX_START + 235) -#define HID_NUMBERFORMAT_LB_FORMAT (HID_SVX_START + 236) - -#define HID_ALIGNMENT_CTR_DIAL (HID_SVX_START + 237) -#define HID_ALIGNMENT_CTR_BORDER_LOCK (HID_SVX_START + 238) - -#define HID_REDLINING_FILTER_PAGE (HID_SVX_START + 239) -#define HID_REDLINING_FILTER_CB_DATE (HID_SVX_START + 240) -#define HID_REDLINING_FILTER_LB_DATE (HID_SVX_START + 241) -#define HID_REDLINING_FILTER_DF_DATE (HID_SVX_START + 242) -#define HID_REDLINING_FILTER_TF_DATE (HID_SVX_START + 243) -#define HID_REDLINING_FILTER_IB_CLOCK (HID_SVX_START + 244) -#define HID_REDLINING_FILTER_DF_DATE2 (HID_SVX_START + 245) -#define HID_REDLINING_FILTER_TF_DATE2 (HID_SVX_START + 246) -#define HID_REDLINING_FILTER_IB_CLOCK2 (HID_SVX_START + 247) -#define HID_REDLINING_FILTER_CB_AUTOR (HID_SVX_START + 248) -#define HID_REDLINING_FILTER_LB_AUTOR (HID_SVX_START + 249) -#define HID_REDLINING_FILTER_CB_RANGE (HID_SVX_START + 250) -#define HID_REDLINING_FILTER_ED_RANGE (HID_SVX_START + 251) -#define HID_REDLINING_FILTER_LB_ACTION (HID_SVX_START + 252) -#define HID_REDLINING_FILTER_BTN_REF (HID_SVX_START + 253) - -#define HID_REDLINING_VIEW_PAGE (HID_SVX_START + 254) -#define HID_REDLINING_VIEW_DG_VIEW (HID_SVX_START + 255) -#define HID_REDLINING_VIEW_PB_ACCEPT (HID_SVX_START + 256) -#define HID_REDLINING_VIEW_PB_ACCEPTALL (HID_SVX_START + 257) -#define HID_REDLINING_VIEW_PB_REJECT (HID_SVX_START + 258) -#define HID_REDLINING_VIEW_PB_REJECTALL (HID_SVX_START + 259) - -#define HID_MNU_ZOOM_200 (HID_SVX_START + 260) -#define HID_MNU_ZOOM_150 (HID_SVX_START + 261) -#define HID_MNU_ZOOM_100 (HID_SVX_START + 262) -#define HID_MNU_ZOOM_75 (HID_SVX_START + 263) -#define HID_MNU_ZOOM_50 (HID_SVX_START + 264) -#define HID_MNU_ZOOM_OPTIMAL (HID_SVX_START + 265) -#define HID_MNU_ZOOM_PAGE_WIDTH (HID_SVX_START + 266) -#define HID_MNU_ZOOM_WHOLE_PAGE (HID_SVX_START + 267) - -#define HID_MNU_FUNC_AVG (HID_SVX_START + 268) -#define HID_MNU_FUNC_COUNT2 (HID_SVX_START + 269) -#define HID_MNU_FUNC_COUNT (HID_SVX_START + 270) -#define HID_MNU_FUNC_MAX (HID_SVX_START + 271) -#define HID_MNU_FUNC_MIN (HID_SVX_START + 272) -#define HID_MNU_FUNC_SUM (HID_SVX_START + 273) -#define HID_MNU_FUNC_NONE (HID_SVX_START + 274) -#define HID_REDLINING_FILTER_CB_ACTION (HID_SVX_START + 275) - -#define HID_REDLINING_DLG (HID_SVX_START + 276) -#define HID_REDLINING_EDIT (HID_SVX_START + 277) -#define HID_REDLINING_PREV (HID_SVX_START + 278) -#define HID_REDLINING_NEXT (HID_SVX_START + 279) -#define HID_REDLINING_TABCONTROL (HID_SVX_START + 280) - -#define HID_VALUESET_SINGLENUM (HID_SVX_START + 281) -#define HID_VALUESET_BULLET (HID_SVX_START + 282) -#define HID_VALUESET_NUM (HID_SVX_START + 283) -#define HID_VALUESET_NUMBMP (HID_SVX_START + 284) -#define HID_SVXPAGE_PICK_NUM (HID_SVX_START + 285) -#define HID_SVXPAGE_PICK_SINGLE_NUM (HID_SVX_START + 286) -#define HID_SVXPAGE_PICK_BMP (HID_SVX_START + 287) -#define HID_SVXPAGE_PICK_BULLET (HID_SVX_START + 288) -#define HID_SVXPAGE_NUM_OPTIONS (HID_SVX_START + 289) -#define HID_SVXPAGE_NUM_POSITION (HID_SVX_START + 290) - -//#define HID_BASICIDE_MODULWINDOW (HID_SVX_START + 291) -//#define HID_BASICIDE_DIALOGWINDOW (HID_SVX_START + 292) - -#define HID_REDLINING_FILTER_CB_COMMENT (HID_SVX_START + 293) -#define HID_REDLINING_FILTER_ED_COMMENT (HID_SVX_START + 294) -#define HID_REDLINING_VIEW_PB_UNDO (HID_SVX_START + 295) +#include <svx/exthelpid.hrc> -#define HID_OPTIONS_EXTERN_BROWSER (HID_SVX_START + 296) - -#define HID_EDITENG_SPELLER_START (HID_SVX_START + 297) -#define HID_EDITENG_SPELLER_ADDWORD (HID_SVX_START + 298) -#define HID_EDITENG_SPELLER_IGNORE (HID_SVX_START + 299) -#define HID_EDITENG_SPELLER_AUTOCORRECT (HID_SVX_START + 300) - -#define HID_OPTPATH_HEADERBAR (HID_SVX_START + 301) -#define HID_OPTCOOKIES_HEADERBAR (HID_SVX_START + 302) - -#define HID_TPPAGE_FULLSIZE (HID_SVX_START + 303) - -#define HID_POPUP_LINEEND (HID_SVX_START + 304) -#define HID_POPUP_LINEEND_CTRL (HID_SVX_START + 305) - -#define HID_SPELLDLG_SETWORD (HID_SVX_START + 306) - -#define HID_HYPERLINK_INTERNET (HID_SVX_START + 315) -#define HID_HYPERLINK_MAIL (HID_SVX_START + 316) -#define HID_HYPERLINK_DOCUMENT (HID_SVX_START + 317) -#define HID_HYPERLINK_NEWDOCUMENT (HID_SVX_START + 318) -#define HID_HYPERLINK_MARKWND (HID_SVX_START + 319) - -#define HID_ICCDIALOG_RESET_BTN (HID_SVX_START + 320) -#define HID_ICCDIALOG_CHOICECTRL (HID_SVX_START + 321) - -#define HID_HYPERDLG_INET_PATH (HID_SVX_START + 322) -#define HID_HYPERDLG_MAIL_PATH (HID_SVX_START + 323) -#define HID_HYPERDLG_DOC_PATH (HID_SVX_START + 324) -#define HID_ICCDIALOG_OK_BTN (HID_SVX_START + 325) -#define HID_ICCDIALOG_CANCEL_BTN (HID_SVX_START + 326) - -#define HID_HYPERLINK_MARKWND_APPLY (HID_SVX_START + 327) -#define HID_HYPERLINK_MARKWND_CLOSE (HID_SVX_START + 328) -#define HID_HYPERLINK_MARKWND_TREE (HID_SVX_START + 329) - -#define HID_AUTOCORR_HELP_START (HID_SVX_START + 331) -#define HID_AUTOCORR_HELP_END (HID_SVX_START + 370) - -#define HID_SVXPAGE_GRFCROP (HID_SVX_START + 375) - -// #i58240# set HelpIDs for scrollbars and switcher -#define HID_CTRL3D_HSCROLL (HID_SVX_START + 376) -#define HID_CTRL3D_VSCROLL (HID_SVX_START + 377) -#define HID_CTRL3D_SWITCHER (HID_SVX_START + 378) - -#define HID_GRFFILTER (HID_SVX_START + 380) -#define HID_GRFFILTER_INVERT (HID_SVX_START + 381) -#define HID_GRFFILTER_SMOOTH (HID_SVX_START + 382) -#define HID_GRFFILTER_SHARPEN (HID_SVX_START + 383) -#define HID_GRFFILTER_REMOVENOISE (HID_SVX_START + 384) -#define HID_GRFFILTER_SOBEL (HID_SVX_START + 385) -#define HID_GRFFILTER_MOSAIC (HID_SVX_START + 386) -#define HID_GRFFILTER_EMBOSS (HID_SVX_START + 387) -#define HID_GRFFILTER_POSTER (HID_SVX_START + 388) -#define HID_GRFFILTER_POPART (HID_SVX_START + 389) -#define HID_GRFFILTER_SEPIA (HID_SVX_START + 390) -#define HID_GRFFILTER_SOLARIZE (HID_SVX_START + 391) - -#define HID_SVXPAGE_CHAR_NAME (HID_SVX_START + 392) -#define HID_SVXPAGE_CHAR_EFFECTS (HID_SVX_START + 393) -#define HID_SVXPAGE_CHAR_POSITION (HID_SVX_START + 394) -#define HID_SVXPAGE_CHAR_TWOLINES (HID_SVX_START + 395) -#define HID_SVXPAGE_CHAR_EFFECTS_CTRL (HID_SVX_START + 396) - -#define HID_LNGDLG_NUM_PREBREAK (HID_SVX_START + 400) - -#define HID_EDIT_MODULES (HID_SVX_START + 401) -#define HID_CLB_EDIT_MODULES_DICS (HID_SVX_START + 402) -#define HID_CLB_EDIT_MODULES_MODULES (HID_SVX_START + 403) -#define HID_CLB_LINGU_MODULES (HID_SVX_START + 404) -#define HID_CLB_LINGU_OPTIONS (HID_SVX_START + 405) - -#define HID_SVXPAGE_PARA_ASIAN (HID_SVX_START + 406) - -#define HID_GRFFILTER_EMBOSS_LIGHT (HID_SVX_START + 408) - -#define HID_GALLERY_NEWTHEME (HID_SVX_START + 410) -#define HID_GALLERY_THEMELIST (HID_SVX_START + 411) - -#define HID_SVX_PROPBRW (HID_SVX_START + 412) -#define HID_SVXDLG_PROPBRW (HID_SVX_START + 413) -#define HID_SVX_DLG_LABELCONTROL (HID_SVX_START + 414) - -#define HID_OPTIONS_ASIAN_LAYOUT (HID_SVX_START + 415) -#define HID_SVXTBX_FORM (HID_SVX_START + 416) - -#define HID_WARN_NAME_DUPLICATE (HID_SVX_START + 417) -#define HID_POPUP_COLOR_CTRL (HID_SVX_START + 418) - -#define HID_RUBY_DIALOG (HID_SVX_START + 419) - -#define HID_SVXPAGE_JSEARCH_OPTIONS (HID_SVX_START + 420) - -#define HID_SVXTBX_UNDO_REDO_CTRL (HID_SVX_START + 421) - -#define HID_GALLERY_MN_COPYCLIPBOARD (HID_SVX_START + 422) -#define HID_GALLERY_MN_PASTECLIPBOARD (HID_SVX_START + 423) -#define HID_GALLERY_PREVIEW (HID_SVX_START + 424) -#define HID_GALLERY_ICONVIEW (HID_SVX_START + 425) -#define HID_GALLERY_LISTVIEW (HID_SVX_START + 426) -#define HID_SVXDLG_FILTER_WARNING (HID_SVX_START + 427) - -#define HID_TRANS_POSITION_SIZE (HID_SVX_START + 428) -#define HID_OPTIONS_COLORCONFIG (HID_SVX_START + 429) -#define HID_OPTIONS_COLORCONFIG_SAVE_SCHEME (HID_SVX_START + 430) -#define HID_OPTIONS_ACCESSIBILITYCONFIG (HID_SVX_START + 431) - -//no new entries here!! HID_SVX_EXT0_START == 39868 - -#define HID_FILL_ATTR_LISTBOX (HID_SVX_EXT0_START + 1) -#define HID_FILL_TYPE_LISTBOX (HID_SVX_EXT0_START + 2) -#define HID_OPTIONS_COLORCONFIG_COLORLIST_WIN (HID_SVX_EXT0_START + 3) -#define HID_OPTIONS_SSO (HID_SVX_EXT0_START + 4) -#define HID_EDITENG_SPELLER_WORDLANGUAGE (HID_SVX_EXT0_START + 5) -#define HID_EDITENG_SPELLER_PARALANGUAGE (HID_SVX_EXT0_START + 6) -#define HID_OPTIONS_COLORCONFIG_NAME_SCHEME (HID_SVX_EXT0_START + 7) -#define HID_OPTIONS_PATHS_SELECTFOLDER (HID_SVX_EXT0_START + 8) -#define HID_GALLERY_NEWTHEME_FINDFILES (HID_SVX_EXT0_START + 9) -#define HID_GALLERY_NEWTHEME_ADDFILES (HID_SVX_EXT0_START + 10) -#define HID_NUMBERINGOPT_SEL_GRF_FROM_FILE (HID_SVX_EXT0_START + 11) -#define HID_OPTIONS_CTL (HID_SVX_EXT0_START + 12) -#define HID_REDLINING_VIEW_DG_VIEW_TABLE (HID_SVX_EXT0_START + 13) -#define HID_REDLINING_VIEW_DG_VIEW_HEADER (HID_SVX_EXT0_START + 14) -#define HID_DIALOG_HANGULHANJA (HID_SVX_EXT0_START + 15) -#define HID_SPLDLG_BUTTON_CLOSE (HID_SVX_EXT0_START + 16) -#define HID_SPLDLG_BUTTON_IGNORE (HID_SVX_EXT0_START + 17) -#define HID_SPLDLG_BUTTON_IGNOREALL (HID_SVX_EXT0_START + 18) -#define HID_SPLDLG_BUTTON_CHANGE (HID_SVX_EXT0_START + 19) -#define HID_SPLDLG_BUTTON_CHANGEALL (HID_SVX_EXT0_START + 20) -#define HID_HANGULDLG_BUTTON_CLOSE (HID_SVX_EXT0_START + 21) -#define HID_HANGULDLG_BUTTON_IGNORE (HID_SVX_EXT0_START + 22) -#define HID_HANGULDLG_BUTTON_IGNOREALL (HID_SVX_EXT0_START + 23) -#define HID_HANGULDLG_BUTTON_CHANGE (HID_SVX_EXT0_START + 24) -#define HID_HANGULDLG_BUTTON_CHANGEALL (HID_SVX_EXT0_START + 25) -#define HID_SPLDLG_EDIT_NEWWORD (HID_SVX_EXT0_START + 26) -#define HID_HANGULDLG_EDIT_NEWWORD (HID_SVX_EXT0_START + 27) -#define HID_DLG_SECURITY_OPTIONS (HID_SVX_EXT0_START + 28) -#define HID_DLG_WEBCONNECTION_INFO (HID_SVX_EXT0_START + 29) -#define HID_SPLDLG_BUTTON_EXPLAIN (HID_SVX_EXT0_START + 30) -#define HID_SPLDLG_CHECKBOX_CHECKGRAMMAR (HID_SVX_EXT0_START + 31) - -#define HID_AUTOCORR_DLG (HID_OFA_START + 0) -#define HID_OFAPAGE_AUTOCORR_OPTIONS (HID_OFA_START + 1) -#define HID_OFAPAGE_AUTOCORR_REPLACE (HID_OFA_START + 2) -#define HID_OFAPAGE_AUTOCORR_EXCEPT (HID_OFA_START + 3) -#define HID_OFACTL_AUTOCORR_REPLACE (HID_OFA_START + 4) -#define HID_OFAWIN_MAIL_HEADER (HID_OFA_START + 5) -#define HID_OFAWIN_MAIL_ATTACH (HID_OFA_START + 6) -#define HID_OFACTL_MAIL_ATTACH (HID_OFA_START + 7) -#define HID_OFA_TP_MISC (HID_OFA_START + 8) -#define HID_OFA_HYPERLINK (HID_OFA_START + 10) -#define HID_OFA_DLGTABNEW (HID_OFA_START + 11) -#define HID_OFA_HYPERLINK_DLG (HID_OFA_START + 12) -#define HID_OFA_MAILHEAD_ROLE_LB (HID_OFA_START + 13) -#define HID_OFA_MAILHEAD_RCPT_ED (HID_OFA_START + 14) -#define HID_OFA_MAILHEAD_RCPT_LB (HID_OFA_START + 15) -#define HID_OFA_MAILHEAD_SUBJECT_ED (HID_OFA_START + 16) -#define HID_OFA_MAILHEAD_RECEIPT_CB (HID_OFA_START + 17) -#define HID_OFA_MAILHEAD_PRIORITY_LB (HID_OFA_START + 18) -#define HID_OFA_MAILHEAD_HEAD_WIN (HID_OFA_START + 19) -#define HID_OFA_MAILATTACH_ATTACH_LB (HID_OFA_START + 20) -#define HID_OFA_MAILATTACH_ASCII_CB (HID_OFA_START + 21) -#define HID_OFA_MAILATTACH_HTML_CB (HID_OFA_START + 22) -#define HID_OFA_MAILATTACH_RTF_CB (HID_OFA_START + 23) -#define HID_OFA_MAILATTACH_OFFICE_CB (HID_OFA_START + 24) -#define HID_OFA_HYPERLINK_TARGET (HID_OFA_START + 25) -#define HID_OFA_HYPERLINK_SEARCH (HID_OFA_START + 26) -#define HID_OFA_MAILTOOLBOX (HID_OFA_START + 27) -#define HID_OFAPAGE_AUTOCORR_QUOTE (HID_OFA_START + 28) -#define HID_OFA_TP_VIEW (HID_OFA_START + 29) -#define HID_OFA_MAILMENU_OPEN (HID_OFA_START + 30) -#define HID_OFA_MAILMENU_DELETE (HID_OFA_START + 31) -#define HID_OFA_MAILMENU_RENAME (HID_OFA_START + 32) -#define HID_OFA_MAILMENU_SAVEAS (HID_OFA_START + 33) -#define HID_OFA_MAILMENU_ADDADDRESS (HID_OFA_START + 34) -#define HID_OFA_MAILMENU_COPYLINK (HID_OFA_START + 35) -#define HID_OFA_MAILMENU_SIG1 (HID_OFA_START + 36) -#define HID_OFA_MAILMENU_SIG2 (HID_OFA_START + 37) -#define HID_OFA_MAILMENU_SIG3 (HID_OFA_START + 38) -#define HID_OFA_MAILMENU_SIG4 (HID_OFA_START + 39) -#define HID_OFA_MAILHEAD_PROTOCOL_LB (HID_OFA_START + 42) -#define HID_OFA_MAILATTACH_RECEIPT_CB (HID_OFA_START + 43) -#define HID_OFA_MAILATTACH_PRIORITY_LB (HID_OFA_START + 44) -#define HID_OFA_MAILATTACH_TABBAR (HID_OFA_START + 45) -#define HID_OFAPAGE_AUTOCORR_CLB (HID_OFA_START + 46) -#define HID_OFAPAGE_AUTOFORMAT_CLB (HID_OFA_START + 47) -#define HID_OFAPAGE_AUTOFMT_OPTIONS (HID_OFA_START + 48) -#define HID_OFA_DLGFORMNEW (HID_OFA_START + 49) -#define HID_OFA_TP_APPEARANCE (HID_OFA_START + 50) -#define HID_OFA_HYPERLINK_NAME (HID_OFA_START + 51) -#define HID_OFA_HYPERLINK_URL_TXT (HID_OFA_START + 52) -#define HID_OFA_HYPERLINK_URL (HID_OFA_START + 53) -#define HID_OFA_MAILMENU_FILE (HID_OFA_START + 54) -#define HID_OFA_FONT_SUBSTITUTION (HID_OFA_START + 55) -#define HID_OFA_FONT_SUBST_CLB (HID_OFA_START + 56) -#define HID_OFA_SUBST_APPLY (HID_OFA_START + 57) -#define HID_OFA_SUBST_DELETE (HID_OFA_START + 58) -#define HID_OFADLG_REGISTRATION (HID_OFA_START + 59) -#define HID_OFA_TP_DESKTOP (HID_OFA_START + 60) -#define HID_REGISTRATION_REGISTER (HID_OFA_START + 61) -#define HID_REGISTRATION_ENABLE_KEY (HID_OFA_START + 62) -#define HID_AUTOCORR_LANGUAGE (HID_OFA_START + 63) -#define HID_OFA_MAILHEAD_RCPT_CB (HID_OFA_START + 64) -#define HID_OFA_SENDMENU_PLAIN (HID_OFA_START + 65) -#define HID_OFA_SENDMENU_ENCRYPT (HID_OFA_START + 66) -#define HID_OFA_SENDMENU_SIGN (HID_OFA_START + 67) -#define HID_OFA_SENDMENU_SIGNANDENCRYPT (HID_OFA_START + 68) -#define HID_OFADLG_OPTIONS_TREE (HID_OFA_START + 69) -#define HID_OFADLG_TREELISTBOX (HID_OFA_START + 70) -#define HID_OFADLG_TREE_GENERAL (HID_OFA_START + 71) -#define HID_OFADLG_TREE_INTERNET (HID_OFA_START + 72) -#define HID_OFADLG_TREE_BROWSER (HID_OFA_START + 73) -#define HID_OFADLG_TREE_TEXT (HID_OFA_START + 74) -#define HID_OFADLG_TREE_HTML (HID_OFA_START + 75) -#define HID_OFADLG_TREE_CALC (HID_OFA_START + 76) -#define HID_OFADLG_TREE_PRESENTATION (HID_OFA_START + 77) -#define HID_OFADLG_TREE_DRAWING (HID_OFA_START + 78) -#define HID_OFADLG_TREE_IMAGE (HID_OFA_START + 79) -#define HID_OFADLG_TREE_FORMULA (HID_OFA_START + 80) -#define HID_OFAPAGE_AUTOCOMPLETE_OPTIONS (HID_OFA_START + 113) -#define HID_OFADLG_TREE_CHART (HID_OFA_START + 115) -#define HID_OFADLG_TREE_BASE (HID_OFA_START + 116) -#define HID_OFADLG_TREE_FILTER (HID_OFA_START + 117) -#define HID_OFAPAGE_MSFLTR2_CLB (HID_OFA_START + 118) -#define HID_OFA_TP_LANGUAGES (HID_OFA_START + 119) -#define HID_OFADLG_TREE_LANGUAGE (HID_OFA_START + 120) -#define HID_OFA_CONNPOOL_DRIVERLIST (HID_OFA_START + 121) -#define UID_OFA_CONNPOOL_DRIVERLIST_BACK (HID_OFA_START + 122) -// #define HID_OFA_TP_HELPERPROG (HID_OFA_START + 123) -#define HID_OFA_TP_MEMORY (HID_OFA_START + 124) -#define HID_DBPATH_CTL_PATH (HID_OFA_START + 125) -#define HID_DBPATH_HEADERBAR (HID_OFA_START + 126) -#define HID_OFAPAGE_SMARTTAG_OPTIONS (HID_OFA_START + 127) - -#define HID_OPTIONS_DICT_EDIT_ENTRIES_LIST (HID_SVX_EXT0_START + 28) - -#define HID_COLORPAGE_LISTBOX_START (HID_SVX_EXT0_START + 29) -#define HID_COLORPAGE_DOCCOLOR_LB (HID_SVX_EXT0_START + 29) -#define HID_COLORPAGE_DOCBOUNDARIES_LB (HID_SVX_EXT0_START + 30) -#define HID_COLORPAGE_APPBACKGROUND_LB (HID_SVX_EXT0_START + 31) -#define HID_COLORPAGE_OBJECTBOUNDARIES_LB (HID_SVX_EXT0_START + 32) -#define HID_COLORPAGE_TABLEBOUNDARIES_LB (HID_SVX_EXT0_START + 33) -#define HID_COLORPAGE_FONTCOLOR_LB (HID_SVX_EXT0_START + 34) -#define HID_COLORPAGE_LINKS_LB (HID_SVX_EXT0_START + 35) -#define HID_COLORPAGE_LINKSVISITED_LB (HID_SVX_EXT0_START + 36) -#define HID_COLORPAGE_ANCHOR_LB (HID_SVX_EXT0_START + 37) -#define HID_COLORPAGE_SPELL_LB (HID_SVX_EXT0_START + 38) -#define HID_COLORPAGE_WRITERTEXTGRID_LB (HID_SVX_EXT0_START + 39) -#define HID_COLORPAGE_WRITERFIELDSHADINGS_LB (HID_SVX_EXT0_START + 40) -#define HID_COLORPAGE_WRITERIDXSHADINGS_LB (HID_SVX_EXT0_START + 41) -#define HID_COLORPAGE_WRITERDIRECTCURSOR_LB (HID_SVX_EXT0_START + 42) -#define HID_COLORPAGE_WRITERNOTESINDICATOR_LB (HID_SVX_EXT0_START + 43) -#define HID_COLORPAGE_WRITERSCRIPTINDICATOR_LB (HID_SVX_EXT0_START + 44) -#define HID_COLORPAGE_WRITERSECTIONBOUNDARIES_LB (HID_SVX_EXT0_START + 45) -#define HID_COLORPAGE_WRITERPAGEBREAKS_LB (HID_SVX_EXT0_START + 46) -#define HID_COLORPAGE_HTMLSGML_LB (HID_SVX_EXT0_START + 47) -#define HID_COLORPAGE_HTMLCOMMENT_LB (HID_SVX_EXT0_START + 48) -#define HID_COLORPAGE_HTMLKEYWORD_LB (HID_SVX_EXT0_START + 49) -#define HID_COLORPAGE_HTMLUNKNOWN_LB (HID_SVX_EXT0_START + 50) -#define HID_COLORPAGE_CALCGRID_LB (HID_SVX_EXT0_START + 51) -#define HID_COLORPAGE_CALCPAGEBREAK_LB (HID_SVX_EXT0_START + 52) -#define HID_COLORPAGE_CALCPAGEBREAKMANUAL_LB (HID_SVX_EXT0_START + 53) -#define HID_COLORPAGE_CALCPAGEBREAKAUTOMATIC_LB (HID_SVX_EXT0_START + 54) -#define HID_COLORPAGE_CALCDETECTIVE_LB (HID_SVX_EXT0_START + 55) -#define HID_COLORPAGE_CALCDETECTIVEERROR_LB (HID_SVX_EXT0_START + 56) -#define HID_COLORPAGE_CALCREFERENCE_LB (HID_SVX_EXT0_START + 57) -#define HID_COLORPAGE_CALCNOTESBACKGROUND_LB (HID_SVX_EXT0_START + 58) -#define HID_COLORPAGE_DRAWGRID_LB (HID_SVX_EXT0_START + 59) -#define HID_COLORPAGE_DRAWDRAWING_LB (HID_SVX_EXT0_START + 60) -#define HID_COLORPAGE_DRAWFILL_LB (HID_SVX_EXT0_START + 61) -#define HID_COLORPAGE_BASICIDENTIFIER_LB (HID_SVX_EXT0_START + 62) -#define HID_COLORPAGE_BASICCOMMENT_LB (HID_SVX_EXT0_START + 63) -#define HID_COLORPAGE_BASICNUMBER_LB (HID_SVX_EXT0_START + 64) -#define HID_COLORPAGE_BASICSTRING_LB (HID_SVX_EXT0_START + 65) -#define HID_COLORPAGE_BASICOPERATOR_LB (HID_SVX_EXT0_START + 66) -#define HID_COLORPAGE_BASICKEYWORD_LB (HID_SVX_EXT0_START + 67) -#define HID_COLORPAGE_BASICERROR_LB (HID_SVX_EXT0_START + 68) - -#define HID_COLORPAGE_CHECKBOX_START (HID_SVX_EXT0_START + 69) -#define HID_COLORPAGE_DOCCOLOR_CB (HID_SVX_EXT0_START + 69) -#define HID_COLORPAGE_DOCBOUNDARIES_CB (HID_SVX_EXT0_START + 70) -#define HID_COLORPAGE_APPBACKGROUND_CB (HID_SVX_EXT0_START + 71) -#define HID_COLORPAGE_OBJECTBOUNDARIES_CB (HID_SVX_EXT0_START + 72) -#define HID_COLORPAGE_TABLEBOUNDARIES_CB (HID_SVX_EXT0_START + 73) -#define HID_COLORPAGE_FONTCOLOR_CB (HID_SVX_EXT0_START + 74) -#define HID_COLORPAGE_LINKS_CB (HID_SVX_EXT0_START + 75) -#define HID_COLORPAGE_LINKSVISITED_CB (HID_SVX_EXT0_START + 76) -#define HID_COLORPAGE_ANCHOR_CB (HID_SVX_EXT0_START + 77) -#define HID_COLORPAGE_SPELL_CB (HID_SVX_EXT0_START + 78) -#define HID_COLORPAGE_WRITERTEXTGRID_CB (HID_SVX_EXT0_START + 79) -#define HID_COLORPAGE_WRITERFIELDSHADINGS_CB (HID_SVX_EXT0_START + 80) -#define HID_COLORPAGE_WRITERIDXSHADINGS_CB (HID_SVX_EXT0_START + 81) -#define HID_COLORPAGE_WRITERDIRECTCURSOR_CB (HID_SVX_EXT0_START + 82) -#define HID_COLORPAGE_WRITERNOTESINDICATOR_CB (HID_SVX_EXT0_START + 83) -#define HID_COLORPAGE_WRITERSCRIPTINDICATOR_CB (HID_SVX_EXT0_START + 84) -#define HID_COLORPAGE_WRITERSECTIONBOUNDARIES_CB (HID_SVX_EXT0_START + 85) -#define HID_COLORPAGE_WRITERPAGEBREAKS_CB (HID_SVX_EXT0_START + 86) -#define HID_COLORPAGE_HTMLSGML_CB (HID_SVX_EXT0_START + 87) -#define HID_COLORPAGE_HTMLCOMMENT_CB (HID_SVX_EXT0_START + 88) -#define HID_COLORPAGE_HTMLKEYWORD_CB (HID_SVX_EXT0_START + 89) -#define HID_COLORPAGE_HTMLUNKNOWN_CB (HID_SVX_EXT0_START + 90) -#define HID_COLORPAGE_CALCGRID_CB (HID_SVX_EXT0_START + 91) -#define HID_COLORPAGE_CALCPAGEBREAK_CB (HID_SVX_EXT0_START + 92) -#define HID_COLORPAGE_CALCPAGEBREAKMANUAL_CB (HID_SVX_EXT0_START + 93) -#define HID_COLORPAGE_CALCPAGEBREAKAUTOMATIC_CB (HID_SVX_EXT0_START + 94) -#define HID_COLORPAGE_CALCDETECTIVE_CB (HID_SVX_EXT0_START + 95) -#define HID_COLORPAGE_CALCDETECTIVEERROR_CB (HID_SVX_EXT0_START + 96) -#define HID_COLORPAGE_CALCREFERENCE_CB (HID_SVX_EXT0_START + 97) -#define HID_COLORPAGE_CALCNOTESBACKGROUND_CB (HID_SVX_EXT0_START + 98) -#define HID_COLORPAGE_DRAWGRID_CB (HID_SVX_EXT0_START + 99) -#define HID_COLORPAGE_DRAWDRAWING_CB (HID_SVX_EXT0_START + 100) -#define HID_COLORPAGE_DRAWFILL_CB (HID_SVX_EXT0_START + 101) -#define HID_COLORPAGE_BASICIDENTIFIER_CB (HID_SVX_EXT0_START + 102) -#define HID_COLORPAGE_BASICCOMMENT_CB (HID_SVX_EXT0_START + 103) -#define HID_COLORPAGE_BASICNUMBER_CB (HID_SVX_EXT0_START + 104) -#define HID_COLORPAGE_BASICSTRING_CB (HID_SVX_EXT0_START + 105) -#define HID_COLORPAGE_BASICOPERATOR_CB (HID_SVX_EXT0_START + 106) -#define HID_COLORPAGE_BASICKEYWORD_CB (HID_SVX_EXT0_START + 107) -#define HID_COLORPAGE_BASICERROR_CB (HID_SVX_EXT0_START + 108) -#define HID_SVXPAGE_SWPOSSIZE (HID_SVX_EXT0_START + 109) - -#define HID_POPUP_EXTRUSION_DEPTH (HID_SVX_EXT0_START + 110) -#define HID_POPUP_EXTRUSION_LIGHTING (HID_SVX_EXT0_START + 111) -#define HID_POPUP_EXTRUSION_SURFACE (HID_SVX_EXT0_START + 112) -#define HID_MENU_EXTRUSION_DIRECTION (HID_SVX_EXT0_START + 113) -#define HID_VALUESET_EXTRUSION_DIRECTION (HID_SVX_EXT0_START + 114) -#define HID_MENU_EXTRUSION_DEPTH (HID_SVX_EXT0_START + 115) -#define HID_MENU_EXTRUSION_LIGHTING (HID_SVX_EXT0_START + 116) -#define HID_VALUESET_EXTRUSION_LIGHTING (HID_SVX_EXT0_START + 117) -#define HID_MENU_EXTRUSION_SURFACE (HID_SVX_EXT0_START + 118) -#define HID_SCRIPTORG_DIALOG (HID_SVX_EXT0_START + 119) -#define HID_POPUP_EXTRUSION_DIRECTION (HID_SVX_EXT0_START + 120) -#define HID_GALLERY_EDIT_MSNAME (HID_SVX_EXT0_START + 121) - -// Hangul Hanja extensions -#define HID_HANGULHANJA_OPT_DLG (HID_SVX_EXT0_START + 122) -#define HID_HANGULHANJA_NEWDICT_DLG (HID_SVX_EXT0_START + 123) -#define HID_HANGULHANJA_EDIT_DLG (HID_SVX_EXT0_START + 124) -#define HID_HANGULDLG_BUTTON_OPTIONS (HID_SVX_EXT0_START + 125) -#define HID_HANGULHANJA_OPT_DICTS_LB (HID_SVX_EXT0_START + 126) -#define HID_SVXTBX_TEXT_CONTROL_ATTRIBUTES (HID_SVX_EXT0_START + 127) -#define HID_OPTIONS_JAVA (HID_SVX_EXT0_START + 128) -#define HID_OPTIONS_JAVA_LIST (HID_SVX_EXT0_START + 129) -#define HID_OPTIONS_JAVA_PARAMETER (HID_SVX_EXT0_START + 130) -#define HID_OPTIONS_JAVA_CLASSPATH (HID_SVX_EXT0_START + 131) - -// listbox for event config -#define HID_SVX_MACRO_LB_EVENT (HID_SVX_EXT0_START + 132) -#define HID_SVX_CONFIG_EVENT (HID_SVX_EXT0_START + 133) -#define HID_CONFIG_EVENT_OFFICE_BASED (HID_SVX_EXT0_START + 134) -#define HID_CONFIG_EVENT_DOCUMENT_BASED (HID_SVX_EXT0_START + 135) - -#define HID_SELECTOR_CATEGORIES (HID_SVX_EXT0_START + 136) -#define HID_SELECTOR_COMMANDS (HID_SVX_EXT0_START + 137) -#define HID_SELECTOR_DIALOG (HID_SVX_EXT0_START + 138) -#define HID_SVX_CONFIG_MENU (HID_SVX_EXT0_START + 139) -#define HID_SVX_CONFIG_MENU_CONTENTS (HID_SVX_EXT0_START + 140) -#define HID_SVX_CONFIG_TOOLBAR (HID_SVX_EXT0_START + 141) -#define HID_SVX_CONFIG_TOOLBAR_CONTENTS (HID_SVX_EXT0_START + 142) -#define HID_SCRIPTSBOX (HID_SVX_EXT0_START + 143) -#define HID_SVX_RUN_MACRO (HID_SVX_EXT0_START + 144) -#define HID_SVX_BASIC_MACRO_ORGANIZER (HID_SVX_EXT0_START + 145) -#define HID_SVX_BASIC_DIALOG_ORGANIZER (HID_SVX_EXT0_START + 146) -#define HID_SVX_COMMON_MACRO_ORGANIZER (HID_SVX_EXT0_START + 147) -#define HID_XMLSEC_CALL (HID_SVX_EXT0_START + 148) - -// chinese simplified traditional dialogs -#define HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_SIMPLIFIED (HID_SVX_EXT0_START + 149) -#define HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_TRADITIONAL (HID_SVX_EXT0_START + 150) -#define HID_SVX_CHINESE_TRANSLATION_CB_USE_VARIANTS (HID_SVX_EXT0_START + 151) -#define HID_SVX_CHINESE_DICTIONARY_RB_CONVERSION_TO_SIMPLIFIED (HID_SVX_EXT0_START + 152) -#define HID_SVX_CHINESE_DICTIONARY_RB_CONVERSION_TO_TRADITIONAL (HID_SVX_EXT0_START + 153) -#define HID_SVX_CHINESE_DICTIONARY_CB_REVERSE (HID_SVX_EXT0_START + 154) -#define HID_SVX_CHINESE_DICTIONARY_LB_HEADER (HID_SVX_EXT0_START + 155) -#define HID_SVX_CHINESE_DICTIONARY_LB_TO_SIMPLIFIED (HID_SVX_EXT0_START + 156) -#define HID_SVX_CHINESE_DICTIONARY_LB_TO_TRADITIONAL (HID_SVX_EXT0_START + 157) - -#define HID_POPUP_FONTWORK_ALIGN (HID_SVX_EXT0_START + 158) -#define HID_POPUP_FONTWORK_CHARSPACE (HID_SVX_EXT0_START + 159) - -// pb: duplicate (see: HID_SVX_EXT0_START + 127) -// #define HID_SVXTBX_TEXT_CONTROL_ATTRIBUTES (HID_SVX_EXT0_START + 160) - -#define HID_SVX_TABDLG_DOCRECOVERY (HID_SVX_EXT0_START + 161) -#define HID_SVX_TP_DOCRECOVERY_SAVE (HID_SVX_EXT0_START + 162) -#define HID_SVX_MDLG_DOCRECOVERY_PROGR (HID_SVX_EXT0_START + 163) -#define HID_SVX_TP_DOCRECOVERY_RECOVER (HID_SVX_EXT0_START + 164) -#define HID_SVX_MDLG_DOCRECOVERY_BROKEN (HID_SVX_EXT0_START + 165) -#define HID_SVX_TP_ERR_REP_WELCOME (HID_SVX_EXT0_START + 166) -#define HID_SVX_TP_ERR_REP_SEND (HID_SVX_EXT0_START + 167) -#define HID_SVX_MDLG_ERR_REP_OPTIONS (HID_SVX_EXT0_START + 168) -#define HID_SVX_MDLG_ERR_REP_PREVIEW (HID_SVX_EXT0_START + 169) - -#define HID_HANGULDLG_SUGGESTIONS (HID_SVX_EXT0_START + 170) -#define HID_HANGULDLG_SUGGESTIONS_GRID (HID_SVX_EXT0_START + 171) -#define HID_HANGULDLG_SUGGESTIONS_LIST (HID_SVX_EXT0_START + 172) - -#define HID_SVX_MODIFY_TOOLBAR_ITEM (HID_SVX_EXT0_START + 173) -#define HID_SVX_SAVE_IN (HID_SVX_EXT0_START + 174) -#define HID_SVX_CONFIG_MENU_ORGANIZER (HID_SVX_EXT0_START + 175) -#define HID_SVX_CONFIG_ICON_SELECTOR (HID_SVX_EXT0_START + 176) -#define HID_SVX_CONFIG_NAME_SUBMENU (HID_SVX_EXT0_START + 177) -#define HID_SVX_CONFIG_RENAME_MENU (HID_SVX_EXT0_START + 178) -#define HID_SVX_CONFIG_RENAME_MENU_ITEM (HID_SVX_EXT0_START + 179) -#define HID_SVX_CONFIG_RENAME_TOOLBAR (HID_SVX_EXT0_START + 180) -#define HID_SVX_CONFIG_RENAME_TOOLBAR_ITEM (HID_SVX_EXT0_START + 181) -#define HID_SVX_NEW_TOOLBAR (HID_SVX_EXT0_START + 182) -#define HID_SVX_MODIFY_TOOLBAR (HID_SVX_EXT0_START + 183) -#define HID_SVX_NEW_TOOLBAR_ITEM (HID_SVX_EXT0_START + 184) -#define HID_SVX_CONFIG_MENU_LISTBOX (HID_SVX_EXT0_START + 185) -#define HID_SVX_OPTIONS_ONLINEUPDATE (HID_SVX_EXT0_START + 186) -#define HID_OPTIONS_CHART_DEFCOLORS (HID_SVX_EXT0_START + 187) -#define HID_OPTIONS_MULTIPATH_LIST (HID_SVX_EXT0_START + 188) - -#define HID_COLORPAGE_DBREPORTHEADER_CB (HID_SVX_EXT0_START + 189) -#define HID_COLORPAGE_DBREPORTFOOTER_CB (HID_SVX_EXT0_START + 190) -#define HID_COLORPAGE_DBPAGEHEADER_CB (HID_SVX_EXT0_START + 191) -#define HID_COLORPAGE_DBPAGEFOOTER_CB (HID_SVX_EXT0_START + 192) -#define HID_COLORPAGE_DBGROUPHEADER_CB (HID_SVX_EXT0_START + 193) -#define HID_COLORPAGE_DBGROUPFOOTER_CB (HID_SVX_EXT0_START + 194) -#define HID_COLORPAGE_DBCOLUMNHEADER_CB (HID_SVX_EXT0_START + 195) -#define HID_COLORPAGE_DBCOLUMNFOOTER_CB (HID_SVX_EXT0_START + 196) -#define HID_COLORPAGE_DBDETAIL_CB (HID_SVX_EXT0_START + 197) -#define HID_COLORPAGE_DBREPORTHEADER_LB (HID_SVX_EXT0_START + 198) -#define HID_COLORPAGE_DBREPORTFOOTER_LB (HID_SVX_EXT0_START + 199) -#define HID_COLORPAGE_DBPAGEHEADER_LB (HID_SVX_EXT0_START + 200) -#define HID_COLORPAGE_DBPAGEFOOTER_LB (HID_SVX_EXT0_START + 201) -#define HID_COLORPAGE_DBGROUPHEADER_LB (HID_SVX_EXT0_START + 202) -#define HID_COLORPAGE_DBGROUPFOOTER_LB (HID_SVX_EXT0_START + 203) -#define HID_COLORPAGE_DBCOLUMNHEADER_LB (HID_SVX_EXT0_START + 204) -#define HID_COLORPAGE_DBCOLUMNFOOTER_LB (HID_SVX_EXT0_START + 205) -#define HID_COLORPAGE_DBDETAIL_LB (HID_SVX_EXT0_START + 206) - -#define HID_NUMBERFORMAT_WND_NUMBER_PREVIEW (HID_SVX_EXT0_START + 207) -#define HID_SPLDLG_BUTTON_IGNORERULE (HID_SVX_EXT0_START + 208) - -#define HID_CONFIG_ACCEL (HID_SVX_EXT0_START + 209) -#define HID_ACCELCONFIG_LISTBOX (HID_SVX_EXT0_START + 210) -#define HID_CONFIGGROUP_ACC_LISTBOX (HID_SVX_EXT0_START + 211) -#define HID_CONFIGFUNCTION_ACC_LISTBOX (HID_SVX_EXT0_START + 212) -#define HID_MACRO_LB_EVENT (HID_SVX_EXT0_START + 213) -#define HID_MACRO_GROUP (HID_SVX_EXT0_START + 214) -#define HID_MACRO_MACROS (HID_SVX_EXT0_START + 215) -#define HID_MACROCHECKDIALOG (HID_SVX_EXT0_START + 216) -#define HID_MACRO_HEADERTABLISTBOX (HID_SVX_EXT0_START + 217) +// Help-Ids -------------------------------------------------------------- +#define HID_ALIGN_TBX (HID_SVX_START + 1) +#define HID_AUTOCORR_HELP_END (HID_SVX_START + 2) +#define HID_AUTOCORR_HELP_START (HID_SVX_START + 3) +#define HID_BMPMASK_CTL_PIPETTE (HID_SVX_START + 4) +#define HID_BMPMASK_CTL_QCOL_1 (HID_SVX_START + 5) +#define HID_BMPMASK_TBI_PIPETTE (HID_SVX_START + 6) +#define HID_COLOR_CTL_COLORS (HID_SVX_START + 7) +#define HID_CONTDLG_APPLY (HID_SVX_START + 8) +#define HID_CONTDLG_AUTOCONTOUR (HID_SVX_START + 9) +#define HID_CONTDLG_CIRCLE (HID_SVX_START + 10) +#define HID_CONTDLG_FREEPOLY (HID_SVX_START + 11) +#define HID_CONTDLG_GRAPHWND (HID_SVX_START + 12) +#define HID_CONTDLG_PIPETTE (HID_SVX_START + 13) +#define HID_CONTDLG_POLY (HID_SVX_START + 14) +#define HID_CONTDLG_POLYDELETE (HID_SVX_START + 15) +#define HID_CONTDLG_POLYEDIT (HID_SVX_START + 16) +#define HID_CONTDLG_POLYINSERT (HID_SVX_START + 17) +#define HID_CONTDLG_POLYMOVE (HID_SVX_START + 18) +#define HID_CONTDLG_RECT (HID_SVX_START + 19) +#define HID_CONTDLG_REDO (HID_SVX_START + 20) +#define HID_CONTDLG_SELECT (HID_SVX_START + 21) +#define HID_CONTDLG_TOOLBOX (HID_SVX_START + 22) +#define HID_CONTDLG_UNDO (HID_SVX_START + 23) +#define HID_CONTDLG_WORKPLACE (HID_SVX_START + 24) +#define HID_CTL_FONTWORK_FAVORITES (HID_SVX_START + 25) +#define HID_CTRL3D_HSCROLL (HID_SVX_START + 26) +#define HID_CTRL3D_SWITCHER (HID_SVX_START + 27) +#define HID_CTRL3D_VSCROLL (HID_SVX_START + 28) +#define HID_CTRL_COLOR (HID_SVX_START + 29) +#define HID_DRAWTOOL_TBX (HID_SVX_START + 30) +#define HID_EDITENG_SPELLER_ADDWORD (HID_SVX_START + 31) +#define HID_EDITENG_SPELLER_AUTOCORRECT (HID_SVX_START + 32) +#define HID_EDITENG_SPELLER_IGNORE (HID_SVX_START + 33) +#define HID_EDITENG_SPELLER_PARALANGUAGE (HID_SVX_START + 34) +#define HID_EDITENG_SPELLER_START (HID_SVX_START + 35) +#define HID_EDITENG_SPELLER_WORDLANGUAGE (HID_SVX_START + 36) +#define HID_FILL_ATTR_LISTBOX (HID_SVX_START + 37) +#define HID_FILL_TYPE_LISTBOX (HID_SVX_START + 38) +#define HID_FONTWORK_CTL_FORMS (HID_SVX_START + 39) +#define HID_FONTWORK_TBI_ADJUST_AUTOSIZE (HID_SVX_START + 40) +#define HID_FONTWORK_TBI_ADJUST_CENTER (HID_SVX_START + 41) +#define HID_FONTWORK_TBI_ADJUST_LEFT (HID_SVX_START + 42) +#define HID_FONTWORK_TBI_ADJUST_MIRROR (HID_SVX_START + 43) +#define HID_FONTWORK_TBI_ADJUST_RIGHT (HID_SVX_START + 44) +#define HID_FONTWORK_TBI_OUTLINE (HID_SVX_START + 45) +#define HID_FONTWORK_TBI_SHADOW_NORMAL (HID_SVX_START + 46) +#define HID_FONTWORK_TBI_SHADOW_OFF (HID_SVX_START + 47) +#define HID_FONTWORK_TBI_SHADOW_SLANT (HID_SVX_START + 48) +#define HID_FONTWORK_TBI_SHOWFORM (HID_SVX_START + 49) +#define HID_FONTWORK_TBI_STYLE_OFF (HID_SVX_START + 50) +#define HID_FONTWORK_TBI_STYLE_ROTATE (HID_SVX_START + 51) +#define HID_FONTWORK_TBI_STYLE_SLANTX (HID_SVX_START + 52) +#define HID_FONTWORK_TBI_STYLE_SLANTY (HID_SVX_START + 53) +#define HID_FONTWORK_TBI_STYLE_UPRIGHT (HID_SVX_START + 54) +#define HID_FORMAT_FOOTER (HID_SVX_START + 55) +#define HID_FORMAT_HEADER (HID_SVX_START + 56) +// free +#define HID_GALLERY_ICONVIEW (HID_SVX_START + 58) +#define HID_GALLERY_LISTVIEW (HID_SVX_START + 59) +#define HID_GALLERY_MN_ADD (HID_SVX_START + 60) +#define HID_GALLERY_MN_ADDMENU (HID_SVX_START + 61) +#define HID_GALLERY_MN_ADD_LINK (HID_SVX_START + 62) +#define HID_GALLERY_MN_BACKGROUND (HID_SVX_START + 63) +#define HID_GALLERY_MN_COPYCLIPBOARD (HID_SVX_START + 64) +#define HID_GALLERY_MN_DELETE (HID_SVX_START + 65) +#define HID_GALLERY_MN_PASTECLIPBOARD (HID_SVX_START + 66) +#define HID_GALLERY_MN_PREVIEW (HID_SVX_START + 67) +#define HID_GALLERY_NEWTHEME (HID_SVX_START + 68) +#define HID_GALLERY_PREVIEW (HID_SVX_START + 69) +#define HID_GALLERY_PROPERTIES (HID_SVX_START + 70) +#define HID_GALLERY_RENAME (HID_SVX_START + 71) +#define HID_GALLERY_THEMELIST (HID_SVX_START + 72) +// free +#define HID_GALLERY_WINDOW (HID_SVX_START + 74) +#define HID_GRFFILTER (HID_SVX_START + 75) +#define HID_GRFFILTER_EMBOSS (HID_SVX_START + 76) +#define HID_GRFFILTER_INVERT (HID_SVX_START + 77) +#define HID_GRFFILTER_MOSAIC (HID_SVX_START + 78) +#define HID_GRFFILTER_POPART (HID_SVX_START + 79) +#define HID_GRFFILTER_POSTER (HID_SVX_START + 80) +#define HID_GRFFILTER_REMOVENOISE (HID_SVX_START + 81) +#define HID_GRFFILTER_SEPIA (HID_SVX_START + 82) +#define HID_GRFFILTER_SHARPEN (HID_SVX_START + 83) +#define HID_GRFFILTER_SMOOTH (HID_SVX_START + 84) +#define HID_GRFFILTER_SOBEL (HID_SVX_START + 85) +#define HID_GRFFILTER_SOLARIZE (HID_SVX_START + 86) +#define HID_HYPHENATE (HID_SVX_START + 87) +#define HID_IMAPDLG_ACTIVE (HID_SVX_START + 88) +#define HID_IMAPDLG_APPLY (HID_SVX_START + 89) +#define HID_IMAPDLG_CIRCLE (HID_SVX_START + 90) +#define HID_IMAPDLG_FREEPOLY (HID_SVX_START + 91) +#define HID_IMAPDLG_GRAPHWND (HID_SVX_START + 92) +#define HID_IMAPDLG_MACRO (HID_SVX_START + 93) +#define HID_IMAPDLG_OPEN (HID_SVX_START + 94) +#define HID_IMAPDLG_POLY (HID_SVX_START + 95) +#define HID_IMAPDLG_POLYDELETE (HID_SVX_START + 96) +#define HID_IMAPDLG_POLYEDIT (HID_SVX_START + 97) +#define HID_IMAPDLG_POLYINSERT (HID_SVX_START + 98) +#define HID_IMAPDLG_POLYMOVE (HID_SVX_START + 99) +#define HID_IMAPDLG_PROPERTY (HID_SVX_START + 100) +#define HID_IMAPDLG_RECT (HID_SVX_START + 101) +#define HID_IMAPDLG_REDO (HID_SVX_START + 102) +#define HID_IMAPDLG_SAVEAS (HID_SVX_START + 103) +#define HID_IMAPDLG_SELECT (HID_SVX_START + 104) +#define HID_IMAPDLG_TOOLBOX (HID_SVX_START + 105) +#define HID_IMAPDLG_UNDO (HID_SVX_START + 106) +#define HID_MENU_EXTRUSION_DEPTH (HID_SVX_START + 107) +#define HID_MENU_EXTRUSION_DIRECTION (HID_SVX_START + 108) +#define HID_MENU_EXTRUSION_LIGHTING (HID_SVX_START + 109) +#define HID_MENU_EXTRUSION_SURFACE (HID_SVX_START + 110) +#define HID_MNU_FUNC_AVG (HID_SVX_START + 111) +#define HID_MNU_FUNC_COUNT (HID_SVX_START + 112) +#define HID_MNU_FUNC_COUNT2 (HID_SVX_START + 113) +#define HID_MNU_FUNC_MAX (HID_SVX_START + 114) +#define HID_MNU_FUNC_MIN (HID_SVX_START + 115) +#define HID_MNU_FUNC_NONE (HID_SVX_START + 116) +#define HID_MNU_FUNC_SUM (HID_SVX_START + 117) +#define HID_MNU_ZOOM_100 (HID_SVX_START + 118) +#define HID_MNU_ZOOM_150 (HID_SVX_START + 119) +#define HID_MNU_ZOOM_200 (HID_SVX_START + 120) +#define HID_MNU_ZOOM_50 (HID_SVX_START + 121) +#define HID_MNU_ZOOM_75 (HID_SVX_START + 122) +#define HID_MNU_ZOOM_OPTIMAL (HID_SVX_START + 123) +#define HID_MNU_ZOOM_PAGE_WIDTH (HID_SVX_START + 124) +#define HID_MNU_ZOOM_WHOLE_PAGE (HID_SVX_START + 125) +#define HID_OPTIONS_GRID (HID_SVX_START + 126) +#define HID_PASSWORD (HID_SVX_START + 127) +#define HID_POPUP_COLOR (HID_SVX_START + 128) +#define HID_POPUP_COLOR_CTRL (HID_SVX_START + 129) +#define HID_POPUP_EXTRUSION_DEPTH (HID_SVX_START + 130) +#define HID_POPUP_EXTRUSION_DIRECTION (HID_SVX_START + 131) +#define HID_POPUP_EXTRUSION_LIGHTING (HID_SVX_START + 132) +#define HID_POPUP_EXTRUSION_SURFACE (HID_SVX_START + 133) +#define HID_POPUP_FONTWORK_ALIGN (HID_SVX_START + 134) +#define HID_POPUP_FONTWORK_CHARSPACE (HID_SVX_START + 135) +#define HID_POPUP_FRAME (HID_SVX_START + 136) +#define HID_POPUP_LINE (HID_SVX_START + 137) +#define HID_POPUP_LINEEND (HID_SVX_START + 138) +#define HID_POPUP_LINEEND_CTRL (HID_SVX_START + 139) +#define HID_REDLINING_FILTER_BTN_REF (HID_SVX_START + 140) +#define HID_REDLINING_FILTER_CB_ACTION (HID_SVX_START + 141) +#define HID_REDLINING_FILTER_CB_AUTOR (HID_SVX_START + 142) +#define HID_REDLINING_FILTER_CB_COMMENT (HID_SVX_START + 143) +#define HID_REDLINING_FILTER_CB_DATE (HID_SVX_START + 144) +#define HID_REDLINING_FILTER_CB_RANGE (HID_SVX_START + 145) +#define HID_REDLINING_FILTER_DF_DATE (HID_SVX_START + 146) +#define HID_REDLINING_FILTER_DF_DATE2 (HID_SVX_START + 147) +#define HID_REDLINING_FILTER_ED_COMMENT (HID_SVX_START + 148) +#define HID_REDLINING_FILTER_ED_RANGE (HID_SVX_START + 149) +#define HID_REDLINING_FILTER_IB_CLOCK (HID_SVX_START + 150) +#define HID_REDLINING_FILTER_IB_CLOCK2 (HID_SVX_START + 151) +#define HID_REDLINING_FILTER_LB_ACTION (HID_SVX_START + 152) +#define HID_REDLINING_FILTER_LB_AUTOR (HID_SVX_START + 153) +#define HID_REDLINING_FILTER_LB_DATE (HID_SVX_START + 154) +#define HID_REDLINING_FILTER_PAGE (HID_SVX_START + 155) +#define HID_REDLINING_FILTER_TF_DATE (HID_SVX_START + 156) +#define HID_REDLINING_FILTER_TF_DATE2 (HID_SVX_START + 157) +#define HID_REDLINING_TABCONTROL (HID_SVX_START + 158) +#define HID_REDLINING_VIEW_DG_VIEW (HID_SVX_START + 159) +#define HID_REDLINING_VIEW_DG_VIEW_HEADER (HID_SVX_START + 160) +#define HID_REDLINING_VIEW_DG_VIEW_TABLE (HID_SVX_START + 161) +#define HID_REDLINING_VIEW_PAGE (HID_SVX_START + 162) +#define HID_REDLINING_VIEW_PB_ACCEPT (HID_SVX_START + 163) +#define HID_REDLINING_VIEW_PB_ACCEPTALL (HID_SVX_START + 164) +#define HID_REDLINING_VIEW_PB_REJECT (HID_SVX_START + 165) +#define HID_REDLINING_VIEW_PB_REJECTALL (HID_SVX_START + 166) +#define HID_REDLINING_VIEW_PB_UNDO (HID_SVX_START + 167) +#define HID_RUBY_DIALOG (HID_SVX_START + 168) +#define HID_STYLE_LISTBOX (HID_SVX_START + 169) +#define HID_SVXTBX_ALIGNMENT (HID_SVX_START + 170) +#define HID_SVXTBX_DRAW (HID_SVX_START + 171) +#define HID_SVXTBX_UNDO_REDO_CTRL (HID_SVX_START + 172) +#define HID_SVX_CHINESE_DICTIONARY_CB_REVERSE (HID_SVX_START + 173) +#define HID_SVX_CHINESE_DICTIONARY_LB_HEADER (HID_SVX_START + 174) +#define HID_SVX_CHINESE_DICTIONARY_LB_TO_SIMPLIFIED (HID_SVX_START + 175) +#define HID_SVX_CHINESE_DICTIONARY_LB_TO_TRADITIONAL (HID_SVX_START + 176) +#define HID_SVX_CHINESE_DICTIONARY_RB_CONVERSION_TO_SIMPLIFIED (HID_SVX_START + 177) +#define HID_SVX_CHINESE_DICTIONARY_RB_CONVERSION_TO_TRADITIONAL (HID_SVX_START + 178) +#define HID_SVX_CHINESE_TRANSLATION_CB_USE_VARIANTS (HID_SVX_START + 179) +#define HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_SIMPLIFIED (HID_SVX_START + 180) +#define HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_TRADITIONAL (HID_SVX_START + 181) +#define HID_SVX_MDLG_DOCRECOVERY_BROKEN (HID_SVX_START + 182) +#define HID_SVX_MDLG_DOCRECOVERY_PROGR (HID_SVX_START + 183) +#define HID_SVX_MDLG_ERR_REP_OPTIONS (HID_SVX_START + 184) +#define HID_SVX_MDLG_ERR_REP_PREVIEW (HID_SVX_START + 185) +#define HID_SVX_TABDLG_DOCRECOVERY (HID_SVX_START + 186) +#define HID_SVX_TP_DOCRECOVERY_RECOVER (HID_SVX_START + 187) +#define HID_SVX_TP_DOCRECOVERY_SAVE (HID_SVX_START + 188) +#define HID_SVX_TP_ERR_REP_SEND (HID_SVX_START + 189) +#define HID_SVX_TP_ERR_REP_WELCOME (HID_SVX_START + 190) +#define HID_THES_LANGUAGE (HID_SVX_START + 191) +#define HID_VALUESET_EXTRUSION_DIRECTION (HID_SVX_START + 192) +#define HID_VALUESET_EXTRUSION_LIGHTING (HID_SVX_START + 193) +#define HID_WIN_FONTWORK_ALIGN (HID_SVX_START + 194) +#define HID_WIN_FONTWORK_CHARSPACE (HID_SVX_START + 195) +#define HID_XMLSEC_CALL (HID_SVX_START + 196) +#define HID_OFA_HYPERLINK_DLG (HID_SVX_START + 197) +#define HID_OFA_HYPERLINK_NAME (HID_SVX_START + 198) +#define HID_OFA_HYPERLINK_SEARCH (HID_SVX_START + 199) +#define HID_OFA_HYPERLINK_TARGET (HID_SVX_START + 200) +#define HID_OFA_HYPERLINK_URL (HID_SVX_START + 201) +#define HID_OFA_HYPERLINK_URL_TXT (HID_SVX_START + 202) +#define HID_AUTOCORR_DLG (HID_SVX_START + 203) +#define HID_SVXCTL_MAIL_ATTACH (HID_SVX_START + 204) +#define HID_SVXDLG_REGISTRATION (HID_SVX_START + 205) +#define HID_SVXDLG_TREE_BASE (HID_SVX_START + 206) +#define HID_SVXDLG_TREE_CHART (HID_SVX_START + 207) +#define HID_SVXDLG_TREE_FILTER (HID_SVX_START + 208) +#define HID_SVXDLG_TREE_LANGUAGE (HID_SVX_START + 209) +#define HID_SVXWIN_MAIL_ATTACH (HID_SVX_START + 210) +#define HID_SVXWIN_MAIL_HEADER (HID_SVX_START + 211) +#define HID_SVX_DLGFORMNEW (HID_SVX_START + 212) +#define HID_SVX_DLGTABNEW (HID_SVX_START + 213) +#define HID_SVX_HYPERLINK (HID_SVX_START + 214) +#define HID_SVX_MAILATTACH_ASCII_CB (HID_SVX_START + 215) +#define HID_SVX_MAILATTACH_HTML_CB (HID_SVX_START + 216) +#define HID_SVX_MAILATTACH_OFFICE_CB (HID_SVX_START + 217) +#define HID_SVX_MAILATTACH_PRIORITY_LB (HID_SVX_START + 218) +#define HID_SVX_MAILATTACH_RECEIPT_CB (HID_SVX_START + 219) +#define HID_SVX_MAILATTACH_RTF_CB (HID_SVX_START + 220) +#define HID_SVX_MAILHEAD_HEAD_WIN (HID_SVX_START + 221) +#define HID_SVX_MAILHEAD_PRIORITY_LB (HID_SVX_START + 222) +#define HID_SVX_MAILHEAD_PROTOCOL_LB (HID_SVX_START + 223) +#define HID_SVX_MAILHEAD_RCPT_CB (HID_SVX_START + 224) +#define HID_SVX_MAILHEAD_RCPT_ED (HID_SVX_START + 225) +#define HID_SVX_MAILHEAD_RCPT_LB (HID_SVX_START + 226) +#define HID_SVX_MAILHEAD_RECEIPT_CB (HID_SVX_START + 227) +#define HID_SVX_MAILHEAD_ROLE_LB (HID_SVX_START + 228) +#define HID_SVX_MAILHEAD_SUBJECT_ED (HID_SVX_START + 229) +#define HID_SVX_MAILMENU_ADDADDRESS (HID_SVX_START + 230) +#define HID_SVX_MAILMENU_COPYLINK (HID_SVX_START + 231) +#define HID_SVX_MAILMENU_DELETE (HID_SVX_START + 232) +#define HID_SVX_MAILMENU_FILE (HID_SVX_START + 233) +#define HID_SVX_MAILMENU_OPEN (HID_SVX_START + 234) +#define HID_SVX_MAILMENU_RENAME (HID_SVX_START + 235) +#define HID_SVX_MAILMENU_SAVEAS (HID_SVX_START + 236) +#define HID_SVX_MAILMENU_SIG1 (HID_SVX_START + 237) +#define HID_SVX_MAILMENU_SIG2 (HID_SVX_START + 238) +#define HID_SVX_MAILMENU_SIG3 (HID_SVX_START + 239) +#define HID_SVX_MAILMENU_SIG4 (HID_SVX_START + 240) +#define HID_SVX_MAILTOOLBOX (HID_SVX_START + 241) +#define HID_SVX_SENDMENU_ENCRYPT (HID_SVX_START + 242) +#define HID_SVX_SENDMENU_PLAIN (HID_SVX_START + 243) +#define HID_SVX_SENDMENU_SIGN (HID_SVX_START + 244) +#define HID_SVX_SENDMENU_SIGNANDENCRYPT (HID_SVX_START + 245) +#define HID_SVX_TP_APPEARANCE (HID_SVX_START + 246) +#define HID_SVX_TP_DESKTOP (HID_SVX_START + 247) // please adjust ACT_SVX_HID_END2 below if you add entries here! @@ -826,15 +290,10 @@ // Overrun check --------------------------------------------------------- // ----------------------------------------------------------------------- -#define ACT_SVX_HID_END HID_OPTIONS_ACCESSIBILITYCONFIG +#define ACT_SVX_HID_END (HID_SVX_START+247) #if ACT_SVX_HID_END > HID_SVX_END #error Resource-Ueberlauf in #line, #file #endif -#define ACT_SVX_HID_END2 (HID_SVX_EXT0_START + 215) -#if ACT_SVX_HID_END2 > HID_SVX_EXT0_END -#error resource overrun in #line, #file -#endif - #endif diff --git a/svx/inc/hlmarkwn_def.hxx b/svx/inc/hlmarkwn_def.hxx deleted file mode 100644 index a668737411a6..000000000000 --- a/svx/inc/hlmarkwn_def.hxx +++ /dev/null @@ -1,39 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: hlmarkwn_def.hxx,v $ - * $Revision: 1.5 $ - * - * 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 _SVX_BKWND_HYPERLINK_DEF_HXX -#define _SVX_BKWND_HYPERLINK_DEF_HXX - -#define LERR_NOERROR 0 -#define LERR_NOENTRIES 1 -#define LERR_DOCNOTOPEN 2 - -#endif - diff --git a/svx/inc/hlnkitem.hxx b/svx/inc/hlnkitem.hxx index 6c8422e60d0e..a820be6562f1 100644 --- a/svx/inc/hlnkitem.hxx +++ b/svx/inc/hlnkitem.hxx @@ -31,9 +31,9 @@ #define _SVX_HLNKITEM_HXX #include <tools/string.hxx> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <sfx2/sfxsids.hrc> -#include <svtools/macitem.hxx> +#include <svl/macitem.hxx> #include "svx/svxdllapi.h" #define HYPERDLG_EVENT_MOUSEOVER_OBJECT 0x0001 diff --git a/svx/inc/htmlcfg.hxx b/svx/inc/htmlcfg.hxx index 2e3175898377..5fa8bdb6071a 100644 --- a/svx/inc/htmlcfg.hxx +++ b/svx/inc/htmlcfg.hxx @@ -61,7 +61,8 @@ public: SvxHtmlOptions(); ~SvxHtmlOptions(); - virtual void Commit(); + virtual void Commit(); + virtual void Notify( const com::sun::star::uno::Sequence< rtl::OUString >& _rPropertyNames); USHORT GetFontSize(USHORT nPos) const; void SetFontSize(USHORT nPos, USHORT nSize); diff --git a/svx/inc/linectrl.hxx b/svx/inc/linectrl.hxx index d8d5df55c97c..82c042e08d1f 100644 --- a/svx/inc/linectrl.hxx +++ b/svx/inc/linectrl.hxx @@ -32,7 +32,7 @@ #include <svtools/valueset.hxx> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include <sfx2/tbxctrl.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/mscodec.hxx b/svx/inc/mscodec.hxx deleted file mode 100644 index 4ee508d661dd..000000000000 --- a/svx/inc/mscodec.hxx +++ /dev/null @@ -1,343 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: mscodec.hxx,v $ - * $Revision: 1.5 $ - * - * 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 SVX_MSCODEC_HXX -#define SVX_MSCODEC_HXX - -#include "rtl/cipher.h" -#include "rtl/digest.h" -#include "svx/svxdllapi.h" - -namespace svx { - -// ============================================================================ - -/** Encodes and decodes data from protected MSO 95- documents. - */ -class SVX_DLLPUBLIC MSCodec_Xor95 -{ -public: - explicit MSCodec_Xor95(int nRotateDistance); - virtual ~MSCodec_Xor95(); - - /** Initializes the algorithm with the specified password. - - @param pPassData - Character array containing the password. Must be zero terminated, - which results in a maximum length of 15 characters. - */ - void InitKey( const sal_uInt8 pnPassData[ 16 ] ); - - /** Verifies the validity of the password using the passed key and hash. - - @precond - The codec must be initialized with InitKey() before this function - can be used. - - @param nKey - Password key value read from the file. - @param nHash - Password hash value read from the file. - - @return - true = Test was successful. - */ - bool VerifyKey( sal_uInt16 nKey, sal_uInt16 nHash ) const; - - /** Reinitializes the codec to start a new memory block. - - Resets the internal key offset to 0. - - @precond - The codec must be initialized with InitKey() before this function - can be used. - */ - void InitCipher(); - - /** Decodes a block of memory inplace. - - @precond - The codec must be initialized with InitKey() before this function - can be used. - - @param pnData - Encrypted data block. Will contain the decrypted data afterwards. - @param nBytes - Size of the passed data block. - */ - virtual void Decode( sal_uInt8* pnData, sal_Size nBytes )=0; - - /** Lets the cipher skip a specific amount of bytes. - - This function sets the cipher to the same state as if the specified - amount of data has been decoded with one or more calls of Decode(). - - @precond - The codec must be initialized with InitKey() before this function - can be used. - - @param nBytes - Number of bytes to be skipped (cipher "seeks" forward). - */ - void Skip( sal_Size nBytes ); - - // static ----------------------------------------------------------------- - - /** Calculates the 16-bit hash value for the given password. - - The password data may be longer than 16 bytes. The array does not need - to be terminated with a NULL byte (but it can without invalidating the - result). - */ - static sal_uInt16 GetHash( const sal_uInt8* pnPassData, sal_Size nSize ); - -protected: - sal_uInt8 mpnKey[ 16 ]; /// Encryption key. - sal_Size mnOffset; /// Key offset. - -private: - SVX_DLLPRIVATE MSCodec_Xor95( const MSCodec_Xor95& ); - SVX_DLLPRIVATE MSCodec_Xor95& operator=( const MSCodec_Xor95& ); - - sal_uInt16 mnKey; /// Base key from password. - sal_uInt16 mnHash; /// Hash value from password. - int mnRotateDistance; -}; - -/** Encodes and decodes data from protected MSO XLS 95- documents. - */ -class SVX_DLLPUBLIC MSCodec_XorXLS95 : public MSCodec_Xor95 -{ -public: - explicit MSCodec_XorXLS95() : MSCodec_Xor95(2) {} - - /** Decodes a block of memory inplace. - - @precond - The codec must be initialized with InitKey() before this function - can be used. - - @param pnData - Encrypted data block. Will contain the decrypted data afterwards. - @param nBytes - Size of the passed data block. - */ - virtual void Decode( sal_uInt8* pnData, sal_Size nBytes ); -}; - -/** Encodes and decodes data from protected MSO Word 95- documents. - */ -class SVX_DLLPUBLIC MSCodec_XorWord95 : public MSCodec_Xor95 -{ -public: - explicit MSCodec_XorWord95() : MSCodec_Xor95(7) {} - - /** Decodes a block of memory inplace. - - @precond - The codec must be initialized with InitKey() before this function - can be used. - - @param pnData - Encrypted data block. Will contain the decrypted data afterwards. - @param nBytes - Size of the passed data block. - */ - virtual void Decode( sal_uInt8* pnData, sal_Size nBytes ); -}; - - -// ============================================================================ - -/** Encodes and decodes data from protected MSO 97+ documents. - - This is a wrapper class around low level cryptographic functions from RTL. - Implementation is based on the wvDecrypt package by Caolan McNamara: - http://www.csn.ul.ie/~caolan/docs/wvDecrypt.html - */ -class SVX_DLLPUBLIC MSCodec_Std97 -{ -public: - explicit MSCodec_Std97(); - ~MSCodec_Std97(); - - /** Initializes the algorithm with the specified password and document ID. - - @param pPassData - Wide character array containing the password. Must be zero - terminated, which results in a maximum length of 15 characters. - @param pUnique - Unique document identifier read from or written to the file. - */ - void InitKey( - const sal_uInt16 pPassData[ 16 ], - const sal_uInt8 pUnique[ 16 ] ); - - /** Verifies the validity of the password using the passed salt data. - - @precond - The codec must be initialized with InitKey() before this function - can be used. - - @param pSaltData - Salt data block read from the file. - @param pSaltDigest - Salt digest read from the file. - - @return - true = Test was successful. - */ - bool VerifyKey( - const sal_uInt8 pSaltData[ 16 ], - const sal_uInt8 pSaltDigest[ 16 ] ); - - /** Rekeys the codec using the specified counter. - - After reading a specific amount of data the cipher algorithm needs to - be rekeyed using a counter that counts the data blocks. - - The block size is for example 512 Bytes for Word files and 1024 Bytes - for Excel files. - - @precond - The codec must be initialized with InitKey() before this function - can be used. - - @param nCounter - Block counter used to rekey the cipher. - */ - bool InitCipher( sal_uInt32 nCounter ); - - /** Creates an MD5 digest of salt digest. */ - bool CreateSaltDigest( - const sal_uInt8 nSaltData[16], sal_uInt8 nSaltDigest[16] ); - - /** Encodes a block of memory. - - @see rtl_cipher_encode() - - @precond - The codec must be initialized with InitKey() before this function - can be used. The destination buffer must be able to take all - unencoded data from the source buffer (usually this means it must be - as long as or longer than the source buffer). - - @param pData - Unencrypted source data block. - @param nDatLen - Size of the passed source data block. - @param pBuffer - Destination buffer for the encrypted data. - @param nBufLen - Size of the destination buffer. - - @return - true = Encoding was successful (no error occured). - */ - bool Encode( - const void* pData, sal_Size nDatLen, - sal_uInt8* pBuffer, sal_Size nBufLen ); - - /** Decodes a block of memory. - - @see rtl_cipher_decode() - - @precond - The codec must be initialized with InitKey() before this function - can be used. The destination buffer must be able to take all - encoded data from the source buffer (usually this means it must be - as long as or longer than the source buffer). - - @param pData - Encrypted source data block. - @param nDatLen - Size of the passed source data block. - @param pBuffer - Destination buffer for the decrypted data. - @param nBufLen - Size of the destination buffer. - - @return - true = Decoding was successful (no error occured). - */ - bool Decode( - const void* pData, sal_Size nDatLen, - sal_uInt8* pBuffer, sal_Size nBufLen ); - - /** Lets the cipher skip a specific amount of bytes. - - This function sets the cipher to the same state as if the specified - amount of data has been decoded with one or more calls of Decode(). - - @precond - The codec must be initialized with InitKey() before this function - can be used. - - @param nDatLen - Number of bytes to be skipped (cipher "seeks" forward). - */ - bool Skip( sal_Size nDatLen ); - - /** Gets salt data and salt digest. - - @precond - The codec must be initialized with InitKey() before this function - can be used. - - @param pSalt - Salt, a random number. - @param pSaltData - Salt data block generated from the salt. - @param pSaltDigest - Salt digest generated from the salt. - */ - void GetEncryptKey ( - const sal_uInt8 pSalt[16], - sal_uInt8 pSaltData[16], - sal_uInt8 pSaltDigest[16]); - -private: - void GetDigestFromSalt( const sal_uInt8 pSaltData[16], sal_uInt8 pDigest[16] ); - -private: - SVX_DLLPRIVATE MSCodec_Std97( const MSCodec_Std97& ); - SVX_DLLPRIVATE MSCodec_Std97& operator=( const MSCodec_Std97& ); - - rtlCipher m_hCipher; - rtlDigest m_hDigest; - sal_uInt8 m_pDigestValue[ RTL_DIGEST_LENGTH_MD5 ]; -}; - -// ============================================================================ - -} // namespace svx - -#endif - diff --git a/svx/inc/msoleexp.hxx b/svx/inc/msoleexp.hxx deleted file mode 100644 index 830a36f4bbca..000000000000 --- a/svx/inc/msoleexp.hxx +++ /dev/null @@ -1,63 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: msoleexp.hxx,v $ - * $Revision: 1.5 $ - * - * 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 _MSOLEEXP_HXX -#define _MSOLEEXP_HXX - -#include <com/sun/star/uno/Reference.h> -#include "svx/svxdllapi.h" - -// for the CreateSdrOLEFromStorage we need the information, how we handle -// convert able OLE-Objects - this ist stored in -#define OLE_STARMATH_2_MATHTYPE 0x0001 -#define OLE_STARWRITER_2_WINWORD 0x0002 -#define OLE_STARCALC_2_EXCEL 0x0004 -#define OLE_STARIMPRESS_2_POWERPOINT 0x0008 - -class SotStorage; - -#include <svtools/embedhlp.hxx> - -class SVX_DLLPUBLIC SvxMSExportOLEObjects -{ - UINT32 nConvertFlags; -public: - SvxMSExportOLEObjects( UINT32 nCnvrtFlgs ) : nConvertFlags(nCnvrtFlgs) {} - - void SetFlags( UINT32 n ) { nConvertFlags = n; } - UINT32 GetFlags() const { return nConvertFlags; } - - void ExportOLEObject( svt::EmbeddedObjectRef& rObj, SotStorage& rDestStg ); - void ExportOLEObject( const com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject>& rObj, SotStorage& rDestStg ); -}; - - - -#endif - diff --git a/svx/inc/multipat.hrc b/svx/inc/multipat.hrc deleted file mode 100644 index 6ef22855ff8b..000000000000 --- a/svx/inc/multipat.hrc +++ /dev/null @@ -1,47 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: multipat.hrc,v $ - * $Revision: 1.5 $ - * - * 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 _SVX_MULTIPAT_HRC -#define _SVX_MULTIPAT_HRC - -// defines --------------------------------------------------------------- - -#define FL_MULTIPATH 10 -#define LB_MULTIPATH 11 -#define LB_RADIOBUTTON 12 -#define FT_RADIOBUTTON 13 -#define BTN_ADD_MULTIPATH 14 -#define BTN_DEL_MULTIPATH 15 -#define BTN_MULTIPATH_OK 16 -#define BTN_MULTIPATH_CANCEL 17 -#define BTN_MULTIPATH_HELP 18 -#define STR_HEADER_PATHS 19 - -#endif - diff --git a/svx/inc/nlbkitem.hxx b/svx/inc/nlbkitem.hxx index 3e586731345a..db3298c3d5b1 100644 --- a/svx/inc/nlbkitem.hxx +++ b/svx/inc/nlbkitem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" // class SvxNoLinebreakItem ---------------------------------------------- diff --git a/svx/inc/ofaitem.hxx b/svx/inc/ofaitem.hxx index 9a57dbb2989c..7701cb82206b 100644 --- a/svx/inc/ofaitem.hxx +++ b/svx/inc/ofaitem.hxx @@ -32,7 +32,7 @@ // include ---------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" // class OfaPtrItem ------------------------------------------------------ diff --git a/svx/inc/opaqitem.hxx b/svx/inc/opaqitem.hxx index c5306c0e0a61..07a5cbb4fd36 100644 --- a/svx/inc/opaqitem.hxx +++ b/svx/inc/opaqitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" class SvXMLUnitConverter; diff --git a/svx/inc/optaccessibility.hrc b/svx/inc/optaccessibility.hrc deleted file mode 100644 index 248cf16bc96e..000000000000 --- a/svx/inc/optaccessibility.hrc +++ /dev/null @@ -1,87 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optaccessibility.hrc,v $ - * $Revision: 1.7 $ - * - * 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 _SVX_OPTACCESSIBILITY_HRC -#define _SVX_OPTACCESSIBILITY_HRC - -#include <svtools/controldims.hrc> - -// defines for positions and sizes - -#define GB_WIDTH 248 -#define CB_WIDTH 240 -#define EDIT_WIDTH 25 - -#define COL0 6 -#define COL1 (COL0+6) -#define COL2 (COL1+10) -#define COL3 (COL1+(CB_WIDTH * 2/3)) -#define COL4 (COL3+EDIT_WIDTH+RSC_SP_CTRL_DESC_X) - -#define UNIT_WIDTH (COL1+CB_WIDTH-COL4) - -#define ROWSPACE RSC_SP_CTRL_DESC_Y -#define LINESPACE 1 -#define GROUPSPACE RSC_SP_CTRL_DESC_Y + 2 -#define ROWA_0 3 -#define ROWA_1 ( ROWA_0 + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE ) -#define ROWA_2 ( ROWA_1 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE ) -#define ROWA_3 ( ROWA_2 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE ) -#define ROWA_4 ( ROWA_3 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE ) -#define ROWA_5 ( ROWA_4 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE ) - -#define ROWB_0 ( ROWA_5 + RSC_CD_TEXTBOX_HEIGHT + ROWSPACE + GROUPSPACE ) -#define ROWB_1 ( ROWB_0 + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE ) -#define ROWB_2 ( ROWB_1 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE ) -#define ROWB_3 ( ROWB_2 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE ) - -#define WHOLE_HEIGHT 185 -#define LASTTEXT_HEIGHT (WHOLE_HEIGHT-ROWB_8) -#define OFFS_TEXTBOX_FIXEDTEXT(base) (base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2) -#define DIFF(v1,v2) (v2-v1) -#define SUM(v1,v2) (v2+v1) - -// - -#define FL_MISCELLANEOUS 1 -#define CB_PAGE_PREVIEWS 2 -#define FL_HC_OPTIONS 3 -#define CB_TIPHELP 4 -#define NF_TIPHELP 5 -#define FT_TIPHELP 6 -#define CB_ANIMATED_GRAPHICS 7 -#define CB_ANIMATED_TEXTS 8 -#define CB_AUTOMATIC_FONT_COLOR 9 -#define CB_SYSTEM_FONT 10 -#define CB_ACCESSIBILITY_TOOL 11 -#define CB_TEXTSELECTION 12 -#define CB_AUTO_DETECT_HC 13 - -#endif - diff --git a/svx/inc/optasian.hrc b/svx/inc/optasian.hrc deleted file mode 100644 index 2d9c8a282352..000000000000 --- a/svx/inc/optasian.hrc +++ /dev/null @@ -1,52 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optasian.hrc,v $ - * $Revision: 1.4 $ - * - * 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 _SVX_OPTASIAN_HRC -#define _SVX_OPTASIAN_HRC - -#define GB_KERNING 1 -#define RB_CHAR_KERNING 2 -#define RB_CHAR_PUNCT 3 -#define GB_CHAR_DIST 4 -#define RB_NO_COMP 5 -#define RB_PUNCT_COMP 6 -#define RB_PUNCT_KANA_COMP 7 -#define GB_START_END 8 -#define CB_STANDARD 9 - -#define FT_LANGUAGE 11 -#define LB_LANGUAGE 12 -#define FT_START 13 -#define ED_START 14 -#define FT_END 15 -#define ED_END 16 -#define FT_HINT 17 - -#endif - diff --git a/svx/inc/optcolor.hrc b/svx/inc/optcolor.hrc deleted file mode 100644 index 06730cf196c0..000000000000 --- a/svx/inc/optcolor.hrc +++ /dev/null @@ -1,222 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optcolor.hrc,v $ - * $Revision: 1.8.196.1 $ - * - * 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 _SVX_OPTCOLOR_HRC -#define _SVX_OPTCOLOR_HRC - -//Color config page -#define FL_COLORSCHEME 1 -#define FT_COLORSCHEME 2 -#define LB_COLORSCHEME 3 -#define PB_SAVESCHEME 4 -#define PB_DELETESCHEME 5 -#define FL_CUSTOMCOLORS 6 -#define CT_COLORCONFIG 7 - -#define HB_HEADER 10 -#define VB_VSCROLL 11 -#define WN_SCROLL 12 -#define ST_ON 17 -#define ST_UIELEM 18 -#define ST_COLSET 19 -#define ST_PREVIEW 20 - -#define FT_GENERAL 30 -#define FT_DOCCOLOR 31 -#define LB_DOCCOLOR 32 -#define WN_DOCCOLOR 33 -#define CB_DOCBOUND 34 -#define LB_DOCBOUND 35 -#define WN_DOCBOUND 36 -#define FT_APPBACKGROUND 37 -#define LB_APPBACKGROUND 38 -#define WN_APPBACKGROUND 39 -#define CB_OBJECTBOUNDARIES 40 -#define LB_OBJECTBOUNDARIES 41 -#define WN_OBJECTBOUNDARIES 42 -#define CB_TABLEBOUNDARIES 43 -#define LB_TABLEBOUNDARIES 44 -#define WN_TABLEBOUNDARIES 45 -#define FT_FONTCOLOR 46 -#define LB_FONTCOLOR 47 -#define WN_FONTCOLOR 48 -#define CB_LINKS 49 -#define LB_LINKS 50 -#define WN_LINKS 51 -#define CB_LINKSVISITED 52 -#define LB_LINKSVISITED 53 -#define WN_LINKSVISITED 54 - -#define FT_SPELL 58 -#define LB_SPELL 59 -#define WN_SPELL 60 - -#define FT_WRITER 61 -#define FT_WRITERTEXTGRID 62 -#define LB_WRITERTEXTGRID 63 -#define WN_WRITERTEXTGRID 64 -#define CB_WRITERFIELDSHADINGS 65 -#define LB_WRITERFIELDSHADINGS 66 -#define WN_WRITERFIELDSHADINGS 67 -#define CB_WRITERIDXSHADINGS 68 -#define LB_WRITERIDXSHADINGS 69 -#define WN_WRITERIDXSHADINGS 70 -#define LB_WRITERDIRECTCURSOR 71 -#define FT_WRITERDIRECTCURSOR 72 -#define WN_WRITERDIRECTCURSOR 73 -#define LB_WRITERSCRIPTINDICATOR 77 -#define FT_WRITERSCRIPTINDICATOR 78 -#define WN_WRITERSCRIPTINDICATOR 79 -#define LB_WRITERSECTIONBOUNDARIES 80 -#define CB_WRITERSECTIONBOUNDARIES 81 -#define WN_WRITERSECTIONBOUNDARIES 82 -#define LB_WRITERPAGEBREAKS 83 -#define FT_WRITERPAGEBREAKS 84 -#define WN_WRITERPAGEBREAKS 85 - -#define FT_HTML 88 -#define FT_HTMLSGML 89 -#define LB_HTMLSGML 90 -#define WN_HTMLSGML 91 -#define FT_HTMLCOMMENT 92 -#define LB_HTMLCOMMENT 93 -#define WN_HTMLCOMMENT 94 -#define FT_HTMLKEYWORD 95 -#define LB_HTMLKEYWORD 96 -#define WN_HTMLKEYWORD 97 -#define FT_HTMLUNKNOWN 98 -#define LB_HTMLUNKNOWN 99 -#define WN_HTMLUNKNOWN 100 - -#define FT_CALC 103 -#define FT_CALCGRID 104 -#define LB_CALCGRID 105 -#define WN_CALCGRID 106 -#define FT_CALCPAGEBREAK 107 -#define LB_CALCPAGEBREAK 108 -#define WN_CALCPAGEBREAK 109 -#define FT_CALCPAGEBREAKMANUAL 100 -#define LB_CALCPAGEBREAKMANUAL 101 -#define WN_CALCPAGEBREAKMANUAL 112 -#define FT_CALCPAGEBREAKAUTO 113 -#define LB_CALCPAGEBREAKAUTO 114 -#define WN_CALCPAGEBREAKAUTO 115 -#define FT_CALCDETECTIVE 116 -#define LB_CALCDETECTIVE 117 -#define WN_CALCDETECTIVE 118 -#define FT_CALCDETECTIVEERROR 119 -#define LB_CALCDETECTIVEERROR 120 -#define WN_CALCDETECTIVEERROR 121 -#define FT_CALCREFERENCE 122 -#define LB_CALCREFERENCE 123 -#define WN_CALCREFERENCE 124 -#define FT_CALCNOTESBACKGROUND 125 -#define LB_CALCNOTESBACKGROUND 126 -#define WN_CALCNOTESBACKGROUND 127 -#define FT_DRAW 128 -#define FT_DRAWGRID 132 -#define LB_DRAWGRID 133 -#define WN_DRAWGRID 134 -#define FT_BASICIDENTIFIER 141 -#define LB_BASICIDENTIFIER 142 -#define WN_BASICIDENTIFIER 143 -#define FT_BASICCOMMENT 144 -#define LB_BASICCOMMENT 145 -#define WN_BASICCOMMENT 146 -#define FT_BASICNUMBER 147 -#define LB_BASICNUMBER 148 -#define WN_BASICNUMBER 142 -#define FT_BASICSTRING 153 -#define LB_BASICSTRING 154 -#define WN_BASICSTRING 155 -#define FT_BASICOPERATOR 156 -#define LB_BASICOPERATOR 157 -#define WN_BASICOPERATOR 158 -#define FT_BASICKEYWORD 159 -#define LB_BASICKEYWORD 160 -#define WN_BASICKEYWORD 161 -#define FT_BASIC 162 -#define FT_BASICERROR 163 -#define LB_BASICERROR 164 -#define WN_BASICERROR 165 - -#define FT_SQL_COMMAND 173 -#define FT_SQLIDENTIFIER 174 -#define LB_SQLIDENTIFIER 175 -#define WN_SQLIDENTIFIER 176 -#define FT_SQLNUMBER 177 -#define LB_SQLNUMBER 178 -#define WN_SQLNUMBER 179 -#define FT_SQLSTRING 180 -#define LB_SQLSTRING 181 -#define WN_SQLSTRING 182 -#define FT_SQLOPERATOR 183 -#define LB_SQLOPERATOR 184 -#define WN_SQLOPERATOR 185 -#define FT_SQLKEYWORD 186 -#define LB_SQLKEYWORD 187 -#define WN_SQLKEYWORD 188 -#define FT_SQLPARAMETER 189 -#define LB_SQLPARAMETER 190 -#define WN_SQLPARAMETER 191 -#define FT_SQLCOMMENT 192 -#define LB_SQLCOMMENT 193 -#define WN_SQLCOMMENT 194 - -#define ST_EXTENSION 166 - - - -#define _FT_WIDTH 120 -#define _LINE_HEIGHT 15 -#define _FT_HEIGHT 10 -#define _CB_WIDTH 130 -#define _FT_XPOS 14 -#define _CB_XPOS 6 -#define _LB_XPOS 139 -#define _LB_WIDTH 50 -#define _LB_HEIGHT 50 -#define _WN_WIDTH 30 -#define _WN_HEIGHT 12 -#define _WN_XPOS 195 - -#define FT_SMARTTAGS 168 -#define LB_SMARTTAGS 169 -#define WN_SMARTTAGS 170 - -#define ST_SPELL_CHECK_HIGHLIGHTING 171 -#define ST_GRAMMAR_CHECK_HIGHLIGHTING 172 - - -#endif - - - - - diff --git a/svx/inc/optctl.hrc b/svx/inc/optctl.hrc deleted file mode 100644 index 4897926f610c..000000000000 --- a/svx/inc/optctl.hrc +++ /dev/null @@ -1,61 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optctl.hrc,v $ - * $Revision: 1.6 $ - * - * 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 _SVX_OPTCTL_HRC -#define _SVX_OPTCTL_HRC - -#include <svtools/controldims.hrc> - -#define FL_SEQUENCECHECKING 10 -#define CB_SEQUENCECHECKING 11 -#define CB_RESTRICTED 12 -#define CB_TYPE_REPLACE 13 - -#define FL_CURSORCONTROL 20 -#define FT_MOVEMENT 21 -#define RB_MOVEMENT_LOGICAL 22 -#define RB_MOVEMENT_VISUAL 23 - -#define FL_GENERAL 30 -#define FT_NUMERALS 31 -#define LB_NUMERALS 32 - -#define EXTRA_SPACE_Y 16 -#define ROW_0 (RSC_SP_TBPG_INNERBORDER_TOP) -#define ROW_1 (ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y) -#define ROW_2 (ROW_1+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y) -#define ROW_3 (ROW_2+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_CTRL_Y+EXTRA_SPACE_Y) -#define ROW_4 (ROW_3+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y) -#define ROW_5 (ROW_4+(RSC_CD_RADIOBUTTON_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2) -#define ROW_6 (ROW_5+RSC_CD_RADIOBUTTON_HEIGHT+RSC_SP_CTRL_Y+EXTRA_SPACE_Y) -#define ROW_7 (ROW_6+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y) -#define ROW_8 (ROW_7+(RSC_CD_DROPDOWN_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2) - -#endif // #ifndef _SVX_OPTCTL_HRC - diff --git a/svx/inc/optgenrl.hrc b/svx/inc/optgenrl.hrc deleted file mode 100644 index 4c519d5ebb70..000000000000 --- a/svx/inc/optgenrl.hrc +++ /dev/null @@ -1,88 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optgenrl.hrc,v $ - * $Revision: 1.5 $ - * - * 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 _SVX_OPTGENRL_HRC -#define _SVX_OPTGENRL_HRC - -// defines ------------------------------------------------------------------ - -#define FT_COMPANY 10 -#define ED_COMPANY 11 -#define FT_NAME 12 -#define FT_NAME_RUSS 13 -#define ED_FATHERNAME 14 -#define ED_FIRSTNAME 15 -#define ED_NAME 16 -#define ED_SHORTNAME 17 -#define FT_STREET 18 -#define FT_STREET_RUSS 19 -#define ED_STREET 20 -#define ED_APARTMENTNR 21 -#define FT_CITY 22 -#define ED_PLZ 23 -#define ED_CITY 24 -#define ED_US_CITY 25 -#define ED_US_STATE 26 -#define ED_US_ZIPCODE 27 -#define FT_COUNTRY 28 -#define ED_COUNTRY 29 -#define FT_TITLEPOS 30 -#define ED_TITLE 31 -#define ED_POSITION 32 -#define FT_PHONE 33 -#define ED_TELPRIVAT 34 -#define ED_TELCOMPANY 35 -#define FT_FAXMAIL 36 -#define ED_FAX 37 -#define ED_EMAIL 38 -#define GB_ADDRESS 39 -#define CB_USEDATA 40 -#define FT_NAME_EASTERN 41 - -#define STR_US_STATE 10 -#define STR_QUERY_REG 11 - -// Positionierungshilfen f"ur den Dialog - -#define HSPACE 2 -#define VSPACE 3 -#define LINEH 12 -#define FLINEH 8 -#define LEFT 12 -#define MID 100 -#define RIGHT 248 -#define TOP 10 -#define LINE(y) (14+y*15) -#define FLINE(y) (16+y*15) -#define NAMELEN 74 - -#endif // #ifndef _SVX_OPTGENRL_HRC - -// ******************************************************************* EOF - diff --git a/svx/inc/optgrid.hxx b/svx/inc/optgrid.hxx index 31e5ac10f59b..e91530f33cd5 100644 --- a/svx/inc/optgrid.hxx +++ b/svx/inc/optgrid.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #include <sfx2/tabdlg.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <vcl/group.hxx> #include <vcl/fixed.hxx> #include <vcl/field.hxx> diff --git a/svx/inc/optimprove.hrc b/svx/inc/optimprove.hrc deleted file mode 100644 index 919b01c6fb6a..000000000000 --- a/svx/inc/optimprove.hrc +++ /dev/null @@ -1,53 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optimprove.hrc,v $ - * $Revision: 1.3 $ - * - * 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 _SVX_OPTIMPROVE_HRC -#define _SVX_OPTIMPROVE_HRC - -// defines --------------------------------------------------------------- - -#define FL_IMPROVE 10 -#define FT_INVITATION 11 -#define RB_YES 12 -#define RB_NO 13 -#define FL_DATA 14 -#define FT_NR_REPORTS 15 -#define FT_NR_REPORTS_VALUE 16 -#define FT_NR_ACTIONS 17 -#define FT_NR_ACTIONS_VALUE 18 -#define PB_SHOWDATA 19 -#define FI_INFO 20 -#define WIN_INFO 21 -#define BTN_OK 22 - -#define STR_INFO 10 -#define STR_MOREINFO 11 - -#endif - diff --git a/svx/inc/optinet2.hrc b/svx/inc/optinet2.hrc deleted file mode 100644 index da394d6d249f..000000000000 --- a/svx/inc/optinet2.hrc +++ /dev/null @@ -1,175 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optinet2.hrc,v $ - * $Revision: 1.11 $ - * - * 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 _SVX_OPTINET_HRC -#define _SVX_OPTINET_HRC - -#ifndef _SVT_CONTROLDIMS_HRC_ -#include <svtools/controldims.hrc> -#endif - -// Proxy ------------------------------------------------------------------ -#define GB_SETTINGS 1 -#define FT_PROXYMODE 2 -#define LB_PROXYMODE 2 -#define FT_HTTP_PROXY 3 -#define ED_HTTP_PROXY 3 -#define FT_HTTP_PORT 4 -#define ED_HTTP_PORT 4 -#define FT_FTP_PROXY 5 -#define ED_FTP_PROXY 5 -#define FT_FTP_PORT 6 -#define ED_FTP_PORT 6 -#define FT_SOCKS_PROXY 7 -#define ED_SOCKS_PROXY 7 -#define FT_SOCKS_PORT 8 -#define ED_SOCKS_PORT 8 -#define FT_NOPROXYFOR 11 -#define ED_NOPROXYFOR 11 -#define ED_NOPROXYDESC 12 -#define ST_PROXY_FROM_BROWSER 13 -#define FT_HTTPS_PROXY 14 -#define ED_HTTPS_PROXY 14 -#define FT_HTTPS_PORT 15 -#define ED_HTTPS_PORT 15 - -// Search ------------------------------------------------------------------ -#define GB_SEARCH 40 -#define LB_SEARCH 40 -#define FT_SEARCH_NAME 41 -#define ED_SEARCH_NAME 41 -#define FT_SEARCH 42 -#define RB_AND 43 -#define RB_OR 44 -#define RB_EXACT 45 -#define FT_URL 46 -#define ED_URL 46 -#define FT_POSTFIX 47 -#define ED_POSTFIX 47 -#define FT_SEPARATOR 48 -#define ED_SEPARATOR 48 -#define FT_CASE 49 -#define ED_CASE 49 -#define PB_CHANGE 53 -#define PB_DELETE 54 -#define PB_ADD 55 -#define PB_NEW 56 -#define MSG_MODIFY 57 - -// Protocols -------------------------------------------------------------- -#define GB_DNS 105 -#define RB_DNS_AUTO 106 -#define RB_DNS_MANUAL 107 -#define ED_DNS 107 - -#define ST_MSG_255_0 111 -#define ST_MSG_255_1 112 - -// Site Certificate -------------------------------------------------------- -#define GB_SITECERT 120 -#define LB_SITECERT 121 -#define LB_FILTERCERT 122 -#define PB_EDIT_CERT 123 -#define PB_DELETE_CERT 124 - -// personal Certificate ---------------------------------------------------- -#define GB_PERSCERT 130 -#define LB_PERSCERT 131 -#define PB_NEW_PERSCERT 132 -#define PB_INFO_PERSCERT 133 -#define PB_DELETE_PERSCERT 134 - -// Security ------------------------------------------------------------- - -#define FL_SEC_SECURITYOPTIONS 10 -#define FI_SEC_SECURITYOPTIONS 11 -#define PB_SEC_SECURITYOPTIONS 12 -#define FL_SEC_PASSWORDS 13 -#define CB_SEC_SAVEPASSWORDS 14 -#define PB_SEC_CONNECTIONS 15 -#define CB_SEC_MASTERPASSWORD 16 -#define FI_SEC_MASTERPASSWORD 17 -#define PB_SEC_MASTERPASSWORD 18 -#define FL_SEC_MACROSEC 19 -#define FI_SEC_MACROSEC 20 -#define PB_SEC_MACROSEC 21 -#define FL_SEC_FILESHARING 22 -#define CB_SEC_RECOMMREADONLY 23 -#define CB_SEC_RECORDCHANGES 24 -#define PB_SEC_PROTRECORDS 25 - -#define STR_SEC_PROTRECORDS 10 -#define STR_SEC_UNPROTRECORDS 11 -#define STR_SEC_NOPASSWDSAVE 12 - -#define TP_WIDTH 260 -#define TP_HEIGHT 185 -#define OFFS_BUTTON_Y (-6) -#define BORDER_OFFSET 8 -#define COL_0 (RSC_SP_TBPG_INNERBORDER_LEFT) -#define COL_1 (COL_0+RSC_SP_FLGR_SPACE_X) -#define COL_1a (COL_1+RSC_SP_CHK_TEXTINDENT) -#define COL_4 (TP_WIDTH-RSC_SP_TBPG_INNERBORDER_RIGHT) -#define COL_3 (COL_4-RSC_CD_PUSHBUTTON_WIDTH) -#define COL_2 (COL_3-RSC_SP_CTRL_DESC_X) - -#define ROW_0 (RSC_SP_FLGR_INNERBORDER_TOP) -#define ROW_1 (ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y) -#define ROW_2 (ROW_1+3*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) -#define ROW_2a (ROW_2-RSC_SP_FLGR_SPACE_Y-RSC_CD_PUSHBUTTON_HEIGHT) -#define ROW_3 (ROW_2+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y) -#define ROW_4 (ROW_3+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_CTRL_DESC_Y-1) -#define ROW_4a (ROW_4+RSC_CD_CHECKBOX_HEIGHT+1) -#define ROW_5 (ROW_4a+4*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) -#define ROW_6 (ROW_5+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y) -#define ROW_7 (ROW_6+2*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) -#define ROW_8 (ROW_7+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y) -#define ROW_9 (ROW_8+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_CTRL_DESC_Y) - -// Defines - JavaScriptDisableQueryBox_Impl ------------------------------- - -#define IMG_JSCPT_WARNING 220 -#define FT_JSCPT_WARNING 221 -#define CB_JSCPT_DISABLE 222 -#define GB_JSCPT_WARNING 223 -#define BTN_JSCPT_YES 224 -#define BTN_JSCPT_NO 225 - -// Defines - SvxEMailTabPage_Impl -#define FL_MAIL 1 -#define FT_MAILERURL 2 -#define FI_MAILERURL 3 -#define ED_MAILERURL 4 -#define PB_MAILERURL 5 -#define STR_DEFAULT_FILENAME 6 - -#endif // #ifndef _SVX_OPTINET_HRC - -// ******************************************************************* EOF - diff --git a/svx/inc/optitems.hxx b/svx/inc/optitems.hxx index e48367556925..6e951c0100f4 100644 --- a/svx/inc/optitems.hxx +++ b/svx/inc/optitems.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <com/sun/star/uno/Reference.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/optjsearch.hrc b/svx/inc/optjsearch.hrc deleted file mode 100644 index dfe6b7bdb07a..000000000000 --- a/svx/inc/optjsearch.hrc +++ /dev/null @@ -1,53 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optjsearch.hrc,v $ - * $Revision: 1.4 $ - * - * 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_TREAT_AS_EQUAL 100 -#define CB_MATCH_CASE 101 -#define CB_MATCH_FULL_HALF_WIDTH 102 -#define CB_MATCH_HIRAGANA_KATAKANA 103 -#define CB_MATCH_CONTRACTIONS 104 -#define CB_MATCH_MINUS_DASH_CHOON 105 -#define CB_MATCH_REPEAT_CHAR_MARKS 106 -#define CB_MATCH_VARIANT_FORM_KANJI 107 -#define CB_MATCH_OLD_KANA_FORMS 108 -#define CB_MATCH_DIZI_DUZU 109 -#define CB_MATCH_BAVA_HAFA 110 -#define CB_MATCH_TSITHICHI_DHIZI 111 -#define CB_MATCH_HYUFYU_BYUVYU 112 -#define CB_MATCH_SESHE_ZEJE 113 -#define CB_MATCH_IAIYA 114 -#define CB_MATCH_KIKU 115 - -#define FL_IGNORE 200 -#define CB_IGNORE_PUNCTUATION 201 -#define CB_IGNORE_WHITESPACES 202 -#define CB_MATCH_PROLONGED_SOUNDMARK 203 -#define CB_IGNORE_MIDDLE_DOT 204 - diff --git a/svx/inc/optpath.hrc b/svx/inc/optpath.hrc deleted file mode 100644 index 0fcef57dcf4c..000000000000 --- a/svx/inc/optpath.hrc +++ /dev/null @@ -1,46 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optpath.hrc,v $ - * $Revision: 1.5 $ - * - * 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 _SVX_OPTPATH_HRC -#define _SVX_OPTPATH_HRC - -// defines --------------------------------------------------------------- - -#define FT_TYPE 10 -#define FT_PATH 11 -#define LB_PATH 12 -#define BTN_PATH 13 -#define BTN_STANDARD 14 -#define GB_STD 15 -#define IMG_LOCK 16 -#define IMG_LOCK_HC 17 -#define STR_MULTIPATHDLG 18 - -#endif - diff --git a/svx/inc/optsave.hrc b/svx/inc/optsave.hrc deleted file mode 100644 index c5b2ab5e765a..000000000000 --- a/svx/inc/optsave.hrc +++ /dev/null @@ -1,84 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optsave.hrc,v $ - * $Revision: 1.9 $ - * - * 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 _SVX_OPTSAVE_HRC -#define _SVX_OPTSAVE_HRC - -// defines ------------------------------------------------------------------ - -#define LB_LOAD 10 -#define CB_LOAD_SETTINGS 11 -#define CB_LOAD_DOCPRINTER 12 -#define GB_SAVE 13 -#define BTN_DOCINFO 14 -#define BTN_BACKUP 15 -#define BTN_AUTOSAVE 16 -#define ED_AUTOSAVE 17 -#define FT_MINUTE 18 -#define BTN_AUTOSAVEPROMPT 19 -#define BTN_NOPRETTYPRINTING 20 -#define FI_BACKUP 21 -#define BTN_WARNALIENFORMAT 22 -#define FT_ODF_VERSION 23 -#define LB_ODF_VERSION 24 - -#define GB_RELATIVE 40 -#define BTN_RELATIVE_FSYS 41 -#define BTN_RELATIVE_INET 42 - -#define FL_FILTER 43 -#define FT_APP 44 -#define LB_APP 45 -#define FT_FILTER 46 -#define LB_FILTER 47 -#define FI_FILTER 48 -#define FT_WARN 49 -#define FI_ODF_WARNING 50 - -#define IMG_ODF_WARNING 1 -#define IMG_ODF_WARNING_HC 2 - -#define APP_WRITER 0 -#define APP_WRITER_WEB 1 -#define APP_WRITER_GLOBAL 2 -#define APP_CALC 3 -#define APP_IMPRESS 4 -#define APP_DRAW 5 -#define APP_MATH 6 -#define APP_COUNT 7 - -//Filter warning -#define PB_OK 1 -#define FT_FILTER_WARNING 2 -#define CB_DONT_SHOW_AGAIN 3 -#define IMG_WARNING 4 -#define PB_CANCEL 5 - -#endif // #ifndef _SVX_OPTSAVE_HRC - diff --git a/svx/inc/optspell.hrc b/svx/inc/optspell.hrc deleted file mode 100644 index e13ba3ea09a2..000000000000 --- a/svx/inc/optspell.hrc +++ /dev/null @@ -1,45 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optspell.hrc,v $ - * $Revision: 1.4 $ - * - * 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. - * - ************************************************************************/ - -// defines --------------------------------------------------------------- - -#define BTN_OK 10 -#define BTN_CANCEL 11 -#define BTN_BOOK 12 - -#define LB_BOOK 20 -#define GB_BOOK 21 - -#define BTN_CAPS 30 -#define BTN_NUMS 31 -#define BTN_UPLOW 32 -#define GB_AUDIT 33 - - diff --git a/svx/inc/pch/precompiled_svx.hxx b/svx/inc/pch/precompiled_svx.hxx index 8e9bc4d17930..4c05d1922247 100644 --- a/svx/inc/pch/precompiled_svx.hxx +++ b/svx/inc/pch/precompiled_svx.hxx @@ -753,29 +753,29 @@ #include <vector> #include "svtools/FilterConfigItem.hxx" #include "svtools/accessibilityoptions.hxx" -#include "svtools/adrparse.hxx" +#include "svl/adrparse.hxx" #include "svtools/apearcfg.hxx" -#include "svtools/brdcst.hxx" -#include "svtools/cacheoptions.hxx" -#include "svtools/cancel.hxx" -#include "svtools/cjkoptions.hxx" -#include "svtools/cmdoptions.hxx" -#include "svtools/cntwall.hxx" +#include "svl/brdcst.hxx" +#include "unotools/cacheoptions.hxx" +#include "svl/cancel.hxx" +#include "svl/cjkoptions.hxx" +#include "unotools/cmdoptions.hxx" +#include "svl/cntwall.hxx" #include "svtools/colorcfg.hxx" -#include "svtools/ctloptions.hxx" -#include "svtools/defaultoptions.hxx" -#include "svtools/dynamicmenuoptions.hxx" +#include "svl/ctloptions.hxx" +#include "unotools/defaultoptions.hxx" +#include "unotools/dynamicmenuoptions.hxx" #include "svtools/ehdl.hxx" -#include "svtools/eitem.hxx" -#include "svtools/eventcfg.hxx" -#include "svtools/extendedsecurityoptions.hxx" -#include "svtools/filenotation.hxx" -#include "svtools/flagitem.hxx" -#include "svtools/fltrcfg.hxx" -#include "svtools/fontoptions.hxx" +#include "svl/eitem.hxx" +#include "unotools/eventcfg.hxx" +#include "unotools/extendedsecurityoptions.hxx" +#include "svl/filenotation.hxx" +#include "svl/flagitem.hxx" +#include "unotools/fltrcfg.hxx" +#include "unotools/fontoptions.hxx" #include "svtools/fontsubstconfig.hxx" #include "svtools/helpopt.hxx" -#include "svtools/hint.hxx" +#include "svl/hint.hxx" #include "svtools/htmlkywd.hxx" #include "svtools/htmltokn.h" #include "svtools/imagemgr.hxx" @@ -784,70 +784,70 @@ #include "svtools/imappoly.hxx" #include "svtools/imaprect.hxx" #include "svtools/inetimg.hxx" -#include "svtools/inetoptions.hxx" -#include "svtools/intitem.hxx" -#include "svtools/isethint.hxx" -#include "svtools/itemiter.hxx" -#include "svtools/itempool.hxx" -#include "svtools/itemprop.hxx" -#include "svtools/itemset.hxx" -#include "svtools/javaoptions.hxx" -#include "svtools/languageoptions.hxx" -#include "svtools/lingucfg.hxx" -#include "svtools/linguprops.hxx" -#include "svtools/lngmisc.hxx" +#include "unotools/inetoptions.hxx" +#include "svl/intitem.hxx" +#include "svl/isethint.hxx" +#include "svl/itemiter.hxx" +#include "svl/itempool.hxx" +#include "svl/itemprop.hxx" +#include "svl/itemset.hxx" +#include "unotools/javaoptions.hxx" +#include "svl/languageoptions.hxx" +#include "unotools/lingucfg.hxx" +#include "unotools/linguprops.hxx" +#include "svl/lngmisc.hxx" #include "svtools/localresaccess.hxx" -#include "svtools/lstner.hxx" -#include "svtools/macitem.hxx" +#include "svl/lstner.hxx" +#include "svl/macitem.hxx" #include "svtools/menuoptions.hxx" -#include "svtools/metitem.hxx" -#include "svtools/misccfg.hxx" +#include "svl/metitem.hxx" +#include "unotools/misccfg.hxx" #include "svtools/miscopt.hxx" -#include "svtools/moduleoptions.hxx" -#include "svtools/numuno.hxx" -#include "svtools/optionsdlg.hxx" +#include "unotools/moduleoptions.hxx" +#include "svl/numuno.hxx" +#include "unotools/optionsdlg.hxx" #include "svtools/parhtml.hxx" #include "svtools/parrtf.hxx" -#include "svtools/pathoptions.hxx" -#include "svtools/pickerhelper.hxx" -#include "svtools/poolitem.hxx" -#include "svtools/printwarningoptions.hxx" -#include "svtools/ptitem.hxx" -#include "svtools/rectitem.hxx" -#include "svtools/rngitem.hxx" +#include "unotools/pathoptions.hxx" +#include "svl/pickerhelper.hxx" +#include "svl/poolitem.hxx" +#include "unotools/printwarningoptions.hxx" +#include "svl/ptitem.hxx" +#include "svl/rectitem.hxx" +#include "svl/rngitem.hxx" #include "svtools/rtfkeywd.hxx" #include "svtools/rtfout.hxx" #include "svtools/rtftoken.h" -#include "svtools/saveopt.hxx" -#include "svtools/searchopt.hxx" -#include "svtools/securityoptions.hxx" -#include "svtools/sfontitm.hxx" -#include "svtools/slstitm.hxx" -#include "svtools/smplhint.hxx" +#include "unotools/saveopt.hxx" +#include "unotools/searchopt.hxx" +#include "unotools/securityoptions.hxx" +#include "svl/sfontitm.hxx" +#include "svl/slstitm.hxx" +#include "svl/smplhint.hxx" #include "svtools/soerr.hxx" -#include "svtools/sourceviewconfig.hxx" -#include "svtools/startoptions.hxx" +#include "unotools/sourceviewconfig.hxx" +#include "unotools/startoptions.hxx" #include "svtools/stdmenu.hxx" #include "svtools/stringtransfer.hxx" -#include "svtools/stritem.hxx" -#include "svtools/style.hxx" -#include "svtools/svarray.hxx" -#include "svtools/svstdarr.hxx" -#include "svtools/syslocaleoptions.hxx" -#include "svtools/szitem.hxx" +#include "svl/stritem.hxx" +#include "svl/style.hxx" +#include "svl/svarray.hxx" +#include "svl/svstdarr.hxx" +#include "unotools/syslocaleoptions.hxx" +#include "svl/szitem.hxx" #include "svtools/textdata.hxx" #include "svtools/transfer.hxx" #include "svtools/txtcmp.hxx" -#include "svtools/undo.hxx" -#include "svtools/undoopt.hxx" +#include "svl/undo.hxx" +#include "unotools/undoopt.hxx" #include "svtools/unoevent.hxx" #include "svtools/unoimap.hxx" -#include "svtools/urihelper.hxx" -#include "svtools/urlbmk.hxx" -#include "svtools/useroptions.hxx" -#include "svtools/viewoptions.hxx" -#include "svtools/visitem.hxx" -#include "svtools/whiter.hxx" +#include "svl/urihelper.hxx" +#include "svl/urlbmk.hxx" +#include "unotools/useroptions.hxx" +#include "unotools/viewoptions.hxx" +#include "svl/visitem.hxx" +#include "svl/whiter.hxx" #include "sys/stat.h" #include "sys/types.h" #include "toolkit/awt/vclxdevice.hxx" @@ -927,7 +927,7 @@ #include "vcl/dndhelp.hxx" #include "vcl/fldunit.hxx" #include "vcl/fntstyle.hxx" -#include "vcl/fontcvt.hxx" +#include "unotools/fontcvt.hxx" #include "vcl/gdimtf.hxx" #include "vcl/help.hxx" #include "vcl/image.hxx" diff --git a/svx/inc/pgrditem.hxx b/svx/inc/pgrditem.hxx index 719995362f13..e1c886829d17 100644 --- a/svx/inc/pgrditem.hxx +++ b/svx/inc/pgrditem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" // class SvxParaGridItem ------------------------------------------------- diff --git a/svx/inc/postattr.hxx b/svx/inc/postattr.hxx index 87908ebebd78..425f3f84bf76 100644 --- a/svx/inc/postattr.hxx +++ b/svx/inc/postattr.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/stritem.hxx> +#include <svl/stritem.hxx> #include "svx/svxdllapi.h" // class SvxPostItAuthorItem --------------------------------------------- diff --git a/svx/inc/prntitem.hxx b/svx/inc/prntitem.hxx index da56c7d0a3f4..f9b91e12a2a7 100644 --- a/svx/inc/prntitem.hxx +++ b/svx/inc/prntitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/protitem.hxx b/svx/inc/protitem.hxx index c3707b9b3558..bb6646f9445a 100644 --- a/svx/inc/protitem.hxx +++ b/svx/inc/protitem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" class SvXMLUnitConverter; diff --git a/svx/inc/rotmodit.hxx b/svx/inc/rotmodit.hxx index a91074f2f79f..f88b8a2b35ef 100644 --- a/svx/inc/rotmodit.hxx +++ b/svx/inc/rotmodit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_ROTMODIT_HXX #define _SVX_ROTMODIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" //---------------------------------------------------------------------------- diff --git a/svx/inc/rulritem.hxx b/svx/inc/rulritem.hxx index 8a1b49f4bc55..7d035acef427 100644 --- a/svx/inc/rulritem.hxx +++ b/svx/inc/rulritem.hxx @@ -34,7 +34,7 @@ #include <tools/gen.hxx> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" // class SvxLongLRSpaceItem ---------------------------------------------- diff --git a/svx/inc/srchdlg.hxx b/svx/inc/srchdlg.hxx index f002113cb565..cd4006e86690 100644 --- a/svx/inc/srchdlg.hxx +++ b/svx/inc/srchdlg.hxx @@ -57,9 +57,9 @@ #endif #include <sfx2/childwin.hxx> #include <sfx2/basedlgs.hxx> -#include <svtools/svarray.hxx> +#include <svl/svarray.hxx> #define _SVSTDARR_STRINGSDTOR -#include <svtools/svstdarr.hxx> +#include <svl/svstdarr.hxx> #include <svtools/svmedit.hxx> #include <sfx2/srchdefs.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/EnhancedCustomShapeFunctionParser.hxx b/svx/inc/svx/EnhancedCustomShapeFunctionParser.hxx index 411a16d60e31..411a16d60e31 100755 --- a/svx/inc/EnhancedCustomShapeFunctionParser.hxx +++ b/svx/inc/svx/EnhancedCustomShapeFunctionParser.hxx diff --git a/svx/inc/svx/SmartTagItem.hxx b/svx/inc/svx/SmartTagItem.hxx index ebb5172c14bc..a3f040d8d594 100644 --- a/svx/inc/svx/SmartTagItem.hxx +++ b/svx/inc/svx/SmartTagItem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/smarttags/XSmartTagAction.hpp> diff --git a/svx/inc/svx/adjitem.hxx b/svx/inc/svx/adjitem.hxx index ce8699bd3f3d..b29a356ded63 100644 --- a/svx/inc/svx/adjitem.hxx +++ b/svx/inc/svx/adjitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svxenum.hxx> #ifndef _SVX_SVXIDS_HRC diff --git a/svx/inc/svx/akrnitem.hxx b/svx/inc/svx/akrnitem.hxx index eaafd8f546a9..cd581ced8cfa 100644 --- a/svx/inc/svx/akrnitem.hxx +++ b/svx/inc/svx/akrnitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/algitem.hxx b/svx/inc/svx/algitem.hxx index 379d20afc685..71900afca1ab 100644 --- a/svx/inc/svx/algitem.hxx +++ b/svx/inc/svx/algitem.hxx @@ -33,8 +33,8 @@ // include --------------------------------------------------------------- #include <svx/svxids.hrc> -#include <svtools/poolitem.hxx> -#include <svtools/eitem.hxx> +#include <svl/poolitem.hxx> +#include <svl/eitem.hxx> #include <svx/svxenum.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/blnkitem.hxx b/svx/inc/svx/blnkitem.hxx index 7aee8797a43b..1c4c3eb3985d 100644 --- a/svx/inc/svx/blnkitem.hxx +++ b/svx/inc/svx/blnkitem.hxx @@ -32,8 +32,8 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> -#include <svtools/eitem.hxx> +#include <svl/poolitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/borderline.hxx b/svx/inc/svx/borderline.hxx index 937fe3d2a973..77fae1f676d0 100644 --- a/svx/inc/svx/borderline.hxx +++ b/svx/inc/svx/borderline.hxx @@ -32,7 +32,7 @@ #define SVX_BORDERLINE_HXX #include <tools/color.hxx> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" // Line defaults in twips (former Writer defaults): diff --git a/svx/inc/svx/boxitem.hxx b/svx/inc/svx/boxitem.hxx index 06dd343c7c11..4b45eb0377c8 100644 --- a/svx/inc/svx/boxitem.hxx +++ b/svx/inc/svx/boxitem.hxx @@ -30,7 +30,7 @@ #ifndef _SVX_BOXITEM_HXX #define _SVX_BOXITEM_HXX -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <svx/borderline.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/svx/brkitem.hxx b/svx/inc/svx/brkitem.hxx index 50bc798af490..f2241fc08d60 100644 --- a/svx/inc/svx/brkitem.hxx +++ b/svx/inc/svx/brkitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svxenum.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/svx/brshitem.hxx b/svx/inc/svx/brshitem.hxx index f418a54fbe55..7952ae3ec2ff 100644 --- a/svx/inc/svx/brshitem.hxx +++ b/svx/inc/svx/brshitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/charreliefitem.hxx b/svx/inc/svx/charreliefitem.hxx index 719b28dee875..95685902ad9c 100644 --- a/svx/inc/svx/charreliefitem.hxx +++ b/svx/inc/svx/charreliefitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <vcl/fntstyle.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/svx/charrotateitem.hxx b/svx/inc/svx/charrotateitem.hxx index 20a6618169cd..62bae4b7caa5 100644 --- a/svx/inc/svx/charrotateitem.hxx +++ b/svx/inc/svx/charrotateitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/charscaleitem.hxx b/svx/inc/svx/charscaleitem.hxx index 40ce8002dc04..ed957424731c 100644 --- a/svx/inc/svx/charscaleitem.hxx +++ b/svx/inc/svx/charscaleitem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #ifndef _SFXENUMITEM_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #endif #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/svx/cmapitem.hxx b/svx/inc/svx/cmapitem.hxx index b2ce3d24aa30..cec4d6e538c6 100644 --- a/svx/inc/svx/cmapitem.hxx +++ b/svx/inc/svx/cmapitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svxenum.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/svx/cntritem.hxx b/svx/inc/svx/cntritem.hxx index 577e2843e91a..da5d48bf06ea 100644 --- a/svx/inc/svx/cntritem.hxx +++ b/svx/inc/svx/cntritem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/colrctrl.hxx b/svx/inc/svx/colrctrl.hxx index 56a7e0a410fa..9a908afa4588 100644 --- a/svx/inc/svx/colrctrl.hxx +++ b/svx/inc/svx/colrctrl.hxx @@ -34,7 +34,7 @@ #include <sfx2/childwin.hxx> #include <svtools/valueset.hxx> #include <svtools/transfer.hxx> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include "svx/svxdllapi.h" class XColorTable; diff --git a/svx/inc/svx/colritem.hxx b/svx/inc/svx/colritem.hxx index 97b60b20a5a0..aea4918850d3 100644 --- a/svx/inc/svx/colritem.hxx +++ b/svx/inc/svx/colritem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/crsditem.hxx b/svx/inc/svx/crsditem.hxx index c954d0fc15b4..945ae086f36e 100644 --- a/svx/inc/svx/crsditem.hxx +++ b/svx/inc/svx/crsditem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #include <vcl/vclenum.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/dialogs.hrc b/svx/inc/svx/dialogs.hrc index 6e6162ef61f2..c7cddf48e27c 100644 --- a/svx/inc/svx/dialogs.hrc +++ b/svx/inc/svx/dialogs.hrc @@ -40,39 +40,141 @@ // Bitte FIRSTFREE pflegen!!! (gilt nicht f"ur Strings) #define RID_SVX_FIRSTFREE 305 -// ResId fuer die Hintergrund-TabPage -#define RID_SVXPAGE_BACKGROUND (RID_SVX_START + 1) - -// ResId fuer die Tabulator-TabPage -#define RID_SVXPAGE_TABULATOR (RID_SVX_START + 2) +// some strings also used in CUI +#define RID_SVXSTR_PAPERBIN (RID_SVX_START + 145) +#define RID_SVXSTR_PAPERBIN_SETTINGS (RID_SVX_START + 149) +#define RID_SVXERRCTX (RID_SVX_START + 351) +#define RID_SVXSTR_COLOR (RID_SVX_START + 179) +#define RID_SVXSTR_TRANSPARENT (RID_SVX_START + 190) +#define RID_SVXSTR_AUTOMATIC (RID_SVX_START + 841) +#define RID_SVXSTR_INVISIBLE (RID_SVX_START + 178) +#define RID_SVXSTR_NONE (RID_SVX_START + 183) +#define RID_SVXSTR_SOLID (RID_SVX_START + 160) +#define RID_SVXSTR_LINEEND (RID_SVX_START + 237) +#define RID_SVXSTR_GRADIENT (RID_SVX_START + 161) +#define RID_SVXSTR_HATCH (RID_SVX_START + 180) +#define RID_SVXSTR_BITMAP (RID_SVX_START + 167) +#define RID_SVXSTR_LINESTYLE (RID_SVX_START + 173) +#define RID_SVXSTR_FIELDUNIT_TABLE (RID_SVX_START + 311) +#define RID_SVXSTR_COLOR_USER (RID_SVX_START + 250) -// ResId's fuer die Zeichen-TabPages -#define RID_SVXPAGE_CHAR_STD (RID_SVX_START + 3) -#define RID_SVXPAGE_CHAR_EXT (RID_SVX_START + 4) -// new char pages +// factory IDs of tabpages implemented in CUI +#define RID_SVXPAGE_CHAR_TWOLINES (RID_SVX_START + 242) +#define RID_SVXPAGE_EXT_PARAGRAPH (RID_SVX_START + 7) +#define RID_SVXPAGE_GRFCROP (RID_SVX_START + 238) #define RID_SVXPAGE_CHAR_NAME (RID_SVX_START + 239) #define RID_SVXPAGE_CHAR_EFFECTS (RID_SVX_START + 240) #define RID_SVXPAGE_CHAR_POSITION (RID_SVX_START + 241) -#define RID_SVXPAGE_CHAR_TWOLINES (RID_SVX_START + 242) - -// ResId fuer die Umrahmung-TabPage +#define RID_SVXPAGE_STD_PARAGRAPH (RID_SVX_START + 6) +#define RID_SVXPAGE_ALIGN_PARAGRAPH (RID_SVX_START + 187) +#define RID_SVXPAGE_PARA_ASIAN (RID_SVX_START + 245) +#define RID_SVXPAGE_TABULATOR (RID_SVX_START + 2) +#define RID_SFXPAGE_DBREGISTER (RID_OFA_START + 123) +#define RID_SVXPAGE_NUMBERFORMAT (RID_SVX_START + 41) +#define RID_SVXPAGE_ALIGNMENT (RID_SVX_START + 90) #define RID_SVXPAGE_BORDER (RID_SVX_START + 5) +#define RID_SVXPAGE_BACKGROUND (RID_SVX_START + 1) +#define RID_SVXPAGE_PAGE (RID_SVX_START + 25) +#define RID_SVXPAGE_LINE (RID_SVX_START + 51) +#define RID_SVXPAGE_AREA (RID_SVX_START + 56) +#define RID_SVXPAGE_SHADOW (RID_SVX_START + 61) +#define RID_SVXPAGE_TRANSPARENCE (RID_SVX_START + 54) +#define RID_SVXPAGE_TEXTATTR (RID_SVX_START + 153) +#define RID_SVXPAGE_TEXTANIMATION (RID_SVX_START + 184) +#define RID_SVXPAGE_MEASURE (RID_SVX_START + 161) +#define RID_SVXPAGE_CONNECTION (RID_SVX_START + 191) +#define RID_SVXPAGE_LINE_DEF (RID_SVX_START + 52) +#define RID_SVXPAGE_LINEEND_DEF (RID_SVX_START + 53) +#define RID_SVXPAGE_NUM_OPTIONS (RID_SVX_START + 219) +#define RID_SVXPAGE_NUM_POSITION (RID_SVX_START + 220) +#define RID_SVXPAGE_PICK_SINGLE_NUM (RID_SVX_START + 215) +#define RID_SVXPAGE_PICK_BULLET (RID_SVX_START + 216) +#define RID_SVXPAGE_PICK_NUM (RID_SVX_START + 217) +#define RID_SVXPAGE_PICK_BMP (RID_SVX_START + 218) +#define RID_SVXPAGE_CAPTION (RID_SVX_START + 150) +#define RID_SVXPAGE_SWPOSSIZE (RID_SVX_START + 288) +#define RID_SVXPAGE_POSITION_SIZE (RID_SVX_START + 87) +#define RID_SVXPAGE_EVENTASSIGN (RID_SVX_START + 303) +#define RID_SVXPAGE_HATCH (RID_SVX_START + 57) +#define RID_SVXPAGE_BITMAP (RID_SVX_START + 58) +#define RID_SVXPAGE_GRADIENT (RID_SVX_START + 59) +#define RID_SVXPAGE_ANGLE (RID_SVX_START + 48) +#define RID_SVXPAGE_SLANT (RID_SVX_START + 49) +#define RID_SVXPAGE_DISTRIBUTE (RID_SVX_START + 236) +#define RID_SVXPAGE_IMPROVEMENT (RID_SVX_START + 302) +#define RID_SVXPAGE_MACROASSIGN (RID_SVX_START + 296) -// ResId's fuer die Absatz-TabPages -#define RID_SVXPAGE_STD_PARAGRAPH (RID_SVX_START + 6) -#define RID_SVXPAGE_ALIGN_PARAGRAPH (RID_SVX_START + 187) -#define RID_SVXPAGE_EXT_PARAGRAPH (RID_SVX_START + 7) + +// why extra defines for pages that already exist? +#define RID_SCH_TransformTabDLG_SVXPAGE_ANGLE (RID_SVX_START + 998) +#define RID_SCH_TransformTabDLG_SVXPAGE_SLANT (RID_SVX_START + 999) + +// ID of tabpages implemented in SVX, but used in CUI +#define RID_SVXPAGE_GRID (RID_SVX_START + 152) + +// factory IDs of dialogs implemented in CUI +#define RID_SVX_GRFFILTER_DLG_SEPIA (RID_SVX_START + 334) +#define RID_SVX_GRFFILTER_DLG_POSTER (RID_SVX_START + 335) +#define RID_SVX_GRFFILTER_DLG_MOSAIC (RID_SVX_START + 332) +#define RID_SVX_GRFFILTER_DLG_SOLARIZE (RID_SVX_START + 333) +#define RID_SVX_GRFFILTER_DLG_EMBOSS (RID_SVX_START + 336) +#define RID_SVXDLG_SEARCHFORMAT (RID_SVX_START + 21) +#define RID_SVXDLG_CHARMAP ( RID_SVX_START + 10 ) +#define RID_SVXDLG_POSTIT ( RID_SVX_START + 8 ) + +// only needed for layout: +#define RID_SVXDLG_ZOOM ( RID_SVX_START + 0 ) + +// IDs of options pages of applications +#define RID_SW_TP_MAILCONFIG (RID_OFA_START + 102) +#define RID_SW_TP_STD_FONT_CJK (RID_OFA_START + 247) +#define RID_SW_TP_STD_FONT_CTL (RID_OFA_START + 251) +#define RID_SW_TP_OPTLOAD_PAGE (RID_OFA_START + 214) +#define RID_SW_TP_CONTENT_OPT (RID_OFA_START + 206) +#define RID_SW_TP_OPTSHDWCRSR (RID_OFA_START + 211) +#define RID_SW_TP_STD_FONT (RID_OFA_START + 208) +#define RID_SW_TP_OPTPRINT_PAGE (RID_OFA_START + 209) +#define RID_SW_TP_OPTTABLE_PAGE (RID_OFA_START + 210) +#define RID_SW_TP_REDLINE_OPT (RID_OFA_START + 212) +#define RID_SW_TP_OPTCOMPATIBILITY_PAGE (RID_OFA_START + 255) +#define RID_SW_TP_HTML_CONTENT_OPT (RID_OFA_START + 240) +#define RID_SW_TP_HTML_OPTPRINT_PAGE (RID_OFA_START + 242) +#define RID_SW_TP_HTML_OPTTABLE_PAGE (RID_OFA_START + 243) +#define RID_SW_TP_HTML_OPTGRID_PAGE (RID_OFA_START + 244) +#define RID_SW_TP_HTML_OPTSHDWCRSR (RID_OFA_START + 246) +#define RID_SW_TP_BACKGROUND (RID_OFA_START + 217) +#define RID_SW_TP_OPTCAPTION_PAGE (RID_OFA_START + 256) +#define SID_SC_TP_LAYOUT (RID_OFA_START + 218) +#define SID_SC_TP_CONTENT (RID_OFA_START + 219) +#define SID_SC_TP_INPUT (RID_OFA_START + 220) +#define SID_SC_TP_GRID (RID_OFA_START + 221) +#define SID_SC_TP_USERLISTS (RID_OFA_START + 222) +#define SID_SC_TP_CALC (RID_OFA_START + 223) +#define SID_SC_TP_CHANGES (RID_OFA_START + 224) +#define RID_SC_TP_PRINT (RID_OFA_START + 248) +#define SID_SI_TP_PRINT (RID_OFA_START + 236) +#define SID_SI_TP_CONTENTS (RID_OFA_START + 232) +#define SID_SI_TP_SNAP (RID_OFA_START + 234) +#define SID_SI_TP_MISC (RID_OFA_START + 237) +#define SID_SD_TP_PRINT (RID_OFA_START + 220) +#define SID_SD_TP_CONTENTS (RID_OFA_START + 225) +#define SID_SD_TP_SNAP (RID_OFA_START + 227) +#define SID_SD_TP_MISC (RID_OFA_START + 231) +#define RID_OFA_TP_INTERNATIONAL_SD (RID_OFA_START + 253) +#define RID_OFA_TP_INTERNATIONAL_IMPR (RID_OFA_START + 254) +#define RID_OFA_TP_INTERNATIONAL (RID_OFA_START + 252) // calc + +//--------------------------------------------------------------------- +// ResId's fuer die Zeichen-TabPages +#define RID_SVXPAGE_CHAR_STD (RID_SVX_START + 3) +#define RID_SVXPAGE_CHAR_EXT (RID_SVX_START + 4) // moved ids +8 ... +17 to "ModalDialog" resource ids // ResId fuer den Suchen/Ersetzen-Dialog #define RID_SVXDLG_SEARCH (RID_SVX_START + 20) -#define RID_SVXDLG_SEARCHFORMAT (RID_SVX_START + 21) -#define RID_SVXDLG_SEARCHATTR (RID_SVX_START + 22) -#define RID_SVXDLG_SEARCHSIMILARITY (RID_SVX_START + 23) // ResId fuer die PageDialog -#define RID_SVXPAGE_PAGE (RID_SVX_START + 25) #define RID_SVXPAGE_FOOTER (RID_SVX_START + 26) #define RID_SVXPAGE_HEADER (RID_SVX_START + 27) #define RID_SVXQBX_DELETE_HEADFOOT (RID_SVX_START + 28) @@ -81,7 +183,6 @@ #define RID_SVXDLG_HYPHENATE (RID_SVX_START + 30) #define RID_SVXDLG_THESAURUS (RID_SVX_START + 31) #define RID_SVXDLG_THES_LANGUAGE (RID_SVX_START + 38) -#define RID_SVXDLG_SPELLCHECK (RID_SVX_START + 32) // ResIds fuer HM-QueryBoxen und Error-Strings #define RID_SVXQB_THESAURUS (RID_SVX_START + 33) @@ -92,49 +193,14 @@ // + 38 ist vergeben, siehe RID_SVXDLG_THES_LANGUAGE #define RID_SVXQB_BW_CONTINUE (RID_SVX_START + 39) -// ResId fuer den BB-Dialog -#define RID_SVXDLG_BBDLG (RID_SVX_START + 40) - -// ResId fuer die Zahlenformate-Page -#define RID_SVXPAGE_NUMBERFORMAT (RID_SVX_START + 41) - // ResId's fuer Dialoge aus StarDraw -#define RID_SVXDLG_TRANSFORM (RID_SVX_START + 45) #define RID_SVXPAGE_POSITION (RID_SVX_START + 46) #define RID_SVXPAGE_SIZE (RID_SVX_START + 47) -#define RID_SVXPAGE_POSITION_SIZE (RID_SVX_START + 87) -#define RID_SVXPAGE_SWPOSSIZE (RID_SVX_START + 288) #define RID_SVXSW_FRAMEPOSITIONS (RID_SVX_START + 289) -#define RID_SVXPAGE_ANGLE (RID_SVX_START + 48) -#define RID_SVXPAGE_SLANT (RID_SVX_START + 49) - -#define RID_SVXDLG_LINE (RID_SVX_START + 50) -#define RID_SVXPAGE_LINE (RID_SVX_START + 51) -#define RID_SVXPAGE_LINE_DEF (RID_SVX_START + 52) -#define RID_SVXPAGE_LINEEND_DEF (RID_SVX_START + 53) - -#define RID_SVXDLG_AREA (RID_SVX_START + 55) -#define RID_SVXPAGE_AREA (RID_SVX_START + 56) -#define RID_SVXPAGE_TRANSPARENCE (RID_SVX_START + 54) -#define RID_SVXPAGE_HATCH (RID_SVX_START + 57) -#define RID_SVXPAGE_BITMAP (RID_SVX_START + 58) -#define RID_SVXPAGE_GRADIENT (RID_SVX_START + 59) -#define RID_SVXPAGE_COLOR (RID_SVX_START + 60) -#define RID_SVXPAGE_SHADOW (RID_SVX_START + 61) - -#define RID_SVXDLG_NAME (RID_SVX_START + 62) -#define RID_SVXDLG_MESSBOX (RID_SVX_START + 63) - -// #i68101# -#define RID_SVXDLG_OBJECT_NAME (RID_SVX_START + 64) - #define RID_SVXIL_FRAME (RID_SVX_START + 65) #define RID_SVXIL_FRAME_HC (RID_SVX_START + 66) -// #i68101# -#define RID_SVXDLG_OBJECT_TITLE_DESC (RID_SVX_START + 67) - #define RID_SVXDLG_3D (RID_SVX_START + 70) #define RID_SVXPAGE_LIGHT3D (RID_SVX_START + 71) #define RID_SVXPAGE_3DATTR (RID_SVX_START + 72) @@ -192,9 +258,6 @@ #define RID_SVXBMP_SLIDERDECREASE_HC (RID_SVX_START + 71) #define RID_SVXBMP_SLIDERINCREASE_HC (RID_SVX_START + 72) -// Alignment-TabPage -#define RID_SVXPAGE_ALIGNMENT (RID_SVX_START + 90) - // Resource mit Bitmaps fuer die CheckListBox #define RID_CHECKLISTBOX_BITMAPS (RID_SVX_START + 91) @@ -224,8 +287,6 @@ #define RID_SVXBMP_SHADOW_SIZE (RID_SVX_START + 113) #define RID_SVXCTRL_COLOR (RID_SVX_START + 117) -#define RID_SVXBMP_LOCK (RID_SVX_START + 118) -#define RID_SVXBMP_LOCK_HC (RID_SVX_START + 119) // fuer ToolboxControl-Style #define RID_SVXTBX_STYLE (RID_SVX_START + 120) @@ -233,39 +294,12 @@ #define RID_SVXDLG_HYPERLINK (RID_SVX_START + 140) #define RID_SVXDLG_PASSWORD (RID_SVX_START + 141) -// Dialog bzw TabPage fuer Labelobjekte -#define RID_SVXPAGE_CAPTION (RID_SVX_START + 150) -#define RID_SVXDLG_CAPTION (RID_SVX_START + 151) - -//ResId fuer TabPage Raster -#define RID_SVXPAGE_GRID (RID_SVX_START + 152) - -// ResId fuer TextAttribut-Dialog -#define RID_SVXDLG_TEXT (RID_SVX_START + 183) -#define RID_SVXPAGE_TEXTATTR (RID_SVX_START + 153) -#define RID_SVXPAGE_TEXTANIMATION (RID_SVX_START + 184) - // ResId fuer InternetPage #define RID_SVXPAGE_INTERNET (RID_SVX_START + 154) -// ResId fuer FontSubstitution -#define RID_SVX_FONT_SUBSTITUTION (RID_SVX_START + 18) - -// insert row&col dialog -#define DLG_INS_ROW_COL (RID_SVX_START + 156) - //InetDlg -#define RID_SVXPAGE_INET_MAIL (RID_SVX_START + 155) -#define RID_SVXPAGE_INET_PROXY (RID_SVX_START + 157) #define RID_SVXPAGE_INET_CACHE (RID_SVX_START + 158) #define RID_SVXPAGE_INET_TYPE (RID_SVX_START + 159) -#define RID_SVXPAGE_INET_SEARCH (RID_SVX_START + 160) -//added by jmeng begin -#define RID_SVXPAGE_INET_MOZPLUGIN (RID_SVX_START + 2161) -#define GB_MOZPLUGIN 1 -#define CB_MOZPLUGIN_CODE 2 -//added by jmeng end -#define RID_SVXPAGE_INET_SECURITY (RID_SVX_START + 200) #define RID_SVXPAGE_BROWSER_OTHER (RID_SVX_START + 202) #define RID_CACHE_EXTRA_DLG (RID_SVX_START + 203) @@ -279,9 +313,6 @@ #define RID_SVXPAGE_REGISTER_5 (RID_SVX_START + 198) #define RID_SVXPAGE_REGISTER_6 (RID_SVX_START + 199) -// ResId fuer Measure-Dialog -#define RID_SVXPAGE_MEASURE (RID_SVX_START + 161) - // 3D-Entfernung/Perspektive Bitmaps #define RID_SVXBMP_3D_DISTANCE_01 (RID_SVX_START + 162) #define RID_SVXBMP_3D_DISTANCE_02 (RID_SVX_START + 163) @@ -309,18 +340,12 @@ #define RID_SVXTBX_DRAW (RID_SVX_START + 189) #define RID_SVXTBX_ALIGNMENT (RID_SVX_START + 190) -#define RID_SVXPAGE_CONNECTION (RID_SVX_START + 191) - // Ids fuer Autokorrektur #define RID_SVX_AUTOCORR (RID_SVX_START + 192) // Auswahl ext. Linguitik #define RID_SVX_OPT_EXT_LINGU (RID_SVX_START + 193) -// Extra Dialog f"ur Option Pfade -#define RID_SVXDLG_MULTIPATH (RID_SVX_START + 201) -#define RID_MULTIPATH_DBL_ERR (RID_SVX_START + 207) - // TabPage und Dialog f"ur LDAP-Server #define RID_SVXPAGE_LDAP (RID_SVX_START + 204) #define RID_SVXDLG_LDAP (RID_SVX_START + 205) @@ -328,71 +353,26 @@ // Dialog fuer Funktionen #define RID_SVXDLG_CALCFUNC (RID_SVX_START + 206) -// Errorbox f"ur Optionen/Pfade -#define RID_SVXERR_OPT_DOUBLEPATHS (RID_SVX_START + 208) - -// Messboxen f"ur Optionen/Benutzerdaten -#define RID_SVXQB_CHANGEDATA (RID_SVX_START + 214) - // QueryBox for Exit Recovery Wizard #define RID_SVXQB_EXIT_RECOVERY (RID_SVX_START + 215) // ResId fuer den ImportGraphic-Dialog #define RID_SVXRES_IMPORTGRAPHIC (RID_SVX_START + 499) -#define RID_SVXPAGE_PICK_SINGLE_NUM (RID_SVX_START + 215) -#define RID_SVXPAGE_PICK_BULLET (RID_SVX_START + 216) -#define RID_SVXPAGE_PICK_NUM (RID_SVX_START + 217) -#define RID_SVXPAGE_PICK_BMP (RID_SVX_START + 218) -#define RID_SVXPAGE_NUM_OPTIONS (RID_SVX_START + 219) -#define RID_SVXPAGE_NUM_POSITION (RID_SVX_START + 220) - - -#define RID_SVXERR_OPT_PROXYPORTS (RID_SVX_START + 224) -#define RID_SVXDLG_OPT_JAVASCRIPT_DISABLE (RID_SVX_START + 225) #define RID_SVXCTRL_RECTBTNS (RID_SVX_START + 226) // ResId's f???r Hyperlink-Dialog-Tabpages -#define RID_SVXDLG_NEWHYPERLINK (RID_SVX_START + 227) -#define RID_SVXPAGE_HYPERLINK_INTERNET (RID_SVX_START + 228) -#define RID_SVXPAGE_HYPERLINK_MAIL (RID_SVX_START + 229) -#define RID_SVXPAGE_HYPERLINK_DOCUMENT (RID_SVX_START + 230) -#define RID_SVXPAGE_HYPERLINK_NEWDOCUMENT (RID_SVX_START + 231) -#define RID_SVXFLOAT_HYPERLINK_MARKWND (RID_SVX_START + 232) // ResId's for Starone impl. bitmaps #define RID_UNODRAW_OBJECTS (RID_SVX_START + 233) #define RID_UNODRAW_OLE2 (RID_SVX_START + 234) #define RID_UNODRAW_GRAPHICS (RID_SVX_START + 235) -// ResId fuer Distribute-Dialog -#define RID_SVXPAGE_DISTRIBUTE (RID_SVX_START + 236) - -// tabpage for graphic cropping -#define RID_SVXPAGE_GRFCROP (RID_SVX_START + 238) - #define RID_SVXIMG_NOTCHECKED (RID_SVX_START + 243) #define RID_SVXIMG_CHECKED (RID_SVX_START + 244) -#define RID_SVXPAGE_PARA_ASIAN (RID_SVX_START + 245) -#define RID_SVXPAGE_ASIAN_LAYOUT (RID_SVX_START + 246) - #define RID_SVXDLG_RUBY (RID_SVX_START + 247) -#define RID_SVXDLG_FILTER_WARNING (RID_SVX_START + 248) - -#define RID_SVXPAGE_COLORCONFIG (RID_SVX_START + 249) -#define RID_SVXPAGE_ACCESSIBILITYCONFIG (RID_SVX_START + 250) -#define RID_SVXPAGE_SSO (RID_SVX_START + 251) -#define RID_SVXPAGE_OPTIONS_CTL (RID_SVX_START + 252) -#define RID_SVXPAGE_OPTIONS_JAVA (RID_SVX_START + 253) -#define RID_SVXDLG_JAVA_PARAMETER (RID_SVX_START + 254) -#define RID_SVXDLG_JAVA_CLASSPATH (RID_SVX_START + 255) -#define RID_SVXERR_JRE_NOT_RECOGNIZED (RID_SVX_START + 256) -#define RID_SVXERR_JRE_FAILED_VERSION (RID_SVX_START + 257) - -#define RID_DLG_SCRIPTORGANIZER (RID_SVX_START + 258) -#define RID_DLG_SCRIPTSELECTOR (RID_SVX_START + 259) #define RID_SVXBMP_FONTWORK_FORM1_H (RID_SVX_START + 260) #define RID_SVXBMP_FONTWORK_FORM2_H (RID_SVX_START + 261) @@ -406,10 +386,6 @@ #define RID_SVXBMP_FONTWORK_FORM10_H (RID_SVX_START + 269) #define RID_SVXBMP_FONTWORK_FORM11_H (RID_SVX_START + 270) #define RID_SVXBMP_FONTWORK_FORM12_H (RID_SVX_START + 271) -#define RID_SVXBMP_HLINETTP_H (RID_SVX_START + 272) -#define RID_SVXBMP_HLMAILTP_H (RID_SVX_START + 273) -#define RID_SVXBMP_HLDOCTP_H (RID_SVX_START + 274) -#define RID_SVXBMP_HLDOCNTP_H (RID_SVX_START + 275) #define RID_SVXIMG_GRAF_RED_H (RID_SVX_START + 276) #define RID_SVXIMG_GRAF_GREEN_H (RID_SVX_START + 277) #define RID_SVXIMG_GRAF_BLUE_H (RID_SVX_START + 278) @@ -417,29 +393,11 @@ #define RID_SVXIMG_GRAF_CONTRAST_H (RID_SVX_START + 280) #define RID_SVXIMG_GRAF_GAMMA_H (RID_SVX_START + 281) #define RID_SVXIMG_GRAF_TRANSPARENCE_H (RID_SVX_START + 282) -#define RID_SVXIMG_LOAD_H (RID_SVX_START + 283) -#define RID_SVXIMG_SAVE_H (RID_SVX_START + 284) #define RID_SVXIMG_CHECKED_H (RID_SVX_START + 285) #define RID_SVXDLG_TEXTCONTROL_CHARATTR (RID_SVX_START + 286) #define RID_SVXDLG_TEXTCONTROL_PARAATTR (RID_SVX_START + 287) -#define RID_DLG_NEWLIB (RID_SVX_START + 290) - -#define RID_SVXDLG_CUSTOMIZE (RID_SVX_START + 291) -#define RID_SVXPAGE_MENUS (RID_SVX_START + 292) -#define RID_SVXPAGE_KEYBOARD (RID_SVX_START + 293) -#define RID_SVXPAGE_TOOLBARS (RID_SVX_START + 294) -#define RID_SVXPAGE_EVENTS (RID_SVX_START + 295) -#define RID_SVXPAGE_MACROASSIGN (RID_SVX_START + 296) -#define RID_SVXDLG_ASSIGNCOMPONENT (RID_SVX_START + 297) -#define RID_SVXPAGE_ONLINEUPDATE (RID_SVX_START + 298) -#define RID_OPTPAGE_CHART_DEFCOLORS (RID_SVX_START + 299) -#define RID_SVXDLG_SECURITY_OPTIONS (RID_SVX_START + 300) -#define RID_SVXDLG_WEBCONNECTION_INFO (RID_SVX_START + 301) -#define RID_SVXPAGE_IMPROVEMENT (RID_SVX_START + 302) -#define RID_SVXPAGE_EVENTASSIGN (RID_SVX_START + 303) -#define RID_SVXPAGE_CONFIGGROUPBOX (RID_SVX_START + 304) // !!! please update RID_SVX_FIRSTFREE !!! see line 46 // Strings ------------------------------------------------------------------ @@ -479,7 +437,7 @@ #define RID_SVXSTR_HMERR_ADDWORD (RID_SVX_START + 95) #define RID_SVXSTR_HMSTATUS_INVALID_LANG (RID_SVX_START + 96) -// Strings fuers Paperformat +// paper formats #define RID_SVXSTR_PAPER_A0 (RID_SVX_START + 100) #define RID_SVXSTR_PAPER_A1 (RID_SVX_START + 101) #define RID_SVXSTR_PAPER_A2 (RID_SVX_START + 102) @@ -518,50 +476,17 @@ #define RID_SVXSTR_PAPER_B5_JIS (RID_SVX_START + 135) #define RID_SVXSTR_PAPER_B6_JIS (RID_SVX_START + 136) -#define RID_SVXSTRARY_PAPERSIZE_STD (RID_SVX_START + 142) -#define RID_SVXSTRARY_PAPERSIZE_DRAW (RID_SVX_START + 143) #define RID_SVXSTR_FULLSIZE (RID_SVX_START + 144) -#define RID_SVXSTR_PAPERBIN (RID_SVX_START + 145) // ResIds fuer die verschiedenen Strings des PageDlgs #define RID_SVXSTR_CALC_PAGE (RID_SVX_START + 146) #define RID_SVXSTR_DRAW_PAGE (RID_SVX_START + 147) -#define RID_SVXSTR_WRITER_PAGE (RID_SVX_START + 148) - -#define RID_SVXSTR_PAPERBIN_SETTINGS (RID_SVX_START + 149) // HM_ERR #define RID_SVXSTR_HMERR_THESAURUS (RID_SVX_START + 150) #define RID_SVXSTR_HMERR_HYPH (RID_SVX_START + 151) -// Strings aus den StarDraw-Dialogen -#define RID_SVXSTR_SOLID (RID_SVX_START + 160) -#define RID_SVXSTR_GRADIENT (RID_SVX_START + 161) -#define RID_SVXSTR_DESC_GRADIENT (RID_SVX_START + 163) -#define RID_SVXSTR_DEL_GRADIENT (RID_SVX_START + 164) -#define RID_SVXSTR_ASK_DEL_GRADIENT (RID_SVX_START + 165) -#define RID_SVXSTR_ASK_CHANGE_GRADIENT (RID_SVX_START + 166) -#define RID_SVXSTR_BITMAP (RID_SVX_START + 167) -#define RID_SVXSTR_DESC_NEW_BITMAP (RID_SVX_START + 168) -#define RID_SVXSTR_DESC_EXT_BITMAP (RID_SVX_START + 169) -#define RID_SVXSTR_DEL_BITMAP (RID_SVX_START + 170) -#define RID_SVXSTR_ASK_DEL_BITMAP (RID_SVX_START + 171) -#define RID_SVXSTR_ASK_CHANGE_BITMAP (RID_SVX_START + 172) -#define RID_SVXSTR_LINESTYLE (RID_SVX_START + 173) -#define RID_SVXSTR_DESC_LINESTYLE (RID_SVX_START + 174) -#define RID_SVXSTR_DEL_LINESTYLE (RID_SVX_START + 175) -#define RID_SVXSTR_ASK_DEL_LINESTYLE (RID_SVX_START + 176) -#define RID_SVXSTR_ASK_CHANGE_LINESTYLE (RID_SVX_START + 177) -#define RID_SVXSTR_INVISIBLE (RID_SVX_START + 178) -#define RID_SVXSTR_COLOR (RID_SVX_START + 179) -#define RID_SVXSTR_HATCH (RID_SVX_START + 180) -#define RID_SVXSTR_CHANGE (RID_SVX_START + 181) -#define RID_SVXSTR_ADD (RID_SVX_START + 182) -#define RID_SVXSTR_NONE (RID_SVX_START + 183) -#define RID_SVXSTR_ASK_CHANGE_LINEEND (RID_SVX_START + 184) - // Strings der ToolBox-Controls aus tbcontrl.cxx -#define RID_SVXSTR_TRANSPARENT (RID_SVX_START + 190) #define RID_SVXSTR_FILLPATTERN (RID_SVX_START + 191) #define RID_SVXSTR_FRAME (RID_SVX_START + 192) #define RID_SVXSTR_FRAME_COLOR (RID_SVX_START + 194) @@ -586,36 +511,12 @@ #define RID_SVXSTR_SELMODE_ER (RID_SVX_START + 213) #define RID_SVXSTR_SELMODE_ERG (RID_SVX_START + 214) -// Strings fuer ColorTabPage -#define RID_SVXSTR_DESC_COLOR (RID_SVX_START + 215) -#define RID_SVXSTR_DEL_COLOR (RID_SVX_START + 216) -#define RID_SVXSTR_ASK_DEL_COLOR (RID_SVX_START + 217) -#define RID_SVXSTR_ASK_CHANGE_COLOR (RID_SVX_START + 218) -#define RID_SVXSTR_ASK_DEL_LINEEND (RID_SVX_START + 219) - -// "Tabelle" -#define RID_SVXSTR_TABLE (RID_SVX_START + 220) - #define RID_SVXSTR_XMLSEC_SIG_OK (RID_SVX_START + 222) #define RID_SVXSTR_XMLSEC_SIG_OK_NO_VERIFY (RID_SVX_START + 223) #define RID_SVXSTR_XMLSEC_SIG_NOT_OK (RID_SVX_START + 224) #define RID_SVXSTR_XMLSEC_NO_SIG (RID_SVX_START + 225) #define RID_SVXSTR_XMLSEC_SIG_CERT_OK_PARTIAL_SIG (RID_SVX_START + 226) -// Strings von der Hatch-Tabpage -#define RID_SVXSTR_WRITE_DATA_ERROR (RID_SVX_START + 229) -#define RID_SVXSTR_READ_DATA_ERROR (RID_SVX_START + 230) -#define RID_SVXSTR_WARN_TABLE_OVERWRITE (RID_SVX_START + 231) -#define RID_SVXSTR_DESC_HATCH (RID_SVX_START + 232) -#define RID_SVXSTR_DEL_HATCH (RID_SVX_START + 233) -#define RID_SVXSTR_ASK_DEL_HATCH (RID_SVX_START + 234) -#define RID_SVXSTR_ASK_CHANGE_HATCH (RID_SVX_START + 235) -#define RID_SVXSTR_WARN_NAME_DUPLICATE (RID_SVX_START + 236) - -// Strings der Linienenden-TabPage -#define RID_SVXSTR_LINEEND (RID_SVX_START + 237) -#define RID_SVXSTR_DESC_LINEEND (RID_SVX_START + 238) -#define RID_SVXSTR_DEL_LINEEND (RID_SVX_START + 239) // weitere ID bei 219 // String-ResId fuer den ImportGraphic-Dialog @@ -628,9 +529,6 @@ #define RID_SVXSTR_RULER_TAB_DECIMAL (RID_SVX_START + 247) #define RID_SVXSTR_RULER_TAB_CENTER (RID_SVX_START + 248) -// unbekannte Farbe im Zeichen- oder Umrandungs-Dialog -#define RID_SVXSTR_COLOR_USER (RID_SVX_START + 250) - // File-/Grafik-Link String, Dialog Name #define RID_SVXSTR_FILELINK (RID_SVX_START + 255) #define RID_SVXSTR_GRAFIKLINK (RID_SVX_START + 256) @@ -686,35 +584,22 @@ #define RID_SVXSTR_NOTCENTERED (RID_SVX_START + 307) // String-Arrays -#define RID_SVXSTR_FIELDUNIT_TABLE (RID_SVX_START + 311) #define RID_SVXSTR_TEXTENCODING_TABLE (RID_SVX_START + 312) -// Strings fuer die Optionen-TabPages -#define RID_SVXSTR_OPT_DOUBLE_DICTS (RID_SVX_START + 320) - // Hyperlink-Dlg #define RID_SVXMN_HYPERLINK (RID_SVX_START + 321) // Hyperlink-QueryBoxen #define RID_SVXQB_NOCONNECT (RID_SVX_START + 322) #define RID_SVXQB_DONTEXIST (RID_SVX_START + 323) //color configuration -#define RID_SVXQB_DELETE_COLOR_CONFIG (RID_SVX_START + 324) // Graphic filter #define RID_SVX_GRFFILTER_START (RID_SVX_START + 330) #define RID_SVXTBX_GRFFILTER (RID_SVX_START + 331) -#define RID_SVX_GRFFILTER_DLG_MOSAIC (RID_SVX_START + 332) -#define RID_SVX_GRFFILTER_DLG_SOLARIZE (RID_SVX_START + 333) -#define RID_SVX_GRFFILTER_DLG_SEPIA (RID_SVX_START + 334) -#define RID_SVX_GRFFILTER_DLG_POSTER (RID_SVX_START + 335) -#define RID_SVX_GRFFILTER_DLG_EMBOSS (RID_SVX_START + 336) -#define RID_SVX_GRFFILTER_DLG_EMBOSS_TAB (RID_SVX_START + 337) #define RID_SVXERRCODE (RID_SVX_START + 350) -#define RID_SVXERRCTX (RID_SVX_START + 351) -// Define - Bereich fuer Gallery -// !!! aus diesem Bereich keine Defines benutzen !!! +// gallery #define RID_SVX_GALLERY_START (RID_SVX_START + 360) #define RID_SVX_GALLERY_END (RID_SVX_START + 410) @@ -747,13 +632,6 @@ #define RID_SVX_RELOAD_NORMAL (RID_SVX_START + 480) #define RID_SVX_RELOAD_SPECIAL (RID_SVX_START + 481) -// ResId's fuer SvxMultiFileDialog -#define RID_SVXSTR_FILE_TITLE (RID_SVX_START + 482) -#define RID_SVXSTR_FILE_HEADLINE (RID_SVX_START + 483) -#define RID_SVXSTR_ARCHIVE_TITLE (RID_SVX_START + 484) -#define RID_SVXSTR_ARCHIVE_HEADLINE (RID_SVX_START + 485) -#define RID_SVXSTR_MULTIFILE_DBL_ERR (RID_SVX_START + 486) - // Defines fuer die 3D-Engine #define RID_SVX_3D_UNDO_EXCHANGE_PASTE (RID_SVX_START + 489) #define RID_SVX_3D_CREATE_LATHE (RID_SVX_START + 490) @@ -766,22 +644,24 @@ #define RID_SVX_3D_UNDO_LATHE (RID_SVX_START + 497) #define RID_SVX_3D_UNDO_BREAK_LATHE (RID_SVX_START + 498) #define RID_SVX_3D_UNDO_ATTRIBUTES (RID_SVX_START + 499) + +#define RID_STR_FULLNUMS_START (RID_SVX_START + 500)//? +#define RID_STR_FULLNUMS_1 (RID_STR_FULLNUMS_START )//? +#define RID_STR_FULLNUMS_2 (RID_STR_FULLNUMS_START + 1)//? +#define RID_STR_FULLNUMS_3 (RID_STR_FULLNUMS_START + 2)//? +#define RID_STR_FULLNUMS_4 (RID_STR_FULLNUMS_START + 3)//? +#define RID_STR_FULLNUMS_5 (RID_STR_FULLNUMS_START + 4)//? +#define RID_STR_FULLNUMS_6 (RID_STR_FULLNUMS_START + 5)//? +#define RID_STR_FULLNUMS_7 (RID_STR_FULLNUMS_START + 6)//? +#define RID_STR_FULLNUMS_8 (RID_STR_FULLNUMS_START + 7)//? +#define RID_STR_FULLNUMS_7_HTML (RID_SVX_START + 510)//? + // RID_SVX_END == (RID_SVX_START + 499) !!! // am besten ab 520 frei (RB) // seit der Erfindung eigener Resourcen fuer jedes Projekt kann es hier keine // Obergrenze geben (abgesehen von USHRT_MAX) (os) -#define RID_STR_FULLNUMS_START (RID_SVX_START + 500) -#define RID_STR_FULLNUMS_1 (RID_STR_FULLNUMS_START ) -#define RID_STR_FULLNUMS_2 (RID_STR_FULLNUMS_START + 1) -#define RID_STR_FULLNUMS_3 (RID_STR_FULLNUMS_START + 2) -#define RID_STR_FULLNUMS_4 (RID_STR_FULLNUMS_START + 3) -#define RID_STR_FULLNUMS_5 (RID_STR_FULLNUMS_START + 4) -#define RID_STR_FULLNUMS_6 (RID_STR_FULLNUMS_START + 5) -#define RID_STR_FULLNUMS_7 (RID_STR_FULLNUMS_START + 6) -#define RID_STR_FULLNUMS_8 (RID_STR_FULLNUMS_START + 7) #define RID_STR_BULLET_THEME (RID_SVX_START + 508) -#define RID_STR_EDIT_GRAPHIC (RID_SVX_START + 509) -#define RID_STR_FULLNUMS_7_HTML (RID_SVX_START + 510) + // ResIds for graphics drawmode #define RID_SVXSTR_GRAFMODE_STANDARD (RID_SVX_START + 520) @@ -811,17 +691,6 @@ #define RID_SVXSTR_SEABLUE (RID_SVX_START + 546) #define RID_SVXSTR_COLOR_SUN (RID_SVX_START + 547) -#define RID_SVXSTR_HYPDLG_APPLYBUT (RID_SVX_START + 548) -#define RID_SVXSTR_HYPDLG_CLOSEBUT (RID_SVX_START + 549) -#define RID_SVXSTR_HYPDLG_MACROACT1 (RID_SVX_START + 550) -#define RID_SVXSTR_HYPDLG_MACROACT2 (RID_SVX_START + 551) -#define RID_SVXSTR_HYPDLG_MACROACT3 (RID_SVX_START + 552) -#define RID_SVXSTR_HYPDLG_NOVALIDFILENAME (RID_SVX_START + 553) -#define RID_SVXBMP_HLINETTP (RID_SVX_START + 556) -#define RID_SVXBMP_HLMAILTP (RID_SVX_START + 557) -#define RID_SVXBMP_HLDOCTP (RID_SVX_START + 558) -#define RID_SVXBMP_HLDOCNTP (RID_SVX_START + 559) - // JP: string resource ids for table-autoformat-names, used in SW/SC // !!! Urgent: the order of Ids is persistent. New Ids have to append !!! #define RID_SVXSTR_TBLAFMT_BEGIN (RID_SVX_START + 560) @@ -843,16 +712,6 @@ #define RID_SVXSTR_TBLAFMT_YELLOW (RID_SVX_START + 575) #define RID_SVXSTR_TBLAFMT_END (RID_SVX_START + 576) -#define RID_SVXSTR_ICONCHOICEDLG_RESETBUT (RID_SVX_START + 580) -#define RID_SVXSTR_HYPERDLG_HLINETTP (RID_SVX_START + 581) -#define RID_SVXSTR_HYPERDLG_HLINETTP_HELP (RID_SVX_START + 582) -#define RID_SVXSTR_HYPERDLG_HLMAILTP (RID_SVX_START + 583) -#define RID_SVXSTR_HYPERDLG_HLMAILTP_HELP (RID_SVX_START + 584) -#define RID_SVXSTR_HYPERDLG_HLDOCTP (RID_SVX_START + 585) -#define RID_SVXSTR_HYPERDLG_HLDOCTP_HELP (RID_SVX_START + 586) -#define RID_SVXSTR_HYPERDLG_HLDOCNTP (RID_SVX_START + 587) -#define RID_SVXSTR_HYPERDLG_HLDOCNTP_HELP (RID_SVX_START + 588) - // string resources for XLineJoint item #define RID_SVXSTR_LINEJOINT_NONE RID_SVXSTR_NONE #define RID_SVXSTR_LINEJOINT_MIDDLE (RID_SVX_START + 589 ) @@ -1062,9 +921,6 @@ #define RID_SVXSTR_LEND_START RID_SVXSTR_LEND0 #define RID_SVXSTR_LEND_END RID_SVXSTR_LEND11 -#define RID_SVXSTR_HYPDLG_ERR_LERR_NOENTRIES (RID_SVX_START + 800) -#define RID_SVXSTR_HYPDLG_ERR_LERR_DOCNOTOPEN (RID_SVX_START + 801) - #define RID_SVXSTR_QRY_PRINT_TITLE (RID_SVX_START + 802) #define RID_SVXSTR_QRY_PRINT_MSG (RID_SVX_START + 803) #define RID_SVXSTR_QRY_PRINT_ALL (RID_SVX_START + 804) @@ -1075,10 +931,6 @@ #define RID_SVXSTR_DIC_ERR_FULL (RID_SVX_START + 811) #define RID_SVXSTR_DIC_ERR_READONLY (RID_SVX_START + 812) -#define RID_SVXSTR_HYPERDLG_FORM_BUTTON (RID_SVX_START + 813) -#define RID_SVXSTR_HYPERDLG_FROM_TEXT (RID_SVX_START + 814) -#define RID_SVXSTR_HYPERDLG_QUERYOVERWRITE (RID_SVX_START + 815) - // strings for graphic attributes/undo #define RID_SVXSTR_GRAFCROP (RID_SVX_START + 820) #define RID_SVXSTR_UNDO_GRAFMODE (RID_SVX_START + 821) @@ -1091,14 +943,6 @@ #define RID_SVXSTR_UNDO_GRAFTRANSPARENCY (RID_SVX_START + 828) #define RID_SVXSTR_UNDO_GRAFCROP (RID_SVXSTR_GRAFCROP) -// weitere ResId fuer die Linguistik-Dialoge -#define RID_SVXDLG_LNG_ED_NUM_PREBREAK (RID_SVX_START + 830) -#define RID_SVXDLG_EDIT_MODULES (RID_SVX_START + 831) - -// Japanese search options TabPage -#define RID_SVXPAGE_JSEARCH_OPTIONS (RID_SVX_START + 840) -#define RID_SVXSTR_AUTOMATIC (RID_SVX_START + 841) - // listbox control for UNDO and REDO #define RID_SVXTBX_UNDO_REDO_CTRL (RID_SVX_START + 845) #define RID_SVXSTR_NUM_UNDO_ACTIONS (RID_SVX_START + 846) @@ -1115,9 +959,6 @@ #define RID_SVXSTR_TRASNGR_END RID_SVXSTR_TRASNGR0 #define RID_SVXSTR_BORDER_CONTROL (RID_SVX_START + 852) -#define RID_SVXSTR_COLOR_CONFIG_SAVE1 (RID_SVX_START + 853) -#define RID_SVXSTR_COLOR_CONFIG_SAVE2 (RID_SVX_START + 854) -#define RID_SVXSTR_COLOR_CONFIG_DELETE (RID_SVX_START + 855) // Accessibility strings. The actual string ids are defined in // svx/inc/accessibility.hrc, the strings are defined in @@ -1125,34 +966,6 @@ #define RID_SVXSTR_ACCESSIBILITY_START (RID_SVX_START + 860) #define RID_SVXSTR_ACCESSIBILITY_END (RID_SVX_START + 950) -// string resources for svx::FrameDirectionListBox -#define RID_SVXSTR_FRAMEDIR_LTR (RID_SVX_START + 960) -#define RID_SVXSTR_FRAMEDIR_RTL (RID_SVX_START + 961) -#define RID_SVXSTR_FRAMEDIR_SUPER (RID_SVX_START + 962) - -#define RID_SVXSTR_PAGEDIR_LTR_HORI (RID_SVX_START + 965) -#define RID_SVXSTR_PAGEDIR_RTL_HORI (RID_SVX_START + 966) -#define RID_SVXSTR_PAGEDIR_RTL_VERT (RID_SVX_START + 967) -#define RID_SVXSTR_PAGEDIR_LTR_VERT (RID_SVX_START + 968) - -#define RID_SVXSTR_TABLE_PRESET_NONE (RID_SVX_START + 969) -#define RID_SVXSTR_TABLE_PRESET_ONLYOUTER (RID_SVX_START + 970) -#define RID_SVXSTR_TABLE_PRESET_OUTERHORI (RID_SVX_START + 971) -#define RID_SVXSTR_TABLE_PRESET_OUTERALL (RID_SVX_START + 972) -#define RID_SVXSTR_TABLE_PRESET_OUTERINNER (RID_SVX_START + 973) - -#define RID_SVXSTR_PARA_PRESET_DIAGONAL (RID_SVX_START + 974) -#define RID_SVXSTR_PARA_PRESET_ALL (RID_SVX_START + 975) -#define RID_SVXSTR_PARA_PRESET_LEFTRIGHT (RID_SVX_START + 976) -#define RID_SVXSTR_PARA_PRESET_TOPBOTTOM (RID_SVX_START + 977) -#define RID_SVXSTR_PARA_PRESET_ONLYLEFT (RID_SVX_START + 978) - -#define RID_SVXSTR_SHADOW_STYLE_NONE (RID_SVX_START + 979) -#define RID_SVXSTR_SHADOW_STYLE_BOTTOMRIGHT (RID_SVX_START + 980) -#define RID_SVXSTR_SHADOW_STYLE_TOPRIGHT (RID_SVX_START + 981) -#define RID_SVXSTR_SHADOW_STYLE_BOTTOMLEFT (RID_SVX_START + 982) -#define RID_SVXSTR_SHADOW_STYLE_TOPLEFT (RID_SVX_START + 983) - // 984: free #define RID_SVXFLOAT_EXTRUSION_DIRECTION (RID_SVX_START + 985) @@ -1184,129 +997,6 @@ RID_SVXFLOAT_FONTWORK_CHARSPACING above. But these IDs describe floating windows, and the following IDs are for strings, so this is no conflict. */ #define RID_SVXSTR_PAGES (RID_SVX_START + 1002) -#define RID_SVXSTR_PATH_NAME_START (RID_SVX_START + 1003) -#define RID_SVXSTR_KEY_ADDINS_PATH (RID_SVX_START + 1003) -#define RID_SVXSTR_KEY_AUTOCORRECT_DIR (RID_SVX_START + 1004) -#define RID_SVXSTR_KEY_GLOSSARY_PATH (RID_SVX_START + 1005) -#define RID_SVXSTR_KEY_BACKUP_PATH (RID_SVX_START + 1006) -#define RID_SVXSTR_KEY_BASIC_PATH (RID_SVX_START + 1007) -#define RID_SVXSTR_KEY_BITMAP_PATH (RID_SVX_START + 1008) -#define RID_SVXSTR_KEY_CONFIG_DIR (RID_SVX_START + 1009) -#define RID_SVXSTR_KEY_DICTIONARY_PATH (RID_SVX_START + 1010) -#define RID_SVXSTR_KEY_FAVORITES_DIR (RID_SVX_START + 1011) -#define RID_SVXSTR_KEY_FILTER_PATH (RID_SVX_START + 1012) -#define RID_SVXSTR_KEY_GALLERY_DIR (RID_SVX_START + 1013) -#define RID_SVXSTR_KEY_GRAPHICS_PATH (RID_SVX_START + 1014) -#define RID_SVXSTR_KEY_HELP_DIR (RID_SVX_START + 1015) -#define RID_SVXSTR_KEY_LINGUISTIC_DIR (RID_SVX_START + 1016) -#define RID_SVXSTR_KEY_MODULES_PATH (RID_SVX_START + 1017) -#define RID_SVXSTR_KEY_PALETTE_PATH (RID_SVX_START + 1018) -#define RID_SVXSTR_KEY_PLUGINS_PATH (RID_SVX_START + 1019) -#define RID_SVXSTR_KEY_STORAGE_DIR (RID_SVX_START + 1020) -#define RID_SVXSTR_KEY_TEMP_PATH (RID_SVX_START + 1021) -#define RID_SVXSTR_KEY_TEMPLATE_PATH (RID_SVX_START + 1022) -#define RID_SVXSTR_KEY_USERCONFIG_PATH (RID_SVX_START + 1023) -#define RID_SVXSTR_KEY_WORK_PATH (RID_SVX_START + 1024) -#define RID_SVXSTR_KEY_USERDICTIONARY_DIR (RID_SVX_START + 1025) - -#define RID_SVXSTR_READONLY_CONFIG_TIP (RID_SVX_START + 1026) - -#define RID_SVXSTR_DELQUERY (RID_SVX_START + 1027) -#define RID_SVXSTR_DELQUERY_TITLE (RID_SVX_START + 1028) -#define RID_SVXSTR_DELFAILED (RID_SVX_START + 1029) -#define RID_SVXSTR_DELFAILEDPERM (RID_SVX_START + 1030) -#define RID_SVXSTR_DELFAILED_TITLE (RID_SVX_START + 1031) -#define RID_SVXSTR_CREATEFAILED (RID_SVX_START + 1032) -#define RID_SVXSTR_CREATEFAILEDPERM (RID_SVX_START + 1033) -#define RID_SVXSTR_CREATEFAILEDDUP (RID_SVX_START + 1034) -#define RID_SVXSTR_CREATEFAILED_TITLE (RID_SVX_START + 1035) -#define RID_SVXSTR_RENAMEFAILED (RID_SVX_START + 1036) -#define RID_SVXSTR_RENAMEFAILEDPERM (RID_SVX_START + 1037) -#define RID_SVXSTR_RENAMEFAILED_TITLE (RID_SVX_START + 1038) - -#define RID_SVXSTR_NEW_MENU (RID_SVX_START + 1039) -#define RID_SVXSTR_NEW_TOOLBAR (RID_SVX_START + 1040) -#define RID_SVXSTR_MOVE_MENU (RID_SVX_START + 1041) - -#define RID_SVXSTR_PRODUCTNAME_TOOLBARS (RID_SVX_START + 1042) -#define RID_SVXSTR_TOOLBAR (RID_SVX_START + 1043) -#define RID_SVXSTR_TOOLBAR_CONTENT (RID_SVX_START + 1044) -#define RID_SVXSTR_COMMANDS (RID_SVX_START + 1045) -#define RID_SVXSTR_COMMAND (RID_SVX_START + 1046) -#define RID_SVXSTR_TOOLBAR_NAME (RID_SVX_START + 1047) -#define RID_SVXSTR_ADD_SUBMENU (RID_SVX_START + 1048) -#define RID_SVXSTR_SUBMENU_NAME (RID_SVX_START + 1049) -#define RID_SVXSTR_MENU_ADDCOMMANDS_DESCRIPTION (RID_SVX_START + 1050) -#define RID_SVXSTR_EVENT_STARTAPP (RID_SVX_START + 1051) -#define RID_SVXSTR_EVENT_CLOSEAPP (RID_SVX_START + 1052) -#define RID_SVXSTR_EVENT_NEWDOC (RID_SVX_START + 1053) -#define RID_SVXSTR_EVENT_CLOSEDOC (RID_SVX_START + 1054) -#define RID_SVXSTR_EVENT_PREPARECLOSEDOC (RID_SVX_START + 1055) -#define RID_SVXSTR_EVENT_OPENDOC (RID_SVX_START + 1056) -#define RID_SVXSTR_EVENT_SAVEDOC (RID_SVX_START + 1057) -#define RID_SVXSTR_EVENT_SAVEASDOC (RID_SVX_START + 1058) -#define RID_SVXSTR_EVENT_SAVEDOCDONE (RID_SVX_START + 1059) -#define RID_SVXSTR_EVENT_SAVEASDOCDONE (RID_SVX_START + 1060) -#define RID_SVXSTR_EVENT_ACTIVATEDOC (RID_SVX_START + 1061) -#define RID_SVXSTR_EVENT_DEACTIVATEDOC (RID_SVX_START + 1062) -#define RID_SVXSTR_EVENT_PRINTDOC (RID_SVX_START + 1063) -#define RID_SVXSTR_EVENT_MODIFYCHANGED (RID_SVX_START + 1064) -#define RID_SVXSTR_EVENT_MAILMERGE (RID_SVX_START + 1065) -#define RID_SVXSTR_EVENT_PAGECOUNTCHANGE (RID_SVX_START + 1066) -//the form/dialog events -#define RID_SVXSTR_EVENT_APPROVEACTIONPERFORMED (RID_SVX_START + 1067) -#define RID_SVXSTR_EVENT_ACTIONPERFORMED (RID_SVX_START + 1068) -#define RID_SVXSTR_EVENT_CHANGED (RID_SVX_START + 1069) -#define RID_SVXSTR_EVENT_TEXTCHANGED (RID_SVX_START + 1070) -#define RID_SVXSTR_EVENT_ITEMSTATECHANGED (RID_SVX_START + 1071) -#define RID_SVXSTR_EVENT_FOCUSGAINED (RID_SVX_START + 1072) -#define RID_SVXSTR_EVENT_FOCUSLOST (RID_SVX_START + 1073) -#define RID_SVXSTR_EVENT_KEYTYPED (RID_SVX_START + 1074) -#define RID_SVXSTR_EVENT_KEYUP (RID_SVX_START + 1075) -#define RID_SVXSTR_EVENT_MOUSEENTERED (RID_SVX_START + 1076) -#define RID_SVXSTR_EVENT_MOUSEDRAGGED (RID_SVX_START + 1077) -#define RID_SVXSTR_EVENT_MOUSEMOVED (RID_SVX_START + 1078) -#define RID_SVXSTR_EVENT_MOUSEPRESSED (RID_SVX_START + 1079) -#define RID_SVXSTR_EVENT_MOUSERELEASED (RID_SVX_START + 1080) -#define RID_SVXSTR_EVENT_MOUSEEXITED (RID_SVX_START + 1081) -#define RID_SVXSTR_EVENT_APPROVERESETTED (RID_SVX_START + 1082) -#define RID_SVXSTR_EVENT_SUBMITTED (RID_SVX_START + 1083) -#define RID_SVXSTR_EVENT_BEFOREUPDATE (RID_SVX_START + 1084) -#define RID_SVXSTR_EVENT_AFTERUPDATE (RID_SVX_START + 1085) -#define RID_SVXSTR_EVENT_LOADED (RID_SVX_START + 1086) -#define RID_SVXSTR_EVENT_RELOADING (RID_SVX_START + 1087) -#define RID_SVXSTR_EVENT_RELOADED (RID_SVX_START + 1088) -#define RID_SVXSTR_EVENT_UNLOADING (RID_SVX_START + 1089) -#define RID_SVXSTR_EVENT_UNLOADED (RID_SVX_START + 1090) -#define RID_SVXSTR_EVENT_CONFIRMDELETE (RID_SVX_START + 1091) -#define RID_SVXSTR_EVENT_APPROVEROWCHANGE (RID_SVX_START + 1092) -#define RID_SVXSTR_EVENT_ROWCHANGE (RID_SVX_START + 1093) -#define RID_SVXSTR_EVENT_POSITIONING (RID_SVX_START + 1094) -#define RID_SVXSTR_EVENT_POSITIONED (RID_SVX_START + 1095) -#define RID_SVXSTR_EVENT_APPROVEPARAMETER (RID_SVX_START + 1096) -#define RID_SVXSTR_EVENT_ERROROCCURED (RID_SVX_START + 1097) -#define RID_SVXSTR_EVENT_ADJUSTMENTVALUECHANGED (RID_SVX_START + 1098) -#define RID_SVXSTR_EVENT_RESETTED (RID_SVX_START + 1099) -#define RID_SVXSTR_ERROR_TITLE (RID_SVX_START + 1100) -#define RID_SVXSTR_ERROR_LANG_NOT_SUPPORTED (RID_SVX_START + 1101) -#define RID_SVXSTR_ERROR_RUNNING (RID_SVX_START + 1102) -#define RID_SVXSTR_EXCEPTION_RUNNING (RID_SVX_START + 1103) -#define RID_SVXSTR_ERROR_AT_LINE (RID_SVX_START + 1104) -#define RID_SVXSTR_EXCEPTION_AT_LINE (RID_SVX_START + 1105) -#define RID_SVXSTR_FRAMEWORK_ERROR_RUNNING (RID_SVX_START + 1106) -#define RID_SVXSTR_FRAMEWORK_ERROR_AT_LINE (RID_SVX_START + 1107) -#define RID_SVXSTR_ERROR_TYPE_LABEL (RID_SVX_START + 1108) -#define RID_SVXSTR_ERROR_MESSAGE_LABEL (RID_SVX_START + 1109) - -#define QUERY_DELETE_CONFIRM (RID_SVX_START + 1110) -#define STR_LINKEDDOC_DOESNOTEXIST (RID_SVX_START + 1111) -#define STR_NAME_CONFLICT (RID_SVX_START + 1112) - -#define RID_SVXSTR_HOR_PRESET_ONLYHOR (RID_SVX_START + 1113) -#define RID_SVXSTR_VER_PRESET_ONLYVER (RID_SVX_START + 1114) -#define RID_SVXSTR_CONFIRM_MENU_RESET (RID_SVX_START + 1115) -#define RID_SVXSTR_CONFIRM_TOOLBAR_RESET (RID_SVX_START + 1116) -#define RID_SVXSTR_IMPORT_ICON_ERROR (RID_SVX_START + 1117) #define RID_SVXSTR_UNDO_APPLY_FONTWORK_SHAPE (RID_SVX_START + 1118) #define RID_SVXSTR_UNDO_APPLY_FONTWORK_SAME_LETTER_HEIGHT (RID_SVX_START + 1119) @@ -1326,71 +1016,38 @@ #define RID_SVXSTR_UNDO_APPLY_EXTRUSION_SURFACE (RID_SVX_START + 1133) #define RID_SVXSTR_UNDO_APPLY_EXTRUSION_COLOR (RID_SVX_START + 1134) -#define RID_SVXSTR_LABEL_NEW_NAME (RID_SVX_START + 1135) -#define RID_SVXSTR_RENAME_MENU (RID_SVX_START + 1136) -#define RID_SVXSTR_RENAME_TOOLBAR (RID_SVX_START + 1137) - -#define RID_SVXSTR_BULLET_DESCRIPTIONS (RID_SVX_START + 1138) -#define RID_SVXSTR_BULLET_DESCRIPTION_0 (RID_SVXSTR_BULLET_DESCRIPTIONS + 0) -#define RID_SVXSTR_BULLET_DESCRIPTION_1 (RID_SVXSTR_BULLET_DESCRIPTIONS + 1) -#define RID_SVXSTR_BULLET_DESCRIPTION_2 (RID_SVXSTR_BULLET_DESCRIPTIONS + 2) -#define RID_SVXSTR_BULLET_DESCRIPTION_3 (RID_SVXSTR_BULLET_DESCRIPTIONS + 3) -#define RID_SVXSTR_BULLET_DESCRIPTION_4 (RID_SVXSTR_BULLET_DESCRIPTIONS + 4) -#define RID_SVXSTR_BULLET_DESCRIPTION_5 (RID_SVXSTR_BULLET_DESCRIPTIONS + 5) -#define RID_SVXSTR_BULLET_DESCRIPTION_6 (RID_SVXSTR_BULLET_DESCRIPTIONS + 6) -#define RID_SVXSTR_BULLET_DESCRIPTION_7 (RID_SVXSTR_BULLET_DESCRIPTIONS + 7) - -#define RID_SVXSTR_SINGLENUM_DESCRIPTIONS (RID_SVX_START + 1146) -#define RID_SVXSTR_SINGLENUM_DESCRIPTION_0 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 0) -#define RID_SVXSTR_SINGLENUM_DESCRIPTION_1 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 1) -#define RID_SVXSTR_SINGLENUM_DESCRIPTION_2 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 2) -#define RID_SVXSTR_SINGLENUM_DESCRIPTION_3 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 3) -#define RID_SVXSTR_SINGLENUM_DESCRIPTION_4 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 4) -#define RID_SVXSTR_SINGLENUM_DESCRIPTION_5 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 5) -#define RID_SVXSTR_SINGLENUM_DESCRIPTION_6 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 6) -#define RID_SVXSTR_SINGLENUM_DESCRIPTION_7 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 7) - -#define RID_SVXSTR_OUTLINENUM_DESCRIPTIONS (RID_SVX_START + 1154) -#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_0 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 0) -#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_1 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 1) -#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_2 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 2) -#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_3 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 3) -#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_4 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 4) -#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_5 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 5) -#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_6 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 6) -#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_7 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 7) - -#define RID_SVXSTR_DIAGRAM_ROW (RID_SVX_START + 1162) -#define RID_SVXSTR_DELETE_ICON_CONFIRM (RID_SVX_START + 1163) //added for issue73355 -#define RID_SVXSTR_REPLACE_ICON_WARNING (RID_SVX_START + 1164) //added for issue73355 -#define RID_SVXSTR_REPLACE_ICON_CONFIRM (RID_SVX_START + 1165) //added for issue73355 -#define RID_SVXSTR_YESTOALL (RID_SVX_START + 1166) //added for issue73355 #define RID_SVXSTR_SELMODE_BLK (RID_SVX_START + 1167) #define RID_SVXSTR_STYLEFAMILY_TABLEDESIGN (RID_SVX_START + 1168) -#define STR_LINKEDDOC_NO_SYSTEM_FILE (RID_SVX_START + 1169) -#define RID_SVXSTR_EVENT_SUBCOMPONENT_OPENED (RID_SVX_START + 1170) -#define RID_SVXSTR_EVENT_SUBCOMPONENT_CLOSED (RID_SVX_START + 1171) - -#define RID_SVXSTR_EVENT_CREATEDOC (RID_SVX_START + 1172) -#define RID_SVXSTR_EVENT_LOADDOCFINISHED (RID_SVX_START + 1173) -#define RID_SVXSTR_EVENT_SAVEDOCFAILED (RID_SVX_START + 1174) -#define RID_SVXSTR_EVENT_SAVEASDOCFAILED (RID_SVX_START + 1175) -#define RID_SVXSTR_EVENT_COPYTODOC (RID_SVX_START + 1176) -#define RID_SVXSTR_EVENT_COPYTODOCDONE (RID_SVX_START + 1177) -#define RID_SVXSTR_EVENT_COPYTODOCFAILED (RID_SVX_START + 1178) -#define RID_SVXSTR_EVENT_VIEWCREATED (RID_SVX_START + 1179) -#define RID_SVXSTR_EVENT_PREPARECLOSEVIEW (RID_SVX_START + 1180) -#define RID_SVXSTR_EVENT_CLOSEVIEW (RID_SVX_START + 1181) -#define RID_SVXSTR_EVENT_TITLECHANGED (RID_SVX_START + 1182) -#define RID_SVXSTR_EVENT_MODECHANGED (RID_SVX_START + 1183) -#define RID_SVXSTR_EVENT_VISAREACHANGED (RID_SVX_START + 1184) -#define RID_SVXSTR_EVENT_STORAGECHANGED (RID_SVX_START + 1185) -#define RID_SVXSTR_EVENT_MAILMERGE_END (RID_SVX_START + 1186) -#define RID_SVXSTR_EVENT_FIELDMERGE (RID_SVX_START + 1187) -#define RID_SVXSTR_EVENT_FIELDMERGE_FINISHED (RID_SVX_START + 1188) -#define RID_SVXSTR_EVENT_LAYOUT_FINISHED (RID_SVX_START + 1189) // if you add here, remember to adjust RID_SVXSTR_NEXTFREE +#define RID_SVXSTR_BULLET_DESCRIPTIONS (RID_SVX_START + 1138)//? +#define RID_SVXSTR_SINGLENUM_DESCRIPTIONS (RID_SVX_START + 1146)//? +#define RID_SVXSTR_OUTLINENUM_DESCRIPTIONS (RID_SVX_START + 1154)//? +#define RID_SVXSTR_BULLET_DESCRIPTION_0 (RID_SVXSTR_BULLET_DESCRIPTIONS + 0)//? +#define RID_SVXSTR_BULLET_DESCRIPTION_1 (RID_SVXSTR_BULLET_DESCRIPTIONS + 1)//? +#define RID_SVXSTR_BULLET_DESCRIPTION_2 (RID_SVXSTR_BULLET_DESCRIPTIONS + 2)//? +#define RID_SVXSTR_BULLET_DESCRIPTION_3 (RID_SVXSTR_BULLET_DESCRIPTIONS + 3)//? +#define RID_SVXSTR_BULLET_DESCRIPTION_4 (RID_SVXSTR_BULLET_DESCRIPTIONS + 4)//? +#define RID_SVXSTR_BULLET_DESCRIPTION_5 (RID_SVXSTR_BULLET_DESCRIPTIONS + 5)//? +#define RID_SVXSTR_BULLET_DESCRIPTION_6 (RID_SVXSTR_BULLET_DESCRIPTIONS + 6)//? +#define RID_SVXSTR_BULLET_DESCRIPTION_7 (RID_SVXSTR_BULLET_DESCRIPTIONS + 7)//? +#define RID_SVXSTR_SINGLENUM_DESCRIPTION_0 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 0)//? +#define RID_SVXSTR_SINGLENUM_DESCRIPTION_1 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 1)//? +#define RID_SVXSTR_SINGLENUM_DESCRIPTION_2 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 2)//? +#define RID_SVXSTR_SINGLENUM_DESCRIPTION_3 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 3)//? +#define RID_SVXSTR_SINGLENUM_DESCRIPTION_4 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 4)//? +#define RID_SVXSTR_SINGLENUM_DESCRIPTION_5 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 5)//? +#define RID_SVXSTR_SINGLENUM_DESCRIPTION_6 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 6)//? +#define RID_SVXSTR_SINGLENUM_DESCRIPTION_7 (RID_SVXSTR_SINGLENUM_DESCRIPTIONS + 7)//? +#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_0 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 0)//? +#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_1 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 1)//? +#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_2 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 2)//? +#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_3 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 3)//? +#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_4 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 4)//? +#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_5 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 5)//? +#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_6 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 6)//? +#define RID_SVXSTR_OUTLINENUM_DESCRIPTION_7 (RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + 7)//? + #define RID_SVXSTR_NEXTFREE (RID_SVX_START + 1190) // ---------------------------------------------------------------------------- @@ -1406,37 +1063,23 @@ // ---------------------------------------------------------------------------- // "Window" resource ids -#define RID_SVX_WND_COMMON_LINGU ( RID_SVX_START + 0 ) // ---------------------------------------------------------------------------- // "ModalDialog" resource ids -#define RID_SVXDLG_ZOOM ( RID_SVX_START + 0 ) -#define RID_SVX_MDLG_HANGULHANJA ( RID_SVX_START + 1 ) #define RID_SVX_MDLG_FONTWORK_GALLERY ( RID_SVX_START + 2 ) #define RID_SVX_MDLG_EXTRUSION_DEPTH ( RID_SVX_START + 3 ) -#define RID_SVX_MDLG_HANGULHANJA_OPT ( RID_SVX_START + 4 ) -#define RID_SVX_MDLG_HANGULHANJA_EDIT ( RID_SVX_START + 5 ) -#define RID_SVX_MDLG_HANGULHANJA_NEWDICT ( RID_SVX_START + 6 ) - -#define RID_SVX_FORMAT_CELLS_DLG ( RID_SVX_START + 42 ) -#define RID_SVX_SPLITCELLDLG ( RID_SVX_START + 43 ) -#define RID_SVX_NEWTABLE_DLG ( RID_SVX_START + 44 ) // ---------------------------------------------------------------------------- // "Menu" resource ids #define RID_SVX_MDLG_SCRIPTORG_NEWLIB ( RID_SVX_START + 7 ) #define RID_SVX_MDLG_FONTWORK_CHARSPACING ( RID_SVX_START + 19 ) -// ResId fuer den Notizzettel-Dialog -#define RID_SVXDLG_POSTIT ( RID_SVX_START + 8 ) - // ResId fuer den ImportClipboard-Dialog // depricated //#define RID_SVXDLG_CLIPBOARD ( RID_SVX_START + 9 ) // ResId fuer den Sonderzeichen-Dialog -#define RID_SVXDLG_CHARMAP ( RID_SVX_START + 10 ) // allgemeine DBMgr-Dialoge // depricated @@ -1463,116 +1106,42 @@ #define RID_SVXPAGE_ERR_REP_SEND ( RID_SVX_START + 11 ) // ---------------------------------------------------------------------------- -// "MessageBox" resource ids - -#define RID_SVX_MSGBOX_JAVA_RESTART ( RID_SVX_START + 0 ) -#define RID_SVX_MSGBOX_JAVA_RESTART2 ( RID_SVX_START + 1 ) -#define RID_SVX_MSGBOX_LANGUAGE_RESTART ( RID_SVX_START + 2 ) - -// ---------------------------------------------------------------------------- // !!!! double defined ID's (see below) !!! -#define RID_OFAPAGE_HTMLOPT (RID_OFA_START + 100) #define RID_OFA_AUTOCORR_DLG (RID_OFA_START + 101) -#define RID_OFAPAGE_AUTOCORR_OPTIONS (RID_OFA_START + 102) -#define RID_OFAPAGE_AUTOCORR_REPLACE (RID_OFA_START + 103) -#define RID_OFAPAGE_AUTOCORR_EXCEPT (RID_OFA_START + 104) #define RID_OFA_GENERAL_OPTIONS_DLG (RID_OFA_START + 105) #define RID_OFADLG_INTERNET (RID_OFA_START + 106) #define RID_OFA_TABNEW_DLG (RID_OFA_START + 107) #define RID_OFADLG_BROWSER (RID_OFA_START + 108) -#define RID_OFAPAGE_AUTOCORR_QUOTE (RID_OFA_START + 109) -#define RID_OFAPAGE_AUTOFMT_APPLY (RID_OFA_START + 110) -#define RID_OFADLG_PRCNT_SET (RID_OFA_START + 111) #define RID_OFA_FORMNEW_DLG (RID_OFA_START + 112) #define RID_OFA_TABPROPERTIES (RID_OFA_START + 113) #define RID_OFADLG_REGISTRATION (RID_OFA_START + 114) -#define RID_OFADLG_OPTIONS_TREE (RID_OFA_START + 115) -#define RID_OFADLG_OPTIONS_TREE_PAGES (RID_OFA_START + 116) #define RID_OFADLG_AWCP_VALUES (RID_OFA_START + 117) -#define RID_OFADLG_OPTIONS_TREE_HINT (RID_OFA_START + 118) -#define RID_OFAPAGE_AUTOCOMPLETE_OPTIONS (RID_OFA_START + 119) -#define RID_OFAPAGE_MSFILTEROPT (RID_OFA_START + 120) -#define RID_OFAPAGE_MSFILTEROPT2 (RID_OFA_START + 121) -#define RID_OFAPAGE_CONNPOOLOPTIONS (RID_OFA_START + 122) -#define RID_SFXPAGE_DBREGISTER (RID_OFA_START + 123) -#define DLG_DOCUMENTLINK (RID_OFA_START + 124) -#define RID_OFAPAGE_SMARTTAG_OPTIONS (RID_OFA_START + 125) // TabPages -------------------------------------------------------------- // !!!! double defined ID's (see above) !!! -#define RID_RIDER_SLL_SITE (RID_OFA_START + 100) -#define RID_RIDER_SLL_PERSONAL (RID_OFA_START + 101) -#define RID_SW_TP_MAILCONFIG (RID_OFA_START + 102) - -#define RID_IMGLIST_TREEOPT (RID_OFA_START + 174) -#define RID_IMGLIST_TREEOPT_HC (RID_OFA_START + 175) -#define OFA_TP_MISC (RID_OFA_START + 200) - -#define OFA_TP_VIEW (RID_OFA_START + 202) #define OFA_TP_APPEARANCE (RID_OFA_START + 203) #define OFA_TP_TABPROPERTIES_GENERAL (RID_OFA_START + 204) -#define OFA_TP_LANGUAGES (RID_OFA_START + 205) //die RID_??_TP_* stehen nochmal im offids.hrc -#define RID_SW_TP_CONTENT_OPT (RID_OFA_START + 206) + #define RID_SW_TP_LAYOUT_OPT (RID_OFA_START + 207) -#define RID_SW_TP_STD_FONT (RID_OFA_START + 208) -#define RID_SW_TP_OPTPRINT_PAGE (RID_OFA_START + 209) -#define RID_SW_TP_OPTTABLE_PAGE (RID_OFA_START + 210) -#define RID_SW_TP_OPTSHDWCRSR (RID_OFA_START + 211) -#define RID_SW_TP_REDLINE_OPT (RID_OFA_START + 212) #define RID_SW_TP_OPTINSERT_PAGE (RID_OFA_START + 213) -#define RID_SW_TP_OPTLOAD_PAGE (RID_OFA_START + 214) #define RID_SW_TP_OPTTEST_PAGE (RID_OFA_START + 215) #define RID_SW_TP_OPTSRCVIEW (RID_OFA_START + 216) -#define RID_SW_TP_BACKGROUND (RID_OFA_START + 217) -#define SID_SC_TP_LAYOUT (RID_OFA_START + 218) -#define SID_SC_TP_CONTENT (RID_OFA_START + 219) -#define SID_SC_TP_INPUT (RID_OFA_START + 220) -#define SID_SC_TP_GRID (RID_OFA_START + 221) -#define SID_SC_TP_USERLISTS (RID_OFA_START + 222) -#define SID_SC_TP_CALC (RID_OFA_START + 223) -#define SID_SC_TP_CHANGES (RID_OFA_START + 224) -#define SID_SD_TP_CONTENTS (RID_OFA_START + 225) +#define RID_SW_TP_OPTINSERT_HTML_PAGE (RID_OFA_START + 238) +#define RID_SW_TP_HTML_LAYOUT_OPT (RID_OFA_START + 241) #define SID_SD_TP_LAYOUT (RID_OFA_START + 226) -#define SID_SD_TP_SNAP (RID_OFA_START + 227) #define SID_SD_TP_SCALE (RID_OFA_START + 228) #define SID_SD_TP_GRID (RID_OFA_START + 229) -#define SID_SD_TP_PRINT (RID_OFA_START + 220) -#define SID_SD_TP_MISC (RID_OFA_START + 231) -#define SID_SI_TP_CONTENTS (RID_OFA_START + 232) #define SID_SI_TP_LAYOUT (RID_OFA_START + 233) -#define SID_SI_TP_SNAP (RID_OFA_START + 234) #define SID_SI_TP_GRID (RID_OFA_START + 235) -#define SID_SI_TP_PRINT (RID_OFA_START + 236) -#define SID_SI_TP_MISC (RID_OFA_START + 237) -#define RID_SW_TP_OPTINSERT_HTML_PAGE (RID_OFA_START + 238) #define SID_SC_TP_MISC (RID_OFA_START + 239) -#define RID_SW_TP_HTML_CONTENT_OPT (RID_OFA_START + 240) -#define RID_SW_TP_HTML_LAYOUT_OPT (RID_OFA_START + 241) -#define RID_SW_TP_HTML_OPTPRINT_PAGE (RID_OFA_START + 242) -#define RID_SW_TP_HTML_OPTTABLE_PAGE (RID_OFA_START + 243) -#define RID_SW_TP_HTML_OPTGRID_PAGE (RID_OFA_START + 244) #define OFA_TP_TABPROPERTIES_TEXT (RID_OFA_START + 245) -#define RID_SW_TP_HTML_OPTSHDWCRSR (RID_OFA_START + 246) -#define RID_SW_TP_STD_FONT_CJK (RID_OFA_START + 247) -#define RID_SC_TP_PRINT (RID_OFA_START + 248) #define OFA_TP_HELPERPROG (RID_OFA_START + 249) -#define OFA_TP_MEMORY (RID_OFA_START + 250) -#define RID_SW_TP_STD_FONT_CTL (RID_OFA_START + 251) -#define RID_OFA_TP_INTERNATIONAL (RID_OFA_START + 252) // 4 SC & ID 4 resource -#define RID_OFA_TP_INTERNATIONAL_SD (RID_OFA_START + 253) // 4 SD -#define RID_OFA_TP_INTERNATIONAL_IMPR (RID_OFA_START + 254) // 4 impress -#define RID_SW_TP_OPTCOMPATIBILITY_PAGE (RID_OFA_START + 255) -#define OFA_TP_LANGUAGES_FOR_SET_DOCUMENT_LANGUAGE ( RID_OFA_START + 256 ) - -//add for Dialog SchTransformTabDialog,SvxTransformTabDialog //CHINA001 -#define RID_SCH_TransformTabDLG_SVXPAGE_ANGLE (RID_SVX_START + 998) -#define RID_SCH_TransformTabDLG_SVXPAGE_SLANT (RID_SVX_START + 999) #endif diff --git a/svx/inc/svx/dlgctl3d.hxx b/svx/inc/svx/dlgctl3d.hxx index ca2c3ac1e4f7..4ee362978429 100644 --- a/svx/inc/svx/dlgctl3d.hxx +++ b/svx/inc/svx/dlgctl3d.hxx @@ -34,7 +34,7 @@ #include <vcl/ctrl.hxx> #include <vcl/scrbar.hxx> #include <vcl/button.hxx> -#include <svtools/itemset.hxx> +#include <svl/itemset.hxx> #include "svx/svxdllapi.h" #include <basegfx/vector/b3dvector.hxx> diff --git a/svx/inc/svx/dlgctrl.hxx b/svx/inc/svx/dlgctrl.hxx index c4a7ce195267..af3551c83301 100644 --- a/svx/inc/svx/dlgctrl.hxx +++ b/svx/inc/svx/dlgctrl.hxx @@ -408,6 +408,7 @@ public: void Modify( XDashEntry* pEntry, USHORT nPos, Bitmap* pBmp = NULL ); void SelectEntryByList( const XDashList* pList, const String& rStr, const XDash& rDash, USHORT nDist = 0 ); + void FillStyles(); }; /************************************************************************* diff --git a/svx/inc/svx/e3ditem.hxx b/svx/inc/svx/e3ditem.hxx index 4441df6f6ad7..cc90da3aff9e 100644 --- a/svx/inc/svx/e3ditem.hxx +++ b/svx/inc/svx/e3ditem.hxx @@ -31,7 +31,7 @@ #ifndef _SVXE3DITEM_HXX #define _SVXE3DITEM_HXX -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <basegfx/vector/b3dvector.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/editdata.hxx b/svx/inc/svx/editdata.hxx index b059ae25831c..8e3c9f853961 100644 --- a/svx/inc/svx/editdata.hxx +++ b/svx/inc/svx/editdata.hxx @@ -35,7 +35,7 @@ #include <tools/string.hxx> #include "svx/svxdllapi.h" -#include <svtools/svarray.hxx> +#include <svl/svarray.hxx> class SfxItemSet; class SfxPoolItem; diff --git a/svx/inc/svx/editobj.hxx b/svx/inc/svx/editobj.hxx index f291adefcf71..31a62225ced1 100644 --- a/svx/inc/svx/editobj.hxx +++ b/svx/inc/svx/editobj.hxx @@ -34,7 +34,7 @@ #include <tools/stream.hxx> #include <tools/debug.hxx> #include <rsc/rscsfx.hxx> -#include <svtools/itemset.hxx> +#include <svl/itemset.hxx> #include <svx/eeitem.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/emphitem.hxx b/svx/inc/svx/emphitem.hxx index fd80081f2d30..c6956a819dc3 100644 --- a/svx/inc/svx/emphitem.hxx +++ b/svx/inc/svx/emphitem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #include <vcl/vclenum.hxx> -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/escherex.hxx b/svx/inc/svx/escherex.hxx deleted file mode 100644 index a93814b2a825..000000000000 --- a/svx/inc/svx/escherex.hxx +++ /dev/null @@ -1,1513 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: escherex.hxx,v $ - * $Revision: 1.6.146.1 $ - * - * 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 _SVX_ESCHEREX_HXX -#define _SVX_ESCHEREX_HXX - -#include <vector> -#include <tools/solar.h> -#include <tools/gen.hxx> -#include <tools/list.hxx> -#include <tools/stream.hxx> -#include <com/sun/star/uno/Reference.h> -#include <goodies/grfmgr.hxx> -#include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/awt/Point.hpp> -#include <com/sun/star/awt/Rectangle.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/PropertyState.hpp> -#include <com/sun/star/drawing/BitmapMode.hpp> -#include <com/sun/star/drawing/Hatch.hpp> -#include <svx/msdffdef.hxx> -#include "svx/svxdllapi.h" - - /*Record Name FBT-Value Instance Contents Wrd Exl PPt Ver*/ -// In der Mickysoft-Doku heissen die msofbt... statt ESCHER_... -#define ESCHER_DggContainer 0xF000 /* per-document data X X X */ -#define ESCHER_Dgg 0xF006 /* an FDGG and several FIDCLs X X X 0 */ -#define ESCHER_CLSID 0xF016 /* the CLSID of the application that put the data on the clipboard C C C 0 */ -#define ESCHER_OPT 0xF00B /* count of properties the document-wide default shape properties X X X 3 */ -#define ESCHER_ColorMRU 0xF11A /* count of colors the colors in the MRU swatch X X X 0 */ -#define ESCHER_SplitMenuColors 0xF11E /* count of colors the colors in the top-level split menus X X X 0 */ -#define ESCHER_BstoreContainer 0xF001 /* count of BLIPs all images in the document (JPEGs, metafiles, etc.) X X X */ -#define ESCHER_BSE 0xF007 /* BLIP type an FBSE (one per BLIP) X X X 2 */ -#define ESCHER_BlipFirst 0xF018 /* range of fbts reserved for various kinds of BLIPs X X X */ -#define ESCHER_BlipLast 0xF117 /* range of fbts reserved for various kinds of BLIPs X X X */ - -#define ESCHER_DgContainer 0xF002 /* per-sheet/page/slide data X X X */ -#define ESCHER_Dg 0xF008 /* drawing ID an FDG X X X 0 */ -#define ESCHER_RegroupItems 0xF118 /* count of regroup entries several FRITs X X X 0 */ -#define ESCHER_ColorScheme 0xF120 /* count of colors the colors of the source host's color scheme C C 0 */ -#define ESCHER_SpgrContainer 0xF003 /* several SpContainers, the first of which is the group shape itself X X X */ -#define ESCHER_SpContainer 0xF004 /* a shape X X X */ -#define ESCHER_Spgr 0xF009 /* an FSPGR; only present if the shape is a group shape X X X 1 */ -#define ESCHER_Sp 0xF00A /* shape type an FSP X X X 2 */ -//#define ESCHER_OPT 0xF00B /* count of properties a shape property table X X X 3 */ -#define ESCHER_Textbox 0xF00C /* RTF text C C C 0 */ -#define ESCHER_ClientTextbox 0xF00D /* host-defined the text in the textbox, in host-defined format X X X */ -#define ESCHER_Anchor 0xF00E /* a RECT, in 100000ths of an inch C C C 0 */ -#define ESCHER_ChildAnchor 0xF00F /* a RECT, in units relative to the parent group X X X 0 */ -#define ESCHER_ClientAnchor 0xF010 /* host-defined the location of the shape, in a host-defined format X X X */ -#define ESCHER_ClientData 0xF011 /* host-defined host-specific data X X X */ -#define ESCHER_OleObject 0xF11F /* a serialized IStorage for an OLE object C C C 0 */ -#define ESCHER_DeletedPspl 0xF11D /* an FPSPL; only present in top-level deleted shapes X 0 */ -#define ESCHER_SolverContainer 0xF005 /* count of rules the rules governing shapes X X X */ -#define ESCHER_ConnectorRule 0xF012 /* an FConnectorRule X X 1 */ -#define ESCHER_AlignRule 0xF013 /* an FAlignRule X X X 0 */ -#define ESCHER_ArcRule 0xF014 /* an FARCRU X X X 0 */ -#define ESCHER_ClientRule 0xF015 /* host-defined host-defined */ -#define ESCHER_CalloutRule 0xF017 /* an FCORU X X X 0 */ -#define ESCHER_Selection 0xF119 /* an FDGSL followed by the SPIDs of the shapes in the selection X 0 */ -#define ESCHER_UDefProp 0xF122 - -#define SHAPEFLAG_GROUP 0x001 // This shape is a group shape -#define SHAPEFLAG_CHILD 0x002 // Not a top-level shape -#define SHAPEFLAG_PATRIARCH 0x004 // This is the topmost group shape. Exactly one of these per drawing. -#define SHAPEFLAG_DELETED 0x008 // The shape has been deleted -#define SHAPEFLAG_OLESHAPE 0x010 // The shape is an OLE object -#define SHAPEFLAG_HAVEMASTER 0x020 // Shape has a hspMaster property -#define SHAPEFLAG_FLIPH 0x040 // Shape is flipped horizontally -#define SHAPEFLAG_FLIPV 0x080 // Shape is flipped vertically -#define SHAPEFLAG_CONNECTOR 0x100 // Connector type of shape -#define SHAPEFLAG_HAVEANCHOR 0x200 // Shape has an anchor of some kind -#define SHAPEFLAG_BACKGROUND 0x400 // Background shape -#define SHAPEFLAG_HAVESPT 0x800 // Shape has a shape type property - -#define ESCHER_ShpInst_Min 0 -#define ESCHER_ShpInst_NotPrimitive ESCHER_ShpInst_Min -#define ESCHER_ShpInst_Rectangle 1 -#define ESCHER_ShpInst_RoundRectangle 2 -#define ESCHER_ShpInst_Ellipse 3 -#define ESCHER_ShpInst_Diamond 4 -#define ESCHER_ShpInst_IsocelesTriangle 5 -#define ESCHER_ShpInst_RightTriangle 6 -#define ESCHER_ShpInst_Parallelogram 7 -#define ESCHER_ShpInst_Trapezoid 8 -#define ESCHER_ShpInst_Hexagon 9 -#define ESCHER_ShpInst_Octagon 10 -#define ESCHER_ShpInst_Plus 11 -#define ESCHER_ShpInst_Star 12 -#define ESCHER_ShpInst_Arrow 13 -#define ESCHER_ShpInst_ThickArrow 14 -#define ESCHER_ShpInst_HomePlate 15 -#define ESCHER_ShpInst_Cube 16 -#define ESCHER_ShpInst_Balloon 17 -#define ESCHER_ShpInst_Seal 18 -#define ESCHER_ShpInst_Arc 19 -#define ESCHER_ShpInst_Line 20 -#define ESCHER_ShpInst_Plaque 21 -#define ESCHER_ShpInst_Can 22 -#define ESCHER_ShpInst_Donut 23 -#define ESCHER_ShpInst_TextSimple 24 -#define ESCHER_ShpInst_TextOctagon 25 -#define ESCHER_ShpInst_TextHexagon 26 -#define ESCHER_ShpInst_TextCurve 27 -#define ESCHER_ShpInst_TextWave 28 -#define ESCHER_ShpInst_TextRing 29 -#define ESCHER_ShpInst_TextOnCurve 30 -#define ESCHER_ShpInst_TextOnRing 31 -#define ESCHER_ShpInst_StraightConnector1 32 -#define ESCHER_ShpInst_BentConnector2 33 -#define ESCHER_ShpInst_BentConnector3 34 -#define ESCHER_ShpInst_BentConnector4 35 -#define ESCHER_ShpInst_BentConnector5 36 -#define ESCHER_ShpInst_CurvedConnector2 37 -#define ESCHER_ShpInst_CurvedConnector3 38 -#define ESCHER_ShpInst_CurvedConnector4 39 -#define ESCHER_ShpInst_CurvedConnector5 40 -#define ESCHER_ShpInst_Callout1 41 -#define ESCHER_ShpInst_Callout2 42 -#define ESCHER_ShpInst_Callout3 43 -#define ESCHER_ShpInst_AccentCallout1 44 -#define ESCHER_ShpInst_AccentCallout2 45 -#define ESCHER_ShpInst_AccentCallout3 46 -#define ESCHER_ShpInst_BorderCallout1 47 -#define ESCHER_ShpInst_BorderCallout2 48 -#define ESCHER_ShpInst_BorderCallout3 49 -#define ESCHER_ShpInst_AccentBorderCallout1 50 -#define ESCHER_ShpInst_AccentBorderCallout2 51 -#define ESCHER_ShpInst_AccentBorderCallout3 52 -#define ESCHER_ShpInst_Ribbon 53 -#define ESCHER_ShpInst_Ribbon2 54 -#define ESCHER_ShpInst_Chevron 55 -#define ESCHER_ShpInst_Pentagon 56 -#define ESCHER_ShpInst_NoSmoking 57 -#define ESCHER_ShpInst_Seal8 58 -#define ESCHER_ShpInst_Seal16 59 -#define ESCHER_ShpInst_Seal32 60 -#define ESCHER_ShpInst_WedgeRectCallout 61 -#define ESCHER_ShpInst_WedgeRRectCallout 62 -#define ESCHER_ShpInst_WedgeEllipseCallout 63 -#define ESCHER_ShpInst_Wave 64 -#define ESCHER_ShpInst_FoldedCorner 65 -#define ESCHER_ShpInst_LeftArrow 66 -#define ESCHER_ShpInst_DownArrow 67 -#define ESCHER_ShpInst_UpArrow 68 -#define ESCHER_ShpInst_LeftRightArrow 69 -#define ESCHER_ShpInst_UpDownArrow 70 -#define ESCHER_ShpInst_IrregularSeal1 71 -#define ESCHER_ShpInst_IrregularSeal2 72 -#define ESCHER_ShpInst_LightningBolt 73 -#define ESCHER_ShpInst_Heart 74 -#define ESCHER_ShpInst_PictureFrame 75 -#define ESCHER_ShpInst_QuadArrow 76 -#define ESCHER_ShpInst_LeftArrowCallout 77 -#define ESCHER_ShpInst_RightArrowCallout 78 -#define ESCHER_ShpInst_UpArrowCallout 79 -#define ESCHER_ShpInst_DownArrowCallout 80 -#define ESCHER_ShpInst_LeftRightArrowCallout 81 -#define ESCHER_ShpInst_UpDownArrowCallout 82 -#define ESCHER_ShpInst_QuadArrowCallout 83 -#define ESCHER_ShpInst_Bevel 84 -#define ESCHER_ShpInst_LeftBracket 85 -#define ESCHER_ShpInst_RightBracket 86 -#define ESCHER_ShpInst_LeftBrace 87 -#define ESCHER_ShpInst_RightBrace 88 -#define ESCHER_ShpInst_LeftUpArrow 89 -#define ESCHER_ShpInst_BentUpArrow 90 -#define ESCHER_ShpInst_BentArrow 91 -#define ESCHER_ShpInst_Seal24 92 -#define ESCHER_ShpInst_StripedRightArrow 93 -#define ESCHER_ShpInst_NotchedRightArrow 94 -#define ESCHER_ShpInst_BlockArc 95 -#define ESCHER_ShpInst_SmileyFace 96 -#define ESCHER_ShpInst_VerticalScroll 97 -#define ESCHER_ShpInst_HorizontalScroll 98 -#define ESCHER_ShpInst_CircularArrow 99 -#define ESCHER_ShpInst_NotchedCircularArrow 100 -#define ESCHER_ShpInst_UturnArrow 101 -#define ESCHER_ShpInst_CurvedRightArrow 102 -#define ESCHER_ShpInst_CurvedLeftArrow 103 -#define ESCHER_ShpInst_CurvedUpArrow 104 -#define ESCHER_ShpInst_CurvedDownArrow 105 -#define ESCHER_ShpInst_CloudCallout 106 -#define ESCHER_ShpInst_EllipseRibbon 107 -#define ESCHER_ShpInst_EllipseRibbon2 108 -#define ESCHER_ShpInst_FlowChartProcess 109 -#define ESCHER_ShpInst_FlowChartDecision 110 -#define ESCHER_ShpInst_FlowChartInputOutput 111 -#define ESCHER_ShpInst_FlowChartPredefinedProcess 112 -#define ESCHER_ShpInst_FlowChartInternalStorage 113 -#define ESCHER_ShpInst_FlowChartDocument 114 -#define ESCHER_ShpInst_FlowChartMultidocument 115 -#define ESCHER_ShpInst_FlowChartTerminator 116 -#define ESCHER_ShpInst_FlowChartPreparation 117 -#define ESCHER_ShpInst_FlowChartManualInput 118 -#define ESCHER_ShpInst_FlowChartManualOperation 119 -#define ESCHER_ShpInst_FlowChartConnector 120 -#define ESCHER_ShpInst_FlowChartPunchedCard 121 -#define ESCHER_ShpInst_FlowChartPunchedTape 122 -#define ESCHER_ShpInst_FlowChartSummingJunction 123 -#define ESCHER_ShpInst_FlowChartOr 124 -#define ESCHER_ShpInst_FlowChartCollate 125 -#define ESCHER_ShpInst_FlowChartSort 126 -#define ESCHER_ShpInst_FlowChartExtract 127 -#define ESCHER_ShpInst_FlowChartMerge 128 -#define ESCHER_ShpInst_FlowChartOfflineStorage 129 -#define ESCHER_ShpInst_FlowChartOnlineStorage 130 -#define ESCHER_ShpInst_FlowChartMagneticTape 131 -#define ESCHER_ShpInst_FlowChartMagneticDisk 132 -#define ESCHER_ShpInst_FlowChartMagneticDrum 133 -#define ESCHER_ShpInst_FlowChartDisplay 134 -#define ESCHER_ShpInst_FlowChartDelay 135 -#define ESCHER_ShpInst_TextPlainText 136 -#define ESCHER_ShpInst_TextStop 137 -#define ESCHER_ShpInst_TextTriangle 138 -#define ESCHER_ShpInst_TextTriangleInverted 139 -#define ESCHER_ShpInst_TextChevron 140 -#define ESCHER_ShpInst_TextChevronInverted 141 -#define ESCHER_ShpInst_TextRingInside 142 -#define ESCHER_ShpInst_TextRingOutside 143 -#define ESCHER_ShpInst_TextArchUpCurve 144 -#define ESCHER_ShpInst_TextArchDownCurve 145 -#define ESCHER_ShpInst_TextCircleCurve 146 -#define ESCHER_ShpInst_TextButtonCurve 147 -#define ESCHER_ShpInst_TextArchUpPour 148 -#define ESCHER_ShpInst_TextArchDownPour 149 -#define ESCHER_ShpInst_TextCirclePour 150 -#define ESCHER_ShpInst_TextButtonPour 151 -#define ESCHER_ShpInst_TextCurveUp 152 -#define ESCHER_ShpInst_TextCurveDown 153 -#define ESCHER_ShpInst_TextCascadeUp 154 -#define ESCHER_ShpInst_TextCascadeDown 155 -#define ESCHER_ShpInst_TextWave1 156 -#define ESCHER_ShpInst_TextWave2 157 -#define ESCHER_ShpInst_TextWave3 158 -#define ESCHER_ShpInst_TextWave4 159 -#define ESCHER_ShpInst_TextInflate 160 -#define ESCHER_ShpInst_TextDeflate 161 -#define ESCHER_ShpInst_TextInflateBottom 162 -#define ESCHER_ShpInst_TextDeflateBottom 163 -#define ESCHER_ShpInst_TextInflateTop 164 -#define ESCHER_ShpInst_TextDeflateTop 165 -#define ESCHER_ShpInst_TextDeflateInflate 166 -#define ESCHER_ShpInst_TextDeflateInflateDeflate 167 -#define ESCHER_ShpInst_TextFadeRight 168 -#define ESCHER_ShpInst_TextFadeLeft 169 -#define ESCHER_ShpInst_TextFadeUp 170 -#define ESCHER_ShpInst_TextFadeDown 171 -#define ESCHER_ShpInst_TextSlantUp 172 -#define ESCHER_ShpInst_TextSlantDown 173 -#define ESCHER_ShpInst_TextCanUp 174 -#define ESCHER_ShpInst_TextCanDown 175 -#define ESCHER_ShpInst_FlowChartAlternateProcess 176 -#define ESCHER_ShpInst_FlowChartOffpageConnector 177 -#define ESCHER_ShpInst_Callout90 178 -#define ESCHER_ShpInst_AccentCallout90 179 -#define ESCHER_ShpInst_BorderCallout90 180 -#define ESCHER_ShpInst_AccentBorderCallout90 181 -#define ESCHER_ShpInst_LeftRightUpArrow 182 -#define ESCHER_ShpInst_Sun 183 -#define ESCHER_ShpInst_Moon 184 -#define ESCHER_ShpInst_BracketPair 185 -#define ESCHER_ShpInst_BracePair 186 -#define ESCHER_ShpInst_Seal4 187 -#define ESCHER_ShpInst_DoubleWave 188 -#define ESCHER_ShpInst_ActionButtonBlank 189 -#define ESCHER_ShpInst_ActionButtonHome 190 -#define ESCHER_ShpInst_ActionButtonHelp 191 -#define ESCHER_ShpInst_ActionButtonInformation 192 -#define ESCHER_ShpInst_ActionButtonForwardNext 193 -#define ESCHER_ShpInst_ActionButtonBackPrevious 194 -#define ESCHER_ShpInst_ActionButtonEnd 195 -#define ESCHER_ShpInst_ActionButtonBeginning 196 -#define ESCHER_ShpInst_ActionButtonReturn 197 -#define ESCHER_ShpInst_ActionButtonDocument 198 -#define ESCHER_ShpInst_ActionButtonSound 199 -#define ESCHER_ShpInst_ActionButtonMovie 200 -#define ESCHER_ShpInst_HostControl 201 -#define ESCHER_ShpInst_TextBox 202 - -#define ESCHER_ShpInst_COUNT 203 -#define ESCHER_ShpInst_Max 0x0FFF -#define ESCHER_ShpInst_Nil ESCHER_ShpInst_Max - -enum ESCHER_BlibType -{ // GEL provided types... - ERROR = 0, // An error occured during loading - UNKNOWN, // An unknown blip type - EMF, // Windows Enhanced Metafile - WMF, // Windows Metafile - PICT, // Macintosh PICT - PEG, // JFIF - PNG, // PNG - DIB, // Windows DIB - FirstClient = 32, // First client defined blip type - LastClient = 255 // Last client defined blip type -}; - -enum ESCHER_FillStyle -{ - ESCHER_FillSolid, // Fill with a solid color - ESCHER_FillPattern, // Fill with a pattern (bitmap) - ESCHER_FillTexture, // A texture (pattern with its own color map) - ESCHER_FillPicture, // Center a picture in the shape - ESCHER_FillShade, // Shade from start to end points - ESCHER_FillShadeCenter, // Shade from bounding rectangle to end point - ESCHER_FillShadeShape, // Shade from shape outline to end point - ESCHER_FillShadeScale, - ESCHER_FillShadeTitle, - ESCHER_FillBackground -}; - -enum ESCHER_wMode -{ - ESCHER_wColor, // only used for predefined shades - ESCHER_wAutomatic, // depends on object type - ESCHER_wGrayScale, // shades of gray only - ESCHER_wLightGrayScale, // shades of light gray only - ESCHER_wInverseGray, // dark gray mapped to light gray, etc. - ESCHER_wGrayOutline, // pure gray and white - ESCHER_wBlackTextLine, // black text and lines, all else grayscale - ESCHER_wHighContrast, // pure black and white mode (no grays) - ESCHER_wBlack, // solid black msobwWhite, // solid white - ESCHER_wDontShow, // object not drawn - ESCHER_wNumModes // number of Black and white modes -}; - - -// -enum ESCHER_ShapePath -{ - ESCHER_ShapeLines, // A line of straight segments - ESCHER_ShapeLinesClosed, // A closed polygonal object - ESCHER_ShapeCurves, // A line of Bezier curve segments - ESCHER_ShapeCurvesClosed, // A closed shape with curved edges - ESCHER_ShapeComplex // pSegmentInfo must be non-empty -}; - - -enum ESCHER_WrapMode -{ - ESCHER_WrapSquare, - ESCHER_WrapByPoints, - ESCHER_WrapNone, - ESCHER_WrapTopBottom, - ESCHER_WrapThrough -}; - -// -enum ESCHER_bwMode -{ - ESCHER_bwColor, // only used for predefined shades - ESCHER_bwAutomatic, // depends on object type - ESCHER_bwGrayScale, // shades of gray only - ESCHER_bwLightGrayScale, // shades of light gray only - ESCHER_bwInverseGray, // dark gray mapped to light gray, etc. - ESCHER_bwGrayOutline, // pure gray and white - ESCHER_bwBlackTextLine, // black text and lines, all else grayscale - ESCHER_bwHighContrast, // pure black and white mode (no grays) - ESCHER_bwBlack, // solid black - ESCHER_bwWhite, // solid white - ESCHER_bwDontShow, // object not drawn - ESCHER_bwNumModes // number of Black and white modes -}; - - -enum ESCHER_AnchorText -{ - ESCHER_AnchorTop, - ESCHER_AnchorMiddle, - ESCHER_AnchorBottom, - ESCHER_AnchorTopCentered, - ESCHER_AnchorMiddleCentered, - ESCHER_AnchorBottomCentered, - ESCHER_AnchorTopBaseline, - ESCHER_AnchorBottomBaseline, - ESCHER_AnchorTopCenteredBaseline, - ESCHER_AnchorBottomCenteredBaseline -}; - -enum ESCHER_cDir -{ - ESCHER_cDir0, // Right - ESCHER_cDir90, // Down - ESCHER_cDir180, // Left - ESCHER_cDir270 // Up -}; - -// connector style -enum ESCHER_cxSTYLE -{ - ESCHER_cxstyleStraight = 0, - ESCHER_cxstyleBent, - ESCHER_cxstyleCurved, - ESCHER_cxstyleNone -}; - -// text flow -enum ESCHER_txfl -{ - ESCHER_txflHorzN, // Horizontal non-@ - ESCHER_txflTtoBA, // Top to Bottom @-font - ESCHER_txflBtoT, // Bottom to Top non-@ - ESCHER_txflTtoBN, // Top to Bottom non-@ - ESCHER_txflHorzA, // Horizontal @-font - ESCHER_txflVertN // Vertical, non-@ -}; - -// text direction (needed for Bi-Di support) -enum ESCHER_txDir -{ - ESCHER_txdirLTR, // left-to-right text direction - ESCHER_txdirRTL, // right-to-left text direction - ESCHER_txdirContext // context text direction -}; - -// Callout Type -enum ESCHER_spcot -{ - ESCHER_spcotRightAngle = 1, - ESCHER_spcotOneSegment = 2, - ESCHER_spcotTwoSegment = 3, - ESCHER_spcotThreeSegment = 4 -}; - -// Callout Angle -enum ESCHER_spcoa -{ - ESCHER_spcoaAny, - ESCHER_spcoa30, - ESCHER_spcoa45, - ESCHER_spcoa60, - ESCHER_spcoa90, - ESCHER_spcoa0 -}; - -// Callout Drop -enum ESCHER_spcod -{ - ESCHER_spcodTop, - ESCHER_spcodCenter, - ESCHER_spcodBottom, - ESCHER_spcodSpecified -}; - -// FontWork alignment -enum ESCHER_GeoTextAlign -{ - ESCHER_AlignTextStretch, /* Stretch each line of text to fit width. */ - ESCHER_AlignTextCenter, /* Center text on width. */ - ESCHER_AlignTextLeft, /* Left justify. */ - ESCHER_AlignTextRight, /* Right justify. */ - ESCHER_AlignTextLetterJust, /* Spread letters out to fit width. */ - ESCHER_AlignTextWordJust, /* Spread words out to fit width. */ - ESCHER_AlignTextInvalid /* Invalid */ -}; - -// flags for pictures -enum ESCHER_BlipFlags -{ - ESCHER_BlipFlagDefault = 0, - ESCHER_BlipFlagComment = 0, // Blip name is a comment - ESCHER_BlipFlagFile, // Blip name is a file name - ESCHER_BlipFlagURL, // Blip name is a full URL - ESCHER_BlipFlagType = 3, // Mask to extract type - /* Or the following flags with any of the above. */ - ESCHER_BlipFlagDontSave = 4, // A "dont" is the depression in the metal - // body work of an automobile caused when a - // cyclist violently thrusts his or her nose - // at it, thus a DontSave is another name for - // a cycle lane. - ESCHER_BlipFlagDoNotSave = 4, // For those who prefer English - ESCHER_BlipFlagLinkToFile = 8 -}; - -// -enum ESCHER_3DRenderMode -{ - ESCHER_FullRender, // Generate a full rendering - ESCHER_Wireframe, // Generate a wireframe - ESCHER_BoundingCube // Generate a bounding cube -}; - -// -enum ESCHER_xFormType -{ - ESCHER_xFormAbsolute, // Apply transform in absolute space centered on shape - ESCHER_xFormShape, // Apply transform to shape geometry - ESCHER_xFormDrawing // Apply transform in drawing space -}; - -// -enum ESCHER_ShadowType -{ - ESCHER_ShadowOffset, // N pixel offset shadow - ESCHER_ShadowDouble, // Use second offset too - ESCHER_ShadowRich, // Rich perspective shadow (cast relative to shape) - ESCHER_ShadowShape, // Rich perspective shadow (cast in shape space) - ESCHER_ShadowDrawing, // Perspective shadow cast in drawing space - ESCHER_ShadowEmbossOrEngrave -}; - -// - the type of a (length) measurement -enum ESCHER_dzType - { - ESCHER_dzTypeMin = 0, - ESCHER_dzTypeDefault = 0, // Default size, ignore the values - ESCHER_dzTypeA = 1, // Values are in EMUs - ESCHER_dzTypeV = 2, // Values are in pixels - ESCHER_dzTypeShape = 3, // Values are 16.16 fractions of shape size - ESCHER_dzTypeFixedAspect = 4, // Aspect ratio is fixed - ESCHER_dzTypeAFixed = 5, // EMUs, fixed aspect ratio - ESCHER_dzTypeVFixed = 6, // Pixels, fixed aspect ratio - ESCHER_dzTypeShapeFixed = 7, // Proportion of shape, fixed aspect ratio - ESCHER_dzTypeFixedAspectEnlarge= 8, // Aspect ratio is fixed, favor larger size - ESCHER_dzTypeAFixedBig = 9, // EMUs, fixed aspect ratio - ESCHER_dzTypeVFixedBig = 10, // Pixels, fixed aspect ratio - ESCHER_dzTypeShapeFixedBig= 11, // Proportion of shape, fixed aspect ratio - ESCHER_dzTypeMax = 11 -}; - -// how to interpret the colors in a shaded fill. -enum ESCHER_ShadeType -{ - ESCHER_ShadeNone = 0, // Interpolate without correction between RGBs - ESCHER_ShadeGamma = 1, // Apply gamma correction to colors - ESCHER_ShadeSigma = 2, // Apply a sigma transfer function to position - ESCHER_ShadeBand = 4, // Add a flat band at the start of the shade - ESCHER_ShadeOneColor = 8, // This is a one color shade - - /* A parameter for the band or sigma function can be stored in the top - 16 bits of the value - this is a proportion of *each* band of the - shade to make flat (or the approximate equal value for a sigma - function). NOTE: the parameter is not used for the sigma function, - instead a built in value is used. This value should not be changed - from the default! */ - ESCHER_ShadeParameterShift = 16, - ESCHER_ShadeParameterMask = 0xffff0000, - - ESCHER_ShadeDefault = (ESCHER_ShadeGamma|ESCHER_ShadeSigma| - (16384<<ESCHER_ShadeParameterShift)) -}; - -// compound line style -enum ESCHER_LineStyle -{ - ESCHER_LineSimple, // Single line (of width lineWidth) - ESCHER_LineDouble, // Double lines of equal width - ESCHER_LineThickThin, // Double lines, one thick, one thin - ESCHER_LineThinThick, // Double lines, reverse order - ESCHER_LineTriple // Three lines, thin, thick, thin -}; - -// how to "fill" the line contour -enum ESCHER_LineType -{ - ESCHER_lineSolidType, // Fill with a solid color - ESCHER_linePattern, // Fill with a pattern (bitmap) - ESCHER_lineTexture, // A texture (pattern with its own color map) - ESCHER_linePicture // Center a picture in the shape -}; - -// dashed line style -enum ESCHER_LineDashing -{ - ESCHER_LineSolid, // Solid (continuous) pen - ESCHER_LineDashSys, // PS_DASH system dash style - ESCHER_LineDotSys, // PS_DOT system dash style - ESCHER_LineDashDotSys, // PS_DASHDOT system dash style - ESCHER_LineDashDotDotSys, // PS_DASHDOTDOT system dash style - ESCHER_LineDotGEL, // square dot style - ESCHER_LineDashGEL, // dash style - ESCHER_LineLongDashGEL, // long dash style - ESCHER_LineDashDotGEL, // dash short dash - ESCHER_LineLongDashDotGEL, // long dash short dash - ESCHER_LineLongDashDotDotGEL // long dash short dash short dash -}; - -// line end effect -enum ESCHER_LineEnd -{ - ESCHER_LineNoEnd, - ESCHER_LineArrowEnd, - ESCHER_LineArrowStealthEnd, - ESCHER_LineArrowDiamondEnd, - ESCHER_LineArrowOvalEnd, - ESCHER_LineArrowOpenEnd -}; - -// size of arrowhead -enum ESCHER_LineWidth -{ - ESCHER_LineNarrowArrow, - ESCHER_LineMediumWidthArrow, - ESCHER_LineWideArrow -}; - -// size of arrowhead -enum ESCHER_LineEndLenght -{ - ESCHER_LineShortArrow, - ESCHER_LineMediumLenArrow, - ESCHER_LineLongArrow -}; - -// line join style. -enum ESCHER_LineJoin -{ - ESCHER_LineJoinBevel, // Join edges by a straight line - ESCHER_LineJoinMiter, // Extend edges until they join - ESCHER_LineJoinRound // Draw an arc between the two edges -}; - -// line cap style (applies to ends of dash segments too). -enum ESCHER_LineCap -{ - ESCHER_LineEndCapRound, // Rounded ends - the default - ESCHER_LineEndCapSquare, // Square protrudes by half line width - ESCHER_LineEndCapFlat // Line ends at end point -}; -// Shape Properties -// 1pt = 12700 EMU (English Metric Units) -// 1pt = 20 Twip = 20/1440" = 1/72" -// 1twip=635 EMU -// 1" = 12700*72 = 914400 EMU -// 1" = 25.4mm -// 1mm = 36000 EMU -// Transform -#define ESCHER_Prop_Rotation 4 /* Fixed Point 16.16 degrees */ -// Protection -#define ESCHER_Prop_LockRotation 119 /* BOOL No rotation */ -#define ESCHER_Prop_LockAspectRatio 120 /* BOOL Don't allow changes in aspect ratio */ -#define ESCHER_Prop_LockPosition 121 /* BOOL Don't allow the shape to be moved */ -#define ESCHER_Prop_LockAgainstSelect 122 /* BOOL Shape may not be selected */ -#define ESCHER_Prop_LockCropping 123 /* BOOL No cropping this shape */ -#define ESCHER_Prop_LockVertices 124 /* BOOL Edit Points not allowed */ -#define ESCHER_Prop_LockText 125 /* BOOL Do not edit text */ -#define ESCHER_Prop_LockAdjustHandles 126 /* BOOL Do not adjust */ -#define ESCHER_Prop_LockAgainstGrouping 127 /* BOOL Do not group this shape */ -// Text -#define ESCHER_Prop_lTxid 128 /* LONG id for the text, value determined by the host */ -#define ESCHER_Prop_dxTextLeft 129 /* LONG margins relative to shape's inscribed */ -#define ESCHER_Prop_dyTextTop 130 /* LONG text rectangle (in EMUs) */ -#define ESCHER_Prop_dxTextRight 131 /* LONG */ -#define ESCHER_Prop_dyTextBottom 132 /* LONG */ -#define ESCHER_Prop_WrapText 133 /* MSOWRAPMODE Wrap text at shape margins */ -#define ESCHER_Prop_scaleText 134 /* LONG Text zoom/scale (used if fFitTextToShape) */ -#define ESCHER_Prop_AnchorText 135 /* ESCHER_AnchorText How to anchor the text */ -#define ESCHER_Prop_txflTextFlow 136 /* MSOTXFL Text flow */ -#define ESCHER_Prop_cdirFont 137 /* MSOCDIR Font rotation */ -#define ESCHER_Prop_hspNext 138 /* MSOHSP ID of the next shape (used by Word for linked textboxes) */ -#define ESCHER_Prop_txdir 139 /* MSOTXDIR Bi-Di Text direction */ -#define ESCHER_Prop_SelectText 187 /* BOOL TRUE if single click selects text, FALSE if two clicks */ -#define ESCHER_Prop_AutoTextMargin 188 /* BOOL use host's margin calculations */ -#define ESCHER_Prop_RotateText 189 /* BOOL Rotate text with shape */ -#define ESCHER_Prop_FitShapeToText 190 /* BOOL Size shape to fit text size */ -#define ESCHER_Prop_FitTextToShape 191 /* BOOL Size text to fit shape size */ -// GeoText -#define ESCHER_Prop_gtextUNICODE 192 /* WCHAR* UNICODE text string */ -#define ESCHER_Prop_gtextRTF 193 /* char* RTF text string */ -#define ESCHER_Prop_gtextAlign 194 /* MSOGEOTEXTALIGN alignment on curve */ -#define ESCHER_Prop_gtextSize 195 /* LONG default point size */ -#define ESCHER_Prop_gtextSpacing 196 /* LONG fixed point 16.16 */ -#define ESCHER_Prop_gtextFont 197 /* WCHAR* font family name */ -#define ESCHER_Prop_gtextFReverseRows 240 /* BOOL Reverse row order */ -#define ESCHER_Prop_fGtext 241 /* BOOL Has text effect */ -#define ESCHER_Prop_gtextFVertical 242 /* BOOL Rotate characters */ -#define ESCHER_Prop_gtextFKern 243 /* BOOL Kern characters */ -#define ESCHER_Prop_gtextFTight 244 /* BOOL Tightening or tracking */ -#define ESCHER_Prop_gtextFStretch 245 /* BOOL Stretch to fit shape */ -#define ESCHER_Prop_gtextFShrinkFit 246 /* BOOL Char bounding box */ -#define ESCHER_Prop_gtextFBestFit 247 /* BOOL Scale text-on-path */ -#define ESCHER_Prop_gtextFNormalize 248 /* BOOL Stretch char height */ -#define ESCHER_Prop_gtextFDxMeasure 249 /* BOOL Do not measure along path */ -#define ESCHER_Prop_gtextFBold 250 /* BOOL Bold font */ -#define ESCHER_Prop_gtextFItalic 251 /* BOOL Italic font */ -#define ESCHER_Prop_gtextFUnderline 252 /* BOOL Underline font */ -#define ESCHER_Prop_gtextFShadow 253 /* BOOL Shadow font */ -#define ESCHER_Prop_gtextFSmallcaps 254 /* BOOL Small caps font */ -#define ESCHER_Prop_gtextFStrikethrough 255 /* BOOL Strike through font */ -// Blip -#define ESCHER_Prop_cropFromTop 256 /* LONG 16.16 fraction times total */ -#define ESCHER_Prop_cropFromBottom 257 /* LONG image width or height, */ -#define ESCHER_Prop_cropFromLeft 258 /* LONG as appropriate. */ -#define ESCHER_Prop_cropFromRight 259 /* LONG */ -#define ESCHER_Prop_pib 260 /* IMsoBlip* Blip to display */ -#define ESCHER_Prop_pibName 261 /* WCHAR* Blip file name */ -#define ESCHER_Prop_pibFlags 262 /* MSOBLIPFLAGS Blip flags */ -#define ESCHER_Prop_pictureTransparent 263 /* LONG transparent color (none if ~0UL) */ -#define ESCHER_Prop_pictureContrast 264 /* LONG contrast setting */ -#define ESCHER_Prop_pictureBrightness 265 /* LONG brightness setting */ -#define ESCHER_Prop_pictureGamma 266 /* LONG 16.16 gamma */ -#define ESCHER_Prop_pictureId 267 /* LONG Host-defined ID for OLE objects (usually a pointer) */ -#define ESCHER_Prop_pictureDblCrMod 268 /* MSOCLR Modification used if shape has double shadow */ -#define ESCHER_Prop_pictureFillCrMod 269 /* MSOCLR */ -#define ESCHER_Prop_pictureLineCrMod 270 /* MSOCLR */ -#define ESCHER_Prop_pibPrint 271 /* IMsoBlip* Blip to display when printing */ -#define ESCHER_Prop_pibPrintName 272 /* WCHAR* Blip file name */ -#define ESCHER_Prop_pibPrintFlags 273 /* MSOBLIPFLAGS Blip flags */ -#define ESCHER_Prop_fNoHitTestPicture 316 /* BOOL Do not hit test the picture */ -#define ESCHER_Prop_pictureGray 317 /* BOOL grayscale display */ -#define ESCHER_Prop_pictureBiLevel 318 /* BOOL bi-level display */ -#define ESCHER_Prop_pictureActive 319 /* BOOL Server is active (OLE objects only) */ -// Geometry -#define ESCHER_Prop_geoLeft 320 /* LONG Defines the G (geometry) coordinate space. */ -#define ESCHER_Prop_geoTop 321 /* LONG */ -#define ESCHER_Prop_geoRight 322 /* LONG */ -#define ESCHER_Prop_geoBottom 323 /* LONG */ -#define ESCHER_Prop_shapePath 324 /* MSOSHAPEPATH */ -#define ESCHER_Prop_pVertices 325 /* IMsoArray An array of points, in G units. */ -#define ESCHER_Prop_pSegmentInfo 326 /* IMsoArray */ -#define ESCHER_Prop_adjustValue 327 /* LONG Adjustment values corresponding to */ -#define ESCHER_Prop_adjust2Value 328 /* LONG the positions of the adjust handles */ -#define ESCHER_Prop_adjust3Value 329 /* LONG of the shape. The number of values */ -#define ESCHER_Prop_adjust4Value 330 /* LONG used and their allowable ranges vary */ -#define ESCHER_Prop_adjust5Value 331 /* LONG from shape type to shape type. */ -#define ESCHER_Prop_adjust6Value 332 /* LONG */ -#define ESCHER_Prop_adjust7Value 333 /* LONG */ -#define ESCHER_Prop_adjust8Value 334 /* LONG */ -#define ESCHER_Prop_adjust9Value 335 /* LONG */ -#define ESCHER_Prop_adjust10Value 336 /* LONG */ -#define ESCHER_Prop_fShadowOK 378 /* BOOL Shadow may be set */ -#define ESCHER_Prop_f3DOK 379 /* BOOL 3D may be set */ -#define ESCHER_Prop_fLineOK 380 /* BOOL Line style may be set */ -#define ESCHER_Prop_fGtextOK 381 /* BOOL Text effect (FontWork) supported */ -#define ESCHER_Prop_fFillShadeShapeOK 382 /* BOOL */ -#define ESCHER_Prop_fFillOK 383 /* BOOL OK to fill the shape through the UI or VBA? */ -// FillStyle -#define ESCHER_Prop_fillType 384 /* ESCHER_FillStyle Type of fill */ -#define ESCHER_Prop_fillColor 385 /* MSOCLR Foreground color */ -#define ESCHER_Prop_fillOpacity 386 /* LONG Fixed 16.16 */ -#define ESCHER_Prop_fillBackColor 387 /* MSOCLR Background color */ -#define ESCHER_Prop_fillBackOpacity 388 /* LONG Shades only */ -#define ESCHER_Prop_fillCrMod 389 /* MSOCLR Modification for BW views */ -#define ESCHER_Prop_fillBlip 390 /* IMsoBlip* Pattern/texture */ -#define ESCHER_Prop_fillBlipName 391 /* WCHAR* Blip file name */ -#define ESCHER_Prop_fillBlipFlags 392 /* MSOBLIPFLAGS Blip flags */ -#define ESCHER_Prop_fillWidth 393 /* LONG How big (A units) to make a metafile texture. */ -#define ESCHER_Prop_fillHeight 394 /* LONG */ -#define ESCHER_Prop_fillAngle 395 /* LONG Fade angle - degrees in 16.16 */ -#define ESCHER_Prop_fillFocus 396 /* LONG Linear shaded fill focus percent */ -#define ESCHER_Prop_fillToLeft 397 /* LONG Fraction 16.16 */ -#define ESCHER_Prop_fillToTop 398 /* LONG Fraction 16.16 */ -#define ESCHER_Prop_fillToRight 399 /* LONG Fraction 16.16 */ -#define ESCHER_Prop_fillToBottom 400 /* LONG Fraction 16.16 */ -#define ESCHER_Prop_fillRectLeft 401 /* LONG For shaded fills, use the specified rectangle */ -#define ESCHER_Prop_fillRectTop 402 /* LONG instead of the shape's bounding rect to */ -#define ESCHER_Prop_fillRectRight 403 /* LONG define how large the fade is going to be. */ -#define ESCHER_Prop_fillRectBottom 404 /* LONG */ -#define ESCHER_Prop_fillDztype 405 /* MSODZTYPE */ -#define ESCHER_Prop_fillShadePreset 406 /* LONG Special shades */ -#define ESCHER_Prop_fillShadeColors 407 /* IMsoArray a preset array of colors */ -#define ESCHER_Prop_fillOriginX 408 /* LONG */ -#define ESCHER_Prop_fillOriginY 409 /* LONG */ -#define ESCHER_Prop_fillShapeOriginX 410 /* LONG */ -#define ESCHER_Prop_fillShapeOriginY 411 /* LONG */ -#define ESCHER_Prop_fillShadeType 412 /* MSOSHADETYPE Type of shading, if a shaded (gradient) fill. */ -#define ESCHER_Prop_fFilled 443 /* BOOL Is shape filled? */ -#define ESCHER_Prop_fHitTestFill 444 /* BOOL Should we hit test fill? */ -#define ESCHER_Prop_fillShape 445 /* BOOL Register pattern on shape */ -#define ESCHER_Prop_fillUseRect 446 /* BOOL Use the large rect? */ -#define ESCHER_Prop_fNoFillHitTest 447 /* BOOL Hit test a shape as though filled */ -// LineStyle -#define ESCHER_Prop_lineColor 448 /* MSOCLR Color of line */ -#define ESCHER_Prop_lineOpacity 449 /* LONG Not implemented */ -#define ESCHER_Prop_lineBackColor 450 /* MSOCLR Background color */ -#define ESCHER_Prop_lineCrMod 451 /* MSOCLR Modification for BW views */ -#define ESCHER_Prop_lineType 452 /* MSOLINETYPE Type of line */ -#define ESCHER_Prop_lineFillBlip 453 /* IMsoBlip* Pattern/texture */ -#define ESCHER_Prop_lineFillBlipName 454 /* WCHAR* Blip file name */ -#define ESCHER_Prop_lineFillBlipFlags 455 /* MSOBLIPFLAGS Blip flags */ -#define ESCHER_Prop_lineFillWidth 456 /* LONG How big (A units) to make */ -#define ESCHER_Prop_lineFillHeight 457 /* LONG a metafile texture. */ -#define ESCHER_Prop_lineFillDztype 458 /* MSODZTYPE How to interpret fillWidth/Height numbers. */ -#define ESCHER_Prop_lineWidth 459 /* LONG A units; 1pt == 12700 EMUs */ -#define ESCHER_Prop_lineMiterLimit 460 /* LONG ratio (16.16) of width */ -#define ESCHER_Prop_lineStyle 461 /* MSOLINESTYLE Draw parallel lines? */ -#define ESCHER_Prop_lineDashing 462 /* MSOLINEDASHING Can be overridden by: */ -#define ESCHER_Prop_lineDashStyle 463 /* IMsoArray As Win32 ExtCreatePen */ -#define ESCHER_Prop_lineStartArrowhead 464 /* MSOLINEEND Arrow at start */ -#define ESCHER_Prop_lineEndArrowhead 465 /* MSOLINEEND Arrow at end */ -#define ESCHER_Prop_lineStartArrowWidth 466 /* MSOLINEENDWIDTH Arrow at start */ -#define ESCHER_Prop_lineStartArrowLength 467 /* MSOLINEENDLENGTH Arrow at end */ -#define ESCHER_Prop_lineEndArrowWidth 468 /* MSOLINEENDWIDTH Arrow at start */ -#define ESCHER_Prop_lineEndArrowLength 469 /* MSOLINEENDLENGTH Arrow at end */ -#define ESCHER_Prop_lineJoinStyle 470 /* MSOLINEJOIN How to join lines */ -#define ESCHER_Prop_lineEndCapStyle 471 /* MSOLINECAP How to end lines */ -#define ESCHER_Prop_fArrowheadsOK 507 /* BOOL Allow arrowheads if prop. is set */ -#define ESCHER_Prop_fLine 508 /* BOOL Any line? */ -#define ESCHER_Prop_fHitTestLine 509 /* BOOL Should we hit test lines? */ -#define ESCHER_Prop_lineFillShape 510 /* BOOL Register pattern on shape */ -#define ESCHER_Prop_fNoLineDrawDash 511 /* BOOL Draw a dashed line if no line */ -// ShadowStyle -#define ESCHER_Prop_shadowType 512 /* MSOSHADOWTYPE Type of effect */ -#define ESCHER_Prop_shadowColor 513 /* MSOCLR Foreground color */ -#define ESCHER_Prop_shadowHighlight 514 /* MSOCLR Embossed color */ -#define ESCHER_Prop_shadowCrMod 515 /* MSOCLR Modification for BW views */ -#define ESCHER_Prop_shadowOpacity 516 /* LONG Fixed 16.16 */ -#define ESCHER_Prop_shadowOffsetX 517 /* LONG Offset shadow */ -#define ESCHER_Prop_shadowOffsetY 518 /* LONG Offset shadow */ -#define ESCHER_Prop_shadowSecondOffsetX 519 /* LONG Double offset shadow */ -#define ESCHER_Prop_shadowSecondOffsetY 520 /* LONG Double offset shadow */ -#define ESCHER_Prop_shadowScaleXToX 521 /* LONG 16.16 */ -#define ESCHER_Prop_shadowScaleYToX 522 /* LONG 16.16 */ -#define ESCHER_Prop_shadowScaleXToY 523 /* LONG 16.16 */ -#define ESCHER_Prop_shadowScaleYToY 524 /* LONG 16.16 */ -#define ESCHER_Prop_shadowPerspectiveX 525 /* LONG 16.16 / weight */ -#define ESCHER_Prop_shadowPerspectiveY 526 /* LONG 16.16 / weight */ -#define ESCHER_Prop_shadowWeight 527 /* LONG scaling factor */ -#define ESCHER_Prop_shadowOriginX 528 /* LONG */ -#define ESCHER_Prop_shadowOriginY 529 /* LONG */ -#define ESCHER_Prop_fShadow 574 /* BOOL Any shadow? */ -#define ESCHER_Prop_fshadowObscured 575 /* BOOL Excel5-style shadow */ -// PerspectiveStyle -#define ESCHER_Prop_perspectiveType 576 /* MSOXFORMTYPE Where transform applies */ -#define ESCHER_Prop_perspectiveOffsetX 577 /* LONG The LONG values define a */ -#define ESCHER_Prop_perspectiveOffsetY 578 /* LONG transformation matrix, */ -#define ESCHER_Prop_perspectiveScaleXToX 579 /* LONG effectively, each value */ -#define ESCHER_Prop_perspectiveScaleYToX 580 /* LONG is scaled by the */ -#define ESCHER_Prop_perspectiveScaleXToY 581 /* LONG perspectiveWeight parameter. */ -#define ESCHER_Prop_perspectiveScaleYToY 582 /* LONG */ -#define ESCHER_Prop_perspectivePerspectiveX 583 /* LONG */ -#define ESCHER_Prop_perspectivePerspectiveY 584 /* LONG */ -#define ESCHER_Prop_perspectiveWeight 585 /* LONG Scaling factor */ -#define ESCHER_Prop_perspectiveOriginX 586 /* LONG */ -#define ESCHER_Prop_perspectiveOriginY 587 /* LONG */ -#define ESCHER_Prop_fPerspective 639 /* BOOL On/off */ -// 3D Object -#define ESCHER_Prop_c3DSpecularAmt 640 /* LONG Fixed-point 16.16 */ -#define ESCHER_Prop_c3DDiffuseAmt 641 /* LONG Fixed-point 16.16 */ -#define ESCHER_Prop_c3DShininess 642 /* LONG Default gives OK results */ -#define ESCHER_Prop_c3DEdgeThickness 643 /* LONG Specular edge thickness */ -#define ESCHER_Prop_c3DExtrudeForward 644 /* LONG Distance of extrusion in EMUs */ -#define ESCHER_Prop_c3DExtrudeBackward 645 /* LONG */ -#define ESCHER_Prop_c3DExtrudePlane 646 /* LONG Extrusion direction */ -#define ESCHER_Prop_c3DExtrusionColor 647 /* MSOCLR Basic color of extruded part of shape; the lighting model used will determine the exact shades used when rendering. */ -#define ESCHER_Prop_c3DCrMod 648 /* MSOCLR Modification for BW views */ -#define ESCHER_Prop_f3D 700 /* BOOL Does this shape have a 3D effect? */ -#define ESCHER_Prop_fc3DMetallic 701 /* BOOL Use metallic specularity? */ -#define ESCHER_Prop_fc3DUseExtrusionColor 702 /* BOOL */ -#define ESCHER_Prop_fc3DLightFace 703 /* BOOL */ -// 3D Style -#define ESCHER_Prop_c3DYRotationAngle 704 /* LONG degrees (16.16) about y axis */ -#define ESCHER_Prop_c3DXRotationAngle 705 /* LONG degrees (16.16) about x axis */ -#define ESCHER_Prop_c3DRotationAxisX 706 /* LONG These specify the rotation axis; */ -#define ESCHER_Prop_c3DRotationAxisY 707 /* LONG only their relative magnitudes */ -#define ESCHER_Prop_c3DRotationAxisZ 708 /* LONG matter. */ -#define ESCHER_Prop_c3DRotationAngle 709 /* LONG degrees (16.16) about axis */ -#define ESCHER_Prop_c3DRotationCenterX 710 /* LONG rotation center x (16.16 or g-units) */ -#define ESCHER_Prop_c3DRotationCenterY 711 /* LONG rotation center y (16.16 or g-units) */ -#define ESCHER_Prop_c3DRotationCenterZ 712 /* LONG rotation center z (absolute (emus)) */ -#define ESCHER_Prop_c3DRenderMode 713 /* MSO3DRENDERMODE Full,wireframe, or bcube */ -#define ESCHER_Prop_c3DTolerance 714 /* LONG pixels (16.16) */ -#define ESCHER_Prop_c3DXViewpoint 715 /* LONG X view point (emus) */ -#define ESCHER_Prop_c3DYViewpoint 716 /* LONG Y view point (emus) */ -#define ESCHER_Prop_c3DZViewpoint 717 /* LONG Z view distance (emus) */ -#define ESCHER_Prop_c3DOriginX 718 /* LONG */ -#define ESCHER_Prop_c3DOriginY 719 /* LONG */ -#define ESCHER_Prop_c3DSkewAngle 720 /* LONG degree (16.16) skew angle */ -#define ESCHER_Prop_c3DSkewAmount 721 /* LONG Percentage skew amount */ -#define ESCHER_Prop_c3DAmbientIntensity 722 /* LONG Fixed point intensity */ -#define ESCHER_Prop_c3DKeyX 723 /* LONG Key light source direc- */ -#define ESCHER_Prop_c3DKeyY 724 /* LONG tion; only their relative */ -#define ESCHER_Prop_c3DKeyZ 725 /* LONG magnitudes matter */ -#define ESCHER_Prop_c3DKeyIntensity 726 /* LONG Fixed point intensity */ -#define ESCHER_Prop_c3DFillX 727 /* LONG Fill light source direc- */ -#define ESCHER_Prop_c3DFillY 728 /* LONG tion; only their relative */ -#define ESCHER_Prop_c3DFillZ 729 /* LONG magnitudes matter */ -#define ESCHER_Prop_c3DFillIntensity 730 /* LONG Fixed point intensity */ -#define ESCHER_Prop_fc3DConstrainRotation 763 /* BOOL */ -#define ESCHER_Prop_fc3DRotationCenterAuto 764 /* BOOL */ -#define ESCHER_Prop_fc3DParallel 765 /* BOOL Parallel projection? */ -#define ESCHER_Prop_fc3DKeyHarsh 766 /* BOOL Is key lighting harsh? */ -#define ESCHER_Prop_fc3DFillHarsh 767 /* BOOL Is fill lighting harsh? */ -// Shape -#define ESCHER_Prop_hspMaster 769 /* MSOHSP master shape */ -#define ESCHER_Prop_cxstyle 771 /* MSOCXSTYLE Type of connector */ -#define ESCHER_Prop_bWMode 772 /* ESCHERwMode Settings for modifications to */ -#define ESCHER_Prop_bWModePureBW 773 /* ESCHERwMode be made when in different */ -#define ESCHER_Prop_bWModeBW 774 /* ESCHERwMode forms of black-and-white mode. */ -#define ESCHER_Prop_fOleIcon 826 /* BOOL For OLE objects, whether the object is in icon form */ -#define ESCHER_Prop_fPreferRelativeResize 827 /* BOOL For UI only. Prefer relative resizing. */ -#define ESCHER_Prop_fLockShapeType 828 /* BOOL Lock the shape type (don't allow Change Shape) */ -#define ESCHER_Prop_fDeleteAttachedObject 830 /* BOOL */ -#define ESCHER_Prop_fBackground 831 /* BOOL If TRUE, this is the background shape. */ -// Callout -#define ESCHER_Prop_spcot 832 /* MSOSPCOT Callout type */ -#define ESCHER_Prop_dxyCalloutGap 833 /* LONG Distance from box to first point.(EMUs) */ -#define ESCHER_Prop_spcoa 834 /* MSOSPCOA Callout angle */ -#define ESCHER_Prop_spcod 835 /* MSOSPCOD Callout drop type */ -#define ESCHER_Prop_dxyCalloutDropSpecified 836 /* LONG if msospcodSpecified, the actual drop distance */ -#define ESCHER_Prop_dxyCalloutLengthSpecified 837 /* LONG if fCalloutLengthSpecified, the actual distance */ -#define ESCHER_Prop_fCallout 889 /* BOOL Is the shape a callout? */ -#define ESCHER_Prop_fCalloutAccentBar 890 /* BOOL does callout have accent bar */ -#define ESCHER_Prop_fCalloutTextBorder 891 /* BOOL does callout have a text border */ -#define ESCHER_Prop_fCalloutMinusX 892 /* BOOL */ -#define ESCHER_Prop_fCalloutMinusY 893 /* BOOL */ -#define ESCHER_Prop_fCalloutDropAuto 894 /* BOOL If true, then we occasionally invert the drop distance */ -#define ESCHER_Prop_fCalloutLengthSpecified 895 /* BOOL if true, we look at dxyCalloutLengthSpecified */ -// GroupShape -#define ESCHER_Prop_wzName 896 /* WCHAR* Shape Name (present only if explicitly set) */ -#define ESCHER_Prop_wzDescription 897 /* WCHAR* alternate text */ -#define ESCHER_Prop_pihlShape 898 /* IHlink* The hyperlink in the shape. */ -#define ESCHER_Prop_pWrapPolygonVertices 899 /* IMsoArray The polygon that text will be wrapped around (Word) */ -#define ESCHER_Prop_dxWrapDistLeft 900 /* LONG Left wrapping distance from text (Word) */ -#define ESCHER_Prop_dyWrapDistTop 901 /* LONG Top wrapping distance from text (Word) */ -#define ESCHER_Prop_dxWrapDistRight 902 /* LONG Right wrapping distance from text (Word) */ -#define ESCHER_Prop_dyWrapDistBottom 903 /* LONG Bottom wrapping distance from text (Word) */ -#define ESCHER_Prop_lidRegroup 904 /* LONG Regroup ID */ -#define ESCHER_Prop_tableProperties 927 -#define ESCHER_Prop_tableRowProperties 928 -#define ESCHER_Prop_fEditedWrap 953 /* BOOL Has the wrap polygon been edited? */ -#define ESCHER_Prop_fBehindDocument 954 /* BOOL Word-only (shape is behind text) */ -#define ESCHER_Prop_fOnDblClickNotify 955 /* BOOL Notify client on a double click */ -#define ESCHER_Prop_fIsButton 956 /* BOOL A button shape (i.e., clicking performs an action). Set for shapes with attached hyperlinks or macros. */ -#define ESCHER_Prop_fOneD 957 /* BOOL 1D adjustment */ -#define ESCHER_Prop_fHidden 958 /* BOOL Do not display */ -#define ESCHER_Prop_fPrint 959 /* BOOL Print this shape */ - -#define ESCHER_PERSISTENTRY_PREALLOCATE 64 - -#define ESCHER_Persist_PrivateEntry 0x80000000 -#define ESCHER_Persist_Dgg 0x00010000 -#define ESCHER_Persist_Dgg_FIDCL 0x00010001 -#define ESCHER_Persist_Dg 0x00020000 -#define ESCHER_Persist_BlibStoreContainer 0x00030000 -#define ESCHER_Persist_CurrentPosition 0x00040000 -#define ESCHER_Persist_Grouping_Snap 0x00050000 -#define ESCHER_Persist_Grouping_Logic 0x00060000 - -// --------------------------------------------------------------------------------------------- - -namespace com { namespace sun { namespace star { - namespace awt { - struct Gradient; - } - namespace drawing { - struct EnhancedCustomShapeAdjustmentValue; - class XShape; - } -}}} - -struct SVX_DLLPUBLIC EscherConnectorListEntry -{ - ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > mXConnector; - ::com::sun::star::awt::Point maPointA; - ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > mXConnectToA; - ::com::sun::star::awt::Point maPointB; - ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > mXConnectToB; - - sal_uInt32 GetConnectorRule( sal_Bool bFirst ); - - EscherConnectorListEntry( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rC, - const ::com::sun::star::awt::Point& rPA, - ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rSA , - const ::com::sun::star::awt::Point& rPB, - ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rSB ) : - mXConnector ( rC ), - maPointA ( rPA ), - mXConnectToA( rSA ), - maPointB ( rPB ), - mXConnectToB( rSB ) {} - - sal_uInt32 GetClosestPoint( const Polygon& rPoly, const ::com::sun::star::awt::Point& rP ); -}; - -struct SVX_DLLPUBLIC EscherExContainer -{ - sal_uInt32 nContPos; - SvStream& rStrm; - - EscherExContainer( SvStream& rSt, const sal_uInt16 nRecType, const sal_uInt16 nInstance = 0 ); - ~EscherExContainer(); -}; -struct SVX_DLLPUBLIC EscherExAtom -{ - sal_uInt32 nContPos; - SvStream& rStrm; - - EscherExAtom( SvStream& rSt, const sal_uInt16 nRecType, const sal_uInt16 nInstance = 0, const sal_uInt8 nVersion = 0 ); - ~EscherExAtom(); -}; - -struct EscherPropertyValueHelper -{ - static sal_Bool GetPropertyValue( - ::com::sun::star::uno::Any& rAny, - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &, - const String& rPropertyName, - sal_Bool bTestPropertyAvailability = sal_False ); - - static ::com::sun::star::beans::PropertyState GetPropertyState( - const ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet > &, - const String& rPropertyName ); -}; - -// --------------------------------------------------------------------------------------------- - -struct EscherPersistEntry -{ - UINT32 mnID; - UINT32 mnOffset; - EscherPersistEntry( UINT32 nId, UINT32 nOffset ) { mnID = nId; mnOffset = nOffset; }; - -}; - -// --------------------------------------------------------------------------------------------- - -class SvMemoryStream; -class EscherBlibEntry -{ - - friend class EscherGraphicProvider; - friend class EscherEx; - friend class _EscherEx; - - protected: - - UINT32 mnIdentifier[ 4 ]; - UINT32 mnPictureOffset; // offset auf die grafik im PictureStreams - UINT32 mnSize; // size of real graphic - - UINT32 mnRefCount; // !! reference count - UINT32 mnSizeExtra; // !! size of preceding header - - ESCHER_BlibType meBlibType; - - Size maPrefSize; - MapMode maPrefMapMode; - - sal_Bool mbIsEmpty; - sal_Bool mbIsNativeGraphicPossible; - - public: - - EscherBlibEntry( sal_uInt32 nPictureOffset, const GraphicObject& rObj, - const ByteString& rId, const GraphicAttr* pAttr = NULL ); - - ~EscherBlibEntry(); - - void WriteBlibEntry( SvStream& rSt, sal_Bool bWritePictureOffset, sal_uInt32 nResize = 0 ); - sal_Bool IsEmpty() const { return mbIsEmpty; }; - - BOOL operator==( const EscherBlibEntry& ) const; -}; - -// --------------------------------------------------------------------------------------------- - -#define _E_GRAPH_PROV_USE_INSTANCES 1 -#define _E_GRAPH_PROV_DO_NOT_ROTATE_METAFILES 2 - -class SVX_DLLPUBLIC EscherGraphicProvider -{ - sal_uInt32 mnFlags; - - EscherBlibEntry** mpBlibEntrys; - sal_uInt32 mnBlibBufSize; - sal_uInt32 mnBlibEntrys; - - protected : - - UINT32 ImplInsertBlib( EscherBlibEntry* p_EscherBlibEntry ); - - public : - - sal_uInt32 GetBlibStoreContainerSize( SvStream* pMergePicStreamBSE = NULL ) const; - void WriteBlibStoreContainer( SvStream& rStrm, SvStream* pMergePicStreamBSE = NULL ); - sal_Bool WriteBlibStoreEntry(SvStream& rStrm, sal_uInt32 nBlipId, - sal_Bool bWritePictureOffset, sal_uInt32 nResize = 0); - sal_uInt32 GetBlibID( SvStream& rPicOutStream, const ByteString& rGraphicId, const Rectangle& rBoundRect, - const com::sun::star::awt::Rectangle* pVisArea = NULL, const GraphicAttr* pGrafikAttr = NULL ); - sal_Bool HasGraphics() const { return mnBlibEntrys != 0; }; - - void SetNewBlipStreamOffset( sal_Int32 nOffset ); - - sal_Bool GetPrefSize( const sal_uInt32 nBlibId, Size& rSize, MapMode& rMapMode ); - - EscherGraphicProvider( sal_uInt32 nFlags = _E_GRAPH_PROV_DO_NOT_ROTATE_METAFILES ); - ~EscherGraphicProvider(); - -}; - -class SVX_DLLPUBLIC EscherSolverContainer -{ - List maShapeList; - List maConnectorList; - -public: - - sal_uInt32 GetShapeId( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rShape ) const; - - void AddShape( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > &, sal_uInt32 nId ); - void AddConnector( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > &, - const ::com::sun::star::awt::Point& rA, - ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > &, - const ::com::sun::star::awt::Point& rB, - ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rConB ); - - void WriteSolver( SvStream& ); - - EscherSolverContainer(){}; - ~EscherSolverContainer(); -}; - -// --------------------------------------------------------------------------------------------- - -#define ESCHER_CREATEPOLYGON_LINE 1 -#define ESCHER_CREATEPOLYGON_POLYLINE 2 -#define ESCHER_CREATEPOLYGON_POLYPOLYGON 4 - -class GraphicAttr; -class SdrObjCustomShape; - -struct EscherPropSortStruct -{ - sal_uInt8* pBuf; - sal_uInt32 nPropSize; - sal_uInt32 nPropValue; - sal_uInt16 nPropId; -}; - -typedef std::vector< EscherPropSortStruct > EscherProperties; - -class SVX_DLLPUBLIC EscherPropertyContainer -{ - EscherGraphicProvider* pGraphicProvider; - SvStream* pPicOutStrm; - Rectangle* pShapeBoundRect; - - EscherPropSortStruct* pSortStruct; - - sal_uInt32 nSortCount; - sal_uInt32 nSortBufSize; - sal_uInt32 nCountCount; - sal_uInt32 nCountSize; - - sal_Bool bHasComplexData; - sal_Bool bSuppressRotation; - - - sal_uInt32 ImplGetColor( const sal_uInt32 rColor, sal_Bool bSwap = sal_True ); - void ImplCreateGraphicAttributes( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXPropSet, - sal_uInt32 nBlibId, sal_Bool bCreateCroppingAttributes ); - sal_Bool ImplCreateEmbeddedBmp( const ByteString& rUniqueId ); - void ImplInit(); - - public : - - EscherPropertyContainer(); - EscherPropertyContainer( - EscherGraphicProvider& rGraphicProvider, // the PropertyContainer needs to know - SvStream* pPicOutStrm, // the GraphicProvider to be able to write - Rectangle& rShapeBoundRect ); // FillBitmaps or GraphicObjects. - // under some cirumstances the ShapeBoundRect is adjusted - // this will happen when rotated GraphicObjects - // are saved to PowerPoint - ~EscherPropertyContainer(); - - void AddOpt( sal_uInt16 nPropertyID, const rtl::OUString& rString ); - - void AddOpt( sal_uInt16 nPropertyID, sal_uInt32 nPropValue, - sal_Bool bBlib = sal_False ); - - void AddOpt( sal_uInt16 nPropertyID, sal_Bool bBlib, sal_uInt32 nPropValue, - sal_uInt8* pProp, sal_uInt32 nPropSize ); - - sal_Bool GetOpt( sal_uInt16 nPropertyID, sal_uInt32& rPropValue ) const; - - sal_Bool GetOpt( sal_uInt16 nPropertyID, EscherPropSortStruct& rPropValue ) const; - - EscherProperties GetOpts() const; - - void Commit( SvStream& rSt, sal_uInt16 nVersion = 3, sal_uInt16 nRecType = ESCHER_OPT ); - - sal_Bool CreateOLEGraphicProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rXOleObject ); - - /** Creates a complex ESCHER_Prop_fillBlip containing the BLIP directly (for Excel charts). */ - sal_Bool CreateEmbeddedBitmapProperties( const ::rtl::OUString& rBitmapUrl, - ::com::sun::star::drawing::BitmapMode eBitmapMode ); - /** Creates a complex ESCHER_Prop_fillBlip containing a hatch style (for Excel charts). */ - sal_Bool CreateEmbeddedHatchProperties( const ::com::sun::star::drawing::Hatch& rHatch, - const Color& rBackColor, bool bFillBackground ); - - // the GraphicProperties will only be created if a GraphicProvider and PicOutStrm is known - // DR: #99897# if no GraphicProvider is present, a complex ESCHER_Prop_fillBlip - // will be created, containing the BLIP directly (e.g. for Excel charts). - sal_Bool CreateGraphicProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXPropSet, - const String& rSource, const sal_Bool bCreateFillBitmap, const sal_Bool bCreateCroppingAttributes = sal_False, - const sal_Bool bFillBitmapModeAllowed = sal_True ); - - sal_Bool CreatePolygonProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXPropSet, - sal_uInt32 nFlags, sal_Bool bBezier, ::com::sun::star::awt::Rectangle& rGeoRect, Polygon* pPolygon = NULL ); - - static sal_uInt32 GetGradientColor( const ::com::sun::star::awt::Gradient* pGradient, sal_uInt32 nStartColor ); - - void CreateGradientProperties( const ::com::sun::star::awt::Gradient & rGradient ); - void CreateGradientProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & ); - void CreateLineProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &, sal_Bool bEdge ); - void CreateFillProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &, sal_Bool bEdge ); - void CreateTextProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &, sal_uInt32 nText, - const sal_Bool bIsCustomShape = sal_False, const sal_Bool bIsTextFrame = sal_True ); - - sal_Bool CreateConnectorProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rXShape, - EscherSolverContainer& rSolver, ::com::sun::star::awt::Rectangle& rGeoRect, - sal_uInt16& rShapeType, sal_uInt16& rShapeFlags ); - - // Because shadow properties depends to the line and fillstyle, the CreateShadowProperties method should be called at last. - // It activ only when at least a FillStyle or LineStyle is set. - sal_Bool CreateShadowProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & ); - - // creates all necessary CustomShape properties, this includes also Text-, Shadow-, Fill-, and LineProperties - void CreateCustomShapeProperties( const MSO_SPT eShapeType, const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & ); - sal_Bool IsFontWork() const; - - // helper functions which are also used by the escher import - static PolyPolygon GetPolyPolygon( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rXShape ); - static PolyPolygon GetPolyPolygon( const ::com::sun::star::uno::Any& rSource ); - static MSO_SPT GetCustomShapeType( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rXShape, sal_uInt32& nMirrorFlags ); - static MSO_SPT GetCustomShapeType( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rXShape, sal_uInt32& nMirrorFlags, rtl::OUString& rShapeType ); - - // helper functions which are also used in ooxml export - static sal_Bool GetLineArrow( const sal_Bool bLineStart, - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXPropSet, - ESCHER_LineEnd& reLineEnd, sal_Int32& rnArrowLength, sal_Int32& rnArrowWidth ); - static sal_Bool IsDefaultObject( SdrObjCustomShape* pCustoShape ); - static void LookForPolarHandles( const MSO_SPT eShapeType, sal_Int32& nAdjustmentsWhichNeedsToBeConverted ); - static sal_Bool GetAdjustmentValue( const com::sun::star::drawing::EnhancedCustomShapeAdjustmentValue & rkProp, sal_Int32 nIndex, sal_Int32 nAdjustmentsWhichNeedsToBeConverted, sal_Int32& nValue ); -}; - -// --------------------------------------------------------------------------------------------- - -class SVX_DLLPUBLIC EscherPersistTable -{ - - public: - List maPersistTable; - - BOOL PtIsID( UINT32 nID ); - void PtInsert( UINT32 nID, UINT32 nOfs ); - UINT32 PtDelete( UINT32 nID ); - UINT32 PtGetOffsetByID( UINT32 nID ); - UINT32 PtReplace( UINT32 nID, UINT32 nOfs ); - UINT32 PtReplaceOrInsert( UINT32 nID, UINT32 nOfs ); - UINT32 PtGetCount() const { return maPersistTable.Count(); }; - - EscherPersistTable(); - virtual ~EscherPersistTable(); -}; - -// --------------------------------------------------------------------------------------------- - -class EscherEx; - -/// abstract base class for ESCHER_ClientTextbox, ESCHER_ClientData -class SVX_DLLPUBLIC EscherExClientRecord_Base -{ -public: - EscherExClientRecord_Base() {} - virtual ~EscherExClientRecord_Base(); - - /// Application writes the record header - /// using rEx.AddAtom(...) followed by - /// record data written to rEx.GetStream() - virtual void WriteData( EscherEx& rEx ) const = 0; -}; - - -/// abstract base class for ESCHER_ClientAnchor -class SVX_DLLPUBLIC EscherExClientAnchor_Base -{ -public: - EscherExClientAnchor_Base() {} - virtual ~EscherExClientAnchor_Base(); - - /// Application writes the record header - /// using rEx.AddAtom(...) followed by - /// record data written to rEx.GetStream() - virtual void WriteData( EscherEx& rEx, - const Rectangle& rRect ) = 0; -}; - - -class EscherExHostAppData -{ -private: - EscherExClientAnchor_Base* pClientAnchor; - EscherExClientRecord_Base* pClientData; - EscherExClientRecord_Base* pClientTextbox; - // ignore single shape if entire pages are written - BOOL bDontWriteShape; - -public: - EscherExHostAppData() : pClientAnchor(0), pClientData(0), - pClientTextbox(0), bDontWriteShape(FALSE) - {} - - void SetClientAnchor( EscherExClientAnchor_Base* p ) - { pClientAnchor = p; } - void SetClientData( EscherExClientRecord_Base* p ) - { pClientData = p; } - void SetClientTextbox( EscherExClientRecord_Base* p ) - { pClientTextbox = p; } - void SetDontWriteShape( BOOL b ) - { bDontWriteShape = b; } - EscherExClientAnchor_Base* GetClientAnchor() const - { return pClientAnchor; } - EscherExClientRecord_Base* GetClientData() const - { return pClientData; } - EscherExClientRecord_Base* GetClientTextbox() const - { return pClientTextbox; } - - void WriteClientAnchor( EscherEx& rEx, const Rectangle& rRect ) - { if( pClientAnchor ) pClientAnchor->WriteData( rEx, rRect ); } - void WriteClientData( EscherEx& rEx ) - { if( pClientData ) pClientData->WriteData( rEx ); } - void WriteClientTextbox( EscherEx& rEx ) - { if( pClientTextbox ) pClientTextbox->WriteData( rEx ); } - - BOOL DontWriteShape() const { return bDontWriteShape; } -}; - - -// --------------------------------------------------------------------------------------------- - -class SdrObject; -class SdrPage; -class ImplEscherExSdr; -class Color; - -class Graphic; -class SvMemoryStream; -class SvStream; - -class SVX_DLLPUBLIC EscherEx : public EscherPersistTable, public EscherGraphicProvider -{ - protected : - - SvStream* mpOutStrm; - ImplEscherExSdr* mpImplEscherExSdr; - UINT32 mnStrmStartOfs; - std::vector< sal_uInt32 > mOffsets; - std::vector< sal_uInt16 > mRecTypes; - - UINT32 mnDrawings; - UINT32 mnFIDCLs; // anzahl der cluster ID's - - UINT32 mnCurrentDg; - UINT32 mnCurrentShapeID; // die naechste freie ID - UINT32 mnCurrentShapeMaximumID; // die hoechste und auch benutzte ID - UINT32 mnTotalShapesDg; // anzahl der shapes im Dg - UINT32 mnTotalShapeIdUsedDg; // anzahl der benutzten shape Id's im Dg - UINT32 mnTotalShapesDgg; // anzahl der shapes im Dgg - UINT32 mnCountOfs; - - UINT32 mnGroupLevel; - UINT16 mnHellLayerId; - - BOOL mbEscherSpgr; - BOOL mbEscherDgg; - BOOL mbEscherDg; - BOOL mbOleEmf; // OLE is EMF instead of WMF - - - virtual BOOL DoSeek( UINT32 nKey ); - - public: - - EscherEx( SvStream& rOut, UINT32 nDrawings ); - - /// Fuegt in den EscherStream interne Daten ein, dieser Vorgang - /// darf und muss nur einmal ausgefuehrt werden. - /// Wenn pPicStreamMergeBSE angegeben ist, werden die BLIPs - /// aus diesem Stream in die MsofbtBSE Records des EscherStream - /// gemerged, wie es fuer Excel (und Word?) benoetigt wird. - virtual void Flush( SvStream* pPicStreamMergeBSE = NULL ); - - virtual ~EscherEx(); - - // Application may overload this function to maintain an offset - // table for specific regions but MUST call this function too. - virtual void InsertAtCurrentPos( UINT32 nBytes, BOOL bCont = FALSE );// es werden nBytes an der aktuellen Stream Position eingefuegt, - // die PersistantTable und interne Zeiger angepasst - - void InsertPersistOffset( UINT32 nKey, UINT32 nOffset ); // Es wird nicht geprueft, ob sich jener schluessel schon in der PersistantTable befindet - BOOL SeekToPersistOffset( UINT32 nKey ); - virtual BOOL InsertAtPersistOffset( UINT32 nKey, UINT32 nValue );// nValue wird im Stream an entrsprechender Stelle eingefuegt(overwrite modus), ohne dass sich die - // aktuelle StreamPosition aendert - - SvStream& GetStream() const { return *mpOutStrm; } - ULONG GetStreamPos() const { return mpOutStrm->Tell(); } - - virtual BOOL SeekBehindRecHeader( UINT16 nRecType ); // der stream muss vor einem gueltigen Record Header oder Atom stehen - - // features beim erzeugen folgender Container: - // - // ESCHER_DggContainer: ein EscherDgg Atom wird automatisch erzeugt und verwaltet - // ESCHER_DgContainer: ein EscherDg Atom wird automatisch erzeugt und verwaltet - // ESCHER_SpgrContainer: - // ESCHER_SpContainer: - - virtual void OpenContainer( UINT16 nEscherContainer, int nRecInstance = 0 ); - virtual void CloseContainer(); - - virtual void BeginAtom(); - virtual void EndAtom( UINT16 nRecType, int nRecVersion = 0, int nRecInstance = 0 ); - virtual void AddAtom( UINT32 nAtomSitze, UINT16 nRecType, int nRecVersion = 0, int nRecInstance = 0 ); - virtual void AddChildAnchor( const Rectangle& rRectangle ); - virtual void AddClientAnchor( const Rectangle& rRectangle ); - - virtual UINT32 EnterGroup( const String& rShapeName, const Rectangle* pBoundRect = 0 ); - UINT32 EnterGroup( const Rectangle* pBoundRect = NULL ); - UINT32 GetGroupLevel() const { return mnGroupLevel; }; - virtual BOOL SetGroupSnapRect( UINT32 nGroupLevel, const Rectangle& rRect ); - virtual BOOL SetGroupLogicRect( UINT32 nGroupLevel, const Rectangle& rRect ); - virtual void LeaveGroup(); - - // ein ESCHER_Sp wird geschrieben ( Ein ESCHER_DgContainer muss dazu geoeffnet sein !!) - virtual void AddShape( UINT32 nShpInstance, UINT32 nFlagIds, UINT32 nShapeID = 0 ); - // reserviert eine ShapeId - UINT32 GetShapeID(); - - virtual void Commit( EscherPropertyContainer& rProps, const Rectangle& rRect ); - - UINT32 GetColor( const UINT32 nColor, BOOL bSwap = TRUE ); - UINT32 GetColor( const Color& rColor, BOOL bSwap = TRUE ); - - // OLE is written as EMF instead of WMF (default WMF) - void SetOleEmf( BOOL bVal ) { mbOleEmf = bVal; } - BOOL IsOleEmf() const { return mbOleEmf; } - - // ...Sdr... implemented in eschesdo.cxx - - void AddSdrPage( const SdrPage& rPage ); - - /// returns the ShapeID - UINT32 AddSdrObject( const SdrObject& rObj ); - - /// If objects are written through AddSdrObject the - /// SolverContainer has to be written, and maybe some - /// maintenance to be done. - void EndSdrObjectPage(); - - /// Called before a shape is written, application supplies - /// ClientRecords. May set AppData::bDontWriteShape so the - /// shape is ignored. - virtual EscherExHostAppData* StartShape( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& rShape ); - - /// Called after a shape is written to inform the application - /// of the resulted shape type and ID. - virtual void EndShape( UINT16 nShapeType, UINT32 nShapeID ); - - /// Called before an AdditionalText EnterGroup occurs. - /// The current shape will be written in three parts: - /// a group shape, the shape itself, and an extra textbox shape. - /// The complete flow is: - /// StartShape sets HostData1. - /// EnterAdditionalTextGroup sets HostData2, App may modify - /// HostData1 and keep track of the change. - /// The group shape is written with HostData2. - /// Another StartShape with the same (!) object sets HostData3. - /// The current shape is written with HostData3. - /// EndShape is called for the current shape. - /// Another StartShape with the same (!) object sets HostData4. - /// The textbox shape is written with HostData4. - /// EndShape is called for the textbox shape. - /// EndShape is called for the group shape, this provides - /// the same functionality as an ordinary recursive group. - virtual EscherExHostAppData* EnterAdditionalTextGroup(); - - /// Called if a picture shall be written and no PicStream is - /// set at ImplEscherExSdr - virtual SvStream* QueryPicStream(); - - /// Called if an ESCHER_Prop_lTxid shall be written - virtual UINT32 QueryTextID( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >&, UINT32 nShapeId ); - // add an dummy rectangle shape into the escher stream - UINT32 AddDummyShape(); - - static const SdrObject* GetSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& rXShape ); - - void SetHellLayerId( UINT16 nId ) { mnHellLayerId = nId; } - UINT16 GetHellLayerId() const { return mnHellLayerId; } -}; - - -#endif // _SVX_ESCHEREX_HXX diff --git a/svx/inc/svx/escpitem.hxx b/svx/inc/svx/escpitem.hxx index 3c47837c99e8..f96c3479dd0f 100644 --- a/svx/inc/svx/escpitem.hxx +++ b/svx/inc/svx/escpitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svxenum.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/radiobtnbox.hxx b/svx/inc/svx/exthelpid.hrc index a0477d25b262..bd7b2b1c31aa 100644 --- a/svx/inc/radiobtnbox.hxx +++ b/svx/inc/svx/exthelpid.hrc @@ -6,8 +6,8 @@ * * OpenOffice.org - a multi-platform office productivity suite * - * $RCSfile: radiobtnbox.hxx,v $ - * $Revision: 1.5 $ + * $RCSfile: helpid.hrc,v $ + * $Revision: 1.78 $ * * This file is part of OpenOffice.org. * @@ -27,40 +27,32 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef _SVX_RADIOBTNBOX_HXX -#define _SVX_RADIOBTNBOX_HXX - +#ifndef _SVX_EXTHELPID_HRC +#define _SVX_EXTHELPID_HRC // include --------------------------------------------------------------- -#include <svx/simptabl.hxx> -#include "svx/svxdllapi.h" - -namespace svx { - -// class SvxRadioButtonListBox ------------------------------------------- - -class SVX_DLLPUBLIC SvxRadioButtonListBox : public SvxSimpleTable -{ - using SvxSimpleTable::SetTabs; - -private: - Point m_aCurMousePoint; +#include <svl/solar.hrc> -protected: - virtual void SetTabs(); - virtual void MouseButtonUp( const MouseEvent& _rMEvt ); - virtual void KeyInput( const KeyEvent& rKEvt ); +// these HIDs are used in SVX and also in other modules, mainly CUI +// the reason is that different controls have the same help texts assigned +// but are implemented in different libraries +// to avoid "exporting" the whole HID list only those few ones that are shared +// are moved to this exported (delivered) hrc file -public: - SvxRadioButtonListBox( Window* _pParent, const ResId& _rId ); - ~SvxRadioButtonListBox(); +// Help-Ids -------------------------------------------------------------- +#define HID_GALLERY_ACTUALIZE (HID_SVX_EXT0_START + 0) +#define HID_GALLERY_TITLE (HID_SVX_EXT0_START + 1)
- void HandleEntryChecked( SvLBoxEntry* _pEntry ); +// please adjust ACT_SVX_EXT_HID_END2 below if you add entries here! - const Point& GetCurMousePoint() const; -}; +// ----------------------------------------------------------------------- +// Overrun check --------------------------------------------------------- +// ----------------------------------------------------------------------- -} // end of namespace ::svx +#define ACT_SVX_EXT_HID_END (HID_SVX_EXT0_START + 1) +#if ACT_SVX_EXT_HID_END > HID_SVX_EXT0_END +#error Resource-Ueberlauf in #line, #file +#endif -#endif // #ifndef _SVX_RADIOBTNBOX_HXX +#endif diff --git a/svx/inc/svx/fhgtitem.hxx b/svx/inc/svx/fhgtitem.hxx index 86d09bccfd8a..e77457a94e61 100644 --- a/svx/inc/svx/fhgtitem.hxx +++ b/svx/inc/svx/fhgtitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/fillctrl.hxx b/svx/inc/svx/fillctrl.hxx index 25e8d0c79759..7fb21f9d7b63 100644 --- a/svx/inc/svx/fillctrl.hxx +++ b/svx/inc/svx/fillctrl.hxx @@ -31,7 +31,7 @@ #ifndef _FILLCTRL_HXX #define _FILLCTRL_HXX -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include <sfx2/tbxctrl.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/flditem.hxx b/svx/inc/svx/flditem.hxx index 1ed9ffbf3c57..1d14870d33d3 100644 --- a/svx/inc/svx/flditem.hxx +++ b/svx/inc/svx/flditem.hxx @@ -33,7 +33,7 @@ #include <i18npool/lang.h> #include <tools/time.hxx> #include <tools/date.hxx> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <tools/pstm.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/fmsearch.hxx b/svx/inc/svx/fmsearch.hxx index 30b3ec389907..85e5e94f33ee 100644 --- a/svx/inc/svx/fmsearch.hxx +++ b/svx/inc/svx/fmsearch.hxx @@ -34,7 +34,7 @@ #include <com/sun/star/sdbc/XResultSet.hpp> #define _SVSTDARR_STRINGSDTOR -#include <svtools/svstdarr.hxx> +#include <svl/svstdarr.hxx> #ifndef _DIALOG_HXX //autogen #include <vcl/dialog.hxx> diff --git a/svx/inc/svx/fmtools.hxx b/svx/inc/svx/fmtools.hxx new file mode 100644 index 000000000000..02e063e0314d --- /dev/null +++ b/svx/inc/svx/fmtools.hxx @@ -0,0 +1,383 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2008 by Sun Microsystems, Inc. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: fmtools.hxx,v $ + * $Revision: 1.27 $ + * + * 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 _SVX_FMTOOLS_HXX +#define _SVX_FMTOOLS_HXX + +#include <com/sun/star/sdb/SQLContext.hpp> +#include <com/sun/star/sdb/XSQLQueryComposerFactory.hpp> +#include <com/sun/star/sdbcx/Privilege.hpp> +#include <com/sun/star/sdbcx/XColumnsSupplier.hpp> +#include <com/sun/star/sdbcx/XDataDescriptorFactory.hpp> +#include <com/sun/star/sdbc/XRowSet.hpp> +#include <com/sun/star/sdbc/XDatabaseMetaData.hpp> +#include <com/sun/star/sdb/XColumn.hpp> +#include <com/sun/star/sdb/XColumnUpdate.hpp> +#include <com/sun/star/sdb/SQLErrorEvent.hpp> +#include <com/sun/star/sdbc/XConnection.hpp> +#include <com/sun/star/sdbc/XResultSet.hpp> +#include <com/sun/star/sdbc/XResultSetUpdate.hpp> +#include <com/sun/star/sdbcx/XRowLocate.hpp> +#include <com/sun/star/sdbc/XDataSource.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/frame/XDispatchProviderInterception.hpp> +#include <com/sun/star/frame/XDispatchProviderInterceptor.hpp> +#include <com/sun/star/frame/XInterceptorInfo.hpp> +#include <com/sun/star/container/XIndexContainer.hpp> +#include <com/sun/star/frame/XDispatch.hpp> +#include <com/sun/star/frame/XStatusListener.hpp> +#include <com/sun/star/frame/FeatureStateEvent.hpp> +#include <com/sun/star/frame/XModel.hpp> +#include <com/sun/star/script/ScriptEventDescriptor.hpp> +#include <com/sun/star/container/XNameAccess.hpp> +#include <com/sun/star/container/XEnumeration.hpp> +#include <com/sun/star/container/XIndexAccess.hpp> +#include <com/sun/star/awt/XControlModel.hpp> +#include <com/sun/star/awt/XControl.hpp> +#include <com/sun/star/awt/FontSlant.hpp> +#include <com/sun/star/awt/FontDescriptor.hpp> +#include <com/sun/star/awt/FontUnderline.hpp> +#include <com/sun/star/awt/FontStrikeout.hpp> +#include <com/sun/star/util/XNumberFormatsSupplier.hpp> +#include <com/sun/star/lang/XServiceInfo.hpp> +#include <vcl/wintypes.hxx> +#include <vos/mutex.hxx> + +#ifndef _SVSTDARR_ULONGS +#define _SVSTDARR_ULONGS +#include <svl/svstdarr.hxx> +#endif +#include <sfx2/ctrlitem.hxx> +#include <tools/link.hxx> +#include <tools/date.hxx> +#include <tools/time.hxx> +#include <tools/datetime.hxx> + +//#include "fmprop.hrc" +#include <com/sun/star/sdbc/XConnection.hpp> +#include <com/sun/star/io/XObjectInputStream.hpp> +#include <com/sun/star/io/XObjectOutputStream.hpp> +#include <com/sun/star/io/XPersistObject.hpp> +#include <com/sun/star/util/XNumberFormatter.hpp> +#include <com/sun/star/util/XNumberFormats.hpp> +#include <cppuhelper/interfacecontainer.h> +#include <cppuhelper/compbase2.hxx> +#include <cppuhelper/compbase3.hxx> +#include <cppuhelper/weakref.hxx> +#include <comphelper/uno3.hxx> +#include <comphelper/stl_types.hxx> +#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase3.hxx> +#include <cppuhelper/component.hxx> + +#include <svx/svxdllapi.h> + +#include <set> + +class Window; + +//================================================================== +// allgemeine Typen +//================================================================== +// displaying a database exception for the user +// display info about a simple ::com::sun::star::sdbc::SQLException +void displayException(const ::com::sun::star::sdbc::SQLException&, Window* _pParent = NULL); +void displayException(const ::com::sun::star::sdbc::SQLWarning&, Window* _pParent = NULL); +SVX_DLLPUBLIC void displayException(const ::com::sun::star::sdb::SQLContext&, Window* _pParent = NULL); +void displayException(const ::com::sun::star::sdb::SQLErrorEvent&, Window* _pParent = NULL); +void displayException(const ::com::sun::star::uno::Any&, Window* _pParent = NULL); + +#define DATA_MODE rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DataMode" ) ) +#define FILTER_MODE rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "FilterMode" ) ) + +// Kopieren von Persistenten Objecten +::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> cloneUsingProperties(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XPersistObject>& _xObj); + +sal_Int32 findPos(const ::rtl::OUString& aStr, const ::com::sun::star::uno::Sequence< ::rtl::OUString>& rList); + +// Suchen in einer Indexliste nach einem Element +sal_Bool searchElement(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>& xCont, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& xElement); + +sal_Int32 getElementPos(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>& xCont, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& xElement); +String getFormComponentAccessPath(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& _xElement); +String getFormComponentAccessPath(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& _xElement, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& _rTopLevelElement); +::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> getElementFromAccessPath(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>& _xParent, const String& _rRelativePath); + + +::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel> getXModel(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& xIface); + +SVX_DLLPUBLIC ::rtl::OUString getLabelName(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& xControlModel); + +// =================================================================================================== +// = class CursorWrapper - eine Hilfsklasse, die parallel mit je einem ::com::sun::star::uno::Reference<XDatabaseUpdateCursor>, +// XDatabaseBookmarkCursor und XDatabaseDirectCursor arbeitet +// =================================================================================================== + +class CursorWrapper +{ +private: + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> m_xGeneric; + ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> m_xMoveOperations; + ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XRowLocate> m_xBookmarkOperations; + ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XColumnsSupplier> m_xColumnsSupplier; + ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> m_xPropertyAccess; + +public: + // Construction/Destruction + CursorWrapper() { } + CursorWrapper(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& _rxCursor, sal_Bool bUseCloned = sal_False); + SVX_DLLPUBLIC CursorWrapper(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet>& _rxCursor, sal_Bool bUseCloned = sal_False); + // bei bUseCloned == sal_True wird der Cursor ueber das XCloneable-Interface (dass er besitzen muss) gedoubled und + // erst dann benutzt + + friend bool operator==(const CursorWrapper& lhs, const CursorWrapper& rhs) + { + return lhs.m_xGeneric.get() == rhs.m_xGeneric.get(); + } + + sal_Bool is() const { return m_xMoveOperations.is(); } + sal_Bool Is() const { return m_xMoveOperations.is(); } + + CursorWrapper* operator ->() { return this; } + operator const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& () const{ return m_xGeneric; } + + // 'Konvertierungen' + const CursorWrapper& operator=(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& xCursor); + operator const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet>& () const { return m_xMoveOperations; } + operator const ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XRowLocate>& () const { return m_xBookmarkOperations; } + operator const ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XColumnsSupplier>& () const { return m_xColumnsSupplier; } + + const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& getPropertySet() const { return m_xPropertyAccess; } + const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& getResultSet() const { return m_xMoveOperations; } + const ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XRowLocate >& getRowLocate() const { return m_xBookmarkOperations; } + const ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XColumnsSupplier >& getColumnsSupplier() const { return m_xColumnsSupplier; } + + // das normale queryInterface + ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& type) throw ( ::com::sun::star::uno::RuntimeException ) + { return m_xMoveOperations->queryInterface(type); } + + // ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XRowLocate> + ::com::sun::star::uno::Any getBookmark(void) + throw( ::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException ) + { return m_xBookmarkOperations->getBookmark(); } + sal_Bool moveToBookmark(const ::com::sun::star::uno::Any& bookmark) throw( ::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException ) { return m_xBookmarkOperations->moveToBookmark(bookmark); } + sal_Bool moveRelativeToBookmark(const ::com::sun::star::uno::Any& bookmark, sal_Int32 rows) throw( ::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException ) { return m_xBookmarkOperations->moveRelativeToBookmark(bookmark, rows); } + sal_Int32 compareBookmarks(const ::com::sun::star::uno::Any& lhs, const ::com::sun::star::uno::Any& rhs) const throw( ::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException ) { return m_xBookmarkOperations->compareBookmarks(lhs, rhs); } + sal_Int32 hasOrderedBookmarks(void) const throw( ::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException ) { return m_xBookmarkOperations->hasOrderedBookmarks(); } + sal_Int32 hashBookmark(const ::com::sun::star::uno::Any& bookmark) const throw( ::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException ) { return m_xBookmarkOperations->hashBookmark(bookmark); } + + // ::com::sun::star::sdbc::XResultSet + sal_Bool isBeforeFirst() const { return m_xMoveOperations->isBeforeFirst(); } + sal_Bool isAfterLast() const { return m_xMoveOperations->isAfterLast(); } + sal_Bool isFirst() const { return m_xMoveOperations->isFirst(); } + sal_Bool isLast() const { return m_xMoveOperations->isLast(); } + void beforeFirst() { m_xMoveOperations->beforeFirst(); } + sal_Bool first() { return m_xMoveOperations->first(); } + sal_Bool last() { return m_xMoveOperations->last(); } + sal_Int32 getRow() const { return m_xMoveOperations->getRow(); } + sal_Bool absolute(sal_Int32 nPosition) { return m_xMoveOperations->absolute(nPosition); } + sal_Bool relative(sal_Int32 nCount) { return m_xMoveOperations->relative(nCount); } + sal_Bool previous() { return m_xMoveOperations->previous(); } + sal_Bool next() { return m_xMoveOperations->next(); } + void refreshRow() { m_xMoveOperations->refreshRow(); } + sal_Bool rowUpdated() { return m_xMoveOperations->rowUpdated(); } + sal_Bool rowInserted() { return m_xMoveOperations->rowInserted(); } + sal_Bool rowDeleted() { return m_xMoveOperations->rowDeleted(); } + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> getStatement() { return m_xMoveOperations->getStatement(); } + // ::com::sun::star::sdbcx::XColumnsSupplier + ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess> getColumns() const throw( ::com::sun::star::uno::RuntimeException ) { return m_xColumnsSupplier->getColumns(); } +private: + void ImplConstruct(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet>& _rxCursor, sal_Bool bUseCloned); +}; + + +class FmXDisposeMultiplexer; +class FmXDisposeListener +{ + friend class FmXDisposeMultiplexer; + + FmXDisposeMultiplexer* m_pAdapter; + ::osl::Mutex& m_rMutex; + +public: + FmXDisposeListener(::osl::Mutex& _rMutex) : m_pAdapter(NULL), m_rMutex(_rMutex) { } + virtual ~FmXDisposeListener(); + + virtual void disposing(const ::com::sun::star::lang::EventObject& _rEvent, sal_Int16 _nId) throw( ::com::sun::star::uno::RuntimeException ) = 0; + +protected: + void setAdapter(FmXDisposeMultiplexer* pAdapter); +}; + +typedef ::cppu::WeakImplHelper1< ::com::sun::star::lang::XEventListener> FmXDisposeMultiplexer_x; +//============================================================================== + + +class FmXDisposeMultiplexer :public ::cppu::WeakImplHelper1< ::com::sun::star::lang::XEventListener> +{ + ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent> m_xObject; + FmXDisposeListener* m_pListener; + sal_Int16 m_nId; + + virtual ~FmXDisposeMultiplexer(); +public: + FmXDisposeMultiplexer(FmXDisposeListener* _pListener, const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent>& _rxObject, sal_Int16 _nId = -1); + +// ::com::sun::star::lang::XEventListener + virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException); + + void dispose(); +}; + +// ================================================================== + +//======================================================================== +//= dispatch interception helper classes +//======================================================================== + +//------------------------------------------------------------------------ +//- FmDispatchInterceptor +//------------------------------------------------------------------------ +class FmDispatchInterceptor +{ +public: + FmDispatchInterceptor() { } + + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch> interceptedQueryDispatch(sal_uInt16 _nId, + const ::com::sun::star::util::URL& aURL, const ::rtl::OUString& aTargetFrameName, sal_Int32 nSearchFlags) throw( ::com::sun::star::uno::RuntimeException ) = 0; + + virtual ::osl::Mutex* getInterceptorMutex() = 0; +}; + +//------------------------------------------------------------------------ +//- FmXDispatchInterceptorImpl +//------------------------------------------------------------------------ +typedef ::cppu::WeakComponentImplHelper3< ::com::sun::star::frame::XDispatchProviderInterceptor + , ::com::sun::star::lang::XEventListener + , ::com::sun::star::frame::XInterceptorInfo + > FmXDispatchInterceptorImpl_BASE; + +class FmXDispatchInterceptorImpl : public FmXDispatchInterceptorImpl_BASE +{ + ::osl::Mutex m_aFallback; + + // the component which's dispatches we're intercepting + ::com::sun::star::uno::WeakReference< ::com::sun::star::frame::XDispatchProviderInterception> + m_xIntercepted; + sal_Bool m_bListening; + + // the real interceptor + FmDispatchInterceptor* m_pMaster; + + // 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; + + // our id + sal_Int16 m_nId; + + ::com::sun::star::uno::Sequence< ::rtl::OUString > + m_aInterceptedURLSchemes; + + virtual ~FmXDispatchInterceptorImpl(); + +public: + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterception> getIntercepted() const { return m_xIntercepted; } + +public: + FmXDispatchInterceptorImpl( + const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterception>& _rToIntercept, + FmDispatchInterceptor* _pMaster, + sal_Int16 _nId, + ::com::sun::star::uno::Sequence< ::rtl::OUString > _rInterceptedSchemes /// if not empty, this will be used for getInterceptedURLs + ); + + // StarOne + DECLARE_UNO3_DEFAULTS(FmXDispatchInterceptorImpl, FmXDispatchInterceptorImpl_BASE); + // virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& type) throw ( ::com::sun::star::uno::RuntimeException ); + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException); + // ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); + + + // ::com::sun::star::frame::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); + + // ::com::sun::star::frame::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); + + // ::com::sun::star::frame::XInterceptorInfo + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getInterceptedURLs( ) throw(::com::sun::star::uno::RuntimeException); + + // ::com::sun::star::lang::XEventListener + virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException); + + // OComponentHelper + virtual void SAL_CALL disposing(); + +protected: + void ImplDetach(); + + ::osl::Mutex& getAccessSafety() + { + if (m_pMaster && m_pMaster->getInterceptorMutex()) + return *m_pMaster->getInterceptorMutex(); + return m_aFallback; + } +}; + +//================================================================== +// ... +//================================================================== +::rtl::OUString getServiceNameByControlType(sal_Int16 nType); + // get a service name to create a model of the given type (OBJ_FM_...) +sal_Int16 getControlTypeByObject(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XServiceInfo>& _rxObject); + // get the object type (OBJ_FM_...) from the services the object supports + +void TransferEventScripts(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel>& xModel, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& xControl, + const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor>& rTransferIfAvailable); + +sal_Int16 GridView2ModelPos(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>& rColumns, sal_Int16 nViewPos); + +//================================================================== +sal_Bool isLoadable(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& xLoad); +sal_Bool isRowSetAlive(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& _rxRowSet); + // checks if the ::com::sun::star::sdbcx::XColumnsSupplier provided by _rxRowSet supllies any columns + +//================================================================== +typedef ::std::set < ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > + , ::comphelper::OInterfaceCompare< ::com::sun::star::uno::XInterface > + > InterfaceBag; + +#endif // _SVX_FMTOOLS_HXX + diff --git a/svx/inc/svx/fntctl.hxx b/svx/inc/svx/fntctl.hxx index 2488ad229fcd..924ae78c4182 100644 --- a/svx/inc/svx/fntctl.hxx +++ b/svx/inc/svx/fntctl.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #include <sfx2/mnuitem.hxx> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/forbiddenruleitem.hxx b/svx/inc/svx/forbiddenruleitem.hxx index 8aea672c726d..24010eacc5ed 100644 --- a/svx/inc/svx/forbiddenruleitem.hxx +++ b/svx/inc/svx/forbiddenruleitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/frmdiritem.hxx b/svx/inc/svx/frmdiritem.hxx index 56678de69b19..e82638c94d95 100644 --- a/svx/inc/svx/frmdiritem.hxx +++ b/svx/inc/svx/frmdiritem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include <svx/frmdir.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/gallery1.hxx b/svx/inc/svx/gallery1.hxx index e3665a47c707..04ae4814c91d 100644 --- a/svx/inc/gallery1.hxx +++ b/svx/inc/svx/gallery1.hxx @@ -34,9 +34,9 @@ #include <tools/string.hxx> #include <tools/list.hxx> #include <tools/urlobj.hxx> -#include <svtools/brdcst.hxx> +#include <svl/brdcst.hxx> #include "svx/svxdllapi.h" -#include "gallery.hrc" +//#include "gallery.hrc" #include <cstdio> #include <list> @@ -81,7 +81,7 @@ public: BOOL IsImported() const { return bImported; } BOOL IsReadOnly() const { return bReadOnly; } - BOOL IsDefault() const { return( ( nId > 0 ) && ( nId != ( RID_GALLERYSTR_THEME_MYTHEME - RID_GALLERYSTR_THEME_START ) ) ); } + BOOL IsDefault() const; BOOL IsHidden() const { return aName.SearchAscii( "private://gallery/hidden/" ) == 0; } diff --git a/svx/inc/galmisc.hxx b/svx/inc/svx/galmisc.hxx index ff7634d876d8..752c7cc005d7 100644 --- a/svx/inc/galmisc.hxx +++ b/svx/inc/svx/galmisc.hxx @@ -34,15 +34,43 @@ #include <sot/storage.hxx> #include <tools/urlobj.hxx> #include <svtools/imap.hxx> -#include <svtools/hint.hxx> +#include <svl/hint.hxx> #include <svtools/transfer.hxx> #include <svx/svdobj.hxx> -#include "galobj.hxx" #include <com/sun/star/uno/Reference.h> -#ifndef _COM_SUN_STAR_AWT_XPROGRESSMONITOR_HPP #include <com/sun/star/awt/XProgressMonitor.hpp> -#endif #include "svx/svxdllapi.h" +#include <tools/date.hxx> +#include <tools/time.hxx> + +// ------------ +// - Forwards - +// ------------ + +class GalleryTheme; + +// ---------------- +// - ExchangeData - +// ---------------- + +struct ExchangeData +{ + GalleryTheme* pTheme; + String aEditedTitle; + Date aThemeChangeDate; + Time aThemeChangeTime; +}; + +enum SgaObjKind +{ + SGA_OBJ_NONE = 0, // Abstraktes Objekt + SGA_OBJ_BMP = 1, // Bitmap-Objekt + SGA_OBJ_SOUND = 2, // Sound-Objekt + SGA_OBJ_VIDEO = 3, // Video-Objekt + SGA_OBJ_ANIM = 4, // Animations-Objekt + SGA_OBJ_SVDRAW = 5, // Svdraw-Objekt + SGA_OBJ_INET = 6 // Grafik aus dem Internet +}; // ----------- // - Defines - diff --git a/svx/inc/svx/grfcrop.hxx b/svx/inc/svx/grfcrop.hxx index 9dd363c6f320..7281bc559b4d 100644 --- a/svx/inc/svx/grfcrop.hxx +++ b/svx/inc/svx/grfcrop.hxx @@ -30,7 +30,7 @@ #ifndef _SVX_GRFCROP_HXX #define _SVX_GRFCROP_HXX -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/hngpnctitem.hxx b/svx/inc/svx/hngpnctitem.hxx index 224933d2a9a5..dad568857bab 100644 --- a/svx/inc/svx/hngpnctitem.hxx +++ b/svx/inc/svx/hngpnctitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/hyznitem.hxx b/svx/inc/svx/hyznitem.hxx index 6e9464090698..0c6f46e09e8c 100644 --- a/svx/inc/svx/hyznitem.hxx +++ b/svx/inc/svx/hyznitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/impgrf.hxx b/svx/inc/svx/impgrf.hxx index d99bbd04d1ea..d99bbd04d1ea 100644 --- a/svx/inc/impgrf.hxx +++ b/svx/inc/svx/impgrf.hxx diff --git a/svx/inc/svx/itemtype.hxx b/svx/inc/svx/itemtype.hxx index a65b9bf79b48..a01bea487147 100644 --- a/svx/inc/svx/itemtype.hxx +++ b/svx/inc/svx/itemtype.hxx @@ -41,7 +41,7 @@ #include <tools/resid.hxx> #include <tools/bigint.hxx> #include <svx/dialmgr.hxx> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <tools/shl.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/keepitem.hxx b/svx/inc/svx/keepitem.hxx index ff1b14f9ff5c..f12f6a79e413 100644 --- a/svx/inc/svx/keepitem.hxx +++ b/svx/inc/svx/keepitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/kernitem.hxx b/svx/inc/svx/kernitem.hxx index 578d414bb77f..9e6f5b81da2b 100644 --- a/svx/inc/svx/kernitem.hxx +++ b/svx/inc/svx/kernitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/langitem.hxx b/svx/inc/svx/langitem.hxx index 73fd969e3176..5345fede13f7 100644 --- a/svx/inc/svx/langitem.hxx +++ b/svx/inc/svx/langitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <i18npool/lang.h> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/svx/lrspitem.hxx b/svx/inc/svx/lrspitem.hxx index 47c97484d97d..1f54209cc82a 100644 --- a/svx/inc/svx/lrspitem.hxx +++ b/svx/inc/svx/lrspitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/lspcitem.hxx b/svx/inc/svx/lspcitem.hxx index 3baa51d7cd7c..e73a3aed11f7 100644 --- a/svx/inc/svx/lspcitem.hxx +++ b/svx/inc/svx/lspcitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svxenum.hxx> #ifndef _SVX_SVXIDS_HRC diff --git a/svx/inc/svx/msdffdef.hxx b/svx/inc/svx/msdffdef.hxx index 442f751ad95e..400eb4be9e54 100644 --- a/svx/inc/svx/msdffdef.hxx +++ b/svx/inc/svx/msdffdef.hxx @@ -1223,97 +1223,4 @@ BYTE m_bTag; void *m_pvBits; // raster bits of the blip. #endif -class SVX_DLLPUBLIC DffRecordHeader -{ - -public: - BYTE nRecVer; // may be DFF_PSFLAG_CONTAINER - UINT16 nRecInstance; - UINT16 nImpVerInst; - UINT16 nRecType; - UINT32 nRecLen; - ULONG nFilePos; -public: - DffRecordHeader() : nRecVer(0), nRecInstance(0), nImpVerInst(0), nRecType(0), nRecLen(0), nFilePos(0) {} - FASTBOOL IsContainer() const { return nRecVer == DFF_PSFLAG_CONTAINER; } - ULONG GetRecBegFilePos() const { return nFilePos; } - ULONG GetRecEndFilePos() const { return nFilePos + DFF_COMMON_RECORD_HEADER_SIZE + nRecLen; } - void SeekToEndOfRecord(SvStream& rIn) const { rIn.Seek(nFilePos + DFF_COMMON_RECORD_HEADER_SIZE + nRecLen ); } - void SeekToContent( SvStream& rIn) const { rIn.Seek(nFilePos + DFF_COMMON_RECORD_HEADER_SIZE ); } - void SeekToBegOfRecord(SvStream& rIn) const { rIn.Seek( nFilePos ); } - - SVX_DLLPUBLIC friend SvStream& operator>>(SvStream& rIn, DffRecordHeader& rRec); - -}; - -struct DffPropFlags -{ - BYTE bSet : 1; - BYTE bComplex : 1; - BYTE bBlip : 1; - BYTE bSoftAttr : 1; -}; - -class SvxMSDffManager; - -class SVX_DLLPUBLIC DffPropSet : public Table -{ - protected : - - UINT32 mpContents[ 1024 ]; - DffPropFlags mpFlags[ 1024 ]; - - public : - - DffPropSet( BOOL bInitialize = FALSE ){ if ( bInitialize ) - memset( mpFlags, 0, 0x400 * sizeof( DffPropFlags ) ); }; - - inline BOOL IsProperty( UINT32 nRecType ) const { return ( mpFlags[ nRecType & 0x3ff ].bSet ); }; - BOOL IsHardAttribute( UINT32 nId ) const; - UINT32 GetPropertyValue( UINT32 nId, UINT32 nDefault = 0 ) const; - /** Returns a boolean property by its real identifier. */ - bool GetPropertyBool( UINT32 nId, bool bDefault = false ) const; - /** Returns a string property. */ - ::rtl::OUString GetPropertyString( UINT32 nId, SvStream& rStrm ) const; - void SetPropertyValue( UINT32 nId, UINT32 nValue ) const; - BOOL SeekToContent( UINT32 nRecType, SvStream& rSt ) const; - void Merge( DffPropSet& rMasterPropSet ) const; - void InitializePropSet() const; - friend SvStream& operator>>( SvStream& rIn, DffPropSet& rPropSet ); -}; - -class SfxItemSet; -class SdrObject; -struct DffObjData; - -class SVX_DLLPUBLIC DffPropertyReader : public DffPropSet -{ - const SvxMSDffManager& rManager; - DffPropSet* pDefaultPropSet; - - void ApplyCustomShapeTextAttributes( SfxItemSet& rSet ) const; - void ApplyCustomShapeAdjustmentAttributes( SfxItemSet& rSet ) const; - void ApplyCustomShapeGeometryAttributes( SvStream& rIn, SfxItemSet& rSet, const DffObjData& rObjData ) const; - void ApplyLineAttributes( SfxItemSet& rSet, const MSO_SPT eShapeType ) const; // #i28269# - void ApplyFillAttributes( SvStream& rIn, SfxItemSet& rSet, const DffObjData& rObjData ) const; - -public: - - INT32 mnFix16Angle; - - DffPropertyReader( const SvxMSDffManager& rManager ); - ~DffPropertyReader(); - INT32 Fix16ToAngle( INT32 nAngle ) const; - -#ifdef DBG_CUSTOMSHAPE - void ReadPropSet( SvStream& rIn, void* pClientData, UINT32 nShapeType = 0 ) const; -#else - void ReadPropSet( SvStream& rIn, void* pClientData ) const; -#endif - - void SetDefaultPropSet( SvStream& rIn, UINT32 nOffDgg ) const; - void ApplyAttributes( SvStream& rIn, SfxItemSet& rSet ) const; - void ApplyAttributes( SvStream& rIn, SfxItemSet& rSet, const DffObjData& rObjData ) const; -}; - #endif diff --git a/svx/inc/svx/msdffimp.hxx b/svx/inc/svx/msdffimp.hxx deleted file mode 100644 index 603a6831fe30..000000000000 --- a/svx/inc/svx/msdffimp.hxx +++ /dev/null @@ -1,773 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: msdffimp.hxx,v $ - * $Revision: 1.4.214.1 $ - * - * 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 _MSDFFIMP_HXX -#define _MSDFFIMP_HXX - -#include <com/sun/star/uno/Reference.h> -#include <com/sun/star/embed/XEmbeddedObject.hpp> -#include <tools/solar.h> // UINTXX -#include <svtools/svarray.hxx> - -#include <tools/color.hxx> -#include <tools/gen.hxx> -#include <tools/table.hxx> -#include <svx/msdffdef.hxx> -#include <svx/msfiltertracer.hxx> -#include <vcl/graph.hxx> -#include <string.h> - -#include <map> -#include <com/sun/star/beans/XPropertySet.hpp> -#include <svx/svxdllapi.h> - -#include <sot/storage.hxx> - -class Graphic; -class SvStream; -class SdrObject; -class SdrOle2Obj; -class SotStorageRef; -class Polygon; -class PolyPolygon; -class FmFormModel; -class SdrModel; -class DffRecordHeader; - -class SwFlyFrmFmt; - -struct SvxMSDffBLIPInfo; -struct SvxMSDffShapeInfo; -struct SvxMSDffShapeOrder; - -#define COL_DEFAULT RGB_COLORDATA( 0xFA, 0xFB, 0xFC ) - -typedef SvxMSDffBLIPInfo* SvxMSDffBLIPInfo_Ptr; - -typedef SvxMSDffShapeInfo* SvxMSDffShapeInfo_Ptr; - -typedef SvxMSDffShapeOrder* SvxMSDffShapeOrder_Ptr; - -typedef ::std::map< sal_Int32, SdrObject* > SvxMSDffShapeIdContainer; - -#define SVEXT_PERSIST_STREAM "\002OlePres000" - -// nach der Reihenfolge des Auftretens sortiert werden: -// -SV_DECL_PTRARR_DEL(SvxMSDffBLIPInfos, SvxMSDffBLIPInfo_Ptr, 16,16) - -SV_DECL_PTRARR_DEL(SvxMSDffShapeOrders, SvxMSDffShapeOrder_Ptr, 16,16) - -// explizit sortiert werden: -// -SV_DECL_PTRARR_SORT_DEL_VISIBILITY(SvxMSDffShapeInfos, SvxMSDffShapeInfo_Ptr, 16,16, SVX_DLLPUBLIC) - -SV_DECL_PTRARR_SORT_VISIBILITY(SvxMSDffShapeTxBxSort, SvxMSDffShapeOrder_Ptr, 16,16, SVX_DLLPUBLIC) - -#define SVXMSDFF_SETTINGS_CROP_BITMAPS 1 -#define SVXMSDFF_SETTINGS_IMPORT_PPT 2 -#define SVXMSDFF_SETTINGS_IMPORT_EXCEL 4 - -#define SP_FGROUP 0x001 // This shape is a group shape -#define SP_FCHILD 0x002 // Not a top-level shape -#define SP_FPATRIARCH 0x004 // This is the topmost group shape. - // Exactly one of these per drawing. -#define SP_FDELETED 0x008 // The shape has been deleted -#define SP_FOLESHAPE 0x010 // The shape is an OLE object -#define SP_FHAVEMASTER 0x020 // Shape has a hspMaster property -#define SP_FFLIPH 0x040 // Shape is flipped horizontally -#define SP_FFLIPV 0x080 // Shape is flipped vertically -#define SP_FCONNECTOR 0x100 // Connector type of shape -#define SP_FHAVEANCHOR 0x200 // Shape has an anchor of some kind -#define SP_FBACKGROUND 0x400 // Background shape -#define SP_FHAVESPT 0x800 // Shape has a shape type property - -// for the CreateSdrOLEFromStorage we need the information, how we handle -// convert able OLE-Objects - this ist stored in -#define OLE_MATHTYPE_2_STARMATH 0x0001 -#define OLE_WINWORD_2_STARWRITER 0x0002 -#define OLE_EXCEL_2_STARCALC 0x0004 -#define OLE_POWERPOINT_2_STARIMPRESS 0x0008 - -struct SvxMSDffConnectorRule -{ - sal_uInt32 nRuleId; - sal_uInt32 nShapeA; // SPID of shape A - - sal_uInt32 nShapeB; // SPID of shape B - sal_uInt32 nShapeC; // SPID of connector shape - sal_uInt32 ncptiA; // Connection site Index of shape A - sal_uInt32 ncptiB; // Connection site Index of shape B - sal_uInt32 nSpFlagsA; // SpFlags of shape A ( the original mirror flags must be known when solving the Solver Container ) - sal_uInt32 nSpFlagsB; // SpFlags of shape A - - SdrObject* pAObj; // pPtr of object ( corresponding to shape A ) - SdrObject* pBObj; // " - SdrObject* pCObj; // " of connector object - - SvxMSDffConnectorRule() : nSpFlagsA( 0 ), nSpFlagsB( 0 ), pAObj( NULL ), pBObj( NULL ), pCObj( NULL ) {}; - - friend SvStream& operator>>( SvStream& rIn, SvxMSDffConnectorRule& rAtom ); -}; -struct SVX_DLLPUBLIC SvxMSDffSolverContainer -{ - List aCList; - - SvxMSDffSolverContainer(); - ~SvxMSDffSolverContainer(); - - SVX_DLLPUBLIC friend SvStream& operator>>( SvStream& rIn, SvxMSDffSolverContainer& rAtom ); -}; - -struct FIDCL -{ - UINT32 dgid; // DG owning the SPIDs in this cluster - UINT32 cspidCur; // number of SPIDs used so far -}; - -//--------------------------------------------------------------------------- -// von SvxMSDffManager fuer jedes in der Gruppe enthaltene Shape geliefert -//--------------------------------------------------------------------------- -struct MSDffTxId -{ - USHORT nTxBxS; - USHORT nSequence; - MSDffTxId(USHORT nTxBxS_, USHORT nSequence_ ) - : nTxBxS( nTxBxS_ ), - nSequence( nSequence_ ){} - MSDffTxId(const MSDffTxId& rCopy) - : nTxBxS( rCopy.nTxBxS ), - nSequence( rCopy.nSequence ){} -}; - -struct SVX_DLLPUBLIC SvxMSDffImportRec -{ - SdrObject* pObj; - Polygon* pWrapPolygon; - char* pClientAnchorBuffer; - UINT32 nClientAnchorLen; - char* pClientDataBuffer; - UINT32 nClientDataLen; - UINT32 nXAlign; - UINT32 nXRelTo; - UINT32 nYAlign; - UINT32 nYRelTo; - UINT32 nLayoutInTableCell; - UINT32 nFlags; - long nTextRotationAngle; - long nDxTextLeft; // Abstand der Textbox vom umgebenden Shape - long nDyTextTop; - long nDxTextRight; - long nDyTextBottom; - long nDxWrapDistLeft; - long nDyWrapDistTop; - long nDxWrapDistRight; - long nDyWrapDistBottom; - long nCropFromTop; - long nCropFromBottom; - long nCropFromLeft; - long nCropFromRight; - MSDffTxId aTextId; // Kennungen fuer Textboxen - ULONG nNextShapeId; // fuer verlinkte Textboxen - ULONG nShapeId; - MSO_SPT eShapeType; - MSO_LineStyle eLineStyle; // Umrandungs-Arten - BOOL bDrawHell :1; - BOOL bHidden :1; - BOOL bReplaceByFly :1; - BOOL bLastBoxInChain :1; - BOOL bHasUDefProp :1; - BOOL bVFlip :1; - BOOL bHFlip :1; - BOOL bAutoWidth :1; - - SvxMSDffImportRec(); - SvxMSDffImportRec(const SvxMSDffImportRec& rCopy); - ~SvxMSDffImportRec(); - BOOL operator==( const SvxMSDffImportRec& rEntry ) const - { return nShapeId == rEntry.nShapeId; } - BOOL operator<( const SvxMSDffImportRec& rEntry ) const - { return nShapeId < rEntry.nShapeId; } -}; -typedef SvxMSDffImportRec* MSDffImportRec_Ptr; - -// Liste aller SvxMSDffImportRec fuer eine Gruppe -SV_DECL_PTRARR_SORT_DEL_VISIBILITY(MSDffImportRecords, MSDffImportRec_Ptr, 16,16, SVX_DLLPUBLIC) - -//--------------------------------------------------------------------------- -// Import-/Export-Parameterblock fuer 1 x ImportObjAtCurrentStreamPos() -//--------------------------------------------------------------------------- -struct SvxMSDffImportData -{ - MSDffImportRecords aRecords; // Shape-Pointer, -Ids und private Daten - Rectangle aParentRect;// Rectangle der umgebenden Gruppe - // bzw. von aussen reingegebenes Rect - Rectangle aNewRect; // mit diesem Shape definiertes Rectangle - - SvxMSDffImportData() - {} - SvxMSDffImportData(const Rectangle& rParentRect) - :aParentRect( rParentRect ) - {} - void SetNewRect(INT32 l, INT32 o, - INT32 r, INT32 u ){ aNewRect = Rectangle(l,o, r,u); } - BOOL HasParRect() const { return aParentRect.IsEmpty(); } - BOOL HasNewRect() const { return aNewRect.IsEmpty() ; } - BOOL HasRecords() const { return 0 != aRecords.Count(); } - USHORT GetRecCount() const { return aRecords.Count(); } - SvxMSDffImportRec* GetRecord(USHORT iRecord) const - { return aRecords.GetObject( iRecord ); } -}; - -struct DffObjData -{ - const DffRecordHeader& rSpHd; - - Rectangle aBoundRect; - Rectangle aChildAnchor; - - UINT32 nShapeId; - UINT32 nSpFlags; - MSO_SPT eShapeType; - - BOOL bShapeType : 1; - BOOL bClientAnchor : 1; - BOOL bClientData : 1; - BOOL bChildAnchor : 1; - BOOL bOpt : 1; - BOOL bIsAutoText : 1; - - int nCalledByGroup; - - DffObjData( const DffRecordHeader& rObjHd, - const Rectangle& rBoundRect, - int nClByGroup ) : - rSpHd( rObjHd ), - aBoundRect( rBoundRect ), - nShapeId( 0 ), - nSpFlags( 0 ), - eShapeType( mso_sptNil ), - bShapeType( FALSE ), - bClientAnchor( FALSE ), - bClientData( FALSE ), - bChildAnchor( FALSE ), - bOpt( FALSE ), - bIsAutoText( FALSE ), - nCalledByGroup( nClByGroup ){} -}; - -#define DFF_RECORD_MANAGER_BUF_SIZE 64 - -struct DffRecordList -{ - UINT32 nCount; - UINT32 nCurrent; - DffRecordList* pPrev; - DffRecordList* pNext; - - DffRecordHeader mHd[ DFF_RECORD_MANAGER_BUF_SIZE ]; - - DffRecordList( DffRecordList* pList ); - ~DffRecordList(); -}; - -enum DffSeekToContentMode -{ - SEEK_FROM_BEGINNING, - SEEK_FROM_CURRENT, - SEEK_FROM_CURRENT_AND_RESTART -}; - -class SVX_DLLPUBLIC DffRecordManager : public DffRecordList -{ - public : - - DffRecordList* pCList; - - void Clear(); - void Consume( SvStream& rIn, BOOL bAppend = FALSE, UINT32 nStOfs = 0 ); - - BOOL SeekToContent( SvStream& rIn, UINT16 nRecType, DffSeekToContentMode eMode = SEEK_FROM_BEGINNING ); - DffRecordHeader* GetRecordHeader( UINT16 nRecType, DffSeekToContentMode eMode = SEEK_FROM_BEGINNING ); - - DffRecordManager(); - DffRecordManager( SvStream& rIn ); - ~DffRecordManager(); - - DffRecordHeader* Current(); - DffRecordHeader* First(); - DffRecordHeader* Next(); - DffRecordHeader* Prev(); - DffRecordHeader* Last(); -}; - -/* - SvxMSDffManager - abstrakte Basis-Klasse fuer Escher-Import - =============== - Zweck: Zugriff auf Objekte im Drawing File Format - Stand: Zugriff nur auf BLIPs (wird spaeter erweitert) - - Beachte: in der zwecks PowerPoint-, ODER Word- ODER Excel-Import - ======== abgeleiteten Klasse - MUSS jeweils die Methode ProcessUserDefinedRecord() - implementiert werden! -*/ -class SVX_DLLPUBLIC SvxMSDffManager : public DffPropertyReader -{ - FmFormModel* pFormModel; - SvxMSDffBLIPInfos* pBLIPInfos; - SvxMSDffShapeInfos* pShapeInfos; - SvxMSDffShapeOrders* pShapeOrders; - ULONG nDefaultFontHeight; - long nOffsDgg; - USHORT nBLIPCount; - USHORT nShapeCount; - sal_uInt32 nGroupShapeFlags; - - void CheckTxBxStoryChain(); - void GetFidclData( long nOffsDgg ); - -protected : - - String maBaseURL; - UINT32 mnCurMaxShapeId; // we need this information to - UINT32 mnDrawingsSaved; // access the right drawing - UINT32 mnIdClusters; // while only knowing the shapeid - FIDCL* mpFidcls; - Table maDgOffsetTable; // array of fileoffsets - - friend class DffPropertyReader; - - SvStream& rStCtrl; - SvStream* pStData; - SvStream* pStData2; - SdrModel* pSdrModel; - - long nMapMul; - long nMapDiv; - long nMapXOfs; - long nMapYOfs; - long nEmuMul; - long nEmuDiv; - long nPntMul; - long nPntDiv; - FASTBOOL bNeedMap; - UINT32 nSvxMSDffSettings; - UINT32 nSvxMSDffOLEConvFlags; - - /** stores a reference to an imported SdrObject with its shape id if - it has one - */ - SvxMSDffShapeIdContainer maShapeIdContainer; - - void GetCtrlData( long nOffsDgg ); - void GetDrawingGroupContainerData( SvStream& rSt, - ULONG nLenDgg ); - // --> OD 2008-08-01 #156763# - // Add internal drawing container id as parameter to the sub methods of - // reading the control information about the drawing objects. - // The drawing container id is used to distinguish the text ids of drawing - // objects in different drawing containers. - void GetDrawingContainerData( SvStream& rSt, - ULONG nLenDg, - const unsigned long nDrawingContainerId ); - BOOL GetShapeGroupContainerData( SvStream& rSt, - ULONG nLenShapeGroupCont, - BOOL bPatriarch, - const unsigned long nDrawingContainerId ); - BOOL GetShapeContainerData( SvStream& rSt, - ULONG nLenShapeCont, - ULONG nPosGroup, - const unsigned long nDrawingContainerId ); - // <-- - - FASTBOOL ReadGraphic( SvStream& rSt, ULONG nIndex, Graphic& rGraphic ) const; - SdrObject* ImportFontWork( SvStream&, SfxItemSet&, Rectangle& rBoundRect ) const; - SdrObject* ImportGraphic( SvStream&, SfxItemSet&, const DffObjData& ) const; - // --> OD 2004-12-14 #i32596# - pass <nCalledByGroup> to method - // Needed in the Writer Microsoft Word import to avoid import of OLE objects - // inside groups. Instead a graphic object is created. - virtual SdrObject* ImportOLE( long nOLEId, - const Graphic& rGraf, - const Rectangle& rBoundRect, - const Rectangle& rVisArea, - const int _nCalledByGroup, - sal_Int64 nAspect ) const; - // <-- - SdrObject* GetAutoForm( MSO_SPT eTyp ) const; - static const GDIMetaFile* lcl_GetMetaFileFromGrf_Impl( const Graphic& rGrf, GDIMetaFile& rMtf ); -#ifndef SVX_LIGHT - static com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > CheckForConvertToSOObj( - UINT32 nConvertFlags, SotStorage& rSrcStg, - const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xDestStg, - const Graphic& rGrf, - const Rectangle& rVisArea ); -#endif - -/* - folgende Methoden sind zum Excel-Import zu ueberschreiben: -*/ - virtual BOOL ProcessClientAnchor(SvStream& rStData, ULONG nDatLen, char*& rpBuff, UINT32& rBuffLen ) const; - virtual void ProcessClientAnchor2( SvStream& rStData, DffRecordHeader& rHd, void* pData, DffObjData& ); - virtual BOOL ProcessClientData( SvStream& rStData, ULONG nDatLen, char*& rpBuff, UINT32& rBuffLen ) const; - virtual SdrObject* ProcessObj( SvStream& rSt, DffObjData& rData, void* pData, Rectangle& rTextRect, SdrObject* pObj = NULL); - virtual ULONG Calc_nBLIPPos( ULONG nOrgVal, ULONG nStreamPos ) const; - virtual FASTBOOL GetColorFromPalette(USHORT nNum, Color& rColor) const; - - // ----------------------------------------------------------------------- - - FASTBOOL ReadDffString(SvStream& rSt, String& rTxt) const; - FASTBOOL ReadObjText(SvStream& rSt, SdrObject* pObj) const; - - // SJ: New implementation of ReadObjText is used by Fontwork objects, because - // the old one does not properly import multiple paragraphs - void ReadObjText( const String& rText, SdrObject* pObj ) const; - // ----------------------------------------------------------------------- - - /* - folgende Methode ist von allen zu ueberschreiben, die OLE-Objecte - importieren moechten: - */ - virtual BOOL GetOLEStorageName( long nOLEId, String& rStorageName, - SotStorageRef& rSrcStorage, - com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xDestStg - ) const; - - /* - folgende Methode ist von allen zu ueberschreiben, die verhindern - moechten, dass (abgerundete) Rechtecke mit umgebrochenem Text - immer in SdrRectObj( OBJ_TEXT ) umgewandelt werden: - TRUE bedeutet umwandeln. - */ - virtual BOOL ShapeHasText(ULONG nShapeId, ULONG nFilePos) const; - -public: - - void* pSvxMSDffDummy1; - void* pSvxMSDffDummy2; - void* pSvxMSDffDummy3; - List* pEscherBlipCache; - - DffRecordManager maShapeRecords; - ColorData mnDefaultColor; - - MSFilterTracer* mpTracer; - sal_Bool mbTracing; - - Color MSO_TEXT_CLR_ToColor( sal_uInt32 nColorCode ) const; - Color MSO_CLR_ToColor( sal_uInt32 nColorCode, sal_uInt16 nContextProperty = DFF_Prop_lineColor ) const; - virtual BOOL SeekToShape( SvStream& rSt, void* pClientData, UINT32 nId ) const; - FASTBOOL SeekToRec( SvStream& rSt, USHORT nRecId, ULONG nMaxFilePos, DffRecordHeader* pRecHd = NULL, ULONG nSkipCount = 0 ) const; - FASTBOOL SeekToRec2( USHORT nRecId1, USHORT nRecId2, ULONG nMaxFilePos, DffRecordHeader* pRecHd = NULL, ULONG nSkipCount = 0 ) const; - - // ----------------------------------------------------------------------- - static void MSDFFReadZString( SvStream& rIn, String& rStr, ULONG nMaxLen, FASTBOOL bUniCode = FALSE ); - - static BOOL ReadCommonRecordHeader( DffRecordHeader& rRec, SvStream& rIn ); - static BOOL ReadCommonRecordHeader( SvStream& rSt, - BYTE& rVer, - USHORT& rInst, - USHORT& rFbt, - UINT32& rLength ); -/* - Konstruktor - =========== - Input: rStCtrl - Verwaltungsstream mit Containern, - FBSE Objekten und Shapes - ( muss immer uebergeben werden; - Stream muss bereits offen sein ) - - nOffsDgg - Offset im rStCtrl: Beginn des Drawing Group Containers - - pStData - Datenstream, in dem die BLIPs gespeichert sind - ( falls Null, wird angenommen, dass die - BLIPs ebenfalls im rStCtrl gespeichert sind; - dieser Stream muss ebenfalls bereits offen sein ) - pSdrModel_ kann beim Ctor-Aufruf leer bleiben, muss dann aber - spaeter ueber SetModel() gesetzt werden! - - setzt nBLIPCount -*/ - SvxMSDffManager( SvStream& rStCtrl, - const String& rBaseURL, - long nOffsDgg, - SvStream* pStData, - SdrModel* pSdrModel_ = 0, - long nApplicationScale = 0, - ColorData mnDefaultColor_ = COL_DEFAULT, - ULONG nDefaultFontHeight_ = 24, - SvStream* pStData2_ = 0, - MSFilterTracer* pTracer = NULL ); - - // in PPT werden die Parameter DGGContainerOffset und PicStream - // mit Hilfe einer Init Routine Uebergeben. - SvxMSDffManager( SvStream& rStCtrl, const String& rBaseURL, MSFilterTracer* pTracer ); - void InitSvxMSDffManager( long nOffsDgg_, SvStream* pStData_, sal_uInt32 nSvxMSDffOLEConvFlags ); - void SetDgContainer( SvStream& rSt ); - - virtual ~SvxMSDffManager(); - - UINT32 GetSvxMSDffSettings() const { return nSvxMSDffSettings; }; - void SetSvxMSDffSettings( UINT32 nSettings ) { nSvxMSDffSettings = nSettings; }; - - static BOOL MakeContentStream( SotStorage * pStor, const GDIMetaFile & ); - static BOOL ConvertToOle2( SvStream& rStm, UINT32 nLen, const GDIMetaFile*, - const SotStorageRef & rDest ); - - void SetModel(SdrModel* pModel, long nApplicationScale); - SdrModel* GetModel() const { return pSdrModel; } - void Scale(sal_Int32& rVal) const; - void Scale(Point& rPos) const; - void Scale(Size& rSiz) const; - void Scale(Rectangle& rRect) const; - void Scale(Polygon& rPoly) const; - void Scale(PolyPolygon& rPoly) const; - void ScaleEmu(sal_Int32& rVal) const; - UINT32 ScalePt( UINT32 nPt ) const; - INT32 ScalePoint( INT32 nVal ) const; - -/* - GetBLIP() - Anforderung eines bestimmten BLIP - ========= - Input: nIdx - Nummer des angeforderten BLIP - ( muss immer uebergeben werden ) - - Output: rData - bereits fertig konvertierte Daten - ( direkt als Grafik in unsere Dokumente einzusetzen ) - - Rueckgabewert: TRUE, im Erfolgsfalls, FALSE bei Fehler -*/ - BOOL GetBLIP( ULONG nIdx, Graphic& rData, Rectangle* pVisArea = NULL ) const; - -/* - GetBLIPDirect() -Einlesen eines BLIP aus schon positioniertem Stream - =============== - Input: rBLIPStream -bereits korrekt positionierter Stream - ( muss immer uebergeben werden ) - - Output: rData -bereits fertig konvertierte Daten - ( direkt als Grafik in unsere Dokumente einzusetzen ) - - Rueckgabewert: TRUE, im Erfolgsfalls, FALSE bei Fehler -*/ - BOOL GetBLIPDirect(SvStream& rBLIPStream, Graphic& rData, Rectangle* pVisArea = NULL ) const; - - BOOL GetShape(ULONG nId, - SdrObject*& rpData, SvxMSDffImportData& rData); - -/* - GetBLIPCount() - Abfrage der verwalteten BLIP Anzahl - ============== - Input: ./. - Output: ./. - Rueckgabewert: nBLIPCount - Anzahl der im pStData (bzw. rStCtrl) enthaltenen BLIPs - ( sprich: Anzahl der FBSEs im Drawing Group Container ) - - Werte: 0 - Struktur Ok, jedoch keine BLIPs vorhanden - 1.. - Anzahl der BLIPs - USHRT_MAX - Fehler: kein korrektes Drawing File Format -*/ - USHORT GetBLIPCount() const{ return nBLIPCount; } - -/* - ZCodecDecompressed() - Dekomprimierung eines komp. WMF oder Enhanced WMF - ==================== - Input: rIn -bereits korrekt positionierter Stream, - der das komprimierte Bild enthaelt - rOut -bereits korrekt positionierter Ausgabe-Stream, - - bLookForEnd -Flag, ob das komp. Bild bis zum Stream-Ende reicht. - Falls TRUE, wird jeweils geprueft, ob das gelesene noch - zum Bild gehoert. - Falls FALSE, wird bis zum Stream-Ende gelesen. - - Output: rIn -Der Stream steht hinter dem Ende des komp. Bildes. - (es kann aber noch eine Ende-Kennung und CRC-Sum folgen) - rOut -Der Stream enthaelt das dekomprimierte Bild. - Der Stream wird auf den Anfang des Bildes positioniert. - (also dorthin, wo der Stream vor der Verarbeitung stand) - - Rueckgabewert: TRUE, im Erfolgsfall - FALSE bei Fehler oder Null Bytes geschrieben -*/ -// static BOOL ZCodecDecompressed( SvStream& rIn, -// SvStream& rOut, -// BOOL bLookForEnd ); -// - SdrObject* ImportObj(SvStream& rSt, void* pData, - Rectangle& rClientRect, const Rectangle& rGlobalChildRect, int nCalledByGroup = 0, sal_Int32* pShapeId = NULL); - - SdrObject* ImportGroup( const DffRecordHeader& rHd, SvStream& rSt, void* pData, - Rectangle& rClientRect, const Rectangle& rGlobalChildRect, int nCalledByGroup = 0, sal_Int32* pShapeId = NULL ); - - SdrObject* ImportShape( const DffRecordHeader& rHd, SvStream& rSt, void* pData, - Rectangle& rClientRect, const Rectangle& rGlobalChildRect, int nCalledByGroup = 0, sal_Int32* pShapeId = NULL); - - Rectangle GetGlobalChildAnchor( const DffRecordHeader& rHd, SvStream& rSt, Rectangle& aClientRect ); - void GetGroupAnchors( const DffRecordHeader& rHd, SvStream& rSt, - Rectangle& rGroupClientAnchor, Rectangle& rGroupChildAnchor, - const Rectangle& rClientRect, const Rectangle& rGlobalChildRect ); - - inline const SvxMSDffShapeInfos* GetShapeInfos( void ) const - { - return pShapeInfos; - } - - inline const SvxMSDffShapeOrders* GetShapeOrders( void ) const - { - return pShapeOrders; - } - - void StoreShapeOrder(ULONG nId, - ULONG nTxBx, - SdrObject* pObject, - SwFlyFrmFmt* pFly = 0, - short nHdFtSection = 0) const; - - void ExchangeInShapeOrder(SdrObject* pOldObject, - ULONG nTxBx, - SwFlyFrmFmt* pFly, - SdrObject* pObject) const; - - void RemoveFromShapeOrder( SdrObject* pObject ) const; - - UINT32 GetConvertFlags() const { return nSvxMSDffOLEConvFlags; } - - static SdrOle2Obj* CreateSdrOLEFromStorage( const String& rStorageName, - SotStorageRef& rSrcStorage, - const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xDestStg, - const Graphic& rGraf, - const Rectangle& rBoundRect, - const Rectangle& rVisArea, - SvStream* pDataStrrm, - ErrCode& rError, - UINT32 nConvertFlags, - sal_Int64 nAspect ); - - /* the method SolveSolver will create connections between shapes, it should be called after a page is imported. - The SvxMSDffSolverContainer is containing necessary data data that is collected during the import of each shape - */ - void SolveSolver( const SvxMSDffSolverContainer& rSolver ); - - static sal_Bool SetPropValue( - const ::com::sun::star::uno::Any& rAny, - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXPropSet, - const String& rPropertyName, - sal_Bool bTestPropertyAvailability = sal_False ); - - void insertShapeId( sal_Int32 nShapeId, SdrObject* pShape ); - void removeShapeId( SdrObject* pShape ); - SdrObject* getShapeForId( sal_Int32 nShapeId ); -}; - -struct SvxMSDffBLIPInfo -{ - USHORT nBLIPType; // Art des BLIP: z.B. 6 fuer PNG - ULONG nFilePos; // Offset des BLIP im Daten-Stream - ULONG nBLIPSize; // Anzahl Bytes, die der BLIP im Stream einnimmt - SvxMSDffBLIPInfo(USHORT nBType, ULONG nFPos, ULONG nBSize): - nBLIPType( nBType ), nFilePos( nFPos ), nBLIPSize( nBSize ){} -}; - -struct SvxMSDffShapeInfo -{ - sal_uInt32 nShapeId; // Shape Id, verwendet im PLCF SPA und im mso_fbtSp (FSP) - ULONG nFilePos; // Offset des Shape im Kontroll-Stream fuer eventuelle - // erneute Zugriffe auf dieses Shape - sal_uInt32 nTxBxComp; - - BOOL bReplaceByFly :1; // Shape darf im Writer durch Rahmen ersetzt werden. - BOOL bSortByShapeId :1; - BOOL bLastBoxInChain:1; - - SvxMSDffShapeInfo(ULONG nFPos, sal_uInt32 nId=0, // ULONG nBIdx=0, - USHORT nSeqId=0, USHORT nBoxId=0): - nShapeId( nId ), - nFilePos( nFPos ), - nTxBxComp( (nSeqId << 16) + nBoxId ) - { - bReplaceByFly = FALSE; - bSortByShapeId = FALSE; - bLastBoxInChain = TRUE; - } - SvxMSDffShapeInfo(SvxMSDffShapeInfo& rInfo): - nShapeId( rInfo.nShapeId ), - nFilePos( rInfo.nFilePos ), - nTxBxComp( rInfo.nTxBxComp ) - { - bReplaceByFly = rInfo.bReplaceByFly; - bSortByShapeId = rInfo.bSortByShapeId; - bLastBoxInChain = rInfo.bLastBoxInChain; - } - BOOL operator==( const SvxMSDffShapeInfo& rEntry ) const - { - return bSortByShapeId ? (nShapeId == rEntry.nShapeId) - : (nTxBxComp == rEntry.nTxBxComp && this == &rEntry); - } - BOOL operator<( const SvxMSDffShapeInfo& rEntry ) const - { - return bSortByShapeId ? (nShapeId < rEntry.nShapeId) - : (nTxBxComp < rEntry.nTxBxComp); - } -}; - -struct SvxMSDffShapeOrder -{ - ULONG nShapeId; // Shape Id, verwendet im PLCF SPA und im mso_fbtSp (FSP) - - ULONG nTxBxComp; // Ketten- und Boxnummer in der Text-Box-Story (bzw. Null) - - SwFlyFrmFmt* pFly; // Frame-Format eines statt des Sdr-Text-Objektes im - // Writer eingefuegten Rahmens: zur Verkettung benoetigt! - - short nHdFtSection; // used by Writer to find out if linked frames are in the - // same header or footer of the same section - - SdrObject* pObj; // Zeiger auf das Draw-Objekt (bzw. Null, falls nicht verwendet) - - // Vorgehensweise: im Ctor des SvxMSDffManager werden im der Shape-Order-Array - // nur die Shape-Ids vermerkt, - // Text-Box-Nummer und der Objekt-Pointer werden nur dann - // gespeichert, wenn das Shape tatsaechlich importiert wird! - SvxMSDffShapeOrder( ULONG nId ): - nShapeId( nId ), nTxBxComp( 0 ), pFly( 0 ), nHdFtSection( 0 ), pObj( 0 ){} - - BOOL operator==( const SvxMSDffShapeOrder& rEntry ) const - { - return (nTxBxComp == rEntry.nTxBxComp); - } - BOOL operator<( const SvxMSDffShapeOrder& rEntry ) const - { - return (nTxBxComp < rEntry.nTxBxComp); - } -}; - -#endif - diff --git a/svx/inc/svx/msfiltertracer.hxx b/svx/inc/svx/msfiltertracer.hxx deleted file mode 100644 index 5cd3079e1587..000000000000 --- a/svx/inc/svx/msfiltertracer.hxx +++ /dev/null @@ -1,99 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: msfiltertracer.hxx,v $ - * $Revision: 1.3 $ - * - * 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 _MS_FILTERTRACER_HXX -#define _MS_FILTERTRACER_HXX - -#include <rtl/ustring.hxx> -#include <tools/stream.hxx> -#include <xmloff/attrlist.hxx> -#include <com/sun/star/uno/Any.h> -#include <com/sun/star/uno/Reference.h> -#include <com/sun/star/util/XTextSearch.hpp> -#include <com/sun/star/util/SearchResult.hpp> -#include <com/sun/star/util/logging/XLogger.hpp> -#include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> -#include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include "svx/svxdllapi.h" - -class FilterConfigItem; -class SVX_DLLPUBLIC MSFilterTracer -{ - FilterConfigItem* mpCfgItem; - SvXMLAttributeList* mpAttributeList; - SvStream* mpStream; - sal_Bool mbEnabled; - - ::com::sun::star::util::SearchOptions maSearchOptions; - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > mxFilterTracer; - ::com::sun::star::uno::Reference< ::com::sun::star::util::XTextSearch > mxTextSearch; - - ::com::sun::star::uno::Reference< ::com::sun::star::util::logging::XLogger > mxLogger; - ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > mxHandler; - - public : - - /* The first parameter is expecting the path of the configuration file. - The second parameter can be used to override properties of the configuration - file. A "DocumentURL" property can be set in the property - sequence to provide the current url of the document. - If the "Path" property is not set in the configuration file, then the path - of the "DocumentURL" property is used instead. If both are not set, the - application path is used instead. - If the "Name" property is not set in the configuration file, then the name - of the "DocumentURL" property is used instead. If both are not set, the - name "tracer* is used. - The file extension will always be "log" */ - - MSFilterTracer( const ::rtl::OUString& rConfigurationPath, - ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >* pConfigData = NULL ); - ~MSFilterTracer(); - - void StartTracing(); - void EndTracing(); - - inline sal_Bool IsEnabled() const { return mbEnabled; } - - void StartElement( const ::rtl::OUString& rName, ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > xAttribs ); - void EndElement( const ::rtl::OUString& rName ); - - void Trace( const ::rtl::OUString& rElementID, const ::rtl::OUString& rMessage ); - void AddAttribute( const ::rtl::OUString &sName , const ::rtl::OUString &sValue ); - void RemoveAttribute( const ::rtl::OUString& sName ); - void ClearAttributes(); - - /* initially all properties of the configuration file and the - properties which are given to the c'tor can be retrieved */ - ::com::sun::star::uno::Any GetProperty( const ::rtl::OUString& rPropName, const ::com::sun::star::uno::Any* pDefault = NULL ) const; - void SetProperty( const ::rtl::OUString& rPropName, const ::com::sun::star::uno::Any& rProperty ); -}; - -#endif diff --git a/svx/inc/svx/msocximex.hxx b/svx/inc/svx/msocximex.hxx deleted file mode 100644 index a32179a43eb4..000000000000 --- a/svx/inc/svx/msocximex.hxx +++ /dev/null @@ -1,1423 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: msocximex.hxx,v $ - * $Revision: 1.6 $ - * - * 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 _MSOCXIMEX_HXX -#define _MSOCXIMEX_HXX - -#include <sot/storage.hxx> -#include <tools/debug.hxx> - -//!! no such defines in global namespaces - it will break other existing code that uses the same define!! -//#ifndef C2U -//#define C2U(cChar) rtl::OUString::createFromAscii(cChar) -//#endif -#include "svx/svxdllapi.h" -#include <vector> -#include <hash_map> - -namespace com{namespace sun{namespace star{ - namespace drawing{ - class XDrawPage; - class XShape; - class XShapes; - } - namespace form{ - class XFormComponent; - } - namespace lang{ - class XMultiServiceFactory; - } - namespace container{ - class XIndexContainer; - class XNameContainer; - } - namespace beans{ - class XPropertySet; - } - namespace text{ - class XText; - } - namespace awt{ - struct Size; - class XControlModel; - } - namespace uno{ - class XComponentContext; - } - -}}} - -class OCX_Control; -class SfxObjectShell; -class SwPaM; - -class TypeName -{ -public: - String msName; - sal_uInt16 mnType; - sal_Int32 mnLeft; - sal_Int32 mnTop; - sal_Int32 mnStoreId; - TypeName(sal_Char *pName, sal_uInt32 nStoreId, sal_uInt32 nLen, sal_uInt16 nType, - sal_Int32 nLeft, sal_Int32 nTop); -}; - - -class SVX_DLLPUBLIC SvxMSConvertOCXControls -{ -public: - SvxMSConvertOCXControls( SfxObjectShell *pDSh,SwPaM *pP ); - virtual ~SvxMSConvertOCXControls(); - - //Reads a control from the given storage, constructed shape in pShapeRef - sal_Bool ReadOCXStream( SotStorageRef& rSrc1, - com::sun::star::uno::Reference< - com::sun::star::drawing::XShape > *pShapeRef=0, - BOOL bFloatingCtrl=FALSE ); - - - //Excel has a nasty kludged mechanism for this, read - //the comments in the source to follow it - sal_Bool ReadOCXExcelKludgeStream(SotStorageStreamRef& rSrc1, - com::sun::star::uno::Reference < - com::sun::star::drawing::XShape > *pShapeRef,BOOL bFloatingCtrl); - - - //Writes the given Uno Control into the given storage - - static sal_Bool WriteOCXStream(SotStorageRef &rSrc1, - const com::sun::star::uno::Reference< - com::sun::star::awt::XControlModel > &rControlModel, - const com::sun::star::awt::Size& rSize,String &rName); - - //Excel has a nasty kludged mechanism for this, read - //the comments in the source to follow it - static sal_Bool WriteOCXExcelKludgeStream(SotStorageStreamRef& rContents, - const com::sun::star::uno::Reference< - com::sun::star::awt::XControlModel > &rControlModel, - const com::sun::star::awt::Size &rSize, String &rName); - - //Generate an OCX converter based on the OLE2 name - static OCX_Control *OCX_Factory(const String &rId); - - //Generate an OCX converter based on the StarOffice UNO id - static OCX_Control *OCX_Factory( const com::sun::star::uno::Reference< - com::sun::star::awt::XControlModel > &rControlModel, - String &rId,String &rName); - - virtual sal_Bool InsertControl( - const com::sun::star::uno::Reference< - com::sun::star::form::XFormComponent >& /*rFComp*/, - const com::sun::star::awt::Size& /*rSize*/, - com::sun::star::uno::Reference< - com::sun::star::drawing::XShape >* /*pShape*/, - BOOL /*bFloatingCtrl*/ ) {return sal_False;} - - /*begin: Backwards compatability with office 95 import, modify later*/ - const com::sun::star::uno::Reference< - com::sun::star::lang::XMultiServiceFactory > & GetServiceFactory(); - - sal_uInt16 GetEditNum() { return ++nEdit; } - sal_uInt16 GetCheckboxNum() { return ++nCheckbox; } - /*end: Backwards compatability*/ -protected: - const com::sun::star::uno::Reference< com::sun::star::drawing::XShapes > & - GetShapes(); - - const com::sun::star::uno::Reference< - com::sun::star::container::XIndexContainer > & GetFormComps(); - - SfxObjectShell *pDocSh; - SwPaM *pPaM; - - // gecachte Interfaces - com::sun::star::uno::Reference< com::sun::star::drawing::XDrawPage > - xDrawPage; - com::sun::star::uno::Reference< com::sun::star::drawing::XShapes > - xShapes; - com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > xServiceFactory; - - // das einzige Formular - com::sun::star::uno::Reference< com::sun::star::container::XIndexContainer > - xFormComps; - - sal_uInt16 nEdit; - sal_uInt16 nCheckbox; - - virtual const com::sun::star::uno::Reference< - com::sun::star::drawing::XDrawPage > & GetDrawPage(); -}; - -class OCX_FontData -{ -public: - OCX_FontData() : nFontNameLen(0), fBold(0), fItalic(0), fUnderline(0), - fStrike(0), nFontSize(12), nJustification(1), pFontName(0), - bHasAlign(FALSE), bHasFont(TRUE) {} - ~OCX_FontData() { - if (pFontName) - delete [] pFontName; - } - sal_Bool Read(SotStorageStream *pS); - void Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet > &rPropSet); - - sal_Bool Export(SotStorageStreamRef &rContent, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - - sal_uInt16 nIdentifier; - sal_uInt16 nFixedAreaLen; - sal_uInt8 pBlockFlags[4]; - - sal_uInt32 nFontNameLen; - - sal_uInt8 fBold:1; - sal_uInt8 fItalic:1; - sal_uInt8 fUnderline:1; - sal_uInt8 fStrike:1; - sal_uInt8 fUnknown1:4; - - sal_uInt8 nUnknown2; - sal_uInt8 nUnknown3; - sal_uInt8 nUnknown4; - - sal_uInt32 nFontSize; - sal_uInt16 nLanguageID; - sal_uInt8 nJustification; - sal_uInt16 nFontWeight; - - char *pFontName; - void SetHasAlign(sal_Bool bIn) {bHasAlign=bIn;} - void SetHasFont(sal_Bool bIn) {bHasFont=bIn;} -protected: - static sal_uInt16 nStandardId; - sal_uInt8 ExportAlign(sal_Int16 nAlign) const; - sal_Int16 ImportAlign(sal_uInt8 nJustification) const; -private: - sal_Bool bHasAlign; - sal_Bool bHasFont; -}; - -class SVX_DLLPUBLIC OCX_Control -{ -public: - OCX_Control(UniString sN, OCX_Control* parent = NULL ) : nWidth( 0 ), nHeight( 0 ), mnLeft(0), mnTop(0), - mnStep(0), mnBackColor(0x8000000FL), mnForeColor(0), mnTabPos(0), mbVisible(true), sName(sN), pDocSh(0), - bSetInDialog(FALSE), mpParent( parent ) {} - sal_Bool FullRead(SotStorageStream *pS) - { - return Read(pS) && ReadFontData(pS); - }; - virtual sal_Bool Read(SotStorageStream *pS); - virtual sal_Bool ReadFontData(SotStorageStream *pS); - virtual sal_Bool Import(const com::sun::star::uno::Reference< - com::sun::star::lang::XMultiServiceFactory > &rServiceFactory, - com::sun::star::uno::Reference< - com::sun::star::form::XFormComponent > &rFComp, - com::sun::star::awt::Size &rSz); - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::container::XNameContainer> - &rDialog); - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet>& /*rPropSet*/) - {return sal_False;} - //Export exports a control as an OLE style storage stream tree - virtual sal_Bool Export(SotStorageRef& /*rObj*/, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet>& /*rPropSet*/, - const com::sun::star::awt::Size& /*rSize*/) {return sal_False;} - - //WriteContents writes the contents of a contents stream, for - //the Excel export you cannot use Export, only WriteContents instead - virtual sal_Bool WriteContents(SotStorageStreamRef& /*rObj*/, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet>& /*rPropSet*/, - const com::sun::star::awt::Size& /*rSize*/) {return sal_False;} - void SetInDialog(bool bState) { bSetInDialog = bState; } - bool GetInDialog() { return bSetInDialog; } - - sal_Bool ReadAndImport(SotStorageStream *pS, - com::sun::star::uno::Reference< - com::sun::star::lang::XMultiServiceFactory > &rSF, - com::sun::star::uno::Reference< - com::sun::star::form::XFormComponent > &rFComp, - com::sun::star::awt::Size &rSz) - { - if (Read(pS)) - return Import(rSF,rFComp,rSz); - return sal_False; - } - virtual ~OCX_Control() {} - - static void FillSystemColors(); - - sal_uInt32 nWidth; - sal_uInt32 nHeight; - sal_Int32 mnLeft; - sal_Int32 mnTop; - sal_Int32 mnStep; - sal_Int32 mnBackColor; - sal_Int32 mnForeColor; - sal_uInt16 mnTabPos; - bool mbVisible; - UniString sName; - UniString msToolTip; - OCX_FontData aFontData; - SfxObjectShell *pDocSh; -protected: - - sal_uInt32 ImportColor(sal_uInt32 nColorCode) const; - sal_uInt32 ExportColor(sal_uInt32 nColorCode) const; - sal_uInt32 SwapColor(sal_uInt32 nColorCode) const; - sal_Int16 ImportBorder(sal_uInt16 nSpecialEffect,sal_uInt16 nBorderStyle) - const; - sal_uInt8 ExportBorder(sal_uInt16 nBorder,sal_uInt8 &rBorderStyle) const; - bool bSetInDialog; - sal_Int16 ImportSpecEffect( sal_uInt8 nSpecialEffect ) const; - sal_uInt8 ExportSpecEffect( sal_Int16 nApiEffect ) const; - static sal_uInt16 nStandardId; - static sal_uInt8 __READONLY_DATA aObjInfo[4]; - rtl::OUString msFormType; - rtl::OUString msDialogType; - OCX_Control* mpParent; -private: - static sal_uInt32 pColor[25]; -}; - -class OCX_ModernControl : public OCX_Control -{ -public: - OCX_ModernControl(UniString sN) : OCX_Control(sN), - fEnabled(1), fLocked(0), fBackStyle(1), fColumnHeads(0), fIntegralHeight(1), - fMatchRequired(0), fAlignment(1), fDragBehaviour(0), fEnterKeyBehaviour(0), - fEnterFieldBehaviour(0), fTabKeyBehaviour(0), fWordWrap(1), - fSelectionMargin(1), fAutoWordSelect(1), fAutoSize(0), fHideSelection(1), - fAutoTab(0), fMultiLine(1), nMaxLength(0), nBorderStyle(0), nScrollBars(0), - nStyle(0), nMousePointer(0), nPasswordChar(0), nListWidth(0), - nBoundColumn(1), nTextColumn(-1), nColumnCount(1), nListRows(8), - nMatchEntry(2), nListStyle(0), nShowDropButtonWhen(0), nDropButtonStyle(1), - nMultiState(0), nValueLen(0), nCaptionLen(0), nVertPos(1), nHorzPos(7), - nSpecialEffect(2), nIcon(0), nPicture(0), nAccelerator(0), nGroupNameLen(0), - pValue(0), pCaption(0), pGroupName(0), nIconLen(0), pIcon(0), - nPictureLen(0), pPicture(0) {} - - ~OCX_ModernControl() { - if (pValue) delete[] pValue; - if (pCaption) delete[] pCaption; - if (pGroupName) delete[] pGroupName; - if (pIcon) delete[] pIcon; - if (pPicture) delete[] pPicture; - } - sal_Bool Read(SotStorageStream *pS); - - - /*sal_uInt8 for sal_uInt8 Word Struct*/ - sal_uInt16 nIdentifier; - sal_uInt16 nFixedAreaLen; - sal_uInt8 pBlockFlags[8]; - - sal_uInt8 fUnknown1:1; - sal_uInt8 fEnabled:1; - sal_uInt8 fLocked:1; - sal_uInt8 fBackStyle:1; - sal_uInt8 fUnknown2:4; - - sal_uInt8 fUnknown3:2; - sal_uInt8 fColumnHeads:1; - sal_uInt8 fIntegralHeight:1; - sal_uInt8 fMatchRequired:1; - sal_uInt8 fAlignment:1; - sal_uInt8 fUnknown4:2; - - sal_uInt8 fUnknown5:3; - sal_uInt8 fDragBehaviour:1; - sal_uInt8 fEnterKeyBehaviour:1; - sal_uInt8 fEnterFieldBehaviour:1; - sal_uInt8 fTabKeyBehaviour:1; - sal_uInt8 fWordWrap:1; - - sal_uInt8 fUnknown6:2; - sal_uInt8 fSelectionMargin:1; - sal_uInt8 fAutoWordSelect:1; - sal_uInt8 fAutoSize:1; - sal_uInt8 fHideSelection:1; - sal_uInt8 fAutoTab:1; - sal_uInt8 fMultiLine:1; - - sal_uInt32 nMaxLength; - sal_uInt8 nBorderStyle; - sal_uInt8 nScrollBars; - sal_uInt8 nStyle; - sal_uInt8 nMousePointer; - sal_uInt8 nUnknown7; - sal_uInt8 nPasswordChar; - sal_uInt32 nListWidth; - sal_uInt16 nBoundColumn; - sal_Int16 nTextColumn; - sal_uInt16 nColumnCount; - sal_uInt16 nListRows; - sal_uInt16 nUnknown8; - sal_uInt8 nMatchEntry; - sal_uInt8 nListStyle; - sal_uInt8 nShowDropButtonWhen; - sal_uInt8 nDropButtonStyle; - sal_uInt8 nMultiState; - sal_uInt32 nValueLen; - sal_uInt32 nCaptionLen; - - sal_uInt16 nVertPos; - sal_uInt16 nHorzPos; - - sal_uInt32 nBorderColor; - sal_uInt8 nSpecialEffect; - sal_uInt16 nIcon; - sal_uInt16 nPicture; - sal_uInt8 nAccelerator; - sal_uInt8 nUnknown9; - sal_uInt32 nGroupNameLen; - sal_uInt32 nUnknown10; - - char *pValue; - char *pCaption; - char *pGroupName; - - sal_uInt8 pIconHeader[20]; - sal_uInt32 nIconLen; - sal_uInt8 *pIcon; - - sal_uInt8 pPictureHeader[20]; - sal_uInt32 nPictureLen; - sal_uInt8 *pPicture; - -}; - -class OCX_TabStrip : public OCX_Control -{ -public: - OCX_TabStrip() : OCX_Control( rtl::OUString::createFromAscii("TabStrip")) {} - virtual sal_Bool ReadFontData(SotStorageStream *pS); - virtual sal_Bool Read(SotStorageStream *pS); - - sal_uInt16 nIdentifier; - sal_uInt16 nFixedAreaLen; - sal_uInt8 pBlockFlags[4]; - sal_uInt16 nNumTabs; -}; - -class OCX_Image : public OCX_Control -{ -public: - OCX_Image() : OCX_Control(rtl::OUString::createFromAscii("Image")), fEnabled(1), fBackStyle(0), bPictureTiling(false), bAutoSize(false) { - msFormType = rtl::OUString::createFromAscii("com.sun.star.form.component.DatabaseImageControl"); - msDialogType = rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlImageControlModel"); - } - - ~OCX_Image() { } - /*sal_uInt8 for sal_uInt8 Word Struct*/ - sal_uInt16 nIdentifier; - sal_uInt16 nFixedAreaLen; - sal_uInt8 pBlockFlags[4]; - - sal_uInt32 nBorderColor; - sal_uInt8 nBorderStyle; - sal_uInt8 nMousePointer; - sal_uInt8 nPictureSizeMode; - - - sal_uInt8 fUnknown1:1; - sal_uInt8 fEnabled:1; - sal_uInt8 fUnknown2:2; - sal_uInt8 fBackStyle:1; - sal_uInt8 fUnknown3:3; - - sal_uInt8 nPictureAlignment; - bool bPictureTiling; - sal_uInt8 nSpecialEffect; - - bool bAutoSize; - ::rtl::OUString sImageUrl; - sal_Bool Read(SotStorageStream *pS); - - using OCX_Control::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet>& rPropSet); - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - // No Font record - virtual sal_Bool ReadFontData(SvStorageStream* /*pS*/) { return sal_True; } - - static OCX_Control *Create() { return new OCX_Image;} -}; -struct ContainerRecord -{ - ContainerRecord():nTop(0), nLeft(0), nSubStorageId(0), nSubStreamLen(0), nTabPos(0), nTypeIdent(0), bVisible( true ) {} - - ::rtl::OUString cName; - ::rtl::OUString controlTip; - - sal_uInt32 nTop; - sal_uInt32 nLeft; - sal_uInt32 nSubStorageId; - sal_uInt32 nSubStreamLen; - sal_uInt16 nTabPos; - sal_uInt16 nTypeIdent; - bool bVisible; -}; - -typedef std::vector<OCX_Control*>::iterator CtrlIterator; -typedef std::vector<OCX_Control*>::const_iterator CtrlIteratorConst; -typedef std::vector<OCX_Control*> CtrlList; - - - -class RBGroup -{ - public: - RBGroup():mRBGroupPos(0){} - RBGroup(sal_uInt16& groupPos ):mRBGroupPos(groupPos){} - sal_Int16 tabPos() const { return mRBGroupPos; } - std::vector<OCX_Control*>::size_type numControls() - { return mpControls.size(); } - std::vector<OCX_Control*>& controls() { return mpControls; } - - void add(OCX_Control* pRB); - private: - sal_uInt16 mRBGroupPos; - std::vector<OCX_Control*> mpControls; -}; - -typedef ::std::hash_map < ::rtl::OUString, RBGroup*, ::rtl::OUStringHash, - ::std::equal_to< ::rtl::OUString > > RBGroupHash; -typedef std::vector<RBGroup*>::iterator GroupIterator; - -class OCX_OptionButton; - -class RBGroupManager -{ -public: - RBGroupManager( String& defaultName ); - ~RBGroupManager(); - - CtrlList insertGroupsIntoControlList( const CtrlList& sourceList ); - void addRadioButton( OCX_OptionButton* pRButton ); -private: - - void addSeperator( std::vector< OCX_Control* >& dest ); - void copyList( std::vector< OCX_Control* >& src, - std::vector< OCX_Control* >& dest, - bool addGroupSeperator ); - - RBGroupHash rbGroups; - String mSDefaultName; - std::vector< RBGroup* > groupList; - sal_uInt16 numRadioButtons; -}; - - - - -class OCX_ContainerControl : public OCX_Control -{ -public: - virtual ~OCX_ContainerControl(); - // sub class will process the control specific information - // e.g frame or userform ( maybe tab, mulipage in the future ) - // Base (this) class will process the container specific information - // e.g. the controls contained by this container - // will - // a) create the controls - // b) read the controls - // c) store these controls in a list for post processing - // e.g. import - // - virtual sal_Bool Read(SvStorageStream *pS); - // No Font record - virtual sal_Bool ReadFontData(SvStorageStream* /*pS*/) { return sal_True; } - - using OCX_Control::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - - SotStorageStreamRef getContainerStream() { return mContainerStream; } - - virtual void ProcessControl( OCX_Control* pControl, SvStorageStream* pS, ContainerRecord& rec ); - bool createFromContainerRecord( const ContainerRecord& record, - OCX_Control*& ); -protected: - // This class not meant to be instantiated - // needs to be subclassed - OCX_ContainerControl( SotStorageRef& parent, - const ::rtl::OUString& storageName, - const ::rtl::OUString& sN, - const com::sun::star::uno::Reference< - com::sun::star::container::XNameContainer > &rParent, - OCX_Control* pParent = NULL ); - rtl::OUString createSubStreamName( const sal_uInt32& subStorageID ); - - RBGroupManager rbGroupMgr; - com::sun::star::uno::Reference< - com::sun::star::container::XNameContainer > mxParent; - std::vector<OCX_Control*> mpControls; - SotStorageRef mContainerStorage; - SotStorageStreamRef mContainerStream; - SotStorageStreamRef mContainedControlsStream; - sal_uInt32 nNoRecords; - sal_uInt32 nTotalLen; - sal_uInt32 containerType; - -private: - OCX_ContainerControl(); // not implemented - OCX_ContainerControl(const OCX_ContainerControl&); // not implemented -}; - - -class OCX_MultiPage : public OCX_ContainerControl -{ -public: - OCX_MultiPage( SotStorageRef& parent, - const ::rtl::OUString& storageName, - const ::rtl::OUString& sN, - const com::sun::star::uno::Reference< - com::sun::star::container::XNameContainer > &rDialog, OCX_Control* pParent = NULL); - virtual ~OCX_MultiPage() - { - delete[] pCaption; - delete[] pIcon; - delete[] pPicture; - } - virtual sal_Bool Read(SvStorageStream *pS); - - using OCX_ContainerControl::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::container::XNameContainer> - &rDialog); - virtual void ProcessControl( OCX_Control* pControl, SvStorageStream* pS, ContainerRecord& rec ); - /*sal_uInt8 for sal_uInt8 Word Struct*/ - sal_uInt16 nIdentifier; - sal_uInt16 nFixedAreaLen; - sal_uInt8 pBlockFlags[4]; - - sal_uInt32 fUnknown1; - - sal_uInt8 fUnknown2:1; - sal_uInt8 fEnabled:1; - sal_uInt8 fLocked:1; - sal_uInt8 fBackStyle:1; - sal_uInt8 fUnknown3:4; - - sal_uInt8 fUnknown4:8; - - sal_uInt8 fUnknown5:7; - sal_uInt8 fWordWrap:1; - - sal_uInt8 fUnknown6:4; - sal_uInt8 fAutoSize:1; - sal_uInt8 fUnknown7:3; - - sal_uInt32 nCaptionLen; - sal_uInt16 nVertPos; - sal_uInt16 nHorzPos; - sal_uInt8 nMousePointer; - sal_uInt32 nBorderColor; - sal_uInt32 fUnknown8; - sal_uInt32 fUnknown9; - sal_uInt8 nKeepScrollBarsVisible; - sal_uInt8 nCycle; - sal_uInt16 nBorderStyle; - sal_uInt16 nSpecialEffect; - sal_uInt16 nPicture; - sal_uInt8 nPictureAlignment; - sal_uInt8 nPictureSizeMode; - bool bPictureTiling; - sal_uInt16 nAccelerator; - sal_uInt16 nIcon; - - char *pCaption; - - sal_uInt32 nScrollWidth; - sal_uInt32 nScrollHeight; - - - sal_uInt8 pIconHeader[20]; - sal_uInt32 nIconLen; - sal_uInt8 *pIcon; - - sal_uInt8 pPictureHeader[20]; - sal_uInt32 nPictureLen; - sal_uInt8 *pPicture; -private: - sal_Int32 mnCurrentPageStep; -}; - - - -class OCX_Page : public OCX_ContainerControl -{ -public: - OCX_Page( SotStorageRef& parentStorage, - const ::rtl::OUString& storageName, - const ::rtl::OUString& sN, - const com::sun::star::uno::Reference< - com::sun::star::container::XNameContainer > &rDialog, OCX_Control* parent = NULL); - virtual ~OCX_Page() - { - delete[] pCaption; - delete[] pIcon; - delete[] pPicture; - } - virtual sal_Bool Read(SvStorageStream *pS); - - using OCX_ContainerControl::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::container::XNameContainer> - &rDialog); -/* virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); -*/ - /*sal_uInt8 for sal_uInt8 Word Struct*/ - sal_uInt16 nIdentifier; - sal_uInt16 nFixedAreaLen; - sal_uInt8 pBlockFlags[4]; - - sal_uInt32 fUnknown1; - - sal_uInt8 fUnknown2:1; - sal_uInt8 fEnabled:1; - sal_uInt8 fLocked:1; - sal_uInt8 fBackStyle:1; - sal_uInt8 fUnknown3:4; - - sal_uInt8 fUnknown4:8; - - sal_uInt8 fUnknown5:7; - sal_uInt8 fWordWrap:1; - - sal_uInt8 fUnknown6:4; - sal_uInt8 fAutoSize:1; - sal_uInt8 fUnknown7:3; - - sal_uInt32 nCaptionLen; - sal_uInt16 nVertPos; - sal_uInt16 nHorzPos; - sal_uInt8 nMousePointer; - sal_uInt32 nBorderColor; - sal_uInt32 fUnknown8; - sal_uInt32 fUnknown9; - sal_uInt8 nKeepScrollBarsVisible; - sal_uInt8 nCycle; - sal_uInt16 nBorderStyle; - sal_uInt16 nSpecialEffect; - sal_uInt16 nPicture; - sal_uInt8 nPictureAlignment; - sal_uInt8 nPictureSizeMode; - bool bPictureTiling; - sal_uInt16 nAccelerator; - sal_uInt16 nIcon; - - char *pCaption; - - sal_uInt32 nScrollWidth; - sal_uInt32 nScrollHeight; - - - sal_uInt8 pIconHeader[20]; - sal_uInt32 nIconLen; - sal_uInt8 *pIcon; - - sal_uInt8 pPictureHeader[20]; - sal_uInt32 nPictureLen; - sal_uInt8 *pPicture; -private: -}; - - -class OCX_Frame : public OCX_ContainerControl -{ -public: - OCX_Frame( SotStorageRef& parent, - const ::rtl::OUString& storageName, - const ::rtl::OUString& sN, - const com::sun::star::uno::Reference< - com::sun::star::container::XNameContainer > &rDialog, OCX_Control* pParent = NULL); - virtual ~OCX_Frame() - { - delete[] pCaption; - delete[] pIcon; - delete[] pPicture; - } - virtual sal_Bool Read(SvStorageStream *pS); - - using OCX_ContainerControl::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - - /*sal_uInt8 for sal_uInt8 Word Struct*/ - sal_uInt16 nIdentifier; - sal_uInt16 nFixedAreaLen; - sal_uInt8 pBlockFlags[4]; - - sal_uInt32 fUnknown1; - - sal_uInt8 fUnknown2:1; - sal_uInt8 fEnabled:1; - sal_uInt8 fLocked:1; - sal_uInt8 fBackStyle:1; - sal_uInt8 fUnknown3:4; - - sal_uInt8 fUnknown4:8; - - sal_uInt8 fUnknown5:7; - sal_uInt8 fWordWrap:1; - - sal_uInt8 fUnknown6:4; - sal_uInt8 fAutoSize:1; - sal_uInt8 fUnknown7:3; - - sal_uInt32 nCaptionLen; - sal_uInt16 nVertPos; - sal_uInt16 nHorzPos; - sal_uInt8 nMousePointer; - sal_uInt32 nBorderColor; - sal_uInt32 fUnknown8; - sal_uInt32 fUnknown9; - sal_uInt8 nKeepScrollBarsVisible; - sal_uInt8 nCycle; - sal_uInt16 nBorderStyle; - sal_uInt16 nSpecialEffect; - sal_uInt16 nPicture; - sal_uInt8 nPictureAlignment; - sal_uInt8 nPictureSizeMode; - bool bPictureTiling; - sal_uInt16 nAccelerator; - sal_uInt16 nIcon; - - char *pCaption; - - sal_uInt32 nScrollWidth; - sal_uInt32 nScrollHeight; - sal_uInt32 nScrollLeft; - sal_uInt32 nScrollTop; - - - sal_uInt8 pIconHeader[20]; - sal_uInt32 nIconLen; - sal_uInt8 *pIcon; - - sal_uInt8 pPictureHeader[20]; - sal_uInt32 nPictureLen; - sal_uInt8 *pPicture; -private: -}; - -class OCX_UserForm : public OCX_ContainerControl -{ -public: - OCX_UserForm( SotStorageRef& parent, - const ::rtl::OUString& storageName, - const ::rtl::OUString& sN, - const com::sun::star::uno::Reference< - com::sun::star::container::XNameContainer > &rDialog, - const com::sun::star::uno::Reference< - com::sun::star::lang::XMultiServiceFactory >& rMsf); - ~OCX_UserForm() - { - delete[] pCaption; - delete[] pIcon; - delete[] pPicture; - } - - virtual sal_Bool Read(SvStorageStream *pS); - - using OCX_ContainerControl::Import; // to not hide the other two import methods - virtual sal_Bool Import( com::sun::star::uno::Reference< - com::sun::star::container::XNameContainer> - &rDialog); - - /*sal_uInt8 for sal_uInt8 Word Struct*/ - sal_uInt16 nIdentifier; - sal_uInt16 nFixedAreaLen; - sal_uInt8 pBlockFlags[4]; - - sal_uInt32 nChildrenA; - - sal_uInt8 fUnknown1:1; - sal_uInt8 fEnabled:1; - sal_uInt8 fLocked:1; - sal_uInt8 fBackStyle:1; - sal_uInt8 fUnknown2:4; - - sal_uInt8 fUnknown3:8; - - sal_uInt8 fUnknown4:7; - sal_uInt8 fWordWrap:1; - - sal_uInt8 fUnknown5:4; - sal_uInt8 fAutoSize:1; - sal_uInt8 fUnknown6:3; - - sal_uInt32 nCaptionLen; - sal_uInt16 nVertPos; - sal_uInt16 nHorzPos; - sal_uInt8 nMousePointer; - sal_uInt32 nBorderColor; - sal_uInt32 nDrawBuffer; - sal_uInt32 nChildrenB; - sal_uInt8 nKeepScrollBarsVisible; - sal_uInt8 nCycle; - sal_uInt16 nBorderStyle; - sal_uInt8 nSpecialEffect; - sal_uInt16 nPicture; - sal_uInt8 nPictureAlignment; - sal_uInt8 nPictureSizeMode; - bool bPictureTiling; - sal_uInt16 nAccelerator; - sal_uInt16 nIcon; - sal_uInt16 fUnknown7; - - char *pCaption; - - sal_uInt32 nScrollWidth; - sal_uInt32 nScrollHeight; - sal_uInt32 nScrollLeft; - sal_uInt32 nScrollTop; - - sal_uInt8 pIconHeader[20]; - sal_uInt32 nIconLen; - sal_uInt8 *pIcon; - - sal_uInt8 pPictureHeader[20]; - sal_uInt32 nPictureLen; - sal_uInt8 *pPicture; -private: - com::sun::star::uno::Reference< - com::sun::star::uno::XComponentContext> mxCtx; -}; - - - -class OCX_CheckBox : public OCX_ModernControl -{ -public: - OCX_CheckBox() : OCX_ModernControl(rtl::OUString::createFromAscii("CheckBox")){ - msFormType = rtl::OUString::createFromAscii("com.sun.star.form.component.CheckBox"); - msDialogType = rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlCheckBoxModel"); - mnBackColor = 0x80000005L; - mnForeColor = 0x80000008L; - aFontData.SetHasAlign(TRUE); - } - - using OCX_ModernControl::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - static OCX_Control *Create() { return new OCX_CheckBox;} -}; - -class OCX_OptionButton : public OCX_ModernControl -{ -public: - OCX_OptionButton() : OCX_ModernControl(rtl::OUString::createFromAscii("OptionButton")) - { - msFormType = rtl::OUString::createFromAscii("com.sun.star.form.component.RadioButton"); - msDialogType = rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlRadioButtonModel"); - mnBackColor = 0x80000005L; - mnForeColor = 0x80000008L; - aFontData.SetHasAlign(TRUE); - } - - using OCX_ModernControl::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - - - static OCX_Control *Create() { return new OCX_OptionButton;} -}; - -class OCX_TextBox : public OCX_ModernControl -{ -public: - OCX_TextBox() : OCX_ModernControl(rtl::OUString::createFromAscii("TextBox")) { - msFormType = rtl::OUString::createFromAscii("com.sun.star.form.component.TextField"); - msDialogType = rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlEditModel"); - mnBackColor = 0x80000005L; - mnForeColor = 0x80000008L; - nBorderColor = 0x80000006L; - aFontData.SetHasAlign(TRUE); - } - - using OCX_ModernControl::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - static OCX_Control *Create() { return new OCX_TextBox;} -}; - -class OCX_FieldControl: public OCX_ModernControl -{ -public: - OCX_FieldControl() : OCX_ModernControl(rtl::OUString::createFromAscii("TextBox")) { - mnBackColor = 0x80000005L; - mnForeColor = 0x80000008L; - nBorderColor = 0x80000006L; - } - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - static OCX_Control *Create() { return new OCX_FieldControl;} -}; - - -class OCX_ToggleButton : public OCX_ModernControl -{ -public: - OCX_ToggleButton() : OCX_ModernControl(rtl::OUString::createFromAscii("ToggleButton")) { - msFormType = rtl::OUString::createFromAscii("com.sun.star.form.component.CommandButton"); - msDialogType = rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlButtonModel"); - - mnBackColor = 0x8000000F; - mnForeColor = 0x80000012; - aFontData.SetHasAlign(TRUE); - aFontData.nJustification = 3; // centered by default - } - static OCX_Control *Create() { return new OCX_ToggleButton;} - - using OCX_ModernControl::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - sal_Bool Export(SvStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SvStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); -}; - -class OCX_ComboBox : public OCX_ModernControl -{ -public: - OCX_ComboBox() : OCX_ModernControl(rtl::OUString::createFromAscii("ComboBox")){ - msFormType = rtl::OUString::createFromAscii("com.sun.star.form.component.ComboBox"); - msDialogType = rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlComboBoxModel"); - mnBackColor = 0x80000005; - mnForeColor = 0x80000008; - nBorderColor = 0x80000006; - aFontData.SetHasAlign(TRUE); - } - static OCX_Control *Create() { return new OCX_ComboBox;} - using OCX_ModernControl::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); -}; - -class OCX_ListBox : public OCX_ModernControl -{ -public: - OCX_ListBox() : OCX_ModernControl(rtl::OUString::createFromAscii("ListBox")){ - msFormType = rtl::OUString::createFromAscii("com.sun.star.form.component.ListBox"); - msDialogType = rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlListBoxModel"); - mnBackColor = 0x80000005; - mnForeColor = 0x80000008; - nBorderColor = 0x80000006; - aFontData.SetHasAlign(TRUE); - } - static OCX_Control *Create() { return new OCX_ListBox;} - using OCX_ModernControl::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - -}; - -class OCX_CommandButton : public OCX_Control -{ -public: - OCX_CommandButton() : OCX_Control(String::CreateFromAscii("CommandButton")), - fEnabled(1), fLocked(0), fBackStyle(1), fWordWrap(0), fAutoSize(0), - nCaptionLen(0), nVertPos(1), nHorzPos(7), nMousePointer(0), nPicture(0), - nAccelerator(0), nIcon(0), pCaption(0), nIconLen(0), pIcon(0), nPictureLen(0), - pPicture(0), mbTakeFocus( true ) - { - msFormType = rtl::OUString::createFromAscii("com.sun.star.form.component.CommandButton"); - msDialogType = rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlButtonModel"); - mnForeColor = 0x80000012L; - mnBackColor = 0x8000000FL; - } - - ~OCX_CommandButton() { - if (pCaption) delete[] pCaption; - if (pIcon) delete[] pIcon; - if (pPicture) delete[] pPicture; - } - sal_Bool Read(SotStorageStream *pS); - - /*sal_uInt8 for sal_uInt8 Word Struct*/ - sal_uInt16 nIdentifier; - sal_uInt16 nFixedAreaLen; - sal_uInt8 pBlockFlags[4]; - - - sal_uInt8 fUnknown1:1; - sal_uInt8 fEnabled:1; - sal_uInt8 fLocked:1; - sal_uInt8 fBackStyle:1; - sal_uInt8 fUnknown2:4; - - sal_uInt8 fUnknown3:8; - - sal_uInt8 fUnknown4:7; - sal_uInt8 fWordWrap:1; - - sal_uInt8 fUnknown5:4; - sal_uInt8 fAutoSize:1; - sal_uInt8 fUnknown6:3; - - sal_uInt32 nCaptionLen; - - sal_uInt16 nVertPos; - sal_uInt16 nHorzPos; - - sal_uInt16 nMousePointer; - sal_uInt16 nPicture; - sal_uInt16 nAccelerator; - sal_uInt16 nIcon; - - char *pCaption; - - sal_uInt8 pIconHeader[20]; - sal_uInt32 nIconLen; - sal_uInt8 *pIcon; - - sal_uInt8 pPictureHeader[20]; - sal_uInt32 nPictureLen; - sal_uInt8 *pPicture; - - bool mbTakeFocus; - - static OCX_Control *Create() { return new OCX_CommandButton;} - using OCX_Control::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - -}; - -class OCX_ImageButton: public OCX_CommandButton -{ -public: - OCX_ImageButton() { - aFontData.SetHasAlign(FALSE); - aFontData.SetHasFont(FALSE); - } - static OCX_Control *Create() { return new OCX_ImageButton;} - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - -}; - -class OCX_GroupBox: public OCX_Control -{ -public: - OCX_GroupBox() : OCX_Control(String::CreateFromAscii("GroupBox")) {} - static OCX_Control *Create() { return new OCX_GroupBox;} - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - -}; - -class OCX_Label : public OCX_Control -{ -public: - OCX_Label(OCX_Control* pParent = NULL ) : OCX_Control(rtl::OUString::createFromAscii("Label"), pParent ), fEnabled(1), - fLocked(0),fBackStyle(1),fWordWrap(1), - fAutoSize(0),nCaptionLen(0),nVertPos(1),nHorzPos(7),nMousePointer(0), - nBorderColor(0x80000006),nBorderStyle(0),nSpecialEffect(0), - nPicture(0),nAccelerator(0),nIcon(0),pCaption(0),nIconLen(0),pIcon(0), - nPictureLen(0),pPicture(0) - { - msFormType = rtl::OUString::createFromAscii("com.sun.star.form.component.FixedText"); - msDialogType = rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlFixedTextModel"); - mnForeColor = 0x80000008; - mnBackColor = 0x80000005; - aFontData.SetHasAlign(TRUE); - } - - ~OCX_Label() { - if (pCaption) delete[] pCaption; - if (pIcon) delete[] pIcon; - if (pPicture) delete[] pPicture; - } - sal_Bool Read(SotStorageStream *pS); - - /*sal_uInt8 for sal_uInt8 Word Struct*/ - sal_uInt16 nIdentifier; - sal_uInt16 nFixedAreaLen; - sal_uInt8 pBlockFlags[4]; - - - sal_uInt8 fUnknown1:1; - sal_uInt8 fEnabled:1; - sal_uInt8 fLocked:1; - sal_uInt8 fBackStyle:1; - sal_uInt8 fUnknown2:4; - - sal_uInt8 fUnknown3:8; - - sal_uInt8 fUnknown4:7; - sal_uInt8 fWordWrap:1; - - sal_uInt8 fUnknown5:4; - sal_uInt8 fAutoSize:1; - sal_uInt8 fUnknown6:3; - - sal_uInt32 nCaptionLen; - sal_uInt16 nVertPos; - sal_uInt16 nHorzPos; - sal_uInt8 nMousePointer; - sal_uInt32 nBorderColor; - sal_uInt16 nBorderStyle; - sal_uInt16 nSpecialEffect; - sal_uInt16 nPicture; - sal_uInt16 nAccelerator; - sal_uInt16 nIcon; - - char *pCaption; - - sal_uInt8 pIconHeader[20]; - sal_uInt32 nIconLen; - sal_uInt8 *pIcon; - - sal_uInt8 pPictureHeader[20]; - sal_uInt32 nPictureLen; - sal_uInt8 *pPicture; - - static OCX_Control *Create() { return new OCX_Label;} - - using OCX_Control::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - - sal_Bool Export(SotStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - sal_Bool WriteContents(SotStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize); - -}; - - -class OCX_ProgressBar : public OCX_Control -{ -public: - explicit OCX_ProgressBar(); - - static OCX_Control* Create(); - - virtual sal_Bool Read( SvStorageStream *pS ); - using OCX_Control::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - // No Font record - virtual sal_Bool ReadFontData(SvStorageStream* /*pS*/) { return sal_True; } -private: - sal_Int32 nMin; - sal_Int32 nMax; - bool bFixedSingle; - bool bEnabled; - bool b3d; -}; - -class OCX_SpinButton : public OCX_Control -{ -public: - explicit OCX_SpinButton(); - - static OCX_Control* Create(); - - virtual sal_Bool Read( SvStorageStream *pS ); - - virtual sal_Bool ReadFontData( SvStorageStream *pS ); - - using OCX_Control::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - //Export exports a control as an OLE style storage stream tree - virtual sal_Bool Export( SvStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize ); - - //WriteContents writes the contents of a contents stream, for - //the Excel export you cannot use Export, only WriteContents instead - virtual sal_Bool WriteContents( SvStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize ); - -protected: - void UpdateInt32Property( - sal_Int32& rnCoreValue, sal_Int32 nNewValue, - sal_Int32 nBlockFlag ); - - void GetInt32Property( - sal_Int32& rnCoreValue, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet >& rxPropSet, - const rtl::OUString& rPropName, - sal_Int32 nBlockFlag ); - - void UpdateBoolProperty( - bool& rbCoreValue, bool bNewValue, - sal_Int32 nBlockFlag ); - - void GetBoolProperty( - bool& rbCoreValue, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet >& rxPropSet, - const rtl::OUString& rPropName, - sal_Int32 nBlockFlag ); - - /** Writes the data from own members to stream. */ - sal_Bool WriteData( SvStream& rStrm ) const; - - sal_Int32 mnBlockFlags; - sal_Int32 mnValue; - sal_Int32 mnMin; - sal_Int32 mnMax; - sal_Int32 mnSmallStep; - sal_Int32 mnPageStep; - sal_Int32 mnOrient; - sal_Int32 mnDelay; - bool mbEnabled; - bool mbLocked; - bool mbPropThumb; -}; - -class OCX_ScrollBar : public OCX_SpinButton -{ -public: - explicit OCX_ScrollBar(); - - static OCX_Control* Create(); - - using OCX_Control::Import; // to not hide the other two import methods - virtual sal_Bool Import(com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet); - - //Export exports a control as an OLE style storage stream tree - virtual sal_Bool Export( SvStorageRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize ); - - //WriteContents writes the contents of a contents stream, for - //the Excel export you cannot use Export, only WriteContents instead - virtual sal_Bool WriteContents( SvStorageStreamRef &rObj, - const com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet> &rPropSet, - const com::sun::star::awt::Size& rSize ); -}; - -#endif diff --git a/svx/inc/svx/msvbahelper.hxx b/svx/inc/svx/msvbahelper.hxx deleted file mode 100644 index b1db44237fa6..000000000000 --- a/svx/inc/svx/msvbahelper.hxx +++ /dev/null @@ -1,58 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: - * $Revision: - * - * 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 _MSVBAHELPER_HXX -#define _MSVBAHELPER_HXX - -#include <sfx2/objsh.hxx> -#include "svx/svxdllapi.h" - -namespace ooo { namespace vba -{ - class SVX_DLLPUBLIC VBAMacroResolvedInfo - { - SfxObjectShell* mpDocContext; - bool mbFound; - String msResolvedMacro; - public: - VBAMacroResolvedInfo() : mpDocContext(NULL), mbFound( false ){} - void SetResolved( bool bRes ) { mbFound = bRes; } - bool IsResolved() { return mbFound; } - void SetMacroDocContext(SfxObjectShell* pShell ) { mpDocContext = pShell; } - SfxObjectShell* MacroDocContext() { return mpDocContext; } - String ResolvedMacro() { return msResolvedMacro; } - void SetResolvedMacro(const String& sMacro ) { msResolvedMacro = sMacro; } - }; - - SVX_DLLPUBLIC String makeMacroURL( const String& sMacroName ); - SVX_DLLPUBLIC VBAMacroResolvedInfo resolveVBAMacro( SfxObjectShell* pShell, const rtl::OUString& sMod, bool bSearchGlobalTemplates = false ); - SVX_DLLPUBLIC sal_Bool executeMacro( SfxObjectShell* pShell, const String& sMacroName, com::sun::star::uno::Sequence< com::sun::star::uno::Any >& aArgs, com::sun::star::uno::Any& aRet, const com::sun::star::uno::Any& aCaller ); -} } - -#endif diff --git a/svx/inc/svx/nhypitem.hxx b/svx/inc/svx/nhypitem.hxx index 78f81169cc9e..6cca0508a53d 100644 --- a/svx/inc/svx/nhypitem.hxx +++ b/svx/inc/svx/nhypitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/numfmtsh.hxx b/svx/inc/svx/numfmtsh.hxx index 5e6fe3737f94..7aee6f6bbb65 100644 --- a/svx/inc/svx/numfmtsh.hxx +++ b/svx/inc/svx/numfmtsh.hxx @@ -46,7 +46,7 @@ #endif #include "svx/svxdllapi.h" -#include <svtools/svstdarr.hxx> +#include <svl/svstdarr.hxx> // forward --------------------------------------------------------------- diff --git a/svx/inc/svx/numinf.hxx b/svx/inc/svx/numinf.hxx index 6035f71bc196..b1525a8f56a6 100644 --- a/svx/inc/svx/numinf.hxx +++ b/svx/inc/svx/numinf.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/itempool.hxx> +#include <svl/itempool.hxx> #include <svx/numfmtsh.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/numitem.hxx b/svx/inc/svx/numitem.hxx index 9840ec1688ac..86f1eee764a7 100644 --- a/svx/inc/svx/numitem.hxx +++ b/svx/inc/svx/numitem.hxx @@ -34,7 +34,7 @@ #include <tools/link.hxx> #include <tools/string.hxx> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <svx/svxenum.hxx> #include <tools/gen.hxx> #ifndef _SVX_NUMDEF_HXX //autogen @@ -47,7 +47,7 @@ #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/style/NumberingType.hpp> -#include <vcl/fontcvt.hxx> +#include <unotools/fontcvt.hxx> #include "svx/svxdllapi.h" class SvxBrushItem; diff --git a/svx/inc/svx/obj3d.hxx b/svx/inc/svx/obj3d.hxx index 46c79b45e4d1..30a22938f888 100644 --- a/svx/inc/svx/obj3d.hxx +++ b/svx/inc/svx/obj3d.hxx @@ -40,7 +40,7 @@ #include <vcl/bitmap.hxx> #include <svx/svx3ditems.hxx> #include <svx/xflclit.hxx> -#include <svtools/itemset.hxx> +#include <svl/itemset.hxx> #include <basegfx/polygon/b3dpolypolygon.hxx> #include <basegfx/point/b2dpoint.hxx> #include <basegfx/polygon/b2dpolygon.hxx> diff --git a/svx/inc/svx/optimprove.hxx b/svx/inc/svx/optimprove.hxx deleted file mode 100644 index 61f184239e88..000000000000 --- a/svx/inc/svx/optimprove.hxx +++ /dev/null @@ -1,143 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optimprove.hxx,v $ - * $Revision: 1.2 $ - * - * 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 _SVX_OPTIMPROVE_HXX -#define _SVX_OPTIMPROVE_HXX - -// include --------------------------------------------------------------- - -#include "svx/svxdllapi.h" - -#include <vcl/tabpage.hxx> -#include <vcl/fixed.hxx> -#include <vcl/button.hxx> -#include <svtools/fixedhyper.hxx> -#include <sfx2/basedlgs.hxx> -#include <sfx2/tabdlg.hxx> - -// class SvxEmptyPage ---------------------------------------------------- - -class SvxEmptyPage : public TabPage -{ -public: - SvxEmptyPage( Window* pParent ); -}; - -// class SvxImprovementPage ---------------------------------------------- - -class SvxImprovementPage : public TabPage -{ -private: - FixedLine m_aImproveFL; - FixedText m_aInvitationFT; - RadioButton m_aYesRB; - RadioButton m_aNoRB; - FixedLine m_aDataFL; - FixedText m_aNumberOfReportsFT; - FixedText m_aNumberOfReportsValueFT; - FixedText m_aNumberOfActionsFT; - FixedText m_aNumberOfActionsValueFT; - PushButton m_aShowDataPB; - - String m_sInfo; - String m_sMoreInfo; - -public: - SvxImprovementPage( Window* pParent ); - ~SvxImprovementPage(); - - inline bool IsYesChecked() const { return m_aYesRB.IsChecked() != FALSE; } - - inline String GetPageText() const { return GetText(); } - inline String GetInvitationText() const { return m_aInvitationFT.GetText(); } - inline String GetYesButtonText() const { return m_aYesRB.GetText(); } - inline String GetNoButtonText() const { return m_aNoRB.GetText(); } - inline String GetInfoText() const { return m_sInfo; } - inline String GetTitleText() const { return m_aImproveFL.GetText(); } -}; - -class SvxImprovementOptionsPage : public SfxTabPage -{ -private: - FixedLine m_aImproveFL; - FixedText m_aInvitationFT; - RadioButton m_aYesRB; - RadioButton m_aNoRB; - svt::FixedHyperlinkImage m_aInfoFI; - FixedLine m_aDataFL; - FixedText m_aNumberOfReportsFT; - FixedText m_aNumberOfReportsValueFT; - FixedText m_aNumberOfActionsFT; - FixedText m_aNumberOfActionsValueFT; - PushButton m_aShowDataPB; - - String m_sInfo; - String m_sMoreInfo; - ::rtl::OUString m_sLogPath; - - SvxImprovementOptionsPage( Window* pParent, const SfxItemSet& rSet ); - - DECL_LINK( HandleHyperlink, svt::FixedHyperlinkImage * ); - DECL_LINK( HandleShowData, PushButton * ); - -public: - virtual ~SvxImprovementOptionsPage(); - - static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); - static sal_uInt16* GetRanges(); - - virtual sal_Bool FillItemSet( SfxItemSet& rSet ); - virtual void Reset( const SfxItemSet& rSet ); -}; - -class SvxImprovementDialog : public SfxSingleTabDialog -{ -private: - SvxImprovementPage* m_pPage; - - DECL_LINK( HandleOK, OKButton * ); - DECL_LINK( HandleHyperlink, svt::FixedHyperlinkImage * ); - -public: - SvxImprovementDialog( Window* pParent, const String& rInfoURL ); -}; - -class SvxInfoWindow : public Window -{ -private: - FixedText m_aInfoText; - -public: - SvxInfoWindow( Window* pParent, const ResId& rResId ); - - void SetInfoText( const String& rText ); -}; - -#endif - diff --git a/svx/inc/svx/optlingu.hxx b/svx/inc/svx/optlingu.hxx deleted file mode 100644 index 6c2a0a7ac528..000000000000 --- a/svx/inc/svx/optlingu.hxx +++ /dev/null @@ -1,185 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: optlingu.hxx,v $ - * $Revision: 1.4 $ - * - * 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 _SVX_OPTLINGU_HXX -#define _SVX_OPTLINGU_HXX - -// include --------------------------------------------------------------- - -#include <vcl/group.hxx> -#include <vcl/fixed.hxx> -#include <vcl/toolbox.hxx> -#include <vcl/field.hxx> -#include <svtools/fixedhyper.hxx> -#include <sfx2/tabdlg.hxx> -#include <svx/checklbx.hxx> -#include <svx/langbox.hxx> -#include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> -#include "svx/svxdllapi.h" - -namespace com{namespace sun{namespace star{ -namespace beans{ - class XPropertySet; -} -namespace linguistic2{ - class XDictionary; - class XDictionaryList; - class XSpellChecker; -}}}} - -class SvLBoxEntry; -class SvxLinguData_Impl; - -// define ---------------------------------------------------------------- - -#define GROUP_MODULES ((sal_uInt16)0x0008) - -// forward --------------------------------------------------------------- - -class SvxEditModulesDlg : public ModalDialog -{ - FixedLine aModulesFL; - FixedText aLanguageFT; - SvxLanguageBox aLanguageLB; - - SvxCheckListBox aModulesCLB; - PushButton aPrioUpPB; - PushButton aPrioDownPB; - PushButton aBackPB; - svt::FixedHyperlink aMoreDictsLink; - - FixedLine aButtonsFL; - HelpButton aHelpPB; - OKButton aClosePB; - - String sSpell; - String sHyph; - String sThes; - String sGrammar; - - SvxLinguData_Impl* pDefaultLinguData; - SvxLinguData_Impl& rLinguData; - - SvLBoxButtonData* pCheckButtonData; - - SvLBoxEntry* CreateEntry(String& rTxt, USHORT nCol); - -#ifdef _SVX_OPTLINGU_CXX - DECL_LINK( SelectHdl_Impl, SvxCheckListBox * ); - DECL_LINK( UpDownHdl_Impl, PushButton * ); - DECL_LINK( ClickHdl_Impl, PushButton * ); - DECL_LINK( BackHdl_Impl, PushButton * ); - DECL_LINK( SelectHdlLB_Impl, ListBox * ); - DECL_LINK( LangSelectHdl_Impl, ListBox* ); - DECL_LINK( BoxCheckButtonHdl_Impl, SvTreeListBox * ); - DECL_LINK( OpenURLHdl_Impl, svt::FixedHyperlink* ); -#endif - -public: - SvxEditModulesDlg(Window* pParent, SvxLinguData_Impl& rData); - virtual ~SvxEditModulesDlg(); -}; - -// class SvxLinguTabPage ------------------------------------------------- - -class SVX_DLLPUBLIC SvxLinguTabPage : public SfxTabPage -{ -private: - FixedLine aLinguisticFL; - FixedText aLinguModulesFT; - SvxCheckListBox aLinguModulesCLB; - PushButton aLinguModulesEditPB; - FixedText aLinguDicsFT; - SvxCheckListBox aLinguDicsCLB; - PushButton aLinguDicsNewPB; - PushButton aLinguDicsEditPB; - PushButton aLinguDicsDelPB; - FixedText aLinguOptionsFT; - SvxCheckListBox aLinguOptionsCLB; - PushButton aLinguOptionsEditPB; - svt::FixedHyperlink aMoreDictsLink; - - String sCapitalWords; - String sWordsWithDigits; - String sCapitalization; - String sSpellSpecial; - String sSpellAuto; - String sGrammarAuto; - String sNumMinWordlen; - String sNumPreBreak; - String sNumPostBreak; - String sHyphAuto; - String sHyphSpecial; - - com::sun::star::uno::Reference< - com::sun::star::beans::XPropertySet > xProp; - - com::sun::star::uno::Reference< - com::sun::star::linguistic2::XDictionaryList > xDicList; - com::sun::star::uno::Sequence< - com::sun::star::uno::Reference< - com::sun::star::linguistic2::XDictionary > > aDics; - - SvLBoxButtonData* pCheckButtonData; - - SvxLinguData_Impl* pLinguData; - - SVX_DLLPRIVATE SvxLinguTabPage( Window* pParent, const SfxItemSet& rCoreSet ); - SVX_DLLPRIVATE SvLBoxEntry* CreateEntry(String& rTxt, USHORT nCol); - - SVX_DLLPRIVATE void AddDicBoxEntry( const com::sun::star::uno::Reference< com::sun::star::linguistic2::XDictionary > &rxDic, USHORT nIdx ); - SVX_DLLPRIVATE ULONG GetDicUserData( const com::sun::star::uno::Reference< com::sun::star::linguistic2::XDictionary > &rxDic, USHORT nIdx ); - -#ifdef _SVX_OPTLINGU_CXX - DECL_LINK( SelectHdl_Impl, SvxCheckListBox * ); - DECL_LINK( ClickHdl_Impl, PushButton * ); - DECL_LINK( BoxDoubleClickHdl_Impl, SvTreeListBox * ); - DECL_LINK( BoxCheckButtonHdl_Impl, SvTreeListBox * ); - DECL_LINK( PostDblClickHdl_Impl, SvTreeListBox * ); - DECL_LINK( OpenURLHdl_Impl, svt::FixedHyperlink* ); - - SVX_DLLPRIVATE void UpdateModulesBox_Impl(); - SVX_DLLPRIVATE void UpdateDicBox_Impl(); -#endif - -public: - virtual ~SvxLinguTabPage(); - static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); - static sal_uInt16* GetRanges(); - - virtual sal_Bool FillItemSet( SfxItemSet& rSet ); - virtual void Reset( const SfxItemSet& rSet ); - - void HideGroups( sal_uInt16 nGrp ); -}; - -#endif - diff --git a/svx/inc/svx/orphitem.hxx b/svx/inc/svx/orphitem.hxx index b1962b31eadd..676e245c3770 100644 --- a/svx/inc/svx/orphitem.hxx +++ b/svx/inc/svx/orphitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/outliner.hxx b/svx/inc/svx/outliner.hxx index 37e3d8ac71ee..e87ed9bd6114 100644 --- a/svx/inc/svx/outliner.hxx +++ b/svx/inc/svx/outliner.hxx @@ -34,7 +34,7 @@ #include <tools/string.hxx> #include <tools/debug.hxx> -#include <svtools/brdcst.hxx> +#include <svl/brdcst.hxx> #include <svx/editdata.hxx> #include <i18npool/lang.h> diff --git a/svx/inc/svx/pageitem.hxx b/svx/inc/svx/pageitem.hxx index 740e3a9e6edc..a9f611474a1b 100644 --- a/svx/inc/svx/pageitem.hxx +++ b/svx/inc/svx/pageitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <tools/string.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/paravertalignitem.hxx b/svx/inc/svx/paravertalignitem.hxx index 7fc1379307ad..a7026422cc97 100644 --- a/svx/inc/svx/paravertalignitem.hxx +++ b/svx/inc/svx/paravertalignitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/pbinitem.hxx b/svx/inc/svx/pbinitem.hxx index 92241320ad14..f6a490cd8316 100644 --- a/svx/inc/svx/pbinitem.hxx +++ b/svx/inc/svx/pbinitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/pmdlitem.hxx b/svx/inc/svx/pmdlitem.hxx index 211083065797..edbf627c516b 100644 --- a/svx/inc/svx/pmdlitem.hxx +++ b/svx/inc/svx/pmdlitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/stritem.hxx> +#include <svl/stritem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/postitem.hxx b/svx/inc/svx/postitem.hxx index 18870f34ecbb..b662f64116b5 100644 --- a/svx/inc/svx/postitem.hxx +++ b/svx/inc/svx/postitem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #include <vcl/vclenum.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/prszitem.hxx b/svx/inc/svx/prszitem.hxx index 1b603acb0762..f075358f7a24 100644 --- a/svx/inc/svx/prszitem.hxx +++ b/svx/inc/svx/prszitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/ruler.hxx b/svx/inc/svx/ruler.hxx index 53c713161156..200f7f997471 100644 --- a/svx/inc/svx/ruler.hxx +++ b/svx/inc/svx/ruler.hxx @@ -32,7 +32,7 @@ #include <vcl/menu.hxx> #include <svtools/ruler.hxx> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include "svx/svxdllapi.h" class SvxProtectItem; diff --git a/svx/inc/svx/scriptspaceitem.hxx b/svx/inc/svx/scriptspaceitem.hxx index d05fc45f8fe9..660d3c9c2019 100644 --- a/svx/inc/svx/scriptspaceitem.hxx +++ b/svx/inc/svx/scriptspaceitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/scripttypeitem.hxx b/svx/inc/svx/scripttypeitem.hxx index c35ae38b314b..75af8bcd8397 100644 --- a/svx/inc/svx/scripttypeitem.hxx +++ b/svx/inc/svx/scripttypeitem.hxx @@ -32,11 +32,11 @@ // include --------------------------------------------------------------- -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif -#include <svtools/languageoptions.hxx> +#include <svl/languageoptions.hxx> #include "svx/svxdllapi.h" // class SvxScriptTypeItem ---------------------------------------------- diff --git a/svx/inc/svx/sdangitm.hxx b/svx/inc/svx/sdangitm.hxx index 3ae426d921fa..27205b49ec8b 100644 --- a/svx/inc/svx/sdangitm.hxx +++ b/svx/inc/svx/sdangitm.hxx @@ -30,7 +30,7 @@ #ifndef _SDANGITM_HXX #define _SDANGITM_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdasaitm.hxx b/svx/inc/svx/sdasaitm.hxx index 2301e0021b42..9678dec88968 100644 --- a/svx/inc/svx/sdasaitm.hxx +++ b/svx/inc/svx/sdasaitm.hxx @@ -31,7 +31,7 @@ #ifndef _SDASAITM_HXX #define _SDASAITM_HXX -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <tools/list.hxx> class SdrCustomShapeAdjustmentValue diff --git a/svx/inc/svx/sdasitm.hxx b/svx/inc/svx/sdasitm.hxx index 882b3b74fedd..2499a857b965 100644 --- a/svx/inc/svx/sdasitm.hxx +++ b/svx/inc/svx/sdasitm.hxx @@ -33,7 +33,7 @@ #include <svx/svddef.hxx> #include <svx/sdooitm.hxx> -#include <svtools/stritem.hxx> +#include <svl/stritem.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/uno/Any.hxx> diff --git a/svx/inc/svx/sdggaitm.hxx b/svx/inc/svx/sdggaitm.hxx index a1c6ba0431d6..c20ec38e78d1 100644 --- a/svx/inc/svx/sdggaitm.hxx +++ b/svx/inc/svx/sdggaitm.hxx @@ -31,7 +31,7 @@ #ifndef _SDGGAITM_HXX #define _SDGGAITM_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdgmoitm.hxx b/svx/inc/svx/sdgmoitm.hxx index 0f46c913c82e..0f27c6ef8ba4 100644 --- a/svx/inc/svx/sdgmoitm.hxx +++ b/svx/inc/svx/sdgmoitm.hxx @@ -32,7 +32,7 @@ #define _SDGMOITM_HXX #include <goodies/grfmgr.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdmetitm.hxx b/svx/inc/svx/sdmetitm.hxx index 65f8a33443ed..b4f39d5fa76f 100644 --- a/svx/inc/svx/sdmetitm.hxx +++ b/svx/inc/svx/sdmetitm.hxx @@ -30,7 +30,7 @@ #ifndef _SDMETITM_HXX #define _SDMETITM_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdooitm.hxx b/svx/inc/svx/sdooitm.hxx index 5a49830909bc..d8af5ef51428 100644 --- a/svx/inc/svx/sdooitm.hxx +++ b/svx/inc/svx/sdooitm.hxx @@ -30,7 +30,7 @@ #ifndef _SDOOITM_HXX #define _SDOOITM_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdprcitm.hxx b/svx/inc/svx/sdprcitm.hxx index 404b70504b99..b9e17365629f 100644 --- a/svx/inc/svx/sdprcitm.hxx +++ b/svx/inc/svx/sdprcitm.hxx @@ -30,7 +30,7 @@ #ifndef _SDPRCITM_HXX #define _SDPRCITM_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdr/contact/objectcontact.hxx b/svx/inc/svx/sdr/contact/objectcontact.hxx index 3990c48695a3..c0388f152643 100644 --- a/svx/inc/svx/sdr/contact/objectcontact.hxx +++ b/svx/inc/svx/sdr/contact/objectcontact.hxx @@ -90,8 +90,7 @@ namespace sdr sdr::event::TimerEventHandler* mpEventHandler; // The redirector. If set it is used to pipe all supported calls - // to the redirector. When one is set at the ViewContact too, the one at - // the ViewContact will win. + // to the redirector ViewObjectContactRedirector* mpViewObjectContactRedirector; // the Primitive2DParameters containing view information diff --git a/svx/inc/svx/sdr/overlay/overlaytools.hxx b/svx/inc/svx/sdr/overlay/overlaytools.hxx index d9a1b34dd8f6..830f3dc12586 100644 --- a/svx/inc/svx/sdr/overlay/overlaytools.hxx +++ b/svx/inc/svx/sdr/overlay/overlaytools.hxx @@ -58,7 +58,7 @@ namespace drawinglayer sal_uInt16 mnCenterY; protected: - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& rViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const; public: OverlayBitmapExPrimitive( @@ -99,7 +99,7 @@ namespace drawinglayer double mfDiscreteDashLength; protected: - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& rViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const; public: OverlayCrosshairPrimitive( @@ -148,7 +148,7 @@ namespace drawinglayer double mfRotation; protected: - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& rViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const; public: OverlayHatchRectanglePrimitive( @@ -206,7 +206,7 @@ namespace drawinglayer double mfDiscreteDashLength; protected: - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& rViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const; public: OverlayHelplineStripedPrimitive( @@ -251,7 +251,7 @@ namespace drawinglayer double mfDiscreteDashLength; protected: - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& rViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const; public: OverlayRollingRectanglePrimitive( diff --git a/svx/inc/svx/sdr/primitive2d/sdrcaptionprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrcaptionprimitive2d.hxx index 01bb7794e9f3..177c42bfff17 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrcaptionprimitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrcaptionprimitive2d.hxx @@ -46,7 +46,7 @@ namespace drawinglayer { namespace primitive2d { - class SdrCaptionPrimitive2D : public BasePrimitive2D + class SdrCaptionPrimitive2D : public BufferedDecompositionPrimitive2D { private: ::basegfx::B2DHomMatrix maTransform; @@ -57,7 +57,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrCaptionPrimitive2D( diff --git a/svx/inc/svx/sdr/primitive2d/sdrconnectorprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrconnectorprimitive2d.hxx index ba7cc7fed9c8..5523480f1f51 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrconnectorprimitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrconnectorprimitive2d.hxx @@ -45,7 +45,7 @@ namespace drawinglayer { namespace primitive2d { - class SdrConnectorPrimitive2D : public BasePrimitive2D + class SdrConnectorPrimitive2D : public BufferedDecompositionPrimitive2D { private: attribute::SdrLineShadowTextAttribute maSdrLSTAttribute; @@ -53,7 +53,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrConnectorPrimitive2D( diff --git a/svx/inc/svx/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx index 8f7f0eb23cb3..72035eb99569 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx @@ -45,7 +45,7 @@ namespace drawinglayer { namespace primitive2d { - class SdrCustomShapePrimitive2D : public BasePrimitive2D + class SdrCustomShapePrimitive2D : public BufferedDecompositionPrimitive2D { private: attribute::SdrShadowTextAttribute maSdrSTAttribute; @@ -57,16 +57,16 @@ namespace drawinglayer // that the text needs to be block formatted unsigned mbWordWrap : 1; - // #SJ# Allow text clipping against TextBox in special cases (used for SC) - unsigned mbForceTextClipToTextRange : 1; - // defines that the object contains/is a 3D AutoShape. Needed for // making exceptions with shadow generation unsigned mb3DShape : 1; + // #SJ# Allow text clipping against TextBox in special cases (used for SC)
+ unsigned mbForceTextClipToTextRange : 1;
+ protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrCustomShapePrimitive2D( @@ -74,16 +74,16 @@ namespace drawinglayer const Primitive2DSequence& rSubPrimitives, const basegfx::B2DHomMatrix& rTextBox, bool bWordWrap, - bool bForceTextClipToTextRange, - bool b3DShape); + bool b3DShape, + bool bForceTextClipToTextRange); // data access const attribute::SdrShadowTextAttribute& getSdrSTAttribute() const { return maSdrSTAttribute; } const Primitive2DSequence& getSubPrimitives() const { return maSubPrimitives; } const basegfx::B2DHomMatrix& getTextBox() const { return maTextBox; } bool getWordWrap() const { return mbWordWrap; } + bool get3DShape() const { return mb3DShape; } bool isForceTextClipToTextRange() const { return mbForceTextClipToTextRange; } - bool get3DShape() const { return mb3DShape; } // compare operator virtual bool operator==(const BasePrimitive2D& rPrimitive) const; diff --git a/svx/inc/svx/sdr/primitive2d/sdrellipseprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrellipseprimitive2d.hxx index 1ef6d0864a3a..1d11c27ede71 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrellipseprimitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrellipseprimitive2d.hxx @@ -45,7 +45,7 @@ namespace drawinglayer { namespace primitive2d { - class SdrEllipsePrimitive2D : public BasePrimitive2D + class SdrEllipsePrimitive2D : public BufferedDecompositionPrimitive2D { private: ::basegfx::B2DHomMatrix maTransform; @@ -53,7 +53,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrEllipsePrimitive2D( @@ -91,7 +91,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrEllipseSegmentPrimitive2D( diff --git a/svx/inc/svx/sdr/primitive2d/sdrgrafprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrgrafprimitive2d.hxx index df2114437015..787c230d7b3d 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrgrafprimitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrgrafprimitive2d.hxx @@ -47,7 +47,7 @@ namespace drawinglayer { namespace primitive2d { - class SdrGrafPrimitive2D : public BasePrimitive2D + class SdrGrafPrimitive2D : public BufferedDecompositionPrimitive2D { private: ::basegfx::B2DHomMatrix maTransform; @@ -57,7 +57,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrGrafPrimitive2D( diff --git a/svx/inc/svx/sdr/primitive2d/sdrmeasureprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrmeasureprimitive2d.hxx index a7084993b5f2..3e998f23fd2b 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrmeasureprimitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrmeasureprimitive2d.hxx @@ -59,7 +59,7 @@ namespace drawinglayer { namespace primitive2d { - class SdrMeasurePrimitive2D : public BasePrimitive2D + class SdrMeasurePrimitive2D : public BufferedDecompositionPrimitive2D { private: attribute::SdrLineShadowTextAttribute maSdrLSTAttribute; @@ -89,7 +89,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrMeasurePrimitive2D( diff --git a/svx/inc/svx/sdr/primitive2d/sdrole2primitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrole2primitive2d.hxx index 7c7081720034..2deaf474e12e 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrole2primitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrole2primitive2d.hxx @@ -32,7 +32,7 @@ #ifndef INCLUDED_SDR_PRIMITIVE2D_SDROLE2PRIMITIVE2D_HXX #define INCLUDED_SDR_PRIMITIVE2D_SDROLE2PRIMITIVE2D_HXX -#include <drawinglayer/primitive2d/groupprimitive2d.hxx> +#include <drawinglayer/primitive2d/baseprimitive2d.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <drawinglayer/attribute/sdrattribute.hxx> #include <svx/sdr/attribute/sdrallattribute.hxx> @@ -46,29 +46,30 @@ namespace drawinglayer { namespace primitive2d { - class SdrOle2Primitive2D : public GroupPrimitive2D + class SdrOle2Primitive2D : public BasePrimitive2D { private: - ::basegfx::B2DHomMatrix maTransform; + Primitive2DSequence maOLEContent; + basegfx::B2DHomMatrix maTransform; attribute::SdrLineFillShadowTextAttribute maSdrLFSTAttribute; - protected: - // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; - public: SdrOle2Primitive2D( - const Primitive2DSequence& rChildren, - const ::basegfx::B2DHomMatrix& rTransform, + const Primitive2DSequence& rOLEContent, + const basegfx::B2DHomMatrix& rTransform, const attribute::SdrLineFillShadowTextAttribute& rSdrLFSTAttribute); // data access - const ::basegfx::B2DHomMatrix& getTransform() const { return maTransform; } + const Primitive2DSequence& getOLEContent() const { return maOLEContent; } + const basegfx::B2DHomMatrix& getTransform() const { return maTransform; } const attribute::SdrLineFillShadowTextAttribute& getSdrLFSTAttribute() const { return maSdrLFSTAttribute; } // compare operator virtual bool operator==(const BasePrimitive2D& rPrimitive) const; + // local decomposition. + virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + // provide unique ID DeclPrimitrive2DIDBlock() }; diff --git a/svx/inc/svx/sdr/primitive2d/sdrolecontentprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrolecontentprimitive2d.hxx index 9ee4f3f69417..ff04a6a5e79b 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrolecontentprimitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrolecontentprimitive2d.hxx @@ -47,7 +47,7 @@ namespace drawinglayer { namespace primitive2d { - class SdrOleContentPrimitive2D : public BasePrimitive2D + class SdrOleContentPrimitive2D : public BufferedDecompositionPrimitive2D { private: SdrObjectWeakRef mpSdrOle2Obj; @@ -63,7 +63,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrOleContentPrimitive2D( diff --git a/svx/inc/svx/sdr/primitive2d/sdrpathprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrpathprimitive2d.hxx index 97b12b72d4a5..d6de666d901f 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrpathprimitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrpathprimitive2d.hxx @@ -46,7 +46,7 @@ namespace drawinglayer { namespace primitive2d { - class SdrPathPrimitive2D : public BasePrimitive2D + class SdrPathPrimitive2D : public BufferedDecompositionPrimitive2D { private: basegfx::B2DHomMatrix maTransform; @@ -55,7 +55,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrPathPrimitive2D( diff --git a/svx/inc/svx/sdr/primitive2d/sdrrectangleprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrrectangleprimitive2d.hxx index 23bbc2676f22..816956b188fe 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrrectangleprimitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrrectangleprimitive2d.hxx @@ -46,7 +46,7 @@ namespace drawinglayer { namespace primitive2d { - class SdrRectanglePrimitive2D : public BasePrimitive2D + class SdrRectanglePrimitive2D : public BufferedDecompositionPrimitive2D { private: basegfx::B2DHomMatrix maTransform; @@ -60,7 +60,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrRectanglePrimitive2D( diff --git a/svx/inc/svx/sdr/primitive2d/sdrtextprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrtextprimitive2d.hxx index 059849531566..ec35ff75f36d 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrtextprimitive2d.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrtextprimitive2d.hxx @@ -52,7 +52,7 @@ namespace drawinglayer { namespace primitive2d { - class SdrTextPrimitive2D : public BasePrimitive2D + class SdrTextPrimitive2D : public BufferedDecompositionPrimitive2D { private: // The text model data; this sould later just be the OutlinerParaObject or @@ -131,7 +131,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrContourTextPrimitive2D( @@ -173,7 +173,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrPathTextPrimitive2D( @@ -223,7 +223,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrBlockTextPrimitive2D( @@ -277,7 +277,7 @@ namespace drawinglayer protected: // local decomposition. - virtual Primitive2DSequence createLocalDecomposition(const geometry::ViewInformation2D& aViewInformation) const; + virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& aViewInformation) const; public: SdrStretchTextPrimitive2D( diff --git a/svx/inc/svx/sdr/properties/attributeproperties.hxx b/svx/inc/svx/sdr/properties/attributeproperties.hxx index e91b05998837..5bdcda6e8116 100644 --- a/svx/inc/svx/sdr/properties/attributeproperties.hxx +++ b/svx/inc/svx/sdr/properties/attributeproperties.hxx @@ -31,7 +31,7 @@ #ifndef _SDR_PROPERTIES_ATTRIBUTEPROPERTIES_HXX #define _SDR_PROPERTIES_ATTRIBUTEPROPERTIES_HXX -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include <svx/sdr/properties/defaultproperties.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdrpagewindow.hxx b/svx/inc/svx/sdrpagewindow.hxx index 1845d152a65f..87806b4a72e4 100644 --- a/svx/inc/svx/sdrpagewindow.hxx +++ b/svx/inc/svx/sdrpagewindow.hxx @@ -38,7 +38,7 @@ #include <com/sun/star/util/XModeChangeListener.hpp> #include <cppuhelper/implbase4.hxx> #include <svx/svdtypes.hxx> // fuer SdrLayerID -#include <svtools/svarray.hxx> +#include <svl/svarray.hxx> #include <tools/contnr.hxx> #include <svx/sdrpagewindow.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdtaaitm.hxx b/svx/inc/svx/sdtaaitm.hxx index ae9547d5f1ae..27b8cde80a10 100644 --- a/svx/inc/svx/sdtaaitm.hxx +++ b/svx/inc/svx/sdtaaitm.hxx @@ -30,7 +30,7 @@ #ifndef _SDTAAITM_HXX #define _SDTAAITM_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdtacitm.hxx b/svx/inc/svx/sdtacitm.hxx index 03ad7551df35..b34aaa5c2c0a 100644 --- a/svx/inc/svx/sdtacitm.hxx +++ b/svx/inc/svx/sdtacitm.hxx @@ -30,7 +30,7 @@ #ifndef sdtacitm_hxx #define sdtacitm_hxx -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include <svx/svddef.hxx> // Anzahl der Durchlaeufe. 0=Endlos. diff --git a/svx/inc/svx/sdtaditm.hxx b/svx/inc/svx/sdtaditm.hxx index 9f56d1684852..bff071dab476 100644 --- a/svx/inc/svx/sdtaditm.hxx +++ b/svx/inc/svx/sdtaditm.hxx @@ -30,7 +30,7 @@ #ifndef _SDTADITM_HXX #define _SDTADITM_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdtaitm.hxx b/svx/inc/svx/sdtaitm.hxx index c51b0a6d8b62..ca816c5581ed 100644 --- a/svx/inc/svx/sdtaitm.hxx +++ b/svx/inc/svx/sdtaitm.hxx @@ -30,7 +30,7 @@ #ifndef _SDTAITM_HXX #define _SDTAITM_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdtakitm.hxx b/svx/inc/svx/sdtakitm.hxx index e73f704455f6..ef91d76f0374 100644 --- a/svx/inc/svx/sdtakitm.hxx +++ b/svx/inc/svx/sdtakitm.hxx @@ -30,7 +30,7 @@ #ifndef SDTAKITM_HXX #define SDTAKITM_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdtayitm.hxx b/svx/inc/svx/sdtayitm.hxx index f1bb5a224140..84d82d561522 100644 --- a/svx/inc/svx/sdtayitm.hxx +++ b/svx/inc/svx/sdtayitm.hxx @@ -30,7 +30,7 @@ #ifndef _SDTAYITM_HXX #define _SDTAYITM_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdtfsitm.hxx b/svx/inc/svx/sdtfsitm.hxx index 146b2c60bab1..467107d49812 100644 --- a/svx/inc/svx/sdtfsitm.hxx +++ b/svx/inc/svx/sdtfsitm.hxx @@ -30,7 +30,7 @@ #ifndef _SDTFSITM_HXX #define _SDTFSITM_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sdynitm.hxx b/svx/inc/svx/sdynitm.hxx index 9e0b27a87404..88826007ef90 100644 --- a/svx/inc/svx/sdynitm.hxx +++ b/svx/inc/svx/sdynitm.hxx @@ -30,7 +30,7 @@ #ifndef _SDYNITM_HXX #define _SDYNITM_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/shaditem.hxx b/svx/inc/svx/shaditem.hxx index c28be7ddc58a..90c33aef2410 100644 --- a/svx/inc/svx/shaditem.hxx +++ b/svx/inc/svx/shaditem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #include <tools/color.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svxenum.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/svx/shdditem.hxx b/svx/inc/svx/shdditem.hxx index 5421aa54002d..f37f58ba048c 100644 --- a/svx/inc/svx/shdditem.hxx +++ b/svx/inc/svx/shdditem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/sizeitem.hxx b/svx/inc/svx/sizeitem.hxx index 5d796def9370..d99ed038a600 100644 --- a/svx/inc/svx/sizeitem.hxx +++ b/svx/inc/svx/sizeitem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #include <tools/gen.hxx> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/spltitem.hxx b/svx/inc/svx/spltitem.hxx index e635ce57cdc3..7cf18a02ca93 100644 --- a/svx/inc/svx/spltitem.hxx +++ b/svx/inc/svx/spltitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/svdattr.hxx b/svx/inc/svx/svdattr.hxx index eaaba216d929..6149916f0d6c 100644 --- a/svx/inc/svx/svdattr.hxx +++ b/svx/inc/svx/svdattr.hxx @@ -32,7 +32,7 @@ #define _SVDATTR_HXX #ifndef _SOLAR_HRC -#include <svtools/solar.hrc> +#include <svl/solar.hrc> #endif #include <tools/solar.h> #include <svx/sdangitm.hxx> diff --git a/svx/inc/svx/svdfppt.hxx b/svx/inc/svx/svdfppt.hxx deleted file mode 100644 index fb7f75598c4e..000000000000 --- a/svx/inc/svx/svdfppt.hxx +++ /dev/null @@ -1,1445 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: svdfppt.hxx,v $ - * $Revision: 1.7.6.1 $ - * - * 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 _SVDFPPT_HXX -#define _SVDFPPT_HXX - -#ifndef SVX_LIGHT - -#include <tools/solar.h> -#include <svtools/svarray.hxx> -#include <tools/string.hxx> -#include <tools/gen.hxx> -#ifndef _SV_COLOR_HXX -#include <tools/color.hxx> -#endif -#include <svx/svdobj.hxx> -#include <svx/numitem.hxx> -#include <svx/editdata.hxx> -#include <svx/msdffimp.hxx> // Escher-Grafikimport -#include <svx/msocximex.hxx> -#include <svx/msfiltertracer.hxx> -#include <svx/eeitem.hxx> -#define ITEMID_FIELD EE_FEATURE_FIELD -#include <svx/flditem.hxx> -#undef ITEMID_FIELD -#include "svx/svxdllapi.h" -#include <vcl/font.hxx> -#include <vector> -#include <boost/optional.hpp> -//////////////////////////////////////////////////////////////////////////////////////////////////// - -class SdrModel; -class SdPage; -class SdrPage; -class SdrObject; -class SvStream; -class Polygon; -class PolyPolygon; -class SfxItemSet; -class Outliner; -class Graphic; -class SvxMSDffManager; -class PptTextMetaCharList; -class PPTTextObj; -class DffRecordHeader; -struct PptCharAttrSet; -class SvxBulletItem; - -#define PPT_IMPORTFLAGS_NO_TEXT_ASSERT 1 - -struct SVX_DLLPUBLIC PptCurrentUserAtom -{ - sal_uInt32 nMagic; - sal_uInt32 nCurrentUserEdit; - sal_uInt16 nDocFileVersion; - sal_uInt8 nMajorVersion; - sal_uInt8 nMinorVersion; - String aCurrentUser; - -public: - - PptCurrentUserAtom() : nMagic ( 0 ), - nCurrentUserEdit ( 0 ), - nDocFileVersion ( 0 ), - nMajorVersion ( 0 ), - nMinorVersion ( 0 ) {} - - SVX_DLLPUBLIC friend SvStream& operator>>( SvStream& rIn, PptCurrentUserAtom& rAtom ); -}; - -struct SVX_DLLPUBLIC PowerPointImportParam -{ - SvStream& rDocStream; - sal_uInt32 nImportFlags; - MSFilterTracer* pTracer; - PptCurrentUserAtom aCurrentUserAtom; - - PowerPointImportParam( SvStream& rDocStream, sal_uInt32 nImportFlags, MSFilterTracer* pTracer ); -}; - -struct SdHyperlinkEntry -{ - sal_uInt32 nIndex; - sal_Int32 nPrivate1; - sal_Int32 nPrivate2; - sal_Int32 nPrivate3; - sal_Int32 nInfo; - String aTarget; - String aSubAdress; - - sal_Int32 nStartPos; - sal_Int32 nEndPos; - - String aConvSubString; - ESelection aESelection; - sal_Bool bSelection; -}; - -// Hilfsklasse zum Einlesen der PPT InteractiveInfoAtom -struct SVX_DLLPUBLIC PptInteractiveInfoAtom -{ - UINT32 nSoundRef; - UINT32 nExHyperlinkId; - UINT8 nAction; - UINT8 nOleVerb; - UINT8 nJump; - UINT8 nFlags; - UINT8 nHyperlinkType; - - // unknown, da Gesamtgroesse 16 ist - UINT8 nUnknown1; - UINT8 nUnknown2; - UINT8 nUnknown3; - -public: - - SVX_DLLPUBLIC friend SvStream& operator>>( SvStream& rIn, PptInteractiveInfoAtom& rAtom ); -}; - -enum PptPageKind { PPT_MASTERPAGE, PPT_SLIDEPAGE, PPT_NOTEPAGE }; - -enum PptPageFormat -{ PPTPF_SCREEN, // - PPTPF_USLETTER, // 8.5x11" - PPTPF_A4, // 210x297mm - PPTPF_35MMDIA, // DIA - PPTPF_OVERHEAD, // - PPTPF_CUSTOM -}; - -// Werte fuer den ULONG im PPT_PST_TextHeaderAtom -enum PPT_TextHeader -{ - PPTTH_TITLE, - PPTTH_BODY, - PPTTH_NOTES, - PPTTH_NOTUSED, - PPTTH_OTHER, // Text in a Shape - PPTTH_CENTERBODY, // Subtitle in Title-Slide - PPTTH_CENTERTITLE, // Title in Title-Slide - PPTTH_HALFBODY, // Body in two-column slide - PPTTH_QUARTERBODY // Body in four-body slide -}; - -#define TSS_TYPE_PAGETITLE (0) -#define TSS_TYPE_BODY (1) -#define TSS_TYPE_NOTES (2) -#define TSS_TYPE_UNUSED (3) -#define TSS_TYPE_TEXT_IN_SHAPE (4) -#define TSS_TYPE_SUBTITLE (5) -#define TSS_TYPE_TITLE (6) -#define TSS_TYPE_HALFBODY (7) -#define TSS_TYPE_QUARTERBODY (8) - -// Inventor-Id fuer PPT UserData -const UINT32 PPTInventor =UINT32('P')*0x00000001+ - UINT32('P')*0x00000100+ - UINT32('T')*0x00010000+ - UINT32('0')*0x01000000; - -// Object-Ids fuer StarDraw UserData -#define PPT_OBJECTINFO_ID (1) - -struct SVX_DLLPUBLIC PptDocumentAtom -{ - Size aSlidesPageSize; // Seitengroesse der Slides in 576DPI - Size aNotesPageSize; // Seitengroesse der Notes in 576DPI - // RatioAtom erstmal weggelassen - UINT32 nNotesMasterPersist; // 0=nicht vorhanden - UINT32 nHandoutMasterPersist; // 0=nicht vorhanden - UINT16 n1stPageNumber; // Seitennummer des ersten Slides - PptPageFormat eSlidesPageFormat; // Seitenformat der Slides - sal_Bool bEmbeddedTrueType : 1; // TrueType direkt im File? - sal_Bool bTitlePlaceholdersOmitted : 1; - sal_Bool bRightToLeft : 1; - sal_Bool bShowComments : 1; - -public: - - Size GetPageSize( const Size& rSiz ) const; - Size GetSlidesPageSize() const { return GetPageSize( aSlidesPageSize ); } - Size GetNotesPageSize() const { return GetPageSize( aNotesPageSize ); } - - friend SvStream& operator>>( SvStream& rIn, PptDocumentAtom& rAtom ); -}; - -struct PptSlideLayoutAtom -{ - INT32 eLayout; // 0..18 - BYTE aPlaceholderId[ 8 ]; - ULONG aPlacementId[ 8 ]; - -public: - - PptSlideLayoutAtom() { Clear(); } - void Clear(); - - // Das SlideLayoutAtom wird ohne Header eingelesen! - friend SvStream& operator>>( SvStream& rIn, PptSlideLayoutAtom& rAtom ); -}; - -struct PptSlideAtom -{ - PptSlideLayoutAtom aLayout; - UINT32 nMasterId; - UINT32 nNotesId; - UINT16 nFlags; - -public: - - PptSlideAtom() { Clear(); } - void Clear(); - - friend SvStream& operator>>(SvStream& rIn, PptSlideAtom& rAtom); -}; - -struct PptSlidePersistAtom -{ - UINT32 nPsrReference; - UINT32 nFlags; - UINT32 nNumberTexts; - UINT32 nSlideId; - UINT32 nReserved; // we will use nReserved temporarly to set the offset to SSSlideInfoAtom ( if possible ) - -public: - - PptSlidePersistAtom() { Clear(); } - void Clear(); - - friend SvStream& operator>>(SvStream& rIn, PptSlidePersistAtom& rAtom); -}; - -struct PptNotesAtom -{ - UINT32 nSlideId; - UINT16 nFlags; - -public: - - PptNotesAtom() { Clear(); } - void Clear(); - - friend SvStream& operator>>(SvStream& rIn, PptNotesAtom& rAtom); -}; - -struct PptColorSchemeAtom -{ - BYTE aData[32]; - -public: - PptColorSchemeAtom () { Clear(); } - void Clear(); - Color GetColor( USHORT nNum ) const; - - friend SvStream& operator>>(SvStream& rIn, PptColorSchemeAtom& rAtom); -}; - -struct PptFontEntityAtom -{ - String aName; - double fScaling; - sal_uInt8 lfClipPrecision; - sal_uInt8 lfQuality; - - sal_uInt32 nUniqueFontId; // not used anymore - CharSet eCharSet; - FontFamily eFamily; - FontPitch ePitch; - sal_Bool bAvailable; - - friend SvStream& operator>>(SvStream& rIn, PptFontEntityAtom& rAtom); -}; - -class PptFontCollection; -struct PptUserEditAtom -{ - DffRecordHeader aHd; - INT32 nLastSlideID; // ID of last visible slide - UINT32 nVersion; // This is major/minor/build which did the edit - UINT32 nOffsetLastEdit; // File offset of prev PptUserEditAtom - UINT32 nOffsetPersistDirectory; // Offset to PersistPtrs for this file version. - UINT32 nDocumentRef; - UINT32 nMaxPersistWritten; // Gesamtanzahl der Persisteintraege bis hierher. - INT16 eLastViewType; // enum view type - -public: - - PptUserEditAtom() : nOffsetPersistDirectory( 0 ) {} - - friend SvStream& operator>>( SvStream& rIn, PptUserEditAtom& rAtom ); -}; - -struct PptOEPlaceholderAtom -{ - UINT32 nPlacementId; - BYTE nPlaceholderId; - BYTE nPlaceholderSize; // 0=Full size, 1=Half size, 2=Quarter of Slide - -public: - - PptOEPlaceholderAtom() { Clear(); } - void Clear(); - - friend SvStream& operator>>( SvStream& rIn, PptOEPlaceholderAtom& rAtom ); -}; - -struct ProcessData; -struct PPTStyleSheet; -struct HeaderFooterEntry; -struct PptSlidePersistEntry -{ - PptSlidePersistAtom aPersistAtom; - PptSlideAtom aSlideAtom; - PptNotesAtom aNotesAtom; - PptColorSchemeAtom aColorScheme; // each slide includes this colorscheme atom - PPTStyleSheet* pStyleSheet; // stylesheet of this page ( only in masterpages ), since XP supports more than one masterpage - - sal_uInt32 HeaderFooterOfs[ 4 ]; // containing the ofs to the placeholder (only masterpage) - HeaderFooterEntry* pHeaderFooterEntry; - SvxMSDffSolverContainer* pSolverContainer; - sal_uInt32 nSlidePersistStartOffset;// is an array to the end of the SlidePersistAtom of this page, TextHeaderAtom is following - sal_uInt32 nSlidePersistEndOffset; - sal_uInt32 nBackgroundOffset; // fileoffset - sal_uInt32 nDrawingDgId; // valid, if not -1 - sal_uInt32* pPresentationObjects; // if valid, this is a pointer to an array that includes the offsets to the presentation objects - // on this masterpage for each instance ( 0 - 8 ); - SdrObject* pBObj; - sal_Bool bBObjIsTemporary; - - void* pDummy2; - PptPageKind ePageKind; // - - sal_Bool bNotesMaster : 1; // fuer NotesMaster - sal_Bool bHandoutMaster : 1; // fuer HandoutMaster - sal_Bool bStarDrawFiller : 1; // speziell fuer StarDraw -public: - PptSlidePersistEntry(); - ~PptSlidePersistEntry(); - UINT32 GetSlideId() const { return aPersistAtom.nSlideId; } -}; - -SV_DECL_PTRARR_DEL(_PptSlidePersistList,PptSlidePersistEntry*,16,16) - -#define PPTSLIDEPERSIST_ENTRY_NOTFOUND 0xFFFF - -class SVX_DLLPUBLIC PptSlidePersistList: public _PptSlidePersistList -{ - - public: - - USHORT FindPage( UINT32 nId ) const; -}; - -class SfxObjectShell; -struct PPTOleEntry -{ - sal_uInt32 nId; // OleId - sal_uInt32 nPersistPtr; // PersistPtr - sal_uInt32 nRecHdOfs; // points to the record header: ExObjListHd - SfxObjectShell* pShell; - sal_uInt16 nType; // maybe PPT_PST_ExEmbed or PPT_PST_ExControl - sal_uInt32 nAspect; // the aspect of the OLE object - - PPTOleEntry( sal_uInt32 nid, sal_uInt32 nOfs, SfxObjectShell* pSh, sal_uInt16 nT, sal_uInt32 nAsp ) : - nId ( nid ), - nRecHdOfs ( nOfs ), - pShell ( pSh ), - nType ( nT ), - nAspect ( nAsp ) {} -}; - -struct PptExOleObjAtom -{ - UINT32 nAspect; - UINT32 nDummy1; - UINT32 nId; - UINT32 nDummy2; - UINT32 nPersistPtr; - UINT32 nDummy4; - -public: - - friend SvStream& operator>>( SvStream& rIn, PptExOleObjAtom& rAtom ); -}; - -class PPTExtParaProv; -class SVX_DLLPUBLIC SdrEscherImport : public SvxMSDffManager -{ - -protected: - - friend class PPTTextObj; - friend class PPTPortionObj; - friend struct PPTStyleTextPropReader; - friend class ImplSdPPTImport; - - PptDocumentAtom aDocAtom; - DffRecordManager aDocRecManager; // contains all first level container and atoms of the document container - - List aHFMasterList; - List aOleObjectList; // contains PPTOleEntrys - - PptFontCollection* pFonts; - - sal_uInt32 nStreamLen; - sal_uInt16 nTextStylesIndex; - - CharSet eCharSetSystem; - - sal_Bool bWingdingsChecked : 1; - sal_Bool bWingdingsAvailable : 1; - sal_Bool bMonotypeSortsChecked : 1; - sal_Bool bMonotypeSortsAvailable : 1; - sal_Bool bTimesNewRomanChecked : 1; - sal_Bool bTimesNewRomanAvailable : 1; - - sal_Bool ReadString( String& rStr ) const; - // nur fuer PowerPoint-Filter: - virtual const PptSlideLayoutAtom* GetSlideLayoutAtom() const; - void CheckWingdings() const; - void CheckMonotypeSorts() const; - void CheckTimesNewRoman() const; - -public: - - PowerPointImportParam& rImportParam; - - void* pSdrEscherDummy1; - void* pSdrEscherDummy2; - void* pSdrEscherDummy3; - void* pSdrEscherDummy4; - - SdrEscherImport( PowerPointImportParam&, const String& rBaseURL ); - virtual ~SdrEscherImport(); - virtual FASTBOOL GetColorFromPalette( USHORT nNum, Color& rColor ) const; - virtual BOOL SeekToShape( SvStream& rSt, void* pClientData, UINT32 nId ) const; - PptFontEntityAtom* GetFontEnityAtom( UINT32 nNum ) const; - CharSet GetCharSet( UINT32 nNum ) const; - BOOL IsFontAvailable( UINT32 nNum ) const; - void RecolorGraphic( SvStream& rSt, sal_uInt32 nRecLen, Graphic& rGraph ); - using SvxMSDffManager::ReadObjText; - virtual SdrObject* ReadObjText( PPTTextObj* pTextObj, SdrObject* pObj, SdPage* pPage ) const; - virtual SdrObject* ProcessObj( SvStream& rSt, DffObjData& rData, void* pData, Rectangle& rTextRect, SdrObject* pObj ); - virtual void ProcessClientAnchor2( SvStream& rSt, DffRecordHeader& rHd, void* pData, DffObjData& rObj ); - void ImportHeaderFooterContainer( DffRecordHeader& rHeader, HeaderFooterEntry& rEntry ); -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -#define SD_HEADERFOOTER_DATE 1 -#define SD_HEADERFOOTER_TODAYDATE 2 -#define SD_HEADERFOOTER_USERDATE 4 -#define SD_HEADERFOOTER_SLIDENUMBER 8 -#define SD_HEADERFOOTER_HEADER 16 -#define SD_HEADERFOOTER_FOOTER 32 - -class SvxFieldItem; -struct SVX_DLLPUBLIC PPTFieldEntry -{ - UINT16 nPos; - UINT16 nTextRangeEnd; - SvxFieldItem* pField1; - SvxFieldItem* pField2; - String* pString; - - PPTFieldEntry() : nPos( 0 ), nTextRangeEnd( 0 ), pField1( NULL ), pField2( NULL ), pString( NULL ) {}; - ~PPTFieldEntry(); - - void SetDateTime( UINT32 nType ); - - // converting PPT date time format: - static void GetDateTime( const sal_uInt32 nVal, SvxDateFormat& eDateFormat, SvxTimeFormat& eTimeFormat ); -}; - -struct SVX_DLLPUBLIC HeaderFooterEntry -{ - const PptSlidePersistEntry* pMasterPersist; - String pPlaceholder[ 4 ]; - sal_uInt32 nAtom; - - sal_uInt32 GetMaskForInstance( UINT32 nInstance ); - sal_uInt32 IsToDisplay( UINT32 nInstance ); - sal_uInt32 NeedToImportInstance( const sal_uInt32 nInstance, const PptSlidePersistEntry& rSlidePersist ); - - HeaderFooterEntry( const PptSlidePersistEntry* pMaster = NULL ); - ~HeaderFooterEntry(); -}; - -struct ProcessData -{ - PptSlidePersistEntry& rPersistEntry; - SdPage* pPage; - List* pBackgroundColoredObjects; - sal_uInt32* pTableRowProperties; - - ProcessData( PptSlidePersistEntry& rP, SdPage* pP ) : - rPersistEntry ( rP ), - pPage ( pP ), - pBackgroundColoredObjects ( NULL ), - pTableRowProperties ( NULL ) {}; - ~ProcessData() { delete pBackgroundColoredObjects; delete[] pTableRowProperties; }; -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -class SdrTextObj; -class SfxObjectShell; -class SVX_DLLPUBLIC SdrPowerPointImport : public SdrEscherImport -{ - -protected: - - friend class PPTTextObj; - friend class PPTExtParaProv; - friend struct PPTStyleSheet; - friend class PPTNumberFormatCreator; - - BOOL bOk; - PptUserEditAtom aUserEditAtom; - PptColorSchemeAtom aPageColors; - List aHyperList; - UINT32* pPersistPtr; - ULONG nPersistPtrAnz; - - const PPTStyleSheet* pPPTStyleSheet; // this is the current stylesheet; - const PPTStyleSheet* pDefaultSheet; // this is a sheet we are using if no masterpage can be found, but that should - // never happen just preventing a crash - PptSlidePersistList* pMasterPages; - PptSlidePersistList* pSlidePages; - PptSlidePersistList* pNotePages; - USHORT nAktPageNum; - ULONG nDocStreamPos; - USHORT nPageColorsNum; - PptPageKind ePageColorsKind; - PptPageKind eAktPageKind; - -protected: - - sal_Bool SeekToAktPage(DffRecordHeader* pRecHd=NULL) const; - sal_Bool SeekToDocument(DffRecordHeader* pRecHd=NULL) const; - sal_Bool SeekToContentOfProgTag( sal_Int32 nVersion, SvStream& rSt, const DffRecordHeader& rProgTagBinaryDataHd, - DffRecordHeader& rContentHd ); - virtual SdrObject* ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pText, SdPage* pPage, SfxStyleSheet*, SfxStyleSheet** ) const; - using SdrEscherImport::ReadObjText; - virtual SdrObject* ReadObjText( PPTTextObj* pTextObj, SdrObject* pObj, SdPage* pPage ) const; - // --> OD 2004-12-14 #i32596# - new parameter <_nCalledByGroup>, which - // indicates, if the OLE object is imported inside a group object. - virtual SdrObject* ImportOLE( long nOLEId, - const Graphic& rGraf, - const Rectangle& rBoundRect, - const Rectangle& rVisArea, - const int _nCalledByGroup, - sal_Int64 nAspect ) const; - // <-- - SvMemoryStream* ImportExOleObjStg( UINT32 nPersistPtr, UINT32& nOleId ) const; - SdrPage* MakeBlancPage(sal_Bool bMaster) const; - sal_Bool ReadFontCollection(); - sal_Bool ForceFontCollection() const { return pFonts!=NULL?TRUE:((SdrPowerPointImport*)this)->ReadFontCollection(); } - PptSlidePersistList* GetPageList(PptPageKind ePageKind) const; - UINT32 GetAktPageId(); - UINT32 GetMasterPageId(USHORT nPageNum, PptPageKind ePageKind) const; - UINT32 GetNotesPageId(USHORT nPageNum ) const; - SdrOutliner* GetDrawOutliner( SdrTextObj* pSdrText ) const; - void SeekOle( SfxObjectShell* pShell, sal_uInt32 nFilterOptions ); - -public: - SdrPowerPointImport( PowerPointImportParam&, const String& rBaseURL ); - virtual ~SdrPowerPointImport(); - USHORT GetPageCount( PptPageKind eKind = PPT_SLIDEPAGE ) const; - void SetPageNum( USHORT nPageNum, PptPageKind = PPT_SLIDEPAGE ); - USHORT GetPageNum() const { return nAktPageNum; } - PptPageKind GetPageKind() const { return eAktPageKind; } - Size GetPageSize() const; - SdrObject* ImportPageBackgroundObject( const SdrPage& rPage, sal_uInt32& nBgFileOffset, sal_Bool bForce ); - sal_Bool IsNoteOrHandout( USHORT nPageNum, PptPageKind ePageKind ) const; - sal_Bool HasMasterPage( USHORT nPageNum, PptPageKind ePageKind = PPT_SLIDEPAGE ) const; - USHORT GetMasterPageIndex( USHORT nPageNum, PptPageKind ePageKind = PPT_SLIDEPAGE ) const; - - void ImportPage( SdrPage* pPage, const PptSlidePersistEntry* pMasterPersist = NULL ); - virtual FASTBOOL GetColorFromPalette(USHORT nNum, Color& rColor) const; - virtual BOOL SeekToShape( SvStream& rSt, void* pClientData, UINT32 nId ) const; - sal_Unicode PPTSubstitute( UINT16 nFont, sal_Unicode nChar, - UINT32& nMappedFontId, Font& rFont, char nDefault ) const; - const PptDocumentAtom& GetDocumentAtom() const { return aDocAtom; } - virtual const PptSlideLayoutAtom* GetSlideLayoutAtom() const; - SdrObject* CreateTable( SdrObject* pGroupObject, sal_uInt32* pTableArry, SvxMSDffSolverContainer* ); -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -struct PPTTextCharacterStyleAtomInterpreter -{ - sal_uInt16 nFlags1; - sal_uInt16 nFlags2; - sal_uInt16 nFlags3; - sal_Int32 n1; - sal_uInt16 nFontHeight; - sal_Int32 nFontColor; - - PPTTextCharacterStyleAtomInterpreter(); - ~PPTTextCharacterStyleAtomInterpreter(); - - sal_Bool Read( SvStream& rIn, const DffRecordHeader& rRecHd ); - - sal_uInt32 GetColor( sal_uInt32 nDefault ); -}; - -struct PPTTextParagraphStyleAtomInterpreter -{ - sal_Bool bValid; - sal_Bool bForbiddenRules; - sal_Bool bHangingPunctuation; - sal_Bool bLatinTextWrap; - - PPTTextParagraphStyleAtomInterpreter(); - ~PPTTextParagraphStyleAtomInterpreter(); - - sal_Bool Read( SvStream& rIn, const DffRecordHeader& rRecHd ); -}; - -struct PPTTextSpecInfo -{ - sal_uInt32 nCharIdx; - sal_uInt16 nLanguage[ 3 ]; - sal_uInt16 nDontKnow; - - PPTTextSpecInfo( sal_uInt32 nCharIdx ); - ~PPTTextSpecInfo(); -}; - -struct PPTTextSpecInfoAtomInterpreter -{ - sal_Bool bValid; - List aList; - - PPTTextSpecInfoAtomInterpreter(); - ~PPTTextSpecInfoAtomInterpreter(); - - sal_Bool Read( SvStream& rIn, const DffRecordHeader& rRecHd, - sal_uInt16 nRecordType, const PPTTextSpecInfo* pTextSpecDefault = NULL ); - -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -#define PPT_STYLESHEETENTRYS 9 - -struct PPTExtParaLevel -{ - sal_uInt32 mnExtParagraphMask; - sal_uInt16 mnBuBlip; - sal_uInt16 mnHasAnm; - sal_uInt32 mnAnmScheme; - sal_uInt32 mpfPP10Ext; - sal_uInt32 mnExtCharacterMask; - sal_uInt32 mcfPP10Ext; - sal_Bool mbSet; - - PPTExtParaLevel(); - friend SvStream& operator>>( SvStream& rIn, PPTExtParaLevel& rL ); -}; - -struct PPTExtParaSheet -{ - PPTExtParaLevel aExtParaLevel[ 5 ]; -}; - -struct PPTBuGraEntry -{ - UINT32 nInstance; - Graphic aBuGra; - - PPTBuGraEntry( Graphic& rGraphic, UINT32 nInstance ); -}; - -class PPTExtParaProv -{ - List aBuGraList; - - public : - BOOL bStyles; - BOOL bGraphics; - DffRecordManager aExtendedPresRules; - - PPTExtParaSheet aExtParaSheet[ PPT_STYLESHEETENTRYS ]; - - BOOL GetGraphic( UINT32 nInstance, Graphic& rGraphic ) const; - - PPTExtParaProv( SdrPowerPointImport& rManager, SvStream& rSt, - const DffRecordHeader* pMainMasterHd ); - ~PPTExtParaProv(); -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -struct PPTCharLevel -{ - Color mnFontColorInStyleSheet; - sal_uInt32 mnFontColor; - sal_uInt16 mnFlags; - sal_uInt16 mnFont; - sal_uInt16 mnAsianOrComplexFont; - sal_uInt16 mnFontHeight; - sal_uInt16 mnEscapement; -}; - -struct PPTCharSheet -{ - PPTCharLevel maCharLevel[ 5 ]; - - PPTCharSheet( sal_uInt32 nInstance ); - PPTCharSheet( const PPTCharSheet& rCharSheet ); - - void Read( SvStream& rIn, sal_Bool bMasterStyle, sal_uInt32 nLevel, sal_Bool bFirst ); -}; - -struct PPTParaLevel -{ - sal_uInt16 mnBuFlags; - sal_uInt16 mnBulletChar; - sal_uInt16 mnBulletFont; - sal_uInt16 mnBulletHeight; - sal_uInt32 mnBulletColor; - - sal_uInt16 mnAdjust; - sal_uInt16 mnLineFeed; - sal_uInt16 mnUpperDist; - sal_uInt16 mnLowerDist; - sal_uInt16 mnTextOfs; - sal_uInt16 mnBulletOfs; - sal_uInt16 mnDefaultTab; - sal_uInt16 mnAsianLineBreak; // bit0: use asian rules for first and last character - // 1: do not wrap latin text in the middle of the word - // 2: allow hanging punctuation - sal_uInt16 mnBiDi; -}; - -struct PPTParaSheet -{ - public: - - PPTParaLevel maParaLevel[ 5 ]; - - PPTParaSheet( sal_uInt32 nInstance ); - PPTParaSheet( const PPTParaSheet& rParaSheet ); - - void Read( SdrPowerPointImport& rMan, SvStream& rIn, sal_Bool bMasterStyle, - sal_uInt32 nLevel, sal_Bool bFirst ); -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -class PPTParagraphObj; -class PPTNumberFormatCreator -{ - UINT32 nIsBullet; - UINT32 nBulletChar; - UINT32 nBulletFont; - UINT32 nBulletHeight; - UINT32 nBulletColor; - UINT32 nTextOfs; - UINT32 nBulletOfs; - - void ImplGetNumberFormat( SdrPowerPointImport& rMan, SvxNumberFormat& rNumberFormat, UINT32 nLevel ); - BOOL ImplGetExtNumberFormat( SdrPowerPointImport& rMan, SvxNumberFormat& rNumberFormat, UINT32 nLevel, - UINT32 nInstance, UINT32 nInstanceInSheet, boost::optional< sal_Int16 >& rStartNumbering, - UINT32 nFontHeight, PPTParagraphObj* pPara ); - - protected : - - PPTNumberFormatCreator( PPTExtParaProv* ); - ~PPTNumberFormatCreator(); - - public : - - PPTExtParaProv* pExtParaProv; - - void GetNumberFormat( SdrPowerPointImport& rMan, SvxNumberFormat& rNumberFormat, UINT32 nLevel, - const PPTParaLevel& rParaLevel, const PPTCharLevel& rCharLevel, UINT32 nInstance ); - - BOOL GetNumberFormat( SdrPowerPointImport& rMan, SvxNumberFormat& rNumberFormat, - PPTParagraphObj* pPara, UINT32 nInstanceInSheet, boost::optional< sal_Int16 >& rStartNumbering ); -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -class SvxNumBulletItem; -struct PPTStyleSheet : public PPTNumberFormatCreator -{ - PPTTextSpecInfo maTxSI; - PPTCharSheet* mpCharSheet[ PPT_STYLESHEETENTRYS ]; - PPTParaSheet* mpParaSheet[ PPT_STYLESHEETENTRYS ]; - SvxNumBulletItem* mpNumBulletItem[ PPT_STYLESHEETENTRYS ]; - void* mpDummy; - - PPTStyleSheet( const DffRecordHeader& rSlideHd, SvStream& rSt, SdrPowerPointImport&, - const PPTTextCharacterStyleAtomInterpreter&, const PPTTextParagraphStyleAtomInterpreter&, const PPTTextSpecInfo& ); - ~PPTStyleSheet(); -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -struct ImplPPTParaPropSet -{ - sal_uInt32 mnRefCount; - - sal_uInt16 mnDepth; - sal_uInt32 mnAttrSet; - sal_uInt32 mnBulletColor; - sal_uInt16 mpArry[ 22 ]; - - sal_uInt32 mnExtParagraphMask; - sal_uInt32 mnAnmScheme; - sal_uInt16 mnHasAnm; - sal_uInt16 mnBuBlip; - - sal_uInt32 nDontKnow1; - sal_uInt32 nDontKnow2; - sal_uInt16 nDontKnow2bit06; - - ImplPPTParaPropSet(){ mnRefCount = 1; mnAttrSet = 0; mnExtParagraphMask = 0; mnDepth = 0; }; -}; - -struct PPTParaPropSet -{ - sal_uInt32 mnOriginalTextPos; - ImplPPTParaPropSet* pParaSet; - - PPTParaPropSet(); - PPTParaPropSet( PPTParaPropSet& rParaPropSet ); - ~PPTParaPropSet(); - - PPTParaPropSet& operator=( PPTParaPropSet& rParaPropSet ); -}; - -struct ImplPPTCharPropSet -{ - sal_uInt32 mnRefCount; - - sal_uInt32 mnAttrSet; - sal_uInt16 mnFlags; - sal_uInt32 mnColor; - sal_uInt16 mnFont; - sal_uInt16 mnAsianOrComplexFont; - sal_uInt16 mnANSITypeface; - sal_uInt16 mnFontHeight; - sal_uInt16 mnEscapement; - sal_uInt16 mnSymbolFont; - - ImplPPTCharPropSet(){ mnRefCount = 1; mnAttrSet = 0; }; -}; - -struct PPTCharPropSet -{ - - sal_uInt32 mnOriginalTextPos; - sal_uInt32 mnParagraph; - String maString; - SvxFieldItem* mpFieldItem; - sal_uInt16 mnLanguage[ 3 ]; - - ImplPPTCharPropSet* pCharSet; - - void SetFont( UINT16 nFont ); - void SetColor( sal_uInt32 nColor ); - - PPTCharPropSet( sal_uInt32 nParagraph ); - PPTCharPropSet( PPTCharPropSet& rCharPropSet ); - PPTCharPropSet( PPTCharPropSet& rCharPropSet, sal_uInt32 nParagraph ); - ~PPTCharPropSet(); - - PPTCharPropSet& operator=( PPTCharPropSet& rCharPropSet ); - - private : - - void ImplMakeUnique(); -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -struct PPTTabEntry -{ - sal_uInt16 nOffset; - sal_uInt16 nStyle; -}; - -struct PPTRuler -{ - UINT32 nRefCount; - - INT32 nFlags; - UINT16 nDefaultTab; - UINT16 nTextOfs[ 5 ]; - UINT16 nBulletOfs[ 5 ]; - PPTTabEntry* pTab; - UINT16 nTabCount; - - PPTRuler(); - ~PPTRuler(); -}; - -struct PPTTextRulerInterpreter -{ - PPTRuler *mpImplRuler; - - PPTTextRulerInterpreter(); - PPTTextRulerInterpreter( PPTTextRulerInterpreter& rRuler ); - PPTTextRulerInterpreter( UINT32 nFileOfs, SdrPowerPointImport&, DffRecordHeader& rHd, SvStream& rIn ); - ~PPTTextRulerInterpreter(); - - sal_uInt16 GetTabOffsetByIndex( sal_uInt16 nIndex ) const { return mpImplRuler->pTab[ nIndex ].nOffset; }; - sal_uInt16 GetTabStyleByIndex( sal_uInt16 nIndex ) const { return mpImplRuler->pTab[ nIndex ].nStyle; }; - UINT16 GetTabCount() const { return mpImplRuler->nTabCount; }; - BOOL GetDefaultTab( UINT32 nLevel, UINT16& nValue ) const; - BOOL GetTextOfs( UINT32 nLevel, UINT16& nValue ) const; - BOOL GetBulletOfs( UINT32 nLevel, UINT16& nValue ) const; - - PPTTextRulerInterpreter& operator=( PPTTextRulerInterpreter& rRuler ); -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -#define PPT_SPEC_NEWLINE 0x10000 -#define PPT_SPEC_SYMBOL 0x20000 -#define PPT_SPEC_USE_STARBATS 0x40000 - -struct StyleTextProp9 -{ - sal_uInt32 mnExtParagraphMask; - sal_uInt16 mnBuBlip; - sal_uInt16 mnHasAnm; - sal_uInt32 mnAnmScheme; - sal_uInt32 mpfPP10Ext; - sal_uInt32 mnExtCharacterMask; - sal_uInt32 mncfPP10Ext; - sal_uInt32 mnSpecialInfoMask; - sal_uInt32 mnPP10Ext; - sal_uInt16 mfBidi; - - StyleTextProp9() - : mnExtParagraphMask( 0 ) - , mnBuBlip( 0 ) - , mnHasAnm( 0 ) - , mnAnmScheme( 0 ) - , mpfPP10Ext( 0 ) - , mnExtCharacterMask( 0 ) - , mncfPP10Ext( 0 ) - , mnSpecialInfoMask( 0 ) - , mnPP10Ext( 0 ) - , mfBidi( 0 ) - { - } - void Read( SvStream& rSt ); -}; - -struct PPTStyleTextPropReader -{ - List aSpecMarkerList; // hiword -> Flags, loword -> Position - List aParaPropList; - List aCharPropList; - - PPTStyleTextPropReader( SvStream& rIn, SdrPowerPointImport&, const DffRecordHeader& rClientTextBoxHd, - PPTTextRulerInterpreter& rInterpreter, const DffRecordHeader& rExtParaHd, sal_uInt32 nTextInstance ); - - void Init( SvStream& rIn, SdrPowerPointImport&, const DffRecordHeader& rClientTextBoxHd, - PPTTextRulerInterpreter& rInterpreter, const DffRecordHeader& rExtParaHd, sal_uInt32 nTextInstance ); - void ReadParaProps( SvStream& rIn, SdrPowerPointImport& rMan, const DffRecordHeader& rTextHeader, - const String& aString, PPTTextRulerInterpreter& rRuler, - sal_uInt32& nCharCount, sal_Bool& bTextPropAtom ); - void ReadCharProps( SvStream& rIn, PPTCharPropSet& aCharPropSet, const String& aString, - sal_uInt32& nCharCount, sal_uInt32 nCharAnzRead, - sal_Bool& bTextPropAtom, sal_uInt32 nExtParaPos, - const std::vector< StyleTextProp9 >& aStyleTextProp9, - sal_uInt32& nExtParaFlags, sal_uInt16& nBuBlip, - sal_uInt16& nHasAnm, sal_uInt32& nAnmScheme ); - - ~PPTStyleTextPropReader(); -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -class SvxFieldItem; -class SVX_DLLPUBLIC PPTPortionObj : public PPTCharPropSet -{ - - friend class PPTParagraphObj; - - const PPTStyleSheet& mrStyleSheet; - UINT32 mnInstance; - UINT32 mnDepth; - - public : - - BOOL GetAttrib( UINT32 nAttr, UINT32& nVal, UINT32 nInstanceInSheet ); - SvxFieldItem* GetTextField(); - - PPTPortionObj( const PPTStyleSheet&, UINT32 nInstance, UINT32 nDepth ); - PPTPortionObj( PPTCharPropSet&, const PPTStyleSheet&, UINT32 nInstance, UINT32 nDepth ); - PPTPortionObj( PPTPortionObj& ); - ~PPTPortionObj(); - - // the following function should be removed during next full update - void ApplyTo( SfxItemSet& rSet, SdrPowerPointImport& rManager, UINT32 nInstanceInSheet ); - void ApplyTo( SfxItemSet& rSet, SdrPowerPointImport& rManager, UINT32 nInstanceInSheet, const PPTTextObj* pTextObj ); - UINT32 Count() const { return ( mpFieldItem ) ? 1 : maString.Len(); }; - BOOL HasTabulator(); -}; - -class SVX_DLLPUBLIC PPTParagraphObj : public PPTParaPropSet, public PPTNumberFormatCreator, public PPTTextRulerInterpreter -{ - friend class PPTTextObj; - friend class PPTNumberFormatCreator; - - const PPTStyleSheet& mrStyleSheet; - UINT32 mnInstance; - - protected : - - void ImplClear(); - - public : - - BOOL mbTab; // if true, this paragraph has tabulators in text - - UINT32 mnCurrentObject; - UINT32 mnPortionCount; - PPTPortionObj** mpPortionList; - - void UpdateBulletRelSize( sal_uInt32& nBulletRelSize ) const; - BOOL GetAttrib( UINT32 nAttr, UINT32& nVal, UINT32 nInstanceInSheet ); - - PPTParagraphObj( const PPTStyleSheet&, UINT32 nInstance, UINT16 nDepth ); - PPTParagraphObj( PPTStyleTextPropReader&, const PPTStyleSheet&, UINT32 nInstance, PPTTextRulerInterpreter& rRuler ); - ~PPTParagraphObj(); - - UINT32 GetTextSize(); - PPTPortionObj* First(); - PPTPortionObj* Next(); - - void AppendPortion( PPTPortionObj& rPortion ); - void ApplyTo( SfxItemSet& rSet, boost::optional< sal_Int16 >& rStartNumbering, SdrPowerPointImport& rManager, UINT32 nInstanceInSheet, const PPTParagraphObj* pPrev ); -}; - -#define PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_LEFT 1 -#define PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_CENTER 2 -#define PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_RIGHT 4 -#define PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_BLOCK 8 -#define PPT_TEXTOBJ_FLAGS_VERTICAL 16 - -struct ImplPPTTextObj -{ - UINT32 mnRefCount; - UINT32 mnShapeId; - UINT32 mnShapeMaster; - PptOEPlaceholderAtom* mpPlaceHolderAtom; - UINT16 mnInstance; - UINT16 mnDestinationInstance; - MSO_SPT meShapeType; - - UINT32 mnCurrentObject; - UINT32 mnParagraphCount; - PPTParagraphObj** mpParagraphList; - PptSlidePersistEntry& mrPersistEntry; - - sal_uInt32 mnTextFlags; - - ImplPPTTextObj( PptSlidePersistEntry& rPersistEntry ) : mrPersistEntry ( rPersistEntry ) {}; -}; - -class PPTTextObj -{ - ImplPPTTextObj* mpImplTextObj; - void ImplClear(); - - PPTTextObj(){}; - public : - PPTTextObj( SvStream& rSt, SdrPowerPointImport&, PptSlidePersistEntry&, DffObjData* ); - PPTTextObj( PPTTextObj& rTextObj ); - ~PPTTextObj(); - - UINT32 GetCurrentIndex() const { return mpImplTextObj->mnCurrentObject; }; - UINT32 Count() const { return mpImplTextObj->mnParagraphCount; }; - PPTParagraphObj* First(); - PPTParagraphObj* Next(); - MSO_SPT GetShapeType() const { return mpImplTextObj->meShapeType; }; - UINT32 GetInstance() const { return mpImplTextObj->mnInstance; }; - void SetInstance( UINT16 nInstance ) { mpImplTextObj->mnInstance = nInstance; }; - UINT32 GetDestinationInstance() const { return mpImplTextObj->mnDestinationInstance; }; - void SetDestinationInstance( UINT16 nInstance ) { mpImplTextObj->mnDestinationInstance = nInstance; }; - PptOEPlaceholderAtom* GetOEPlaceHolderAtom() const { return mpImplTextObj->mpPlaceHolderAtom; }; - sal_uInt32 GetTextFlags() const { return mpImplTextObj->mnTextFlags; }; - void SetVertical( sal_Bool bVertical ) - { - if ( bVertical ) - mpImplTextObj->mnTextFlags |= PPT_TEXTOBJ_FLAGS_VERTICAL; - else - mpImplTextObj->mnTextFlags &= ~PPT_TEXTOBJ_FLAGS_VERTICAL; - } - sal_Bool GetVertical() const { return ( mpImplTextObj->mnTextFlags & PPT_TEXTOBJ_FLAGS_VERTICAL ) != 0; }; - const SfxItemSet* GetBackground() const; - - PPTTextObj& operator=( PPTTextObj& rTextObj ); -}; - -class PPTConvertOCXControls : public SvxMSConvertOCXControls -{ - virtual const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > & GetDrawPage(); - PptPageKind ePageKind; - public : - - PPTConvertOCXControls( SfxObjectShell* pDSh, PptPageKind ePKind ) : - SvxMSConvertOCXControls ( pDSh, NULL ), - ePageKind ( ePKind ){}; - - virtual sal_Bool InsertControl( - const com::sun::star::uno::Reference< - com::sun::star::form::XFormComponent > &rFComp, - const com::sun::star::awt::Size& rSize, - com::sun::star::uno::Reference< com::sun::star::drawing::XShape > *pShape, - BOOL bFloatingCtrl ); -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -// Powerpoint Recordtypen -#define PPT_PST_Unknown 0 -#define PPT_PST_SubContainerCompleted 1 -#define PPT_PST_IRRAtom 2 -#define PPT_PST_PSS 3 -#define PPT_PST_SubContainerException 4 -#define PPT_PST_ClientSignal1 6 -#define PPT_PST_ClientSignal2 7 -#define PPT_PST_PowerPointStateInfoAtom 10 -#define PPT_PST_Document 1000 -#define PPT_PST_DocumentAtom 1001 -#define PPT_PST_EndDocument 1002 -#define PPT_PST_SlidePersist 1003 -#define PPT_PST_SlideBase 1004 -#define PPT_PST_SlideBaseAtom 1005 -#define PPT_PST_Slide 1006 -#define PPT_PST_SlideAtom 1007 -#define PPT_PST_Notes 1008 -#define PPT_PST_NotesAtom 1009 -#define PPT_PST_Environment 1010 -#define PPT_PST_SlidePersistAtom 1011 -#define PPT_PST_Scheme 1012 -#define PPT_PST_SchemeAtom 1013 -#define PPT_PST_DocViewInfo 1014 -#define PPT_PST_SslideLayoutAtom 1015 -#define PPT_PST_MainMaster 1016 -#define PPT_PST_SSSlideInfoAtom 1017 -#define PPT_PST_SlideViewInfo 1018 -#define PPT_PST_GuideAtom 1019 -#define PPT_PST_ViewInfo 1020 -#define PPT_PST_ViewInfoAtom 1021 -#define PPT_PST_SlideViewInfoAtom 1022 -#define PPT_PST_VBAInfo 1023 -#define PPT_PST_VBAInfoAtom 1024 -#define PPT_PST_SSDocInfoAtom 1025 -#define PPT_PST_Summary 1026 -#define PPT_PST_Texture 1027 -#define PPT_PST_VBASlideInfo 1028 -#define PPT_PST_VBASlideInfoAtom 1029 -#define PPT_PST_DocRoutingSlip 1030 -#define PPT_PST_OutlineViewInfo 1031 -#define PPT_PST_SorterViewInfo 1032 -#define PPT_PST_ExObjList 1033 -#define PPT_PST_ExObjListAtom 1034 -#define PPT_PST_PPDrawingGroup 1035 -#define PPT_PST_PPDrawing 1036 -#define PPT_PST_NewlyAddedAtomByXP1037 1037 -#define PPT_PST_NamedShows 1040 -#define PPT_PST_NamedShow 1041 -#define PPT_PST_NamedShowSlides 1042 -#define PPT_PST_List 2000 -#define PPT_PST_FontCollection 2005 -#define PPT_PST_ListPlaceholder 2017 -#define PPT_PST_BookmarkCollection 2019 -#define PPT_PST_SoundCollection 2020 -#define PPT_PST_SoundCollAtom 2021 -#define PPT_PST_Sound 2022 -#define PPT_PST_SoundData 2023 -#define PPT_PST_BookmarkSeedAtom 2025 -#define PPT_PST_GuideList 2026 -#define PPT_PST_RunArray 2028 -#define PPT_PST_RunArrayAtom 2029 -#define PPT_PST_ArrayElementAtom 2030 -#define PPT_PST_Int4ArrayAtom 2031 -#define PPT_PST_ColorSchemeAtom 2032 - -// these atoms first was seen in ppt2000 in a private Tag atom -#define PPT_PST_ExtendedBuGraContainer 2040 // consist of 4041 -#define PPT_PST_ExtendedBuGraAtom 2041 // the instance of this atom indices the current graphic - -#define PPT_PST_OEShape 3008 -#define PPT_PST_ExObjRefAtom 3009 -#define PPT_PST_OEPlaceholderAtom 3011 -#define PPT_PST_GrColor 3020 -#define PPT_PST_GrectAtom 3025 -#define PPT_PST_GratioAtom 3031 -#define PPT_PST_Gscaling 3032 -#define PPT_PST_GpointAtom 3034 -#define PPT_PST_OEShapeAtom 3035 -#define PPT_PST_OutlineTextRefAtom 3998 -#define PPT_PST_TextHeaderAtom 3999 -#define PPT_PST_TextCharsAtom 4000 -#define PPT_PST_StyleTextPropAtom 4001 -#define PPT_PST_BaseTextPropAtom 4002 -#define PPT_PST_TxMasterStyleAtom 4003 -#define PPT_PST_TxCFStyleAtom 4004 -#define PPT_PST_TxPFStyleAtom 4005 -#define PPT_PST_TextRulerAtom 4006 -#define PPT_PST_TextBookmarkAtom 4007 -#define PPT_PST_TextBytesAtom 4008 -#define PPT_PST_TxSIStyleAtom 4009 -#define PPT_PST_TextSpecInfoAtom 4010 -#define PPT_PST_DefaultRulerAtom 4011 - -// these atoms first was seen in ppt2000 in a private Tag atom -#define PPT_PST_ExtendedParagraphAtom 4012 -#define PPT_PST_ExtendedParagraphMasterAtom 4013 -#define PPT_PST_ExtendedPresRuleContainer 4014 // consist of 4012, 4015, -#define PPT_PST_ExtendedParagraphHeaderAtom 4015 // the instance of this atom indices the current presobj - // the first UINT32 in this atom indices the current slideId -#define PPT_PST_NewlyAddedAtom4016 4016 - -#define PPT_PST_FontEntityAtom 4023 -#define PPT_PST_FontEmbedData 4024 -#define PPT_PST_TypeFace 4025 -#define PPT_PST_CString 4026 -#define PPT_PST_ExternalObject 4027 -#define PPT_PST_MetaFile 4033 -#define PPT_PST_ExOleObj 4034 -#define PPT_PST_ExOleObjAtom 4035 -#define PPT_PST_ExPlainLinkAtom 4036 -#define PPT_PST_CorePict 4037 -#define PPT_PST_CorePictAtom 4038 -#define PPT_PST_ExPlainAtom 4039 -#define PPT_PST_SrKinsoku 4040 -#define PPT_PST_Handout 4041 -#define PPT_PST_ExEmbed 4044 -#define PPT_PST_ExEmbedAtom 4045 -#define PPT_PST_ExLink 4046 -#define PPT_PST_ExLinkAtom_old 4047 -#define PPT_PST_BookmarkEntityAtom 4048 -#define PPT_PST_ExLinkAtom 4049 -#define PPT_PST_SrKinsokuAtom 4050 -#define PPT_PST_ExHyperlinkAtom 4051 -#define PPT_PST_ExPlain 4053 -#define PPT_PST_ExPlainLink 4054 -#define PPT_PST_ExHyperlink 4055 -#define PPT_PST_SlideNumberMCAtom 4056 -#define PPT_PST_HeadersFooters 4057 -#define PPT_PST_HeadersFootersAtom 4058 -#define PPT_PST_RecolorEntryAtom 4062 -#define PPT_PST_TxInteractiveInfoAtom 4063 -#define PPT_PST_EmFormatAtom 4065 -#define PPT_PST_CharFormatAtom 4066 -#define PPT_PST_ParaFormatAtom 4067 -#define PPT_PST_MasterText 4068 -#define PPT_PST_RecolorInfoAtom 4071 -#define PPT_PST_ExQuickTime 4073 -#define PPT_PST_ExQuickTimeMovie 4074 -#define PPT_PST_ExQuickTimeMovieData 4075 -#define PPT_PST_ExSubscription 4076 -#define PPT_PST_ExSubscriptionSection 4077 -#define PPT_PST_ExControl 4078 -#define PPT_PST_ExControlAtom 4091 -#define PPT_PST_SlideListWithText 4080 -#define PPT_PST_AnimationInfoAtom 4081 -#define PPT_PST_InteractiveInfo 4082 -#define PPT_PST_InteractiveInfoAtom 4083 -#define PPT_PST_SlideList 4084 -#define PPT_PST_UserEditAtom 4085 -#define PPT_PST_CurrentUserAtom 4086 -#define PPT_PST_DateTimeMCAtom 4087 -#define PPT_PST_GenericDateMCAtom 4088 -#define PPT_PST_HeaderMCAtom 4089 -#define PPT_PST_FooterMCAtom 4090 -#define PPT_PST_ExMediaAtom 4100 -#define PPT_PST_ExVideo 4101 -#define PPT_PST_ExAviMovie 4102 -#define PPT_PST_ExMCIMovie 4103 -#define PPT_PST_ExMIDIAudio 4109 -#define PPT_PST_ExCDAudio 4110 -#define PPT_PST_ExWAVAudioEmbedded 4111 -#define PPT_PST_ExWAVAudioLink 4112 -#define PPT_PST_ExOleObjStg 4113 -#define PPT_PST_ExCDAudioAtom 4114 -#define PPT_PST_ExWAVAudioEmbeddedAtom 4115 -#define PPT_PST_AnimationInfo 4116 -#define PPT_PST_RTFDateTimeMCAtom 4117 -#define PPT_PST_ProgTags 5000 -#define PPT_PST_ProgStringTag 5001 -#define PPT_PST_ProgBinaryTag 5002 -#define PPT_PST_BinaryTagData 5003 -#define PPT_PST_PrintOptions 6000 -#define PPT_PST_PersistPtrFullBlock 6001 -#define PPT_PST_PersistPtrIncrementalBlock 6002 - -// these atoms first was seen in ppt2000 in a private Tag atom -#define PPT_PST_NewlyAddedAtomByPPT2000_6010 6010 -#define PPT_PST_NewlyAddedAtomByPPT2000_6011 6011 - -#define PPT_PST_RulerIndentAtom 10000 -#define PPT_PST_GscalingAtom 10001 -#define PPT_PST_GrColorAtom 10002 -#define PPT_PST_GLPointAtom 10003 -#define PPT_PST_GlineAtom 10004 - -#define PPT_PST_NewlyAddedAtomByXP11008 11008 -#define PPT_PST_NewlyAddedAtomByXP11010 11010 -#define PPT_PST_Comment10 12000 -#define PPT_PST_CommentAtom10 12001 -#define PPT_PST_NewlyAddedAtomByXP12004 12004 -#define PPT_PST_NewlyAddedAtomByXP12010 12010 -#define PPT_PST_NewlyAddedAtomByXP12011 12011 -#define PPT_PST_NewlyAddedAtomByXP14001 14001 - -// Attribute fuer PptTextStyleSheet -#define PPT_ParaAttr_BulletOn 0 //00000001 -#define PPT_ParaAttr_BuHardFont 1 //00000002 -#define PPT_ParaAttr_BuHardColor 2 //00000004 -#define PPT_ParaAttr_BuHardHeight 3 //00000008 -#define PPT_ParaAttr_BulletFont 4 //00000010 -#define PPT_ParaAttr_BulletColor 5 //00000020 -#define PPT_ParaAttr_BulletHeight 6 //00000040 -#define PPT_ParaAttr_BulletChar 7 //00000080 - -#define PPT_ParaAttr_DontKnow1 8 //00000100 -#define PPT_ParaAttr_DontKnow2 9 //00000200 -#define PPT_ParaAttr_DontKnow3 10 //00000400 -#define PPT_ParaAttr_Adjust 11 //00000800 0000=Left, 0001=Center, 0002=Right, 0003=Block - -#define PPT_ParaAttr_LineFeed 12 //00001000 -#define PPT_ParaAttr_UpperDist 13 //00002000 ist bei Textframes default immer auf 0032 gesetzt -#define PPT_ParaAttr_LowerDist 14 //00004000 -#define PPT_ParaAttr_TextOfs 15 //00008000 - -#define PPT_ParaAttr_BulletOfs 16 //00010000 -#define PPT_ParaAttr_DefaultTab 17 //00020000 -#define PPT_ParaAttr_AsianLB_1 18 -#define PPT_ParaAttr_AsianLB_2 19 -#define PPT_ParaAttr_AsianLB_3 20 -#define PPT_ParaAttr_BiDi 21 //00200000 - -#define PPT_CharAttr_Bold 0 //00000001 -#define PPT_CharAttr_Italic 1 //00000002 -#define PPT_CharAttr_Underline 2 //00000004 -#define PPT_CharAttr_Shadow 4 //00000010 -#define PPT_CharAttr_Strikeout 8 //00000100 -#define PPT_CharAttr_Embossed 9 //00000200 -#define PPT_CharAttr_ResetNumbering 10 //00000400 -#define PPT_CharAttr_EnableNumbering1 11 //00000800 -#define PPT_CharAttr_EnableNumbering2 12 //00001000 -#define PPT_CharAttr_Font 16 //00010000 -#define PPT_CharAttr_AsianOrComplexFont 21 //00200000 -#define PPT_CharAttr_ANSITypeface 22 //00400000 -#define PPT_CharAttr_Symbol 23 //00800000 -#define PPT_CharAttr_FontHeight 17 //00020000 -#define PPT_CharAttr_FontColor 18 //00040000 -#define PPT_CharAttr_Escapement 19 //00080000 - -// Werte fuer PptSlideLayoutAtom.eLayout -#define PPT_LAYOUT_TITLESLIDE 0 // The slide is a title slide -#define PPT_LAYOUT_TITLEANDBODYSLIDE 1 // Title and body slide -#define PPT_LAYOUT_TITLEMASTERSLIDE 2 // Title master slide -#define PPT_LAYOUT_MASTERSLIDE 3 // Master slide layout -#define PPT_LAYOUT_MASTERNOTES 4 // Master notes layout -#define PPT_LAYOUT_NOTESTITLEBODY 5 // Notes title/body layout -#define PPT_LAYOUT_HANDOUTLAYOUT 6 // Handout layout, therefore it doesn't have placeholders except header, footer, and date -#define PPT_LAYOUT_ONLYTITLE 7 // Only title placeholder -#define PPT_LAYOUT_2COLUMNSANDTITLE 8 // Body of the slide has 2 columns and a title -#define PPT_LAYOUT_2ROWSANDTITLE 9 // Slide's body has 2 rows and a title -#define PPT_LAYOUT_RIGHTCOLUMN2ROWS 10 // Body contains 2 columns, right column has 2 rows -#define PPT_LAYOUT_LEFTCOLUMN2ROWS 11 // Body contains 2 columns, left column has 2 rows -#define PPT_LAYOUT_BOTTOMROW2COLUMNS 12 // Body contains 2 rows, bottom row has 2 columns -#define PPT_LAYOUT_TOPROW2COLUMN 13 // Body contains 2 rows, top row has 2 columns -#define PPT_LAYOUT_4OBJECTS 14 // 4 objects -#define PPT_LAYOUT_BIGOBJECT 15 // Big object -#define PPT_LAYOUT_BLANCSLIDE 16 // Blank slide -#define PPT_LAYOUT_TITLERIGHTBODYLEFT 17 // Vertical title on the right, body on the left -#define PPT_LAYOUT_TITLERIGHT2BODIESLEFT 18 // Vertical title on the right, body on the left split into 2 rows - -// the following table describes the placeholder id's (values from reality followed by values taken from the documentation) -#define PPT_PLACEHOLDER_NONE 0 // 0 None -#define PPT_PLACEHOLDER_MASTERTITLE 1 // 1 Master title -#define PPT_PLACEHOLDER_MASTERBODY 2 // 2 Master body -#define PPT_PLACEHOLDER_MASTERCENTEREDTITLE 3 // 3 Master centered title -#define PPT_PLACEHOLDER_MASTERSUBTITLE 4 // 10 Master subtitle -#define PPT_PLACEHOLDER_MASTERNOTESSLIDEIMAGE 5 // 4 Master notes slide image -#define PPT_PLACEHOLDER_MASTERNOTESBODYIMAGE 6 // 5 Master notes body image -#define PPT_PLACEHOLDER_MASTERDATE 7 // 6 Master date -#define PPT_PLACEHOLDER_MASTERSLIDENUMBER 8 // 7 Master slide number -#define PPT_PLACEHOLDER_MASTERFOOTER 9 // 8 Master footer -#define PPT_PLACEHOLDER_MASTERHEADER 10 // 9 Master header -#define PPT_PLACEHOLDER_GENERICTEXTOBJECT // 11 Generic text object -#define PPT_PLACEHOLDER_TITLE 13 // 12 Title -#define PPT_PLACEHOLDER_BODY 14 // 13 Body -#define PPT_PLACEHOLDER_NOTESBODY 12 // 14 Notes body -#define PPT_PLACEHOLDER_CENTEREDTITLE 15 // 15 Centered title -#define PPT_PLACEHOLDER_SUBTITLE 16 // 16 Subtitle -#define PPT_PLACEHOLDER_VERTICALTEXTTITLE 17 // 17 Vertical text title -#define PPT_PLACEHOLDER_VERTICALTEXTBODY 18 // 18 Vertical text body -#define PPT_PLACEHOLDER_NOTESSLIDEIMAGE 11 // 19 Notes slide image -#define PPT_PLACEHOLDER_OBJECT 19 // 20 Object (no matter the size) -#define PPT_PLACEHOLDER_GRAPH 20 // 21 Graph -#define PPT_PLACEHOLDER_TABLE 21 // 22 Table -#define PPT_PLACEHOLDER_CLIPART 22 // 23 Clip Art -#define PPT_PLACEHOLDER_ORGANISZATIONCHART 23 // 24 Organization Chart -#define PPT_PLACEHOLDER_MEDIACLIP 24 // 25 Media Clip - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -#endif // SVX_LIGHT - -#endif //_SVDFPPT_HXX - diff --git a/svx/inc/svx/svdhdl.hxx b/svx/inc/svx/svdhdl.hxx index 4960323feeb7..8d7d4552ea6c 100644 --- a/svx/inc/svx/svdhdl.hxx +++ b/svx/inc/svx/svdhdl.hxx @@ -39,7 +39,7 @@ #include <tools/contnr.hxx> #ifndef _SOLAR_HRC -#include <svtools/solar.hrc> +#include <svl/solar.hrc> #endif #include <svx/xpoly.hxx> diff --git a/svx/inc/svx/svdmodel.hxx b/svx/inc/svx/svdmodel.hxx index 2873b77ac2ea..a9abeac76fc2 100644 --- a/svx/inc/svx/svdmodel.hxx +++ b/svx/inc/svx/svdmodel.hxx @@ -40,12 +40,12 @@ #ifndef _MAPMOD_HXX //autogen #include <vcl/mapmod.hxx> #endif -#include <svtools/brdcst.hxx> +#include <svl/brdcst.hxx> #include <tools/string.hxx> #include <tools/datetime.hxx> -#include <svtools/hint.hxx> +#include <svl/hint.hxx> -#include <svtools/style.hxx> +#include <svl/style.hxx> #include <svx/pageitem.hxx> #include <vcl/field.hxx> diff --git a/svx/inc/svx/svdobj.hxx b/svx/inc/svx/svdobj.hxx index 349bf49ccf06..cc21e645e4d2 100644 --- a/svx/inc/svx/svdobj.hxx +++ b/svx/inc/svx/svdobj.hxx @@ -35,7 +35,7 @@ #include <cppuhelper/weakref.hxx> #include <vcl/mapmod.hxx> #include <tools/weakbase.hxx> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include <vcl/timer.hxx> #include <svx/svdsob.hxx> #include <svx/svdtypes.hxx> // fuer SdrLayerID diff --git a/svx/inc/svx/svdpage.hxx b/svx/inc/svx/svdpage.hxx index 6f2753c4e896..3523308b6e8f 100644 --- a/svx/inc/svx/svdpage.hxx +++ b/svx/inc/svx/svdpage.hxx @@ -563,6 +563,9 @@ public: const sdr::contact::DisplayInfo& rDisplayInfo, bool bEdit ); + /** Check if page is the HandoutMasterPage (in SVX, no PK_HANDOUT available) */ + bool isHandoutMasterPage() const; + ////////////////////////////////////////////////////////////////////////////// // sdr::Comment interface private: diff --git a/svx/inc/svx/svdpagv.hxx b/svx/inc/svx/svdpagv.hxx index cf5ae7e165d0..2d6323cc5a5d 100644 --- a/svx/inc/svx/svdpagv.hxx +++ b/svx/inc/svx/svdpagv.hxx @@ -32,7 +32,7 @@ #define _SVDPAGV_HXX #include <com/sun/star/awt/XControlContainer.hpp> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include <svx/svdhlpln.hxx> #include <cppuhelper/implbase4.hxx> #include <svx/svdsob.hxx> diff --git a/svx/inc/svx/svdpntv.hxx b/svx/inc/svx/svdpntv.hxx index 48523dc97c3b..940133da5568 100644 --- a/svx/inc/svx/svdpntv.hxx +++ b/svx/inc/svx/svdpntv.hxx @@ -31,19 +31,20 @@ #ifndef _SVDPNTV_HXX #define _SVDPNTV_HXX -#include <svtools/brdcst.hxx> -#include <svtools/lstner.hxx> -#include <svtools/smplhint.hxx> -#include <svtools/undo.hxx> +#include <svl/brdcst.hxx> +#include <svl/lstner.hxx> +#include <svl/smplhint.hxx> +#include <svl/undo.hxx> #include <svx/svddrag.hxx> #include <svx/svdlayer.hxx> // fuer SetOfByte #include <vcl/window.hxx> #include <svtools/colorcfg.hxx> #include <com/sun/star/awt/XControlContainer.hpp> -#include <svtools/itemset.hxx> +#include <svl/itemset.hxx> #include <vcl/timer.hxx> #include "svx/svxdllapi.h" #include <svtools/optionsdrawinglayer.hxx> +#include <unotools/options.hxx> //************************************************************ // Pre-Defines @@ -127,7 +128,7 @@ typedef ::std::vector< SdrPaintWindow* > SdrPaintWindowVector; //////////////////////////////////////////////////////////////////////////////////////////////////// -class SVX_DLLPUBLIC SdrPaintView : public SfxListener, public SfxRepeatTarget, public SfxBroadcaster +class SVX_DLLPUBLIC SdrPaintView : public SfxListener, public SfxRepeatTarget, public SfxBroadcaster, public ::utl::ConfigurationListener { friend class SdrPageView; friend class FrameAnimator; @@ -241,6 +242,7 @@ protected: protected: void AppendPaintWindow(SdrPaintWindow& rNew); SdrPaintWindow* RemovePaintWindow(SdrPaintWindow& rOld); + void ConfigurationChanged( ::utl::ConfigurationBroadcaster*, sal_uInt32 ); public: sal_uInt32 PaintWindowCount() const { return maPaintWindows.size(); } diff --git a/svx/inc/svx/svdundo.hxx b/svx/inc/svx/svdundo.hxx index 717b1a070c6f..803b454a6f0c 100644 --- a/svx/inc/svx/svdundo.hxx +++ b/svx/inc/svx/svdundo.hxx @@ -32,9 +32,9 @@ #define _SVDUNDO_HXX #ifndef _SOLAR_HRC -#include <svtools/solar.hrc> +#include <svl/solar.hrc> #endif -#include <svtools/undo.hxx> +#include <svl/undo.hxx> #include <tools/contnr.hxx> #include <tools/gen.hxx> #include <svx/svdtypes.hxx> // fuer enum RepeatFuncts diff --git a/svx/inc/svx/svdview.hxx b/svx/inc/svx/svdview.hxx index a6ae55eddafa..1fe40e40df41 100644 --- a/svx/inc/svx/svdview.hxx +++ b/svx/inc/svx/svdview.hxx @@ -38,6 +38,7 @@ #include <svtools/accessibilityoptions.hxx> #include "svx/svxdllapi.h" #include <svx/svdcrtv.hxx> +#include <unotools/options.hxx> //////////////////////////////////////////////////////////////////////////////////////////////////// // @@ -197,8 +198,6 @@ class SVX_DLLPUBLIC SdrView: public SdrCreateView, public tools::WeakBase< SdrVi protected: SvtAccessibilityOptions maAccessibilityOptions; - virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint); - public: TYPEINFO(); SdrView(SdrModel* pModel1, OutputDevice* pOut = 0L); @@ -235,6 +234,8 @@ public: virtual BOOL MouseMove(const MouseEvent& rMEvt, Window* pWin); virtual BOOL Command(const CommandEvent& rCEvt, Window* pWin); + virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 ); + BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll=FALSE) { return SdrCreateView::SetAttributes(rSet,bReplaceAll); } BOOL SetStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr=FALSE) { return SdrCreateView::SetStyleSheet(pStyleSheet,bDontRemoveHardAttr); } diff --git a/svx/inc/svx/svx3ditems.hxx b/svx/inc/svx/svx3ditems.hxx index e956edb69803..998b20a7a751 100644 --- a/svx/inc/svx/svx3ditems.hxx +++ b/svx/inc/svx/svx3ditems.hxx @@ -30,8 +30,8 @@ #ifndef _SVX3DITEMS_HXX #define _SVX3DITEMS_HXX -#include <svtools/intitem.hxx> -#include <svtools/eitem.hxx> +#include <svl/intitem.hxx> +#include <svl/eitem.hxx> #include <svx/colritem.hxx> diff --git a/svx/inc/svx/svxacorr.hxx b/svx/inc/svx/svxacorr.hxx index ea4585b20af6..5d61f303972d 100644 --- a/svx/inc/svx/svxacorr.hxx +++ b/svx/inc/svx/svxacorr.hxx @@ -33,7 +33,7 @@ #include <com/sun/star/embed/XStorage.hpp> #include <tools/rtti.hxx> -#include <svtools/svarray.hxx> +#include <svl/svarray.hxx> #include <i18npool/lang.h> #include <tools/time.hxx> #include <tools/date.hxx> diff --git a/svx/inc/svx/svxbox.hxx b/svx/inc/svx/svxbox.hxx index d98d0f19ff3e..f5b1bd21c148 100644 --- a/svx/inc/svx/svxbox.hxx +++ b/svx/inc/svx/svxbox.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/svarray.hxx> +#include <svl/svarray.hxx> #include <tools/string.hxx> #ifndef _LSTBOX_HXX //autogen diff --git a/svx/inc/svx/svxdlg.hxx b/svx/inc/svx/svxdlg.hxx index e4b3b6152022..23db741f0991 100644 --- a/svx/inc/svx/svxdlg.hxx +++ b/svx/inc/svx/svxdlg.hxx @@ -361,56 +361,47 @@ class SVX_DLLPUBLIC SvxAbstractDialogFactory : public SfxAbstractDialogFactory public: static SvxAbstractDialogFactory* Create(); + // define dtor as this will create typeinfo in svx library + virtual ~SvxAbstractDialogFactory(); + virtual SfxAbstractTabDialog* CreateTextTabDialog( Window* pParent, const SfxItemSet* pAttrSet, - sal_uInt32 nResId, SdrView* pView, SdrModel* pModel=0 ) = 0 ; //add for SvxTextTabDialog virtual AbstractSvxCaptionDialog* CreateCaptionDialog( Window* pParent, const SdrView* pView, - sal_uInt32 nResId, USHORT nAnchorTypes = 0 ) = 0; //add for SvxCaptionTabDialog CHINA001 virtual AbstractSvxDistributeDialog* CreateSvxDistributeDialog(Window* pParent, const SfxItemSet& rAttr, - sal_uInt32 nResId, SvxDistributeHorizontal eHor = SvxDistributeHorizontalNone, SvxDistributeVertical eVer = SvxDistributeVerticalNone)= 0; virtual AbstractHangulHanjaConversionDialog * CreateHangulHanjaConversionDialog( Window* _pParent, //add for HangulHanjaConversionDialog CHINA001 - HangulHanjaConversion::ConversionDirection _ePrimaryDirection, - sal_uInt32 nResId) = 0; + HangulHanjaConversion::ConversionDirection _ePrimaryDirection ) = 0; - virtual AbstractFmShowColsDialog * CreateFmShowColsDialog( Window* pParent, //add for FmShowColsDialog - sal_uInt32 nResId) = 0 ; + virtual AbstractFmShowColsDialog * CreateFmShowColsDialog( Window* pParent ) = 0; virtual AbstractSvxZoomDialog * CreateSvxZoomDialog( Window* pParent, //add for SvxZoomDialog - const SfxItemSet& rCoreSet, - sal_uInt32 nResId) = 0 ; + const SfxItemSet& rCoreSet )=0; virtual AbstractSpellDialog * CreateSvxSpellDialog(Window* pParent, SfxBindings* pBindings, svx::SpellDialogChildWindow* pSpellChildWindow )=0; virtual VclAbstractRefreshableDialog * CreateActualizeProgressDialog( Window* pParent, //add for ActualizeProgress - GalleryTheme* pThm, - sal_uInt32 nResId) = 0; + GalleryTheme* pThm ) = 0; virtual AbstractSearchProgress * CreateSearchProgressDialog( Window* pParent, //add for SearchProgress - const INetURLObject& rStartURL, - sal_uInt32 nResId) = 0; - virtual AbstractTakeProgress * CreateTakeProgressDialog( Window* pParent, //add for TakeProgress - sal_uInt32 nResId) = 0; + const INetURLObject& rStartURL ) = 0; + virtual AbstractTakeProgress * CreateTakeProgressDialog( Window* pParent ) = 0; virtual AbstractTitleDialog * CreateTitleDialog( Window* pParent, //add for TitleDialog - const String& rOldText, - sal_uInt32 nResId) = 0; + const String& rOldText ) = 0; virtual AbstractGalleryIdDialog * CreateGalleryIdDialog( Window* pParent, //add for SvxZoomDialog - GalleryTheme* pThm, - sal_uInt32 nResId) = 0; + GalleryTheme* pThm ) = 0; virtual VclAbstractDialog2 * CreateGalleryThemePropertiesDialog( Window* pParent, //add for GalleryThemeProperties ExchangeData* pData, - SfxItemSet* pItemSet, - sal_uInt32 nResId) = 0; + SfxItemSet* pItemSet ) = 0; virtual AbstractURLDlg * CreateURLDialog( Window* pParent, const String& rURL, const String& rAltText, const String& rDescription, const String& rTarget, const String& rName, @@ -422,8 +413,7 @@ public: sal_uInt32 nResId) = 0; virtual VclAbstractDialog* CreateSvxSearchAttributeDialog( Window* pParent, //add for SvxSearchAttributeDialog SearchAttrItemList& rLst, - const USHORT* pWhRanges, - sal_uInt32 nResId )= 0; + const USHORT* pWhRanges)=0; virtual AbstractSvxSearchSimilarityDialog * CreateSvxSearchSimilarityDialog( Window* pParent, //add for SvxSearchSimilarityDialog BOOL bRelax, USHORT nOther, @@ -431,12 +421,10 @@ public: USHORT nLonger ) = 0; virtual SfxAbstractTabDialog* CreateSvxBorderBackgroundDlg( Window* pParent, //add for SvxBorderBackgroundDlg const SfxItemSet& rCoreSet, - sal_uInt32 nResId, BOOL bEnableSelector = FALSE) = 0; virtual AbstractSvxTransformTabDialog* CreateSvxTransformTabDialog( Window* pParent, //add for SvxTransformTabDialog const SfxItemSet* pAttr, const SdrView* pView, - sal_uInt32 nResId, USHORT nAnchorTypes = 0) = 0; virtual SfxAbstractTabDialog* CreateSchTransformTabDialog( Window* pParent, //add for SchTransformTabDialog const SfxItemSet* pAttr, @@ -445,11 +433,9 @@ public: bool bSizeTabPage = false )=0; virtual AbstractSvxJSearchOptionsDialog * CreateSvxJSearchOptionsDialog( Window* pParent, - const SfxItemSet& rOptionsSet, USHORT nUniqueId, - INT32 nInitialFlags, - sal_uInt32 nResId) = 0; //add for SvxJSearchOptionsDialog - virtual AbstractFmInputRecordNoDialog * CreateFmInputRecordNoDialog( Window* pParent, - sal_uInt32 nResId) = 0; //add for FmInputRecordNoDialog + const SfxItemSet& rOptionsSet, + INT32 nInitialFlags )=0; + virtual AbstractFmInputRecordNoDialog * CreateFmInputRecordNoDialog( Window* pParent ) = 0; virtual AbstractSvxNewDictionaryDialog* CreateSvxNewDictionaryDialog( Window* pParent, ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellChecker1 > &xSpl, sal_uInt32 nResId ) = 0; //add for SvxNewDictionaryDialog @@ -458,21 +444,18 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellChecker1> &xSpl, sal_uInt32 nResId) = 0;//add for SvxEditDictionaryDialog virtual AbstractSvxNameDialog * CreateSvxNameDialog( Window* pParent, - const String& rName, const String& rDesc, - sal_uInt32 nResId ) = 0; //add for SvxNameDialog + const String& rName, const String& rDesc ) = 0; //add for SvxNameDialog // #i68101# - virtual AbstractSvxObjectNameDialog* CreateSvxObjectNameDialog(Window* pParent, const String& rName, sal_uInt32 nResId) = 0; - virtual AbstractSvxObjectTitleDescDialog* CreateSvxObjectTitleDescDialog(Window* pParent, const String& rTitle, const String& rDescription, sal_uInt32 nResId) = 0; + virtual AbstractSvxObjectNameDialog* CreateSvxObjectNameDialog(Window* pParent, const String& rName ) = 0; + virtual AbstractSvxObjectTitleDescDialog* CreateSvxObjectTitleDescDialog(Window* pParent, const String& rTitle, const String& rDescription) = 0; virtual AbstractSvxMessDialog * CreateSvxMessDialog( Window* pParent, sal_uInt32 nResId, const String& rText, const String& rDesc, Image* pImg = NULL ) = 0; //add for SvxMessDialog - virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog( Window* pParent, sal_uInt32 nResId, - BOOL bEmptyAllowed = FALSE ) = 0 ; //add for SvxMultiPathDialog - virtual AbstractSvxMultiFileDialog * CreateSvxMultiFileDialog( Window* pParent, sal_uInt32 nResId, - BOOL bEmptyAllowed = FALSE ) = 0 ; //add for SvxMultiFileDialog + virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog( Window* pParent, BOOL bEmptyAllowed = FALSE ) = 0 ; //add for SvxMultiPathDialog + virtual AbstractSvxMultiFileDialog * CreateSvxMultiFileDialog( Window* pParent, BOOL bEmptyAllowed = FALSE ) = 0 ; //add for SvxMultiFileDialog virtual AbstractSvxHpLinkDlg * CreateSvxHpLinkDlg (Window* pParent, //add for SvxMultiFileDialog SfxBindings* pBindings, sal_uInt32 nResId)=0; @@ -483,28 +466,23 @@ public: const Link& lnkContextSupplier)=0; virtual AbstractGraphicFilterDialog * CreateGraphicFilterEmboss (Window* pParent, //add for GraphicFilterEmboss const Graphic& rGraphic, - RECT_POINT eLightSource, - sal_uInt32 nResId)=0; + RECT_POINT eLightSource, sal_uInt32 nResId )=0; virtual AbstractGraphicFilterDialog * CreateGraphicFilterPosterSepia (Window* pParent, //add for GraphicFilterPoster & GraphicFilterSepia const Graphic& rGraphic, USHORT nCount, sal_uInt32 nResId)=0; virtual AbstractGraphicFilterDialog * CreateGraphicFilterSolarize (Window* pParent, //add for GraphicFilterSolarize const Graphic& rGraphic, - BYTE nGreyThreshold, BOOL bInvert, - sal_uInt32 nResId)=0; + BYTE nGreyThreshold, BOOL bInvert, sal_uInt32 nResId)=0; virtual AbstractGraphicFilterDialog * CreateGraphicFilterMosaic (Window* pParent, //add for GraphicFilterMosaic const Graphic& rGraphic, - USHORT nTileWidth, USHORT nTileHeight, BOOL bEnhanceEdges, - sal_uInt32 nResId)=0; + USHORT nTileWidth, USHORT nTileHeight, BOOL bEnhanceEdges, sal_uInt32 nResId)=0; virtual AbstractSvxAreaTabDialog* CreateSvxAreaTabDialog( Window* pParent,//add for SvxAreaTabDialog const SfxItemSet* pAttr, SdrModel* pModel, - sal_uInt32 nResId, const SdrView* pSdrView = NULL ) = 0 ; virtual SfxAbstractTabDialog* CreateSvxLineTabDialog( Window* pParent, const SfxItemSet* pAttr, //add forSvxLineTabDialog SdrModel* pModel, - sal_uInt32 nResId, const SdrObject* pObj = NULL, BOOL bHasObj = TRUE )=0; virtual VclAbstractDialog* CreateSfxDialog( Window* pParent, const SfxBindings& rBindings, sal_uInt32 nResId ) = 0; @@ -520,11 +498,10 @@ public: )=0; virtual AbstractSvxPostItDialog* CreateSvxPostItDialog( Window* pParent, //add for SvxPostItDialog const SfxItemSet& rCoreSet, - sal_uInt32 nResId, BOOL bPrevNext = FALSE, BOOL bRedline = FALSE )=0; virtual VclAbstractDialog* CreateSvxScriptOrgDialog( Window* pParent, const String& rLanguage ) = 0; - virtual CreateSvxDistributePage GetSvxDistributePageCreatorFunc(USHORT nId ) = 0; // add for SvxDistributePage + virtual CreateSvxDistributePage GetSvxDistributePageCreatorFunc() = 0; // add for SvxDistributePage virtual DialogGetRanges GetDialogGetRangesFunc( USHORT nId ) = 0; //add for SvxPostItDialog virtual AbstractScriptSelectorDialog* diff --git a/svx/inc/svx/svxids.hrc b/svx/inc/svx/svxids.hrc index 4e3b1ebf4889..5c541b3b24dd 100644 --- a/svx/inc/svx/svxids.hrc +++ b/svx/inc/svx/svxids.hrc @@ -31,8 +31,8 @@ #define _SVX_SVXIDS_HRC // include ------------------------------------------------------------------ -#include <svtools/memberid.hrc> -#include <svtools/solar.hrc> +#include <svl/memberid.hrc> +#include <svl/solar.hrc> #include <sfx2/sfx.hrc> #include <sfx2/sfxsids.hrc> @@ -147,7 +147,7 @@ // -------------------------------------------------------------------------- // Resource-Id's ? (obsolete??? at least the one beginning with SID???) // -------------------------------------------------------------------------- - +/* #define RID_SW_TP_OPTCOMPATIBILITY_PAGE (RID_OFA_START + 255) #define RID_SW_TP_CONTENT_OPT (RID_OFA_START + 206) #define RID_SW_TP_LAYOUT_OPT (RID_OFA_START + 207) @@ -196,8 +196,9 @@ #define RID_OFA_TP_INTERNATIONAL (RID_OFA_START + 252) // 4 SC & ID 4 resource #define RID_OFA_TP_INTERNATIONAL_SD (RID_OFA_START + 253) // 4 SD #define RID_OFA_TP_INTERNATIONAL_IMPR (RID_OFA_START + 254) // 4 impress +*/ + #define SID_ATTR_PARENTWINDOW (RID_OFA_START + 255) -#define RID_SW_TP_OPTCAPTION_PAGE (RID_OFA_START + 256) // -------------------------------------------------------------------------- // Event-Id's Block 1 diff --git a/svx/inc/svx/svxitems.hrc b/svx/inc/svx/svxitems.hrc index 019211697711..5d554cf67ebf 100644 --- a/svx/inc/svx/svxitems.hrc +++ b/svx/inc/svx/svxitems.hrc @@ -33,7 +33,7 @@ // include ------------------------------------------------------------------ #ifndef _SOLAR_HRC -#include <svtools/solar.hrc> +#include <svl/solar.hrc> #endif // BOOL --------------------------------------------------------------------- diff --git a/svx/inc/svx/sxcecitm.hxx b/svx/inc/svx/sxcecitm.hxx index 58c6bb167e0f..229f80394ce7 100644 --- a/svx/inc/svx/sxcecitm.hxx +++ b/svx/inc/svx/sxcecitm.hxx @@ -30,7 +30,7 @@ #ifndef _SXCECITM_HXX #define _SXCECITM_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svddef.hxx> #include <svx/sdynitm.hxx> #include <svx/sdmetitm.hxx> diff --git a/svx/inc/svx/sxcikitm.hxx b/svx/inc/svx/sxcikitm.hxx index 239df3664a63..c94263e55d17 100644 --- a/svx/inc/svx/sxcikitm.hxx +++ b/svx/inc/svx/sxcikitm.hxx @@ -31,7 +31,7 @@ #define _SXCIKITM_HXX #include <svx/svddef.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> enum SdrCircKind {SDRCIRC_FULL, SDRCIRC_SECT, diff --git a/svx/inc/svx/sxctitm.hxx b/svx/inc/svx/sxctitm.hxx index f0eebfbc740b..35d496179e2a 100644 --- a/svx/inc/svx/sxctitm.hxx +++ b/svx/inc/svx/sxctitm.hxx @@ -30,7 +30,7 @@ #ifndef _SXCTITM_HXX #define _SXCTITM_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sxekitm.hxx b/svx/inc/svx/sxekitm.hxx index 2693daa4a309..a763a90e4b1f 100644 --- a/svx/inc/svx/sxekitm.hxx +++ b/svx/inc/svx/sxekitm.hxx @@ -30,7 +30,7 @@ #ifndef _SXEKITM_HXX #define _SXEKITM_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/sxfiitm.hxx b/svx/inc/svx/sxfiitm.hxx index 3228dee660e7..72a258d2fa70 100644 --- a/svx/inc/svx/sxfiitm.hxx +++ b/svx/inc/svx/sxfiitm.hxx @@ -30,7 +30,7 @@ #ifndef _SFXIITM_HXX #define _SFXIITM_HXX -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <tools/fract.hxx> /*************************************************************************/ diff --git a/svx/inc/svx/sxlayitm.hxx b/svx/inc/svx/sxlayitm.hxx index d09ef3261505..972bed84e8de 100644 --- a/svx/inc/svx/sxlayitm.hxx +++ b/svx/inc/svx/sxlayitm.hxx @@ -31,8 +31,8 @@ #define _SYLAYITM_HXX #include <svx/svddef.hxx> -#include <svtools/stritem.hxx> -#include <svtools/intitem.hxx> +#include <svl/stritem.hxx> +#include <svl/intitem.hxx> #include <svx/svdtypes.hxx> //------------------------------ diff --git a/svx/inc/svx/sxmfsitm.hxx b/svx/inc/svx/sxmfsitm.hxx index a2068a51e032..4d9f245e54b1 100644 --- a/svx/inc/svx/sxmfsitm.hxx +++ b/svx/inc/svx/sxmfsitm.hxx @@ -31,7 +31,7 @@ #define _SXMFSITM_HXX #include <svx/svddef.hxx> -#include <svtools/stritem.hxx> +#include <svl/stritem.hxx> // Formatstring (aehnl. Calc), z.B. "#.###,00km" // ueberschreibt SdrMeasureUnitItem und SdrMeasureShowUnitItem (n.i.) diff --git a/svx/inc/svx/sxmkitm.hxx b/svx/inc/svx/sxmkitm.hxx index a5979bceef00..ae537a976e25 100644 --- a/svx/inc/svx/sxmkitm.hxx +++ b/svx/inc/svx/sxmkitm.hxx @@ -31,7 +31,7 @@ #define _SXMKITM_HXX #include <svx/svddef.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> enum SdrMeasureKind {SDRMEASURE_STD,SDRMEASURE_RADIUS}; // n.i. diff --git a/svx/inc/svx/sxmtpitm.hxx b/svx/inc/svx/sxmtpitm.hxx index f8a65552b1c2..a708c9429678 100644 --- a/svx/inc/svx/sxmtpitm.hxx +++ b/svx/inc/svx/sxmtpitm.hxx @@ -31,7 +31,7 @@ #define _SXMTPITM_HXX #include <svx/svddef.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" enum SdrMeasureTextHPos {SDRMEASURE_TEXTHAUTO,SDRMEASURE_TEXTLEFTOUTSIDE,SDRMEASURE_TEXTINSIDE,SDRMEASURE_TEXTRIGHTOUTSIDE}; diff --git a/svx/inc/svx/sxmuitm.hxx b/svx/inc/svx/sxmuitm.hxx index e48fcefc8315..9f721f67fef2 100644 --- a/svx/inc/svx/sxmuitm.hxx +++ b/svx/inc/svx/sxmuitm.hxx @@ -32,7 +32,7 @@ #include <vcl/field.hxx> #include <svx/svddef.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" // Vorgabe einer Masseinheit. Der Zahlenwert wird in diese Einheit umgerechnet diff --git a/svx/inc/svx/sxonitm.hxx b/svx/inc/svx/sxonitm.hxx index 8172df9cd200..ce5c5e72cfd1 100644 --- a/svx/inc/svx/sxonitm.hxx +++ b/svx/inc/svx/sxonitm.hxx @@ -31,7 +31,7 @@ #define _SXONITM_HXX #include <svx/svddef.hxx> -#include <svtools/stritem.hxx> +#include <svl/stritem.hxx> //------------------------------ // class SdrObjectNameItem diff --git a/svx/inc/svx/tbcontrl.hxx b/svx/inc/svx/tbcontrl.hxx index 4b52785756c9..e531ebfad54b 100644 --- a/svx/inc/svx/tbcontrl.hxx +++ b/svx/inc/svx/tbcontrl.hxx @@ -158,7 +158,7 @@ // ITEMID_...-Defines im *.cxx #include <rsc/rscsfx.hxx> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include <sfx2/tbxctrl.hxx> #include <svx/strarray.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/tstpitem.hxx b/svx/inc/svx/tstpitem.hxx index 58c9a6400aed..b910b1b1e704 100644 --- a/svx/inc/svx/tstpitem.hxx +++ b/svx/inc/svx/tstpitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include <svx/svxenum.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/svx/twolinesitem.hxx b/svx/inc/svx/twolinesitem.hxx index cf7ec3c48f2e..5c0094db0f42 100644 --- a/svx/inc/svx/twolinesitem.hxx +++ b/svx/inc/svx/twolinesitem.hxx @@ -31,7 +31,7 @@ #define _SVX_TWOLINESITEM_HXX #include <sal/types.h> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/udlnitem.hxx b/svx/inc/svx/udlnitem.hxx index ca27f07b9602..33d5d59e3ff6 100644 --- a/svx/inc/svx/udlnitem.hxx +++ b/svx/inc/svx/udlnitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/ulspitem.hxx b/svx/inc/svx/ulspitem.hxx index 133246bcd1d9..9c57a445a0a7 100644 --- a/svx/inc/svx/ulspitem.hxx +++ b/svx/inc/svx/ulspitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/unoedsrc.hxx b/svx/inc/svx/unoedsrc.hxx index a4777b6469b4..6c3025072e3c 100644 --- a/svx/inc/svx/unoedsrc.hxx +++ b/svx/inc/svx/unoedsrc.hxx @@ -42,8 +42,8 @@ #ifndef _SV_COLOR_HXX //autogen #include <tools/color.hxx> #endif -#include <svtools/poolitem.hxx> -#include <svtools/itempool.hxx> +#include <svl/poolitem.hxx> +#include <svl/itempool.hxx> #include "svx/svxdllapi.h" #include <list> diff --git a/svx/inc/svx/unoipset.hxx b/svx/inc/svx/unoipset.hxx index b16079e515cd..ffc9f834f7b4 100644 --- a/svx/inc/svx/unoipset.hxx +++ b/svx/inc/svx/unoipset.hxx @@ -34,7 +34,7 @@ #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include "svx/svxdllapi.h" -#include <svtools/itemprop.hxx> +#include <svl/itemprop.hxx> class SvxIDPropertyCombineList; class SdrItemPool; diff --git a/svx/inc/svx/unopage.hxx b/svx/inc/svx/unopage.hxx index 39caa0849ec6..83671f2934f8 100644 --- a/svx/inc/svx/unopage.hxx +++ b/svx/inc/svx/unopage.hxx @@ -44,7 +44,7 @@ #endif #include <cppuhelper/weak.hxx> #include <cppuhelper/weakagg.hxx> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include <svx/mutxhelp.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/unoprov.hxx b/svx/inc/svx/unoprov.hxx index ebe1e375f58c..3c7f87f58fbd 100644 --- a/svx/inc/svx/unoprov.hxx +++ b/svx/inc/svx/unoprov.hxx @@ -33,7 +33,7 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <svx/svdpool.hxx> -#include <svtools/itemprop.hxx> +#include <svl/itemprop.hxx> #include <tools/list.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/unoshape.hxx b/svx/inc/svx/unoshape.hxx index f400376a6937..ec81d8beaa1c 100644 --- a/svx/inc/svx/unoshape.hxx +++ b/svx/inc/svx/unoshape.hxx @@ -49,7 +49,7 @@ #include <com/sun/star/beans/XMultiPropertyStates.hpp> #include <tools/gen.hxx> #include <tools/weakbase.hxx> -#include <svtools/lstner.hxx> +#include <svl/lstner.hxx> #include <svx/unoipset.hxx> #include <cppuhelper/weak.hxx> #include <cppuhelper/weakagg.hxx> diff --git a/svx/inc/svx/unoshprp.hxx b/svx/inc/svx/unoshprp.hxx index 4e1f91ca23da..e23b24a21957 100644 --- a/svx/inc/svx/unoshprp.hxx +++ b/svx/inc/svx/unoshprp.hxx @@ -82,7 +82,7 @@ #include <svx/unoprnms.hxx> #include <svx/unomid.hxx> #include <svx/unotext.hxx> -#include <svtools/itemprop.hxx> +#include <svl/itemprop.hxx> #include <svx/svxids.hrc> diff --git a/svx/inc/svx/unotext.hxx b/svx/inc/svx/unotext.hxx index 63ce0a28b739..46e26dbbc0a8 100644 --- a/svx/inc/svx/unotext.hxx +++ b/svx/inc/svx/unotext.hxx @@ -50,11 +50,11 @@ #include <com/sun/star/text/XTextCopy.hpp> #include <cppuhelper/weak.hxx> #include <cppuhelper/weakagg.hxx> -#include <svtools/itemprop.hxx> +#include <svl/itemprop.hxx> #include <svx/editdata.hxx> #include <svx/unoedsrc.hxx> -#include <svtools/itemset.hxx> -#include <svtools/itempool.hxx> +#include <svl/itemset.hxx> +#include <svl/itempool.hxx> #include <svx/svxenum.hxx> #include <svx/outliner.hxx> #include <svx/unoforou.hxx> diff --git a/svx/inc/svx/viewlayoutitem.hxx b/svx/inc/svx/viewlayoutitem.hxx index 6e294290098d..a58e83c1a38b 100644 --- a/svx/inc/svx/viewlayoutitem.hxx +++ b/svx/inc/svx/viewlayoutitem.hxx @@ -30,7 +30,7 @@ #ifndef _SVX_VIEWLAYOUTITEM_HXX #define _SVX_VIEWLAYOUTITEM_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/wghtitem.hxx b/svx/inc/svx/wghtitem.hxx index eac6cb0da621..2a63885e3e42 100644 --- a/svx/inc/svx/wghtitem.hxx +++ b/svx/inc/svx/wghtitem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #include <vcl/vclenum.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/widwitem.hxx b/svx/inc/svx/widwitem.hxx index 78f7a3a563e2..682e3bea5c39 100644 --- a/svx/inc/svx/widwitem.hxx +++ b/svx/inc/svx/widwitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> diff --git a/svx/inc/svx/writingmodeitem.hxx b/svx/inc/svx/writingmodeitem.hxx index 02092073a6bf..0e481479a611 100644 --- a/svx/inc/svx/writingmodeitem.hxx +++ b/svx/inc/svx/writingmodeitem.hxx @@ -33,7 +33,7 @@ // include --------------------------------------------------------------- #include <com/sun/star/text/WritingMode.hpp> -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include <svx/svddef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/wrlmitem.hxx b/svx/inc/svx/wrlmitem.hxx index b2138548e50c..aa5116125d28 100644 --- a/svx/inc/svx/wrlmitem.hxx +++ b/svx/inc/svx/wrlmitem.hxx @@ -32,7 +32,7 @@ // include --------------------------------------------------------------- -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/xfillit.hxx b/svx/inc/svx/xfillit.hxx index cf88f88ed80d..6ac90e8a8a93 100644 --- a/svx/inc/svx/xfillit.hxx +++ b/svx/inc/svx/xfillit.hxx @@ -38,7 +38,7 @@ #include <svx/xgrad.hxx> #include <svx/xhatch.hxx> #include <svx/xenum.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/xflclit.hxx> #include <svx/xsflclit.hxx> diff --git a/svx/inc/svx/xfillit0.hxx b/svx/inc/svx/xfillit0.hxx index 9bb4543beb51..4fbc0686a5ba 100644 --- a/svx/inc/svx/xfillit0.hxx +++ b/svx/inc/svx/xfillit0.hxx @@ -31,7 +31,7 @@ #ifndef SVX_XFILLIT0_HXX #define SVX_XFILLIT0_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/xdef.hxx> #include <svx/xenum.hxx> diff --git a/svx/inc/svx/xflasit.hxx b/svx/inc/svx/xflasit.hxx index 50bea4e013ba..f5ca7bc9efff 100644 --- a/svx/inc/svx/xflasit.hxx +++ b/svx/inc/svx/xflasit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFLASIT_HXX #define _SVX_XFLASIT_HXX -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xflbckit.hxx b/svx/inc/svx/xflbckit.hxx index 2744982b8639..aecae3acdeb4 100644 --- a/svx/inc/svx/xflbckit.hxx +++ b/svx/inc/svx/xflbckit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFLBCKIT_HXX #define _SVX_XFLBCKIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xflbmpit.hxx b/svx/inc/svx/xflbmpit.hxx index 42117613cba4..231bab10f122 100644 --- a/svx/inc/svx/xflbmpit.hxx +++ b/svx/inc/svx/xflbmpit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFLBMPIT_HXX #define _SVX_XFLBMPIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xflbmsli.hxx b/svx/inc/svx/xflbmsli.hxx index 332bbf9792b7..a0f88b111331 100644 --- a/svx/inc/svx/xflbmsli.hxx +++ b/svx/inc/svx/xflbmsli.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFLBMSLI_HXX #define _SVX_XFLBMSLI_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xflbmsxy.hxx b/svx/inc/svx/xflbmsxy.hxx index 78263dd2c5e3..254428badb6c 100644 --- a/svx/inc/svx/xflbmsxy.hxx +++ b/svx/inc/svx/xflbmsxy.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFLBMSXY_HXX #define _SVX_XFLBMSXY_HXX -#include <svtools/metitem.hxx> +#include <svl/metitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xflbmtit.hxx b/svx/inc/svx/xflbmtit.hxx index c38fd9c45514..db969aa650c5 100644 --- a/svx/inc/svx/xflbmtit.hxx +++ b/svx/inc/svx/xflbmtit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFLBMTIT_HXX #define _SVX_XFLBMTIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xflboxy.hxx b/svx/inc/svx/xflboxy.hxx index 9f0c37f9b6b3..2dfd12f6d6dc 100644 --- a/svx/inc/svx/xflboxy.hxx +++ b/svx/inc/svx/xflboxy.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFLBOXY_HXX #define _SVX_XFLBOXY_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xflbstit.hxx b/svx/inc/svx/xflbstit.hxx index af2dee2fa116..a91c44d02831 100644 --- a/svx/inc/svx/xflbstit.hxx +++ b/svx/inc/svx/xflbstit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFLBSTIT_HXX #define _SVX_XFLBSTIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xflbtoxy.hxx b/svx/inc/svx/xflbtoxy.hxx index 828435432bb1..2f6744e4c022 100644 --- a/svx/inc/svx/xflbtoxy.hxx +++ b/svx/inc/svx/xflbtoxy.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFLBTOXY_HXX #define _SVX_XFLBTOXY_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xfltrit.hxx b/svx/inc/svx/xfltrit.hxx index dd4738e340b3..5b78342d1ebf 100644 --- a/svx/inc/svx/xfltrit.hxx +++ b/svx/inc/svx/xfltrit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFLTRIT_HXX #define _SVX_XFLTRIT_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xftadit.hxx b/svx/inc/svx/xftadit.hxx index 839d636d41c2..a29dfb8540a8 100644 --- a/svx/inc/svx/xftadit.hxx +++ b/svx/inc/svx/xftadit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFTADIT_HXX #define _SVX_XFTADIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xftdiit.hxx b/svx/inc/svx/xftdiit.hxx index 33ca48003471..fc47ac7b6c7d 100644 --- a/svx/inc/svx/xftdiit.hxx +++ b/svx/inc/svx/xftdiit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFTDIIT_HXX #define _SVX_XFTDIIT_HXX -#include <svtools/metitem.hxx> +#include <svl/metitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xftmrit.hxx b/svx/inc/svx/xftmrit.hxx index ea428b141a40..f0d7fc1ac362 100644 --- a/svx/inc/svx/xftmrit.hxx +++ b/svx/inc/svx/xftmrit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFTMRIT_HXX #define _SVX_XFTMRIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xftshit.hxx b/svx/inc/svx/xftshit.hxx index 02866ed2975d..973a12095dd9 100644 --- a/svx/inc/svx/xftshit.hxx +++ b/svx/inc/svx/xftshit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFTSHIT_HXX #define _SVX_XFTSHIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xftshtit.hxx b/svx/inc/svx/xftshtit.hxx index cc4b87f71673..7d7744640533 100644 --- a/svx/inc/svx/xftshtit.hxx +++ b/svx/inc/svx/xftshtit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFTSHTIT_HXX #define _SVX_XFTSHTIT_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> /************************************************************************* |* diff --git a/svx/inc/svx/xftshxy.hxx b/svx/inc/svx/xftshxy.hxx index dd19518b0510..7f83e8e826b2 100644 --- a/svx/inc/svx/xftshxy.hxx +++ b/svx/inc/svx/xftshxy.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFTSHXY_HXX #define _SVX_XFTSHXY_HXX -#include <svtools/metitem.hxx> +#include <svl/metitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xftstit.hxx b/svx/inc/svx/xftstit.hxx index 062d4c1fd8e9..dd9b14e1f75d 100644 --- a/svx/inc/svx/xftstit.hxx +++ b/svx/inc/svx/xftstit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XFTSTIT_HXX #define _SVX_XFTSTIT_HXX -#include <svtools/metitem.hxx> +#include <svl/metitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xgrscit.hxx b/svx/inc/svx/xgrscit.hxx index 3d2ee96b0618..3cf97e3c7ce0 100644 --- a/svx/inc/svx/xgrscit.hxx +++ b/svx/inc/svx/xgrscit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XGRSCIT_HXX #define _SVX_XGRSCIT_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xit.hxx b/svx/inc/svx/xit.hxx index 993f16eb1f43..b864cf0d20c0 100644 --- a/svx/inc/svx/xit.hxx +++ b/svx/inc/svx/xit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XIT_HXX #define _SVX_XIT_HXX -#include <svtools/stritem.hxx> +#include <svl/stritem.hxx> #include <svx/xdef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/xlineit.hxx b/svx/inc/svx/xlineit.hxx index 3181da265a64..46e8d34e32bc 100644 --- a/svx/inc/svx/xlineit.hxx +++ b/svx/inc/svx/xlineit.hxx @@ -35,8 +35,8 @@ #include <svx/xcolit.hxx> #include <svx/xpoly.hxx> #include <svx/xenum.hxx> -#include <svtools/metitem.hxx> -#include <svtools/eitem.hxx> +#include <svl/metitem.hxx> +#include <svl/eitem.hxx> class XDash; class XDashTable; diff --git a/svx/inc/svx/xlineit0.hxx b/svx/inc/svx/xlineit0.hxx index 57104bf05d06..41754785f0bf 100644 --- a/svx/inc/svx/xlineit0.hxx +++ b/svx/inc/svx/xlineit0.hxx @@ -32,7 +32,7 @@ #define _SVX_XLINEIT0_HXX #include <svx/xenum.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> //--------------------- // class LineStyleItem //--------------------- diff --git a/svx/inc/xlinjoit.hxx b/svx/inc/svx/xlinjoit.hxx index dc1016d0a05b..97b4bb2ac276 100644 --- a/svx/inc/xlinjoit.hxx +++ b/svx/inc/svx/xlinjoit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XLINJOIT_HXX #define _SVX_XLINJOIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include <svx/xenum.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/xlnasit.hxx b/svx/inc/svx/xlnasit.hxx index 6743e4a30747..413de684537b 100644 --- a/svx/inc/svx/xlnasit.hxx +++ b/svx/inc/svx/xlnasit.hxx @@ -32,7 +32,7 @@ #define _SVX_XLNASIT_HXX -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xlnedcit.hxx b/svx/inc/svx/xlnedcit.hxx index f1a6fe3e2846..0adabb2862e5 100644 --- a/svx/inc/svx/xlnedcit.hxx +++ b/svx/inc/svx/xlnedcit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XLNEDCIT_HXX #define _SVX_XLNEDCIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" //---------------------------- diff --git a/svx/inc/svx/xlnedwit.hxx b/svx/inc/svx/xlnedwit.hxx index 621bdd7b3c5b..13735ae5f7d6 100644 --- a/svx/inc/svx/xlnedwit.hxx +++ b/svx/inc/svx/xlnedwit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XLNEDWIT_HXX #define _SVX_XLNEDWIT_HXX -#include <svtools/metitem.hxx> +#include <svl/metitem.hxx> #include "svx/svxdllapi.h" #define LINE_END_WIDTH_DEFAULT (200) diff --git a/svx/inc/svx/xlnstcit.hxx b/svx/inc/svx/xlnstcit.hxx index 9a76b644ffd4..c7d65bf1f106 100644 --- a/svx/inc/svx/xlnstcit.hxx +++ b/svx/inc/svx/xlnstcit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XLNSTCIT_HXX #define _SVX_XLNSTCIT_HXX -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" //------------------------------ diff --git a/svx/inc/svx/xlnstwit.hxx b/svx/inc/svx/xlnstwit.hxx index e7522e0761b3..a5899b7743cc 100644 --- a/svx/inc/svx/xlnstwit.hxx +++ b/svx/inc/svx/xlnstwit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XLNSTWIT_HXX #define _SVX_XLNSTWIT_HXX -#include <svtools/metitem.hxx> +#include <svl/metitem.hxx> #include "svx/svxdllapi.h" #define LINE_START_WIDTH_DEFAULT (200) diff --git a/svx/inc/svx/xlntrit.hxx b/svx/inc/svx/xlntrit.hxx index 377f70730294..2590ea304e3b 100644 --- a/svx/inc/svx/xlntrit.hxx +++ b/svx/inc/svx/xlntrit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XLNTRIT_HXX #define _SVX_XLNTRIT_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/xlnwtit.hxx b/svx/inc/svx/xlnwtit.hxx index 59be68eec389..11f832716a08 100644 --- a/svx/inc/svx/xlnwtit.hxx +++ b/svx/inc/svx/xlnwtit.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XLNWTIT_HXX #define _SVX_XLNWTIT_HXX -#include <svtools/metitem.hxx> +#include <svl/metitem.hxx> #include "svx/svxdllapi.h" //--------------------- diff --git a/svx/inc/svx/xpool.hxx b/svx/inc/svx/xpool.hxx index c8e944801941..10fb329b6216 100644 --- a/svx/inc/svx/xpool.hxx +++ b/svx/inc/svx/xpool.hxx @@ -31,7 +31,7 @@ #ifndef _XPOOL_HXX #define _XPOOL_HXX -#include <svtools/itempool.hxx> +#include <svl/itempool.hxx> #include <svx/xdef.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/svx/xsetit.hxx b/svx/inc/svx/xsetit.hxx index ae65dba27427..02dc65747540 100644 --- a/svx/inc/svx/xsetit.hxx +++ b/svx/inc/svx/xsetit.hxx @@ -34,8 +34,8 @@ #ifndef _XATTR_HXX #include <svx/xit.hxx> #endif -#include <svtools/metitem.hxx> -#include <svtools/eitem.hxx> +#include <svl/metitem.hxx> +#include <svl/eitem.hxx> #include <svx/rectenum.hxx> #include <svx/xlnasit.hxx> diff --git a/svx/inc/svx/xtextit.hxx b/svx/inc/svx/xtextit.hxx index dd7aaa7c9472..3cc0fbccc152 100644 --- a/svx/inc/svx/xtextit.hxx +++ b/svx/inc/svx/xtextit.hxx @@ -32,8 +32,8 @@ #define _SVX_XTEXTITEM_HXX #include <svx/xenum.hxx> -#include <svtools/metitem.hxx> -#include <svtools/eitem.hxx> +#include <svl/metitem.hxx> +#include <svl/eitem.hxx> #include <svx/xit.hxx> #include <svx/xcolit.hxx> diff --git a/svx/inc/svx/xtextit0.hxx b/svx/inc/svx/xtextit0.hxx index 30989da4cd9d..3edf5114e8f9 100644 --- a/svx/inc/svx/xtextit0.hxx +++ b/svx/inc/svx/xtextit0.hxx @@ -32,7 +32,7 @@ #define _SVX_TEXTIT0_HXX #include <svx/xenum.hxx> -#include <svtools/eitem.hxx> +#include <svl/eitem.hxx> #include "svx/svxdllapi.h" /************************************************************************* diff --git a/svx/inc/svx/zoomitem.hxx b/svx/inc/svx/zoomitem.hxx index f802cb7ed61c..75aafc540ee3 100644 --- a/svx/inc/svx/zoomitem.hxx +++ b/svx/inc/svx/zoomitem.hxx @@ -30,7 +30,7 @@ #ifndef _SVX_ZOOMITEM_HXX #define _SVX_ZOOMITEM_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svx/zoomslideritem.hxx b/svx/inc/svx/zoomslideritem.hxx index b18f43ceaebc..c58cd255ae8d 100644 --- a/svx/inc/svx/zoomslideritem.hxx +++ b/svx/inc/svx/zoomslideritem.hxx @@ -30,7 +30,7 @@ #ifndef _SVX_ZOOMSLIDERITEM_HXX #define _SVX_ZOOMSLIDERITEM_HXX -#include <svtools/intitem.hxx> +#include <svl/intitem.hxx> #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #endif diff --git a/svx/inc/svxgrahicitem.hxx b/svx/inc/svxgrahicitem.hxx index af88babba468..9e2dca690d94 100644 --- a/svx/inc/svxgrahicitem.hxx +++ b/svx/inc/svxgrahicitem.hxx @@ -31,7 +31,7 @@ #define _SVX_GRAPHICITEM_HXX -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" #include <vcl/graph.hxx> diff --git a/svx/inc/svxmsbas.hxx b/svx/inc/svxmsbas.hxx deleted file mode 100644 index cb0b0c607d42..000000000000 --- a/svx/inc/svxmsbas.hxx +++ /dev/null @@ -1,97 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: svxmsbas.hxx,v $ - * $Revision: 1.6 $ - * - * 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 _SVXMSBAS_HXX -#define _SVXMSBAS_HXX - -#include <tools/solar.h> -#include "svx/svxdllapi.h" - -#include <sot/storage.hxx> - -class SfxObjectShell; - -/* Construct with the root storage of the MS document, with bImportCode - * set the visual basic code will be imported into the stardocument when Import - * is called, with bCopyStorage set, the visual basic storage tree will be - * copied completely into staroffice, so that any future export to a msoffice - * format will retain the vba code, allowing a lossless roundtrip from - * msoffice to staroffice and back. - * - * Setting bAsComment to true in Import will import the visual basic as a - * starbasic comment. Which is currently necessary, as vb is not valid sb. - * - * Setting bStripped will remove the "Attribute" lines from the vb, msoffice - * does this itself when it shows the vb code in the vbeditor, so this is - * probably what the user expects to see when viewing the code - */ - -class SVX_DLLPUBLIC SvxImportMSVBasic -{ -public: - SvxImportMSVBasic( SfxObjectShell &rDocS, SotStorage &rRoot, - BOOL bImportCode = TRUE, BOOL bCopyStorage = TRUE ) - : xRoot(&rRoot), rDocSh(rDocS), - bImport(bImportCode), bCopy(bCopyStorage) - {} - // returns the status of import: - // 0 - nothing has done - // bit 0 = 1 -> any code is imported to the SO-Basic - // bit 1 = 1 -> the VBA - storage is copy to the ObjectShell storage - int Import( const String& rStorageName, const String &rSubStorageName, - BOOL bAsComment=TRUE, BOOL bStripped=TRUE ); - - // only for the export - copy or delete the saved VBA-macro-storage - // form the ObjectShell - // - returns a warning code if a modified basic exist, in all other - // cases return ERRCODE_NONE. - ULONG SaveOrDelMSVBAStorage( BOOL bSaveInto, const String& rStorageName ); - - // check if the MS-VBA-Storage exist in the RootStorage of the DocShell. - // If it exist, then return the WarningId for loosing the information. - static ULONG GetSaveWarningOfMSVBAStorage( SfxObjectShell &rDocS ); - - static String GetMSBasicStorageName(); -private: - SotStorageRef xRoot; - SfxObjectShell &rDocSh; - BOOL bImport; - BOOL bCopy; - - SVX_DLLPRIVATE BOOL ImportCode_Impl( const String& rStorageName, - const String &rSubStorageName, - BOOL bAsComment, BOOL bStripped); - SVX_DLLPRIVATE bool ImportForms_Impl(const String& rStorageName, - const String &rSubStorageName); - SVX_DLLPRIVATE BOOL CopyStorage_Impl( const String& rStorageName, - const String &rSubStorageName); -}; - -#endif diff --git a/svx/inc/svxrtf.hxx b/svx/inc/svxrtf.hxx index f66e37033759..7dfa141b259a 100644 --- a/svx/inc/svxrtf.hxx +++ b/svx/inc/svxrtf.hxx @@ -35,11 +35,11 @@ #include <tools/table.hxx> #endif #include <tools/string.hxx> -#include <svtools/itemset.hxx> +#include <svl/itemset.hxx> #include <svtools/parrtf.hxx> #define _SVSTDARR_USHORTS -#include <svtools/svstdarr.hxx> +#include <svl/svstdarr.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/txtrange.hxx b/svx/inc/txtrange.hxx index ae83cb4bf2f5..1b7a05c1f9e5 100644 --- a/svx/inc/txtrange.hxx +++ b/svx/inc/txtrange.hxx @@ -34,7 +34,7 @@ #ifndef _TXTRANGE_HXX #define _SVSTDARR_BOOLS #define _SVSTDARR_LONGS -#include <svtools/svstdarr.hxx> +#include <svl/svstdarr.hxx> #endif #include "svx/svxdllapi.h" diff --git a/svx/inc/unoapi.hxx b/svx/inc/unoapi.hxx index afd6cbec14a9..0ea3585d173a 100644 --- a/svx/inc/unoapi.hxx +++ b/svx/inc/unoapi.hxx @@ -36,7 +36,7 @@ #include <com/sun/star/drawing/XDrawPage.hpp> #include <sal/types.h> #include <goodies/grfmgr.hxx> -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" class SvxShape; diff --git a/svx/inc/unoedhlp.hxx b/svx/inc/unoedhlp.hxx index b732ba867af1..317b9c9c7ab2 100644 --- a/svx/inc/unoedhlp.hxx +++ b/svx/inc/unoedhlp.hxx @@ -34,7 +34,7 @@ #include <memory> #include <tools/solar.h> #include <svtools/textdata.hxx> -#include <svtools/hint.hxx> +#include <svl/hint.hxx> #include <tools/gen.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/unofdesc.hxx b/svx/inc/unofdesc.hxx index 1e94a146ad4a..d434b090ad75 100644 --- a/svx/inc/unofdesc.hxx +++ b/svx/inc/unofdesc.hxx @@ -33,7 +33,7 @@ #include <com/sun/star/awt/FontDescriptor.hpp> #include <com/sun/star/beans/PropertyState.hpp> -#include <svtools/itemset.hxx> +#include <svl/itemset.hxx> #include <vcl/font.hxx> #include "svx/svxdllapi.h" diff --git a/svx/inc/unolingu.hxx b/svx/inc/unolingu.hxx index 8dc76a291ceb..c2ba7aa60565 100644 --- a/svx/inc/unolingu.hxx +++ b/svx/inc/unolingu.hxx @@ -201,9 +201,9 @@ public: //TL:TODO: remove those functions or make them inline SVX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellChecker1 > SvxGetSpellChecker(); -::com::sun::star::uno::Reference< +SVX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XHyphenator > SvxGetHyphenator(); -::com::sun::star::uno::Reference< +SVX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XThesaurus > SvxGetThesaurus(); SVX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionaryList > SvxGetDictionaryList(); diff --git a/svx/inc/xattr.hxx b/svx/inc/xattr.hxx index c1f5051b0565..bbd14abf0c99 100644 --- a/svx/inc/xattr.hxx +++ b/svx/inc/xattr.hxx @@ -63,7 +63,7 @@ class XGradientTable; #include <svx/xfillit0.hxx> #include <svx/xtextit0.hxx> #include <svx/xsetit.hxx> -#include <xlinjoit.hxx> +#include <svx/xlinjoit.hxx> #endif // _XATTR_HXX diff --git a/svx/inc/xmlcnitm.hxx b/svx/inc/xmlcnitm.hxx index 3e38b80d8719..22b6e02955a0 100644 --- a/svx/inc/xmlcnitm.hxx +++ b/svx/inc/xmlcnitm.hxx @@ -31,7 +31,7 @@ #ifndef _SVX_XMLCNITM_HXX #define _SVX_XMLCNITM_HXX -#include <svtools/poolitem.hxx> +#include <svl/poolitem.hxx> #include "svx/svxdllapi.h" class SvXMLNamespaceMap; |