Skip to content

Complete Services Reference

This is the complete list referenced from the Services page: every internal building block that composes PowerPointViewerComponent, grouped by concern. For the small curated subset that has a semver-stable public API, see Services › Public services & components instead.

No compatibility guarantees

Everything below is importable from pptx-angular-viewer (the package root - Angular has no separate hooks-unstable subpath, since ng-packagr builds a single entry point here), but the framing is literal: signatures, behavior, and existence can change in any release, including a patch release, without a deprecation period. Reach for this only when the curated services/inputs/ outputs/public API genuinely can't do what you need. Pin an exact version if you depend on it.

ts
import { EditorStateService, ViewerExportService } from 'pptx-angular-viewer';

Orchestration services

Provided on PowerPointViewerComponent (providers: [...]) and wired together via inject() plus each service's own bind() handoff of host accessors.

ServiceConcern
AutosaveServicePeriodic autosave scheduling and status.
CanvasFitServiceFit-to-width / canvas-size calculations for the editor viewport.
FieldContextServiceField/placeholder context (date, slide number, ...) for text rendering.
InkDrawingServiceFreehand ink stroke state for the drawing tools.
RulerGuidesServiceRuler tick and guide-line state for the editor canvas.
SmartArt3DServiceGates the opt-in Three.js SmartArt renderer via the smartArt3D input.
ViewerCanvasEditingServiceCanvas editing orchestration: element select, transform, text/ink/table-cell edits.
ViewerCollabCursorServiceLocal pointer tracking for broadcasting the user's cursor position.
ViewerCollaborationSessionServiceShare/Broadcast dialog state and session connect/disconnect orchestration.
ViewerCustomShowsServiceCustom-show (subset-of-slides presentation) state.
ViewerDocumentPropertiesServiceDocument Info dialog and hyperlink dialog state.
ViewerExportServicePNG/PDF/GIF/video export and print orchestration, with progress + cancellation.
ViewerFileIOServiceFile ▸ Open / Save As orchestration, content override, getContent().
ViewerFindReplaceServiceFind and Find & Replace bar state and search/replace operations.
ViewerFormatPainterServiceFormat painter + eyedropper tool state.
ViewerInspectorPanelServiceRight-rail inspector panel switching and mobile inspector visibility.
ViewerKeyboardServiceKeyboard shortcut dispatch for the document-level keydown listener.
ViewerMobileSheetServiceMobile bottom-sheet state (slides/menu/notes) and quick-insert action.
ViewerPresentationModeServicePresentation-mode orchestration: enter/exit, presenter view, audience window.
ViewerThemeGalleryServiceTheme gallery dialog state and applying a theme preset.
ViewerTouchGesturesServicePinch-zoom, swipe-navigation, and long-press gesture wiring.
ViewerZoomServiceZoom level state (zoom / zoomIn / zoomOut / zoomReset / zoomPercent).
ZoomNavigationServicePowerPoint "Zoom" (summary/section zoom) navigation targets.
ZoomTargetServiceResolves a Zoom tile's fallback thumbnail info from the live deck.

Editing & element primitives

ExportConcern
align-distribute exportsAlign/distribute selected elements horizontally/vertically.
editor-insert exports (newTextElement, newShapeElement, newTableElement, newChartElement)Factories for newly-inserted elements.
group-ops exportsGroup/ungroup selected elements.
template-mode exports (buildSaveSlides, ...)Merge separated master/layout template elements back into slides for save/export.
inspector-helpers exportsProperty-panel change-handling helpers for selected elements.
text-advanced-helpers exportsAdvanced text formatting (spacing, columns, ...) helpers.
effects-helpers exportsShadow/glow/reflection effect style helpers.
gradient-picker-helpers exportsGradient stop editing helpers for the gradient picker.
selection-geometry exportsSelection-box and handle geometry math.
snap-guides exportsSnap-to-grid / snap-to-shape guide computation.

Chart internals

Back the curated chart-*-options components (Services › Public services).

ExportConcern
chart-advanced-helpers exportsAdvanced chart configuration helpers.
chart-combo-stock exportsCombo and stock chart type helpers.
chart-data-helpers exportsChart series/category data editing helpers.
chart-editor-styles exportsShared style constants for the chart editor panels.
chart-event-helpers exportsChart interaction/event helpers.
chart-overlays exportsChart overlay (data labels, trendlines, error bars) rendering helpers.
chart-renderer-helpers exportsChart view-model helpers (thin shim over pptx-viewer-shared), including DEFAULT_PALETTE (the chart palette).
chart-surface-treemap exportsSurface and treemap chart layout helpers.
chart-waterfall-map exportsWaterfall and map chart layout helpers.

SmartArt internals

2D authoring helpers plus the opt-in 3D renderer, backing the curated SmartArtRendererComponent.

ExportConcern
SmartArt3DRendererComponentRenders SmartArt diagrams as extruded 3D blocks on WebGL (opt-in via smartArt3D).
SmartArtPreviewComponentLive-renders a SmartArt layout preset for gallery previews.
SmartArtPropertiesComponentSmartArt-specific inspector panel.
SMARTART_PALETTES, SMARTART_DEFAULT_PALETTE, smartArtPaletteColour, resolveSmartArtPalette, buildChromeStyle, computeDrawingViewBox, projectDrawingShapes, styleShadowFilterDrawing-shape view-model helpers (palette, chrome, viewBox, RenderedShape projection). Aliased with a SmartArt/SMARTART_ prefix here because the bare names collide with the chart palette of the same name (see chart internals above).
smart-art-inline-edit exportsOn-canvas inline SmartArt text/node editing.
smart-art-insert-helpers exports (buildSmartArtInsertElement)Builds a new SmartArt element from a chosen preset + item texts.
smart-art-node-style-helpers exportsPer-node style resolution helpers.
smart-art-properties-helpers exportsHelpers backing SmartArtPropertiesComponent.
smart-art-renderer-helpers exportsHelpers backing the curated SmartArtRendererComponent.

