1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:07:45 +00:00

MacPF: Add a small group header in front of the outline

This has to be part of the data source, which makes things a bit
annoying.

For PDFs that have no outline, it says "(No outline)".
This commit is contained in:
Nico Weber 2023-10-08 23:07:52 -04:00 committed by Tim Flynn
parent fee50cb387
commit a75f876ec0
3 changed files with 41 additions and 2 deletions

View file

@ -15,6 +15,7 @@ NS_ASSUME_NONNULL_BEGIN
// Objective-C wrapper of PDF::OutlineItem, to launder it through the NSOutlineViewDataSource protocol.
@interface OutlineItemWrapper : NSObject
- (BOOL)isGroupItem;
- (Optional<u32>)page;
@end