generated from qq15725/starter-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
134 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { defineChild, defineElement, OOXML } from '../../core' | ||
|
||
/** | ||
* https://learn.microsoft.com/dotnet/api/documentformat.openxml.presentation.buildlist | ||
*/ | ||
@defineElement('p:bldLst') | ||
export class BuildList extends OOXML { | ||
@defineChild('p:bldDgm') declare bldDgm?: OOXML | ||
@defineChild('p:bldGraphic') declare bldGraphic?: OOXML | ||
@defineChild('p:bldOleChart') declare bldOleChart?: OOXML | ||
@defineChild('p:bldP') declare bldP?: OOXML | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import type { SequenceTimeNode } from './SequenceTimeNode' | ||
import { defineChild, defineElement, OOXML } from '../../core' | ||
|
||
/** | ||
* https://learn.microsoft.com/dotnet/api/documentformat.openxml.presentation.childtimenodelist | ||
*/ | ||
@defineElement('p:childTnLst') | ||
export class ChildTimeNodeList extends OOXML { | ||
@defineChild('p:anim') declare anim?: OOXML | ||
@defineChild('p:animClr') declare animClr?: OOXML | ||
@defineChild('p:animEffect') declare animEffect?: OOXML | ||
@defineChild('p:animMotion') declare animMotion?: OOXML | ||
@defineChild('p:animRot') declare animRot?: OOXML | ||
@defineChild('p:animScale') declare animScale?: OOXML | ||
@defineChild('p:audio') declare audio?: OOXML | ||
@defineChild('p:cmd') declare cmd?: OOXML | ||
@defineChild('p:excl') declare excl?: OOXML | ||
@defineChild('p:par') declare par?: OOXML | ||
@defineChild('p:seq') declare seq?: SequenceTimeNode | ||
@defineChild('p:set') declare set?: OOXML | ||
@defineChild('p:video') declare video?: OOXML | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import type { ChildTimeNodeList } from './ChildTimeNodeList' | ||
import { defineAttribute, defineChild, defineElement, OOXML } from '../../core' | ||
|
||
/** | ||
* https://learn.microsoft.com/dotnet/api/documentformat.openxml.presentation.commontimenode | ||
*/ | ||
@defineElement('p:cTn') | ||
export class CommonTimeNode extends OOXML { | ||
@defineAttribute('accel') declare accel?: any | ||
@defineAttribute('afterEffect') declare afterEffect?: any | ||
@defineAttribute('autoRev') declare autoRev?: any | ||
@defineAttribute('bldLvl') declare bldLvl?: any | ||
@defineAttribute('decel') declare decel?: any | ||
@defineAttribute('display') declare display?: any | ||
@defineAttribute('dur') declare dur?: any | ||
@defineAttribute('evtFilter') declare evtFilter?: any | ||
@defineAttribute('fill') declare fill?: any | ||
@defineAttribute('grpId') declare grpId?: any | ||
@defineAttribute('id') declare id?: any | ||
@defineAttribute('masterRel') declare masterRel?: any | ||
@defineAttribute('nodePh') declare nodePh?: any | ||
@defineAttribute('nodeType') declare nodeType?: string | ||
@defineAttribute('presetClass') declare presetClass?: any | ||
@defineAttribute('presetID') declare presetID?: any | ||
@defineAttribute('presetSubtype') declare presetSubtype?: any | ||
@defineAttribute('repeatCount') declare repeatCount?: any | ||
@defineAttribute('repeatDur') declare repeatDur?: any | ||
@defineAttribute('restart') declare restart?: any | ||
@defineAttribute('spd') declare spd?: any | ||
@defineAttribute('syncBehavior') declare syncBehavior?: any | ||
@defineAttribute('tmFilter') declare tmFilter?: any | ||
|
||
@defineChild('p:childTnLst') declare childTnLst?: ChildTimeNodeList | ||
@defineChild('p:endCondLst') declare endCondLst?: OOXML | ||
@defineChild('p:endSync') declare endSync?: OOXML | ||
@defineChild('p:iterate') declare iterate?: OOXML | ||
@defineChild('p:stCondLst') declare stCondLst?: OOXML | ||
@defineChild('p:subTnLst') declare subTnLst?: OOXML | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import type { CommonTimeNode } from './CommonTimeNode' | ||
import { defineChild, defineElement, OOXML } from '../../core' | ||
|
||
/** | ||
* https://learn.microsoft.com/dotnet/api/documentformat.openxml.presentation.paralleltimenode | ||
*/ | ||
@defineElement('p:par') | ||
export class ParallelTimeNode extends OOXML { | ||
@defineChild('p:cTn') declare cTn?: CommonTimeNode | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import type { CommonTimeNode } from './CommonTimeNode' | ||
import { defineAttribute, defineChild, defineElement, OOXML } from '../../core' | ||
|
||
/** | ||
* https://learn.microsoft.com/dotnet/api/documentformat.openxml.presentation.sequencetimenode | ||
*/ | ||
@defineElement('p:seq') | ||
export class SequenceTimeNode extends OOXML { | ||
@defineAttribute('concurrent') declare concurrent?: any | ||
@defineAttribute('nextAc') declare nextAc?: any | ||
@defineAttribute('prevAc') declare prevAc?: any | ||
|
||
@defineChild('p:cTn') declare cTn?: CommonTimeNode | ||
@defineChild('p:nextCondLst') declare nextCondLst?: OOXML | ||
@defineChild('p:prevCondLst') declare prevCondLst?: OOXML | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import type { ParallelTimeNode } from './ParallelTimeNode' | ||
import { defineChild, defineElement, OOXML } from '../../core' | ||
|
||
/** | ||
* https://learn.microsoft.com/dotnet/api/documentformat.openxml.presentation.timenodelist | ||
*/ | ||
@defineElement('p:tnLst') | ||
export class TimeNodeList extends OOXML { | ||
@defineChild('p:anim') declare anim?: OOXML | ||
@defineChild('p:animClr') declare animClr?: OOXML | ||
@defineChild('p:animEffect') declare animEffect?: OOXML | ||
@defineChild('p:animMotion') declare animMotion?: OOXML | ||
@defineChild('p:animRot') declare animRot?: OOXML | ||
@defineChild('p:animScale') declare animScale?: OOXML | ||
@defineChild('p:audio') declare audio?: OOXML | ||
@defineChild('p:cmd') declare cmd?: OOXML | ||
@defineChild('p:excl') declare excl?: OOXML | ||
@defineChild('p:par') declare par?: ParallelTimeNode | ||
@defineChild('p:seq') declare seq?: OOXML | ||
@defineChild('p:set') declare set?: OOXML | ||
@defineChild('p:video') declare video?: OOXML | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
import { defineElement, OOXML } from '../../core' | ||
import type { BuildList } from './BuildList' | ||
import type { ExtensionList } from './ExtensionList' | ||
import type { TimeNodeList } from './TimeNodeList' | ||
import { defineChild, defineElement, OOXML } from '../../core' | ||
|
||
/** | ||
* https://learn.microsoft.com/dotnet/api/documentformat.openxml.presentation.timing | ||
*/ | ||
@defineElement('p:timing') | ||
export class Timing extends OOXML { | ||
// TODO | ||
@defineChild('p:bldLst') declare bldLst?: BuildList | ||
@defineChild('p:extLst') declare extLst?: ExtensionList | ||
@defineChild('p:tnLst') declare tnLst?: TimeNodeList | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters