/*********************************************************************/ /* */ /* AgentService Framework */ /* www.agentservice.it */ /* */ /* Copyright (C) 2007 l.i.d.o. - DIST, University of Genoa, Italy */ /* GNU Lesser General Public License */ /* */ /* This library is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU Lesser General Public */ /* License as published by the Free Software Foundation, */ /* version 2.1 of the License. */ /* */ /* This library is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */ /* Lesser General Public License for more details. */ /* */ /* You should have received a copy of the GNU Lesser General Public */ /* License along with this library; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /*********************************************************************/ namespace lido.VSVisioEditor { /// The Strings class provides all the string constants that are /// shared between the class modules in the project. public class Strings { // The string resource names are used to read the strings // from the resource file. /// Resource file name. public const string ResourceFileName = "VSVisioEditor.Resources"; /// Configuration file name. public const string ConfigurationFileName = "ConfigurationFileName"; /// Product data file name. public const string ObjectDataFileName = "ObjectDataFileName"; /// Visio stencil file name. public const string ProductStencilFileName = "ProductStencilFileName"; /// Grid control description column header text. public const string GridDescriptionHeader = "GridDescriptionHeader"; /// Grid control product id column header text. public const string GridProductIdHeader = "GridProductIdHeader"; /// Grid control quantity column header text. public const string GridQuantityHeader = "GridQuantityHeader"; /// Grid control range column header text. public const string GridRangeHeader = "GridRangeHeader"; /// Grid control retail price column header text. public const string GridRetailPriceHeader = "GridRetailPriceHeader"; /// Grid control wholesale price column header text. public const string GridWholesalePriceHeader = "GridWholesalePriceHeader"; /// Visio application object null error message. public const string NullApplicationError = "NullApplicationError"; /// Visio document object null error message. public const string NullDocumentError = "NullDocumentError"; /// Missing stencil error message. public const string MissingStencilError = "MissingStencilError"; /// Missing master shape error message. public const string MissingMasterError = "MissingMasterError"; /// Database connect error message. public const string DatabaseConnectErrorMessage = "DatabaseConnectErrorMessage"; /// File not found error message. public const string FileNotFoundErrorMessage = "FileNotFoundErrorMessage"; /// Security error message. public const string SecurityErrorMessage = "SecurityErrorMessage"; /// COM error message. public const string ComErrorMessage = "ComErrorMessage"; /// Unknown error message. public const string UnknownErrorMessage = "UnknownErrorMessage"; /// Application error message. public const string ApplicationErrorMessage = "ApplicationErrorMessage"; /// Product data not available error message. public const string ObjectDataNotAvailableErrorMessage = "ProductDataNotAvailableErrorMessage"; /// Startup error message. public const string VisioStartupError = "VisioStartupError"; /// File open dialog caption text. public const string OpenDialogTitle = "OpenDialogTitle"; /// File open dialog file types filter. public const string OpenDialogFilter = "OpenDialogFilter"; /// File save dialog caption text. public const string SaveDialogTitle = "SaveDialogTitle"; /// File save dialog file types filter. public const string SaveDialogFilter = "SaveDialogFilter"; /// Save changes prompt. public const string SavePrompt = "SavePrompt"; /// Save changes as prompt. public const string SaveAsPrompt = "SaveAsPrompt"; // The file name information includes the name of the stencil // file with the furniture shapes. Also included are the suffix // values for Visio stencil and document files. /// Visio stencil suffix VSS. public const string VssSuffix = ".VSS"; /// Visio xml stencil suffix VSX. public const string VsxSuffix = ".VSX"; /// Visio drawing suffix VSD. public const string VsdSuffix = ".VSD"; /// Visio xml drawing suffix VDX. public const string VdxSuffix = ".VDX"; /// The only cell that needs to be read from the shape is /// the product ID. public const string ObjectIdCellName = "Prop.ObjectId"; } }