Class DcsNativeSupportLoader
java.lang.Object
com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoader
com._1c.g5.v8.dt.dcsnative.common.DcsNativeSupportLoader
Special provider for getting content of the preview part of
Important: Client should call
DataCompositionAppearanceTemplate
by its xml serialization content and concrete Version
. Important: Client should call
dispose()
for release special data at the end operation for getting content of the preview part of DataCompositionAppearanceTemplate
by its xml serialization content-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoader
LD_LIBRARY_PATH, version
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DcsNativeSupportLoader
(String id, Version version, IResourceLookup resourceLookup, IProcessManager processManager, IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Releases special data for getting moxel document content of the preview part of appearance template
You should call this method if you have no plans to soon get moxel document content of the preview part of appearance template or calling other methods from this class.getAppearanceTemplatePreviewContent
(DataCompositionAppearanceTemplate appearanceTemplate, String langCode, String locale) Gets moxel document content of the preview part of appearance template.getAppearanceTemplatePreviewContent
(String appearanceTemplateXml, String langCode, String locale) Gets moxel document content of the preview part of appearance template
Important: There is noStyleItem
s in templateMethods inherited from class com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoader
getLibraries, getMessageException, getProcessEnvironments, getRuntimeInstallation, getSystemLibraries
-
Constructor Details
-
DcsNativeSupportLoader
protected DcsNativeSupportLoader(String id, Version version, IResourceLookup resourceLookup, IProcessManager processManager, IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager) Constructor- Parameters:
id
- unique id for creating infrastructure for getting content of the preview part ofDataCompositionAppearanceTemplate
, can't benull
version
- actualVersion
for getting preview file content, can't benull
resourceLookup
- actualIResourceLookup
, can't benull
processManager
- actualIProcessManager
, can't benull
resolvableRuntimeInstallationManager
- actualIResolvableRuntimeInstallationManager
, can't benull
-
-
Method Details
-
getAppearanceTemplatePreviewContent
public String getAppearanceTemplatePreviewContent(DataCompositionAppearanceTemplate appearanceTemplate, String langCode, String locale) Gets moxel document content of the preview part of appearance template.
Important: There is noStyleItem
s in template- Parameters:
appearanceTemplate
- actualDataCompositionAppearanceTemplate
for getting preview content, can't benull
langCode
- current language code, can't benull
locale
- system locale, can't benull
- Returns:
- moxel document content of the preview part of appearance template, never
null
, can be empty ifappearanceTemplate
wasn't serialized to xml
-
getAppearanceTemplatePreviewContent
public String getAppearanceTemplatePreviewContent(String appearanceTemplateXml, String langCode, String locale) Gets moxel document content of the preview part of appearance template
Important: There is noStyleItem
s in template- Parameters:
appearanceTemplateXml
- content ofDataCompositionAppearanceTemplate
serialized to xml, can't benull
langCode
- current language code, can't benull
locale
- system locale, can't benull
- Returns:
- moxel document content of the preview part of appearance template, never
null
-
dispose
public void dispose()Releases special data for getting moxel document content of the preview part of appearance template
You should call this method if you have no plans to soon get moxel document content of the preview part of appearance template or calling other methods from this class. Attention! Client shouldn't call it after each call of methods from this class.
-