Table internals

ExportConcern
table-cell-style exportsTable cell style resolution.
table-data-helpers exportsTable row/column/cell data editing helpers.
table-properties-helpers exportsHelpers backing TablePropertiesComponent.
table-renderer-helpers exportsHelpers backing the curated TableRendererComponent.

Ribbon (toolbar sub-sections)

Composed by RibbonComponent, itself composed by PowerPointViewerComponent.

ComponentConcern
RibbonComponentThe full tabbed ribbon, composing every section below.
RibbonPrimaryRowComponentThe tab-strip row above the section content.
RibbonHomeSectionComponentHome tab: clipboard, font, paragraph controls.
RibbonInsertSectionComponent, RibbonInsertFieldsComponentInsert tab: shapes, tables, charts, SmartArt, fields.
RibbonDrawSectionComponent, RibbonDrawingGroupComponentDraw tab: freehand ink tools.
RibbonDesignSectionComponentDesign tab: theme gallery entry point.
RibbonTransitionsSectionComponentTransitions tab.
RibbonAnimationsSectionComponentAnimations tab.
RibbonSlideshowSectionComponentSlide Show tab: present, presenter view, custom shows.
RibbonReviewSectionComponentReview tab: spelling, accessibility.
RibbonViewSectionComponentView tab: grid, rulers, guides, snap, slide sorter.
RibbonArrangeSectionComponentArrange tab: align, distribute, group, order.
RibbonEditingSectionComponentEditing tab controls (find/replace entry point).
RibbonFileSectionComponentFile tab: open/save actions.
RibbonFontControlsComponent, RibbonParagraphControlsComponentShared font/paragraph control groups reused across sections.
RibbonColorPopoverComponentShared color-swatch popover reused across sections.
ribbon-text-helpers exports (patchTextStyle)Applies a text-style patch to the selected element.

Presentation, navigation & touch internals

ExportConcern
presentation-fullscreen exportsFullscreen API wrapper for presentation mode.
presentation-overlay-helpers exportsHelpers backing PresentationOverlayComponent.
presentation-subtitle-helpers exportsHelpers backing PresentationSubtitleBarComponent.
touch-gestures exportsPinch-zoom, pan, and tap-gesture recognition.
swipe-dismiss exportsSwipe-to-dismiss for mobile sheets/drawers.
ruler-ticks exportsRuler tick-mark computation.
zoom-renderer-helpers exportsHelpers backing the curated ZoomRendererComponent.
shortcut-reference exportsThe keyboard-shortcut cheat-sheet data backing ShortcutPanelComponent.

Collaboration internals

The full internal set behind CollaborationService (Collaboration covers the curated public surface).

ExportConcern
collaboration-local-presence exports (LocalPresencePublisher)Publishes the local user's cursor/selection/active-slide to Yjs awareness.
collaboration-providers exports (createWebsocketBundle, createWebrtcBundle)Constructs the Yjs doc + provider + awareness bundle for each transport.
collaboration-writeback exports (WriteBackScheduler)Debounced elected-writer PPTX snapshot write-back.

Media, ink, OLE, 3D-model & color helper internals

ExportConcern
ink-drawing-helpers exportsPure helpers backing InkDrawingService.
ink-renderer-helpers exportsHelpers backing the curated InkRendererComponent.
MediaRendererComponentRenders audio/video media elements.
media-renderer-helpers exportsHelpers backing MediaRendererComponent.
model3d-renderer-helpers exportsHelpers backing the curated Model3DRendererComponent.
ole-renderer-helpers exportsHelpers backing the curated OleRendererComponent.
ColorChangedImageComponentRenders an image with a duotone/recolor filter applied.
color-changed-image-helpers exportsHelpers backing ColorChangedImageComponent.
eyedropper exportsScreen eyedropper (EyeDropper API) color-picking helpers.

Mobile chrome internals

ExportConcern
mobile-chrome-helpers exportsShared helpers for the mobile toolbar/bottom-bar/sheets.

Ancillary components & helpers

Not part of the curated root export, but composed directly by PowerPointViewerComponent.

ExportConcern
CustomShowsComponent, custom-shows-helpers exportsCustom-show create/rename/delete dialog.
ExportProgressModalComponentProgress modal shown during PDF/GIF/video export.
FollowModeBarComponent"Follow presenter" mode banner.
InsertSmartArtDialogComponent, SmartArtInsertEventThe Insert ▸ SmartArt gallery dialog.
NotesToolbarComponentSpeaker-notes panel toolbar.
RemoteSelectionOverlayComponentRenders remote users' element-selection highlights.
SelectionPaneComponentThe Selection Pane (Arrange tab) listing/toggling elements.
ThemeGalleryComponent, theme-gallery-presets exportsThe Design tab's theme gallery dialog and its preset data.
TitleBarComponentThe top title bar (save status, undo/redo, autosave toggle, command search).
slide-canvas-helpers exportsHelpers backing the curated SlideCanvasComponent.
slide-sorter-overlay-helpers exportsHelpers backing the curated SlideSorterOverlayComponent.
animation-author-helpers exportsHelpers backing AnimationAuthorPanelComponent.

This list is generated from packages/angular/src/viewer/**/*.ts and re-exported in full from pptx-angular-viewer/src/services-unstable.ts, itself re-exported from the package root via public-api.ts. If you add or rename a building block there, update this page in the same change.

Released under the Apache-2.0 License.