RayCraftDocs
v1.0.3
es
raycraft.dev
En esta página

PresentationEditor

Complete

Un editor de presentaciones que abre y guarda archivos .pptx (y el antiguo .ppt) y OpenDocument (.odp). Diapositivas con texto, formas, imágenes y tablas que se pueden mover, redimensionar y girar, notas del orador, diseños, presentación a pantalla completa, impresión y revisión ortográfica y gramatical. El código de archivos forma parte de RayCraft.Blazor.Office y no contiene componentes de terceros.

Parámetros

Files are read and written by the library itself, with no Office installation and no extra packages.

ParámetroTipoDescripción
Feature.pptx.odp
Slides, layouts, hidden slides, slide sizeRead and writeLeer y escribir
Text with bold, italic, underline, strikethrough, size, colour and fontRead and writeLeer y escribir
Bullets, numbering and list levelsRead and writeLeer y escribir
Links (http, https, mailto, tel)Read and writeLeer y escribir
Shapes: rectangles, rounded rectangles, ellipses, triangles, diamonds, arrows in four directions, pentagons, hexagons, stars, parallelograms, plus signs, linesRead and writeLeer y escribir
Freeform shapes (lines and curves, no arcs)Read and writeLeer y escribir
Comments (classic format)Read and write (not shown)No se conserva
Fill and outline colours, rotationRead and writeLeer y escribir
Pictures (PNG, JPEG, GIF, BMP)Read and writeLeer y escribir
Tables with cell coloursRead and writeLeer y escribir
GroupsRead (flattened)Leer (aplanado)
Slide backgroundsRead and writeLeer y escribir
Speaker notesRead and writeLeer y escribir
Theme colours and fonts, placeholders from layoutsReadNo lo usa el formato

Keys and gestures

ParámetroTipoDescripción
Keys or gestureWhat it does
Click, Shift+click, drag on the slideSelect one element, add to the selection, select with a frame
Drag, arrow keys, Shift+arrow keysMove the selection (Shift moves 10 points, or keeps a drag straight)
Drag a handle, ShiftResize (Shift keeps the proportions); the top handle rotates (Shift snaps to 15°)
Double-click, Enter, F2Edit the text of the shape or table cell
EscStop editing text, or clear the selection
Tab / Shift+TabNext element; while editing a list: list level; in a table: next cell
Ctrl+B / I / U, Ctrl+] / [Bold, italic, underline; larger and smaller text
Ctrl+C / X / V / DCopy, cut, paste and duplicate; pasting a picture inserts it
Ctrl+Z / Ctrl+YUndo and redo
DeleteDelete the selection (in the slide list: the slide)
Ctrl+MNew slide
Page Up / Page DownPrevious and next slide
Drag a slide in the listMove the slide
F5 / Shift+F5Slide show from the start / from the current slide
F7Spelling and grammar
Ctrl+S, Ctrl+PSave as .pptx, print

API

ParámetroTipoDescripción
AllowFileTransferboolMuestra los comandos que abren y guardan archivos (true de forma predeterminada).
ClassstringClases CSS adicionales que se agregan al elemento raíz.
FileNamestringNombre dado a los archivos guardados, sin extensión (presentation de forma predeterminada).
FontsIReadOnlyList<string>Las fuentes que se ofrecen en la lista de fuentes.
HeightstringAltura del control como longitud CSS (40rem de forma predeterminada).
IgnoredWordsIReadOnlyCollection<string>Palabras que nunca se notifican como mal escritas.
LabelstringNombre accesible de la diapositiva. De forma predeterminada, un Slide localizado.
MaxImageSizeInt64Mayor imagen que se puede insertar, en bytes (10 000 000 de forma predeterminada).
MaxImportSizeInt64Mayor presentación que se puede abrir, en bytes (50 000 000 de forma predeterminada).
PdfFontsPdfFontSet
PresentationPresentationLa presentación que se muestra al inicio; otra instancia la reemplaza después. Lea la editada con GetPresentationAsync.
ProofingboolOfrece la comprobación de ortografía, gramática y lógica para inglés y búlgaro: menú Review, botón de la barra de herramientas y F7 (true de forma predeterminada).
ReadOnlyboolMuestra la presentación sin permitir cambios; la presentación de diapositivas, la impresión y el guardado siguen funcionando.
ShowMenuBarboolMuestra la barra de menús (true de forma predeterminada).
ShowNotesboolMuestra las notas del orador bajo la diapositiva (true de forma predeterminada).
ShowSlideListboolMuestra la lista de diapositivas (true de forma predeterminada).
ShowStatusBarboolMuestra el número de diapositiva, el diseño y el zoom (true de forma predeterminada).
ShowToolbarboolMuestra la barra de herramientas (true de forma predeterminada).
StylestringEstilo en línea agregado al elemento raíz.

Eventos

API

EventoTipoDescripción
OnChangedEventCallbackSe genera después de que la presentación cambie (una edición, deshacer o rehacer).
OnNewEventCallback
OnSaveEventCallback<OfficeFileSave>
OnSaveAsEventCallback<OfficeFileSave>
OnSlideChangedEventCallback<int>Se genera cuando se muestra otra diapositiva (índice desde cero).

Paquete

PresentationEditor forma parte de RayCraft Complete. Paquete: RayCraft.Blazor.Complete. Se obtiene del feed privado de RayCraft y requiere una licencia activa. Consulte Primeros pasos.