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:
parent
fee50cb387
commit
a75f876ec0
3 changed files with 41 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue