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ámetro
Tipo
Descripción
Feature
.pptx
.odp
Slides, layouts, hidden slides, slide size
Read and write
Leer y escribir
Text with bold, italic, underline, strikethrough, size, colour and font
Read and write
Leer y escribir
Bullets, numbering and list levels
Read and write
Leer y escribir
Links (http, https, mailto, tel)
Read and write
Leer y escribir
Shapes: rectangles, rounded rectangles, ellipses, triangles, diamonds, arrows in four directions, pentagons, hexagons, stars, parallelograms, plus signs, lines
Read and write
Leer y escribir
Freeform shapes (lines and curves, no arcs)
Read and write
Leer y escribir
Comments (classic format)
Read and write (not shown)
No se conserva
Fill and outline colours, rotation
Read and write
Leer y escribir
Pictures (PNG, JPEG, GIF, BMP)
Read and write
Leer y escribir
Tables with cell colours
Read and write
Leer y escribir
Groups
Read (flattened)
Leer (aplanado)
Slide backgrounds
Read and write
Leer y escribir
Speaker notes
Read and write
Leer y escribir
Theme colours and fonts, placeholders from layouts
Read
No lo usa el formato
Keys and gestures
Parámetro
Tipo
Descripción
Keys or gesture
What it does
Click, Shift+click, drag on the slide
Select one element, add to the selection, select with a frame
Drag, arrow keys, Shift+arrow keys
Move the selection (Shift moves 10 points, or keeps a drag straight)
Drag a handle, Shift
Resize (Shift keeps the proportions); the top handle rotates (Shift snaps to 15°)
Double-click, Enter, F2
Edit the text of the shape or table cell
Esc
Stop editing text, or clear the selection
Tab / Shift+Tab
Next 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 / D
Copy, cut, paste and duplicate; pasting a picture inserts it
Ctrl+Z / Ctrl+Y
Undo and redo
Delete
Delete the selection (in the slide list: the slide)
Ctrl+M
New slide
Page Up / Page Down
Previous and next slide
Drag a slide in the list
Move the slide
F5 / Shift+F5
Slide show from the start / from the current slide
F7
Spelling and grammar
Ctrl+S, Ctrl+P
Save as .pptx, print
API
Parámetro
Tipo
Descripción
AllowFileTransfer
bool
Muestra los comandos que abren y guardan archivos (true de forma predeterminada).
Class
string
Clases CSS adicionales que se agregan al elemento raíz.
FileName
string
Nombre dado a los archivos guardados, sin extensión (presentation de forma predeterminada).
Fonts
IReadOnlyList<string>
Las fuentes que se ofrecen en la lista de fuentes.
Height
string
Altura del control como longitud CSS (40rem de forma predeterminada).
IgnoredWords
IReadOnlyCollection<string>
Palabras que nunca se notifican como mal escritas.
Label
string
Nombre accesible de la diapositiva. De forma predeterminada, un Slide localizado.
MaxImageSize
Int64
Mayor imagen que se puede insertar, en bytes (10 000 000 de forma predeterminada).
MaxImportSize
Int64
Mayor presentación que se puede abrir, en bytes (50 000 000 de forma predeterminada).
PdfFonts
PdfFontSet
Presentation
Presentation
La presentación que se muestra al inicio; otra instancia la reemplaza después. Lea la editada con GetPresentationAsync.
Proofing
bool
Ofrece 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).
ReadOnly
bool
Muestra la presentación sin permitir cambios; la presentación de diapositivas, la impresión y el guardado siguen funcionando.
ShowMenuBar
bool
Muestra la barra de menús (true de forma predeterminada).
ShowNotes
bool
Muestra las notas del orador bajo la diapositiva (true de forma predeterminada).
ShowSlideList
bool
Muestra la lista de diapositivas (true de forma predeterminada).
ShowStatusBar
bool
Muestra el número de diapositiva, el diseño y el zoom (true de forma predeterminada).
ShowToolbar
bool
Muestra la barra de herramientas (true de forma predeterminada).
Style
string
Estilo en línea agregado al elemento raíz.
Eventos
API
Evento
Tipo
Descripción
OnChanged
EventCallback
Se genera después de que la presentación cambie (una edición, deshacer o rehacer).
OnNew
EventCallback
OnSave
EventCallback<OfficeFileSave>
OnSaveAs
EventCallback<OfficeFileSave>
OnSlideChanged
EventCallback<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.