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
ConstructorsModifierConstructorDescriptionprotectedDcsNativeSupportLoader(String id, Version version, IResourceLookup resourceLookup, IProcessManager processManager, IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()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 noStyleItems 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 benullversion- actualVersionfor getting preview file content, can't benullresourceLookup- actualIResourceLookup, can't benullprocessManager- actualIProcessManager, can't benullresolvableRuntimeInstallationManager- 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 noStyleItems in template- Parameters:
appearanceTemplate- actualDataCompositionAppearanceTemplatefor getting preview content, can't benulllangCode- current language code, can't benulllocale- system locale, can't benull- Returns:
- moxel document content of the preview part of appearance template, never
null, can be empty ifappearanceTemplatewasn'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 noStyleItems in template- Parameters:
appearanceTemplateXml- content ofDataCompositionAppearanceTemplateserialized to xml, can't benulllangCode- current language code, can't benulllocale- 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.
-