Skip to main content

Crate pptx_parse

Crate pptx_parse 

Source
Expand description

Bounded PresentationML parsing and part-preserving package writes.

Modules§

relationship_types

Structs§

ChartAxes
ChartAxis
ChartDataLabels
A c:dLbls, every switch optional so an unset one inherits its parent.
ChartLegend
ChartMarker
ChartPart
A chart part resolved against one referenced presentation theme.
ChartPlotGroup
ChartPoint
ChartPointLabel
One c:dLbl: an index plus the switches that override the series default.
ChartSeries
ChartSpace
A parsed c:chartSpace, free of any host-package metadata.
ChartTextProperties
Run properties read off a c:txPr, all optional so an absent one inherits.
Comment
CommentAuthor
CommentAuthorWrite
CommentWrite
CommentsWrite
CustomGeometryPath
DeckWrite
The desired final deck, expressed against the parsed source package.
GraphicFrame
GroupShape
InheritedTransform
The transform a shape inherits from its layout or master placeholder.
MediaPart
NotesWrite
Changed speaker notes; empty text clears the body placeholder.
ParagraphProperties
ParagraphWrite
ParseLimits
Picture
PictureCrop
PictureFill
An a:blipFill on a shape: the image, and the box it stretches into.
Placeholder
PptxPackage
Presentation
Relationship
RunProperties
RunWrite
Shape
ShapeAdd
ShapeBase
ShapePatch
ShapeStyle
Theme references and unsupported explicit fills.
ShapeTransform
Slide
SlideLayout
SlideMaster
SlideReference
Table
An a:tbl: its column grid, table-wide properties and rows.
TableCell
An a:tc, with its a:tcPr anchoring and margins folded into text.
TableCellBorders
a:tcPr/a:lnL, a:lnT, a:lnR and a:lnB.
TableProperties
a:tblPr: which style parts apply, and the style they come from.
TableRow
TextBody
TextParagraph
TextRun
TextStyleSet
TextWrite
ThemePart

Enums§

BlipEffect
Bitmap effects with unresolved colours.
Bullet
BulletColor
BulletFont
BulletSize
CommentFlavor
CommentSlide
GraphicFrameData
LineSpacing
A spacing height, as a share of the text size or in points.
PptxError
ShapeNode
ShapeWrite
SlideWrite
TargetMode
TextAutofit
TextOverflow
TextTarget

Functions§

parse_pptx
parse_pptx_with_limits
parse_pptx_without_connectors
Preserves pre-connector source ordinals.
write_pptx
write_pptx_with_edits
Writes the package with deck applied. Slides marked SlideWrite::Keep and every non-slide part keep their exact source bytes.