1*bd113a03SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*bd113a03SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*bd113a03SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*bd113a03SAndrew Rist * distributed with this work for additional information 6*bd113a03SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*bd113a03SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*bd113a03SAndrew Rist * "License"); you may not use this file except in compliance 9*bd113a03SAndrew Rist * with the License. You may obtain a copy of the License at 10*bd113a03SAndrew Rist * 11*bd113a03SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*bd113a03SAndrew Rist * 13*bd113a03SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*bd113a03SAndrew Rist * software distributed under the License is distributed on an 15*bd113a03SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*bd113a03SAndrew Rist * KIND, either express or implied. See the License for the 17*bd113a03SAndrew Rist * specific language governing permissions and limitations 18*bd113a03SAndrew Rist * under the License. 19*bd113a03SAndrew Rist * 20*bd113a03SAndrew Rist *************************************************************/ 21*bd113a03SAndrew Rist 22*bd113a03SAndrew Rist 23cdf0e10cSrcweir#ifndef EXTENSIONS_INC_EXTENSIO_HRC 24cdf0e10cSrcweir#define EXTENSIONS_INC_EXTENSIO_HRC 25cdf0e10cSrcweir 26cdf0e10cSrcweir#include <svl/solar.hrc> 27cdf0e10cSrcweir 28cdf0e10cSrcweir// ----------------------------------------------------------------------- 29cdf0e10cSrcweir// - resource id ranges 30cdf0e10cSrcweir 31cdf0e10cSrcweir#define RID_ABP_START ( RID_MORE_EXTENSIONS_START + 0 ) 32cdf0e10cSrcweir#define RID_ABP_END ( RID_MORE_EXTENSIONS_START + 19 ) 33cdf0e10cSrcweir 34cdf0e10cSrcweir#define RID_DBP_START ( RID_MORE_EXTENSIONS_START + 20 ) 35cdf0e10cSrcweir#define RID_DBP_END ( RID_MORE_EXTENSIONS_START + 39 ) 36cdf0e10cSrcweir 37cdf0e10cSrcweir// !!! please adjust RID_LAST_EXTENSIONS_RANGE if you add new ranges here !!! 38cdf0e10cSrcweir 39cdf0e10cSrcweir#define RID_LAST_EXTENSIONS_RANGE RID_DBP_END 40cdf0e10cSrcweir 41cdf0e10cSrcweir#if RID_LAST_EXTENSIONS_RANGE > RID_MORE_EXTENSIONS_END 42cdf0e10cSrcweir #error id range overflow 43cdf0e10cSrcweir#endif 44cdf0e10cSrcweir 45cdf0e10cSrcweir// ----------------------------------------------------------------------- 46cdf0e10cSrcweir// - help id ranges 47cdf0e10cSrcweir 48cdf0e10cSrcweir#define HID_DBP_START ( HID_EXTENSIONS_START + 0 ) 49cdf0e10cSrcweir#define HID_DBP_END ( HID_EXTENSIONS_START + 19 ) 50cdf0e10cSrcweir 51cdf0e10cSrcweir#define HID_ABP_START ( HID_EXTENSIONS_START + 20 ) 52cdf0e10cSrcweir#define HID_ABP_END ( HID_EXTENSIONS_START + 39 ) 53cdf0e10cSrcweir 54cdf0e10cSrcweir#define HID_BIBLIO_START ( HID_EXTENSIONS_START + 40 ) 55cdf0e10cSrcweir#define HID_BIBLIO_END ( HID_EXTENSIONS_START + 89 ) 56cdf0e10cSrcweir 57cdf0e10cSrcweir#define HID_PROPC_START ( HID_EXTENSIONS_START + 90 ) 58cdf0e10cSrcweir#define HID_PROPC_END ( HID_EXTENSIONS_START + 499 ) 59cdf0e10cSrcweir 60cdf0e10cSrcweir#define HID_UPDATE_START ( HID_EXTENSIONS_START + 500 ) 61cdf0e10cSrcweir#define HID_UPDATE_END ( HID_EXTENSIONS_START + 519 ) 62cdf0e10cSrcweir 63cdf0e10cSrcweir// !!! please adjust HID_LAST_EXTENSIONS_RANGE if you add new ranges here !!! 64cdf0e10cSrcweir 65cdf0e10cSrcweir#define HID_LAST_EXTENSIONS_RANGE HID_UPDATE_END 66cdf0e10cSrcweir 67cdf0e10cSrcweir#if HID_LAST_EXTENSIONS_RANGE > HID_EXTENSIONS_END 68cdf0e10cSrcweir #error id range overflow 69cdf0e10cSrcweir#endif 70cdf0e10cSrcweir 71cdf0e10cSrcweir#endif 72