En presentationsredigerare som öppnar och sparar .pptx- (och det äldre .ppt-) och OpenDocument-filer (.odp). Bilder med text, former, bilder och tabeller som kan flyttas, ändras i storlek och roteras, talaranteckningar, layouter, helskärmsvisning, utskrift samt stavnings- och grammatikkontroll. Filkoden ingår i RayCraft.Blazor.Office och har inga tredjepartsdelar.
Parametrar
Files are read and written by the library itself, with no Office installation and no extra packages.
Parameter
Typ
Beskrivning
Feature
.pptx
.odp
Slides, layouts, hidden slides, slide size
Read and write
Läs och skriv
Text with bold, italic, underline, strikethrough, size, colour and font
Read and write
Läs och skriv
Bullets, numbering and list levels
Read and write
Läs och skriv
Links (http, https, mailto, tel)
Read and write
Läs och skriv
Shapes: rectangles, rounded rectangles, ellipses, triangles, diamonds, arrows in four directions, pentagons, hexagons, stars, parallelograms, plus signs, lines
Read and write
Läs och skriv
Freeform shapes (lines and curves, no arcs)
Read and write
Läs och skriv
Comments (classic format)
Read and write (not shown)
Behålls inte
Fill and outline colours, rotation
Read and write
Läs och skriv
Pictures (PNG, JPEG, GIF, BMP)
Read and write
Läs och skriv
Tables with cell colours
Read and write
Läs och skriv
Groups
Read (flattened)
Läs (tillplattad)
Slide backgrounds
Read and write
Läs och skriv
Speaker notes
Read and write
Läs och skriv
Theme colours and fonts, placeholders from layouts
Read
Används inte av formatet
Keys and gestures
Parameter
Typ
Beskrivning
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
Parameter
Typ
Beskrivning
AllowFileTransfer
bool
Visar kommandona som öppnar och sparar filer (standard true).
Class
string
Extra CSS-klasser som läggs till på rotelementet.
FileName
string
Namn som ges åt sparade filer, utan filnamnstillägg (standard presentation).
Fonts
IReadOnlyList<string>
Teckensnitten som erbjuds i teckensnittslistan.
Height
string
Kontrollens höjd som CSS-längd (standard 40rem).
IgnoredWords
IReadOnlyCollection<string>
Ord som aldrig rapporteras som felstavade.
Label
string
Bildens tillgängliga namn. Som standard en lokaliserad Slide.
MaxImageSize
Int64
Största bild som kan infogas, i byte (standard 10 000 000).
MaxImportSize
Int64
Största presentation som kan öppnas, i byte (standard 50 000 000).
PdfFonts
PdfFontSet
Presentation
Presentation
Presentationen som visas vid start; en annan instans ersätter den senare. Läs den redigerade med GetPresentationAsync.
Proofing
bool
Erbjuder stavnings-, grammatik- och logikkontroll för engelska och bulgariska: menyn Review, verktygsfältsknapp och F7 (standard true).
ReadOnly
bool
Visar presentationen utan att tillåta ändringar; bildspel, utskrift och sparande fungerar fortfarande.
ShowMenuBar
bool
Visar menyraden (standard true).
ShowNotes
bool
Visar talaranteckningarna under bilden (standard true).
ShowSlideList
bool
Visar listan med bilder (standard true).
ShowStatusBar
bool
Visar bildnummer, layout och zoom (standard true).
ShowToolbar
bool
Visar verktygsfältet (standard true).
Style
string
Inbäddad stil som läggs till på rotelementet.
Händelser
API
Händelse
Typ
Beskrivning
OnChanged
EventCallback
Utlöses efter att presentationen har ändrats (en redigering, ångra eller gör om).
OnNew
EventCallback
OnSave
EventCallback<OfficeFileSave>
OnSaveAs
EventCallback<OfficeFileSave>
OnSlideChanged
EventCallback<int>
Utlöses när en annan bild visas (nollbaserat index).
Paket
PresentationEditor ingår i RayCraft Complete. Paket: RayCraft.Blazor.Complete. Den hämtas från RayCrafts privata flöde och kräver en aktiv licens. Se Kom igång.