En presentasjonsredigerer som åpner og lagrer .pptx- (og den eldre .ppt-) og OpenDocument-filer (.odp). Lysbilder med tekst, former, bilder og tabeller som kan flyttes, endres i størrelse og roteres, foredragsnotater, oppsett, fullskjermsvisning, utskrift samt stave- og grammatikkontroll. Filkoden er en del av RayCraft.Blazor.Office og har ingen tredjepartsdeler.
Parametere
Files are read and written by the library itself, with no Office installation and no extra packages.
Parameter
Type
Beskrivelse
Feature
.pptx
.odp
Slides, layouts, hidden slides, slide size
Read and write
Les og skriv
Text with bold, italic, underline, strikethrough, size, colour and font
Read and write
Les og skriv
Bullets, numbering and list levels
Read and write
Les og skriv
Links (http, https, mailto, tel)
Read and write
Les og skriv
Shapes: rectangles, rounded rectangles, ellipses, triangles, diamonds, arrows in four directions, pentagons, hexagons, stars, parallelograms, plus signs, lines
Read and write
Les og skriv
Freeform shapes (lines and curves, no arcs)
Read and write
Les og skriv
Comments (classic format)
Read and write (not shown)
Beholdes ikke
Fill and outline colours, rotation
Read and write
Les og skriv
Pictures (PNG, JPEG, GIF, BMP)
Read and write
Les og skriv
Tables with cell colours
Read and write
Les og skriv
Groups
Read (flattened)
Les (flatet ut)
Slide backgrounds
Read and write
Les og skriv
Speaker notes
Read and write
Les og skriv
Theme colours and fonts, placeholders from layouts
Read
Brukes ikke av formatet
Keys and gestures
Parameter
Type
Beskrivelse
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
Type
Beskrivelse
AllowFileTransfer
bool
Viser kommandoene som åpner og lagrer filer (standard true).
Class
string
Ekstra CSS-klasser som legges til rotelementet.
FileName
string
Navn som gis til lagrede filer, uten filendelse (standard presentation).
Fonts
IReadOnlyList<string>
Skriftene som tilbys i skriftlisten.
Height
string
Kontrollens høyde som CSS-lengde (standard 40rem).
IgnoredWords
IReadOnlyCollection<string>
Ord som aldri rapporteres som feilstavet.
Label
string
Lysbildets tilgjengelige navn. Som standard et lokalisert Slide.
MaxImageSize
Int64
Største bilde som kan settes inn, i byte (standard 10 000 000).
MaxImportSize
Int64
Største presentasjon som kan åpnes, i byte (standard 50 000 000).
PdfFonts
PdfFontSet
Presentation
Presentation
Presentasjonen som vises ved start; en annen instans erstatter den senere. Les den redigerte med GetPresentationAsync.
Proofing
bool
Tilbyr stave-, grammatikk- og logikkontroll for engelsk og bulgarsk: menyen Review, verktøylinjeknapp og F7 (standard true).
ReadOnly
bool
Viser presentasjonen uten å tillate endringer; lysbildefremvisning, utskrift og lagring fungerer fortsatt.
ShowMenuBar
bool
Viser menylinjen (standard true).
ShowNotes
bool
Viser foredragsnotatene under lysbildet (standard true).
ShowSlideList
bool
Viser listen over lysbilder (standard true).
ShowStatusBar
bool
Viser lysbildenummer, oppsett og zoom (standard true).
ShowToolbar
bool
Viser verktøylinjen (standard true).
Style
string
Innebygd stil som legges til rotelementet.
Hendelser
API
Hendelse
Type
Beskrivelse
OnChanged
EventCallback
Utløses etter at presentasjonen er endret (en redigering, angre eller gjør om).
OnNew
EventCallback
OnSave
EventCallback<OfficeFileSave>
OnSaveAs
EventCallback<OfficeFileSave>
OnSlideChanged
EventCallback<int>
Utløses når et annet lysbilde vises (nullbasert indeks).
Pakke
PresentationEditor er en del av RayCraft Complete. Pakke: RayCraft.Blazor.Complete. Den hentes fra RayCrafts private feed og krever en aktiv lisens. Se Kom i gang.