|
enum | RemapFileContext { kDrawingOpen = 0,
kXrefResolution = 1,
kRasterResolution = 2
} |
|
enum | FindFileHint {
kDefault = 0,
kFontFile = 1,
kCompiledShapeFile = 2,
kTrueTypeFontFile = 3,
kEmbeddedImageFile = 4,
kXRefDrawing = 5,
kPatternFile = 6,
kTXApplication = 7,
kFontMapFile = 8,
kUnderlayFile = 9,
kTextureMapFile = 10,
kPhotometricWebFile = 11
} |
|
enum | GsBitmapDeviceFlags { kUseSoftwareHLR = (1 << 0),
kFor2dExportRender = (1 << 1),
kFor2dExportRenderHLR = (1 << 2),
kForThumbnail = (1 << 3)
} |
|
| ODRX_DECLARE_MEMBERS (OdDbHostAppServices) |
|
| OdDbHostAppServices () |
|
virtual | ~OdDbHostAppServices () |
|
virtual OdString | findFile (const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault) |
|
virtual OdDbHostAppProgressMeter * | newProgressMeter () |
|
virtual void | releaseProgressMeter (OdDbHostAppProgressMeter *pProgressMeter) |
|
virtual OdRxClass * | databaseClass () const |
|
virtual OdDbDatabasePtr | createDatabase (bool createDefault=true, OdDb::MeasurementValue measurement=OdDb::kEnglish) const |
|
virtual OdDbDatabasePtr | readFile (OdStreamBuf *pStreamBuf, bool allowCPConversion=false, bool partialLoad=false, const OdPassword &password=OdPassword()) |
|
virtual OdDbDatabasePtr | recoverFile (OdStreamBuf *pStreamBuf, OdDbAuditInfo *pAuditInfo=0, const OdPassword &password=OdPassword()) |
|
virtual OdDbDatabasePtr | readFile (const OdString &filename, bool allowCPConversion=false, bool partialLoad=false, Oda::FileShareMode shareMode=Oda::kShareDenyNo, const OdPassword &password=OdPassword()) |
|
virtual const OdString | program () |
|
virtual const OdString | product () |
|
virtual const OdString | companyName () |
|
virtual ProdIdCode | prodcode () |
|
virtual const OdString | releaseMajorMinorString () |
|
virtual int | releaseMajorVersion () |
|
virtual int | releaseMinorVersion () |
|
virtual const OdString | versionString () |
|
| TD_USING (OdDbBaseHostAppServices::warning) |
|
virtual void | warning (OdWarning warningOb, OdDbObjectId objectId) |
|
virtual void | warning (const char *warnVisGroup, OdWarning warningOb, OdDbObjectId objectId) |
|
virtual void | warning (const OdError &err) |
|
virtual void | warning (const char *warnVisGroup, const OdError &err) |
|
virtual OdString | getErrorDescription (unsigned int errorCode) |
|
virtual OdString | formatMessage (unsigned int errorCode,...) |
|
virtual bool | doFullCRCCheck () |
|
virtual OdDbUndoControllerPtr | newUndoController () |
|
virtual void | auditPrintReport (OdAuditInfo *pAuditInfo, const OdString &strLine, int printDest) const |
|
virtual OdDbPlotSettingsValidator * | plotSettingsValidator () |
|
virtual OdString | getAlternateFontName () const |
|
virtual OdString | getFontMapFileName () const |
|
virtual OdString | getPreferableFont (const OdString &fontName, OdFontType fontType) |
|
virtual OdString | getSubstituteFont (const OdString &fontName, OdFontType fontType) |
|
virtual OdString | getSubstituteFontByChar (const OdFont &pFont, OdChar unicodeChar, OdDbBaseDatabase *pDb) |
|
virtual bool | getSystemFontFolders (OdStringArray &aDirs) |
|
virtual void | collectFilePathsInDirectory (OdStringArray &res, const OdString &sPath, const OdString &sFilter=L"*.*") |
|
virtual OdHatchPatternManager * | patternManager ()=0 |
|
virtual bool | getPassword (const OdString &dwgName, bool isXref, OdPassword &password) |
|
virtual OdPwdCachePtr | getPasswordCache () |
|
virtual OdDbPageControllerPtr | newPageController () |
|
virtual OdResult | pageObjects (OdDbDatabase *pDb) |
|
virtual OdString | fileDialog (int flags, const OdString &dialogCaption=OdString::kEmpty, const OdString &defExt=OdString::kEmpty, const OdString &defFilename=OdString::kEmpty, const OdString &filter=OdString::kEmpty) |
|
virtual OdDbLayoutManagerPtr | layoutManager () const |
|
virtual OdUInt32 | educationalPlotStamp () const |
|
virtual OdDbBaseHostAppServices * | getDgnHostAppServices () const |
|
virtual void | getThumbSize (unsigned int &nWidth, unsigned int &nHeight) |
|
virtual OdGsDevicePtr | gsBitmapDevice (OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0) |
|
virtual OdString | getTempPath () const |
|
virtual OdStreamBufPtr | getHistoryFile (OdDbDatabase *) |
|
virtual OdResult | brepBuilder (OdBrepBuilder &brepBuilder, BrepType bbType) |
|
| ODRX_DECLARE_MEMBERS (OdDbBaseHostAppServices) |
|
| OdDbBaseHostAppServices () |
|
virtual void | warning (const OdString &message) |
|
virtual void | warning (const char *warnVisGroup, const OdString &message) |
|
virtual void | warning (OdWarning warningOb) |
|
virtual void | warning (const char *warnVisGroup, OdWarning warningOb) |
|
virtual OdStreamBufPtr | newUndoStream () |
|
virtual bool | ttfFileNameByDescriptor (const OdTtfDescriptor &description, OdString &filename) |
|
virtual OdInt16 | getMtMode () const |
|
virtual int | numThreads (OdDb::MultiThreadedMode mtMode) |
|
| ODRX_HEAP_OPERATORS () |
|
| OdRxObject () |
|
virtual | ~OdRxObject () |
|
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
|
virtual OdRxObject * | x (const OdRxClass *pClass) const |
|
virtual OdRxClass * | isA () const |
|
virtual void | addRef ()=0 |
|
virtual void | release ()=0 |
|
virtual long | numRefs () const |
|
bool | isKindOf (const OdRxClass *pClass) const |
|
virtual OdRxObjectPtr | clone () const |
|
virtual void | copyFrom (const OdRxObject *pSource) |
|
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
|
virtual bool | isEqualTo (const OdRxObject *pOther) const |
|
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
|
static OdRxClass * | desc () |
|
This class implements platform-dependent operations and progress metering.
- See also
- TD_Db
<group OdDb_Classes>
Definition at line 735 of file DbHostAppServices.h.