2022 June Release

Class FSCXEDITOR@1.1001:XeditorStylesheet Permanent link for this heading

Class Hierarchy

Object > BasicObject > XeditorStylesheet

Object class for Xeditor stylesheets

Properties Permanent link for this heading

Type

Property

Name

Content

content

File

string

xdschemaid

Schema ID

Actions Permanent link for this heading

Return Type

Signature

boolean

IsDraftTemplate(
  out retval boolean isdrafttemplate)

object

ReleaseTemplate(
  out retval object releasedtemplate,
  optional boolean keepoldrelease,
  optional dictionary additionalsettings)

Properties Permanent link for this heading


File (COOSYSTEM@1.1:content) Permanent link for this heading

Defines the multimedia content of the object and information like the size of the content or the date of the last change.

Content COOSYSTEM@1.1:content

Additional Information


Schema ID (FSCXEDITOR@1.1001:xdschemaid) Permanent link for this heading

XML Schema ID of the xEditor document

string FSCXEDITOR@1.1001:xdschemaid readonly volatile

Actions Permanent link for this heading


COOTC@1.1001:IsDraftTemplate Permanent link for this heading

Checks if the template is a draft which can be released. If the release mechanism is to be used for an object class, then this action can be implemented for example with: isdrafttemplate = cooobj.IsUsable() && !cooobj.GetDraftTemplate();

boolean COOTC@1.1001:IsDraftTemplate(
  out retval boolean isdrafttemplate)

Name

Description

isdrafttemplate

the result

COOTC@1.1001:ReleaseTemplate Permanent link for this heading

Action to release a template. A released template can be instantiated.

object COOTC@1.1001:ReleaseTemplate(
  out retval object releasedtemplate,
  optional boolean keepoldrelease,
  optional dictionary additionalsettings)

Name

Description

releasedtemplate

the released template

keepoldrelease

in case of newly created released template the old release is not deleted

additionalsettings

this dictionary may contain custom informations when calling the action manually to handle user decision e.g to release sub templates