Well I live in europe. Recently a very similar case happened. a sportswoman publically mentioned on facebook that somebody send her emails with his naked photos against her will, and as far as i can tell the only thing which happened was a shitstorm, but no lawsuit against her, but she sued him. A journalist who was getting remarks very similar to the ones as the woman in the article from a politician in a semi-professional setting made it public and was not sued.
I find it ok to make people making offensive jokes public. Iff its no problem to make the joke public, then its no problem to tell it. However the male fraction of the population who finds these ok when they are applied to women, probably would stop finding these ok if their female manager would make remarks over the size of their **** in their presence - well knowing that the really insensitive remarks start when the corresponding gender has left the room.
They would call it unprofessional, and that is what it is. I (male) work under a quite young male manager from a country with less sensitivity in these issues, and even if he is really ok he manages to piss me off in that respect. For example when he in one minute talks about the looks of women and in the next one ask us if we would not need a woman in our team. Even vaguely hinting that my professional opinion and at the same time my jugdement about former employees may be affected by the gender pisses me off. Especially because we recently had some young female colleague in the team of which i professionally think very highly due her skills in mathematics.
However i see that certain levels of certain professions come with an increased contact with morons and an required increased tolerance to inacceptable behaviour. I personally would count anything with social media in that category. If you have some function like this and you are somewhere in this function, you need to balance the actions exactly as carefully as when you would make jokes on a public conference. Both show a lack of jugdement of appropitate behaviour, your standing and your possibility to represent your employer properly.
When it comes to employer an sexual harrassment (which i count offensive jokes as), they alway would like to settle it in private. For a multitiude of reasons, the most important one that each public case means a "the company sends women to places where they are harrased" and that the public does not distinct between "realities of the trade" and "active participation". If not everything is well withing a company this can be a public relations desaster beyond what the company deserves. E.g. in this case a hostess working for the compnay on some fair could tune in and unse the media attention for her five minutes of fame, and the media would be very happy to paint the picture of "company sends women to nerds to be harrased there".
So what to do if you encounter inappropriate behaviour? In a company with good governance, just report to the superior of the corresponding person or to the ombudsman. If not, then its more difficult and i guess pressing for a lawsuit may be a good idea since that will stimulate the laziest of the bosses.