Heretofore has 2 different meanings across 1 category:
Adverb
Adverb
1
used in negative statement to describe a situation that has existed up to this point or up to the present time
"So far he hasn't called"
"the sun isn't up yet"
2
Prior to now, until now, up to the present time; from the beginning to this point.