You can add all 4 kinds of flags to a named range. They appear as selectable options in the print range dialog and in the advanced filter dialog unless the name happens to be a sheet specific one.
c.s.s.sheet.NamedRangeFlag refers to the 4 extra options when you hit the More button in the names dialog. In fact there is no representation of sheet specific names in the API. In the Basic lingo, neither ThisComponent.Links nor ThisComponent.NamedRanges reveal any sheet specific names. Should I consider this as "normal" for such a premature hack or should I file another issue?
it is a planned feature to add a api for local range names and I hope that Laurent will finish it, I'll add it for now to my bug for all local range name enhacements for 3-5 I have to check the print range dialog and the advanced filter dialog.
have a look at https://bugs.freedesktop.org/show_bug.cgi?id=38565 I listed all missing features I know
fixed in master: you can now use the "rangeNames" property with a sheet like you would do with a document