Repository navigation
v0.26.0 - 2026/11/24
Compared with v0.25.0 (838a61af6), through tag v0.26.0 (82d63a7f5).
Link inspection and PDF navigation
- Link reports.
xdoc extract deck.pptx --parts links --output links.jsonincludes clicks from rich chart titles withsourceset tochart-title, as well as direct shape links and links on visible inherited elements. Direct shape links usesource: "shape". Thelinks/v1schema adds an optionalactionfield, and action-only slide navigation can have an emptyurl. Refresh validators withxdoc schema --report links/v1and readkindfor the classification. First, last, next, and previous actions use the selected page order. At a boundary, an authored fallback URL determineskindwhen present. An action-only jump can still be classified asinternaleven when there is no destination. - Link classification and checks. Relative file paths such as
manual.pdfanddocs/manual.pdf, and Windows drive paths such asC:/manual.pdfandC:manual.pdf, count as file links. Network references such as//cdn.example.com/file.pdfcount as external; a network reference with no host is classified as unknown and suspicious.xdoc check deck.pptx --checks links --output check.jsoncan emitfile_link_presentfor file links, including in chart titles and shapes. Resource link totals and policy checks use the same classification. Run checks with the same--slidesselection as the export when reviewing a subset; classification does not verify reachability. - PDF annotations. Supported rich chart-title clicks become PDF links. Direct slide jumps resolve by their source slide part and are omitted when the destination is outside the export. Directional jumps use the exported page order and can fall back to an authored URL. Inherited text click and hover targets are resolved independently using relationships from the part that defines each target. The link report covers clicks, not hover actions; test hover behavior and named-show routes in slideshow playback.
Slide comparison
pptx contact-diffdiscovery.xdoc schema --command pptx.contact-diffnow advertises both source and candidate positionals and shares the command's existing 72 DPI default. Runxdoc pptx contact-diff old.pptx new.pptx --output diff.png --json, or use--sourcewith--candidateor--final. Omit--mapfor same-number pairing. Argument errors now identifycontact-diffandrefurbish-auditas accepting--mapand direct--assume-one-to-onetorefurbish-audit.
Charts in PDF and PNG
- Main chart titles. Rich titles preserve paragraph boundaries, alignment, spacing, and supported run styling, including capitalization and gradients on a single centered run. Percentage paragraph spacing uses the resolved font size. Hard shadows can inherit from title defaults, and an explicitly empty effect list clears the inherited shadow. Supported gradients retain their stops, scaled linear geometry, and radial focus. Adjacent runs with matching styles can share a gradient, with fields, links, and line breaks separating paint spans. Automatic plot layout reserves the measured height of non-overlay titles.
- Axis titles. Horizontal and rotated axis titles preserve paragraph boundaries and explicit line breaks within the title, including consecutive breaks. Titles placed outside the plot with overlay disabled reserve space using the same multiline dimensions as the renderer.
- Scatter charts. Supported trendlines use paired numeric X and Y values and are clipped to the plot. Scatter axes honor valid authored logarithmic bases and omit invalid log coordinates. Enabled equation and R-squared labels with automatic positioning use the last drawable segment and are omitted when no segment is drawable. Explicit label positions take precedence.
- Category axes and line charts. Multi-level labels preserve sparse leaf positions and fit parent labels to their category spans in separate bands. Non-stacked 2D line charts honor the gap, span, and zero settings for blank values while keeping category positions. Major and minor category gridlines follow their respective tick positions on line and area charts, including on ordinal scales. Combo charts draw category grids behind the series, draw shared grids once per axis, and keep independent axes separate. A drawable line or area layer supplies the shared grid when a bar layer has fewer cached categories. An empty line or area layer leaves the bar layer free to draw it.
- Other chart layouts. Box-and-whisker outliers use their series color, with extra room for visible outliers at automatic axis bounds. Treemap tiles preserve relative leaf areas. Sunburst labels wrap or are omitted according to the available room, and automatic label colors can adapt to the sector's contrast. Compact radar charts refine automatic tick intervals for fixed ranges and honor explicit major units.
Text and equations in exports
- WordArt. PDF and PNG render eligible single-line
textArchUpandtextDeflateBottomtext with supported tracking, kerning, underlines, strikethroughs, and hard shadows. Multiple paragraphs, right-to-left or bidirectional text, lists, text gradients, outlines, glow, reflection, and blurred shadows use ordinary text layout instead of the warp. WrappedtextDeflateBottomparagraphs also use ordinary multiline layout. Check affected slides visually, since ordinary layout does not preserve the warp.textArchUpstays visible in vertical clip and ellipsis modes, and render audits measure overflow from the warped ink. PDF link rectangles follow the warped lettering, and PDFium can extract the source text without duplicating the shadow text. - Visual comparison.
xdoc pptx vision-diffuses individual WordArt ink bounds where available when checking for chart-title collisions. The render audit now projects text and chart-title bounds through the same transforms used to paint them, including shape and enclosing-group rotation. Rerun the comparison for rotated slides. Downgrading an estimated text-fit issue still requires rendered evidence that the text fits inside its frame. - Text layout. Line fitting uses corrected advances for Arabic contextual ligatures. Right-to-left text handles numeric hyphens across runs and aligns default tabs from the reading edge across explicit line breaks. Vertical text honors disabled East Asian punctuation restrictions, while sentence-ending punctuation can stay with its word even when those restrictions are disabled. When authored Geeza Pro lacks a glyph, the renderer can use Cambria for covered Latin characters and Cambria Math for the minus sign if those fonts are available.
- Equations. Inline fractions use their logical advance for text layout. Rendered PPTX matrices use one em between columns at the matrix's effective size and fit brackets to the visible ink. Tabs and line breaks in equation text marked
xml:space="preserve"contribute spacing in rendered math and produce\spacein exported LaTeX. Regenerate affected JSON, Markdown, plain text, and resource exports if automation consumes their formulas. Slide titles and outlines in map exports can also change when they contain equations. - Pattern fills. PDF and PNG use the corrected 8 pt by 8 pt repeat tile for
pct40.
Checking upgraded output
- Regenerate affected pages with
xdoc convert deck.pptx --to pdf --output out.pdforxdoc pptx preview deck.pptx --output-dir previews --jsonbefore carrying forward layout workarounds or comparing with stored images. For linked or shadowed WordArt, verify the PDF link destinations and check the extracted text withxdoc pdf extract-text out.pdf --engine pdfium.