60 giCtx = dbPx->createGiContext(rxDb);
61 giCtx->enableGsModel(bEnableGsModel);
64 OdGsDevicePtr gsHelper = dbPx->setupActiveLayoutViews(gsDev, giCtx);
65 dbPx->setupPalette(gsDev, giCtx, 0, palBg);
84 sewtol = simpltol = 0.0;
86 dataLimit = 0xFFFFFFFF;
135 return strg->prepare(
136 "SELECT layouts.rowid,settings.var,settings.val"
137 " FROM layouts,settings WHERE settings.var='layout' AND layouts.name=settings.val")
138 ->exe()->row().int32(0);
142 OD::TFSQLP strg = OD::TFSQL::cast(ctx->
arbitraryData(
"stateStorage"));
143 if (helper.
get() && strg.get()) {
145 OD::TFSQL::BlobP buf = strg->openR(
"layouts",
"state", layoutRow);
146 helper->storeLayoutGsState(buf);
OdDbBaseDatabasePEPtr BaseDbPxPtr
OdUInt32 layoutCacheRowId(OD::TFSQL *strg)
OdGsDevicePtr setupDevice(OdRxObject *rxDb, OdGsDevice *gsDev, bool bEnableGsModel, ODCOLORREF palBg, OdGiDefaultContextPtr giCtx)
OdString getCurrentLayoutName(OdEdCommandContext *ctx)
void UpdateGs(OdEdCommandContext *ctx)
OdGsDevicePtr newGfxSrv(const OdString &fmtCtx, OdEdCommandContext *ctx, OdGsDCRect &rect, bool autoupdate, GfxSrvcParams ¶ms)
void cacheDeviceState(CMDCTX *ctx)
OdDbBaseLayoutPEPtr BaseLytPxPtr
bool isAutoUpdateReactorAttached(OdEdCommandContext *ctx)
void setLayoutName(const OdString &name)
void setOutputDataLimit(OdUInt32 val)
OdUInt32 outputDataLimit() const
void setCachePath(const OdString &val)
bool isSortingEnabled() const
void setSimplificationTolerances(double sewTol, double simplTol)
void setChunkSize(OdUInt32 val)
OdString cachePath() const
OdUInt32 chunkSize() const
OdString layoutName() const
void enableSorting(bool val)
void setOutFileName(const OdString &val)
const OdString & outFileName() const
virtual OdRxObjectPtr arbitraryData(const OdString &szPathName) const =0
virtual OdRxObject * baseDatabase()=0
static OdRxObjectPtr cast(const OdRxObject *pointer)
GLuint const GLchar * name
RXPTR arbVarSafe(OdEdCommandContext *ctx, const WSTR &varName)