Lawtext core references / core/src/law/std/stdEL / Sentence
Interface: Sentence
Defined in: core/src/law/std/stdEL.ts:1254
EL: a simplified XML DOM functionality that implements JsonEL interface.
Extends
Properties
attr
attr:
object
Defined in: core/src/law/std/stdEL.ts:1256
The attributes of the element
Function?
optionalFunction?:"main"|"proviso"
Indent?
optionalIndent?:"Paragraph"|"Item"|"Subitem1"|"Subitem2"|"Subitem3"|"Subitem4"|"Subitem5"|"Subitem6"|"Subitem7"|"Subitem8"|"Subitem9"|"Subitem10"
Num?
optionalNum?:string
WritingMode?
optionalWritingMode?:"vertical"|"horizontal"
Overrides
children
children: (
string|ArithFormula|QuoteStruct|Ruby|Line|Sup|Sub|__EL)[]
Defined in: core/src/law/std/stdEL.ts:1262
The children of the element
Overrides
id
id:
number
Defined in: core/src/node/el/index.ts:14
Inherited from
isControl
isControl:
false
Defined in: core/src/law/std/stdEL.ts:152
Inherited from
range
range: [
number,number] |null
Defined in: core/src/node/el/index.ts:15
Inherited from
tag
tag:
"Sentence"
Defined in: core/src/law/std/stdEL.ts:1255
The tag name of the element
Overrides
Methods
copy()
copy(
deep?,copyID?):EL
Defined in: core/src/node/el/index.ts:40
Parameters
deep?
boolean = true
copyID?
boolean = false
Returns
Inherited from
innerXML()
innerXML(
withControlEl?):string
Defined in: core/src/node/el/index.ts:109
Parameters
withControlEl?
boolean = false
Returns
string
Inherited from
json()
json(
withControlEl?,withProperties?):JsonEL
Defined in: core/src/node/el/index.ts:56
Parameters
withControlEl?
boolean = false
withProperties?
boolean = false
Returns
Inherited from
outerXML()
outerXML(
withControlEl?):string
Defined in: core/src/node/el/index.ts:105
Parameters
withControlEl?
boolean = false
Returns
string
Inherited from
text()
text():
string
Defined in: core/src/node/el/index.ts:95
Returns
string
Inherited from
wrapXML()
wrapXML(
inner):string
Defined in: core/src/node/el/index.ts:101
Parameters
inner
string
Returns
string