@if (loading()) { } @else if (error()) {
{{ 'XP.Files.PptxOpenFailed' | translate: { Default: 'Unable to open this presentation.' } }}
} @else if (deck(); as presentation) {
@if (editable()) {
@if (!manualSaveOnly()) { }
@for (tab of toolbarTabs; track tab) { }
@if (activeToolbarTab() === '开始') {
} @else if (activeToolbarTab() === '插入') {
} @else if (activeToolbarTab() === '绘图') {
} @else if (activeToolbarTab() === '视图') {
} @else if (activeToolbarTab() === '审阅') {
} @else if (activeToolbarTab() === '设计') {
@for (theme of themePresets; track theme.id) { }
} @else if (activeToolbarTab() === '切换') {
@for (transition of transitions; track transition.value) { }
} @else if (activeToolbarTab() === '动画') {
@for (animation of animations; track animation.value) { }
} @else {
} {{ selectedSlideIndex() + 1 }} / {{ presentation.slides.length }}
}
@if (selectedSlide(); as slide) {
@for (shape of slide.shapes; track shape.id) { @if (!shape.deleted) {
@if (shape.kind === 'line') { } @if (shape.kind === 'image' && shape.imageSrc) { } @if (shape.kind === 'table' && shape.table) { } @else if (editable() && shape.editable && editingShapeId() === shape.id) { } @else if (shape.paragraphs.length) {
@for (paragraph of shape.paragraphs; track $index) {
@if (paragraph.bullet) { {{ paragraph.bullet }} } @for (run of paragraph.runs; track $index) { {{ run.text }} }
}
}
@if (selectedShapeId() === shape.id && editable() && shape.editable) {
} } } @if (inkPreviewPoints()) { }
}
@if (slideshowSlide(); as slide) { } } @else {
{{ 'XP.Files.PptxNotLoaded' | translate: { Default: 'No presentation loaded.' } }}
}