* craft-zip: add SeekableArchive::has_duplicate_names_matching and duplicate_names
* craft-zip: use zip::ZipWriter in duplicate-names test
* craft-zip: patch second entry name in duplicate-names test
A shape turned a quarter before its text was typed holds its box and its
text rectangle turned (probes rot90thentext and rot90arrowtext). The
shape's box is turned back, so the insets now move to the unturned box's
edges with it. A balloon's box is its body, so its bottom inset is now
measured from the body's bottom (balloontext).
The samples test now reads the slide size from each file's DocumentAtom,
matches outlines vertex by vertex in order, reads rectangle records as
outlines too, and fails on a rendering it can't read. Tests that skipped
their checks on a missing slide or shape now fail instead.
As egui's own widgets do (Response::rect and interact_rect): a root its
clip cuts reports and reveals where it is, and egui's hit test uses the
part inside the clip. Widening a widget's sense checks its interact
rect; a secondary release opens a press opener only inside it.
The frame-0 trial uses a panel strip too narrow for its tabs that takes
its measured height, so it fails without the measure ahead. The report
trial checks tab_rects in the frame a title changes.
The measure ahead ran the row measure as a measuring run and set the
layout inside it, so a layout that reports its placement only outside
measuring runs (the tab strip's report: tab rects, hidden tabs, the
overflow button) kept the placement from before the measure in a pass
with no measuring run. The layout now takes the results after the
measure, in the run that called it.
The docking trial checks that a label too long for its group moves the
group's other tab to the overflow menu in the frame of the change.
A zero-length run counted as one character of coverage, so a few of them
used up the runs read and a real run after them was never reached.
A font list whose only face atom was cut short gave an empty face and
still won over a later list with real faces.
The detector took any root whose first child was a Document, so an empty
Document read as a deck with no slides instead of being damaged. It now
also needs a DocumentAtom long enough for its slide count.
import_checked names the slides that count says are missing, by position,
so a cut-short file no longer reads as whole.
TooOld no longer promises every file before PowerPoint 95: a file that
isn't a compound file is NotPpt, and no earlier file was tried.
Each paragraph is about 4 KB and each run about 2 KB, so a text atom of
nothing but paragraph or line breaks made gigabytes from a megabyte of
file. The document's text now makes at most 65,536 of them together and
leaves the rest out, with a warning.
A master's title placeholder of type 0x0F (a centred title) is in the
title family, but only a plain title set the title style's ruler.
The reads are a set to what reads them. A run that measures a component again (a kept
transcript's check) reads nothing new, so its journal no longer depends on how many
times the pass measured.
The measuring run records the content's extent, and the real run takes it at step 5:
whether the content overflows (the wheel, the bars, the strips) and how far it
scrolls. A bar too short for its members takes the wheel from its first frame.
Two tests gave a slide its own colours while it still followed the master's scheme; since the
slide box's flags are read, PowerPoint 95 marks such a slide as not following.
The slide box's bytes at +16 and +17 are whether a slide shows the master's objects and uses the
master's colour scheme: turning the master's objects off on one slide clears the first, and giving
one slide its own scheme clears the second. A slide following the master's scheme now takes the
master's colours rather than the copy it holds.
Paragraph runs give line spacing, space before and space after at +52, +56 and +60: a percentage
of a line, or minus a size in points. Alignment 3 is justified. The text atom's +8 byte holds the
anchoring (top, middle or bottom, and whether it is centred across) and its +4 flags word wrap.
The Environment's 4052 atoms, one per text type, hold the master's styles, five levels each laid
out as the runs are; the title, body and other ones become the master's styles, with the margins
of the ruler the master's title and body name. All of this was learned from files PowerPoint 95
wrote.