Um editor de apresentações que abre e salva arquivos .pptx (e o antigo .ppt) e OpenDocument (.odp). Slides com texto, formas, imagens e tabelas que podem ser movidos, redimensionados e girados, anotações do apresentador, layouts, apresentação em tela cheia, impressão e verificação de ortografia e gramática. O código de arquivos faz parte do RayCraft.Blazor.Office e não tem partes de terceiros.
Parâmetros
Files are read and written by the library itself, with no Office installation and no extra packages.
Parâmetro
Tipo
Descrição
Feature
.pptx
.odp
Slides, layouts, hidden slides, slide size
Read and write
Leitura e gravação
Text with bold, italic, underline, strikethrough, size, colour and font
Read and write
Leitura e gravação
Bullets, numbering and list levels
Read and write
Leitura e gravação
Links (http, https, mailto, tel)
Read and write
Leitura e gravação
Shapes: rectangles, rounded rectangles, ellipses, triangles, diamonds, arrows in four directions, pentagons, hexagons, stars, parallelograms, plus signs, lines
Read and write
Leitura e gravação
Freeform shapes (lines and curves, no arcs)
Read and write
Leitura e gravação
Comments (classic format)
Read and write (not shown)
Não mantido
Fill and outline colours, rotation
Read and write
Leitura e gravação
Pictures (PNG, JPEG, GIF, BMP)
Read and write
Leitura e gravação
Tables with cell colours
Read and write
Leitura e gravação
Groups
Read (flattened)
Leitura (achatada)
Slide backgrounds
Read and write
Leitura e gravação
Speaker notes
Read and write
Leitura e gravação
Theme colours and fonts, placeholders from layouts
Read
Não usado pelo formato
Keys and gestures
Parâmetro
Tipo
Descrição
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
Descrição
AllowFileTransfer
bool
Mostra os comandos que abrem e salvam arquivos (true por padrão).
Class
string
Classes CSS extras adicionadas ao elemento raiz.
FileName
string
Nome dado aos arquivos salvos, sem extensão (presentation por padrão).
Fonts
IReadOnlyList<string>
As fontes oferecidas na lista de fontes.
Height
string
Altura do controle como comprimento CSS (40rem por padrão).
IgnoredWords
IReadOnlyCollection<string>
Palavras que nunca são reportadas como erradas.
Label
string
Nome acessível do slide. Por padrão, um Slide localizado.
MaxImageSize
Int64
Maior imagem que pode ser inserida, em bytes (10.000.000 por padrão).
MaxImportSize
Int64
Maior apresentação que pode ser aberta, em bytes (50.000.000 por padrão).
PdfFonts
PdfFontSet
Presentation
Presentation
A apresentação mostrada no início; outra instância a substitui depois. Leia a editada com GetPresentationAsync.
Proofing
bool
Oferece a verificação de ortografia, gramática e lógica para inglês e búlgaro: menu Review, botão da barra de ferramentas e F7 (true por padrão).
ReadOnly
bool
Mostra a apresentação sem permitir alterações; a apresentação de slides, a impressão e o salvamento continuam funcionando.
ShowMenuBar
bool
Mostra a barra de menus (true por padrão).
ShowNotes
bool
Mostra as anotações do apresentador sob o slide (true por padrão).
ShowSlideList
bool
Mostra a lista de slides (true por padrão).
ShowStatusBar
bool
Mostra o número do slide, o layout e o zoom (true por padrão).
ShowToolbar
bool
Mostra a barra de ferramentas (true por padrão).
Style
string
Estilo embutido adicionado ao elemento raiz.
Eventos
API
Evento
Tipo
Descrição
OnChanged
EventCallback
Gerado depois que a apresentação mudou (uma edição, desfazer ou refazer).
OnNew
EventCallback
OnSave
EventCallback<OfficeFileSave>
OnSaveAs
EventCallback<OfficeFileSave>
OnSlideChanged
EventCallback<int>
Gerado quando outro slide é mostrado (índice base zero).
Pacote
PresentationEditor faz parte do RayCraft Complete. Pacote: RayCraft.Blazor.Complete. Vem do feed privado do RayCraft e requer uma licença ativa. Veja Primeiros passos.