wordview(1)

πŸ’– wordview(1) β€” the manual, but make it a group chat πŸ’–

okay bestie, welcome to wordview, from the General Commands Manual section of your local man pages. yes we're doing a whole manual page together. grab a boba. πŸ§‹


✨ NAME ✨

wordview β€” pops open an X window and shows you the text hiding inside an MS-Word file. no cap, that's the whole job. πŸ¦‹


🌸 SYNOPSIS 🌸

wordview [ filename]

πŸ’… DESCRIPTION πŸ’…

wordview is a simple GUI wrapper around catdoc(1) and it's giving ✨interactive browsing✨. it lets you scroll through a Word file like the main character you are. it does not let you edit the file β€” no ma'am, no editing, we don't do that here πŸ™ˆ β€” but it does let you save a plain text version of it out to a file, or a version with some TeX commands in it. iconic behavior honestly. πŸ’Ύβœ¨

and if for some reason catdoc just cannot figure out what encoding the file is in (it happens, it's not its fault 😭), wordview lets you specify the encoding interactively. bestie said "let me handle that" 🫢


πŸŽ€ OPTIONS πŸŽ€

wordview supports the standard X options, the ones supported by wish(1). that's the whole list. periodt. πŸ‘‘


🌈 X RESOURCES 🌈

so you can customize how wordview looks, and honestly? the way these resources work is lowkey slay. here's every single one:

  • Wordview.Text.Background β€” the background color for the main window. the canvas, the vibe, the backdrop. 🎨
  • Wordview.Text.Foreground β€” the foreground color for the main window. (yes the original spells it with a capital F, we respect that.)
  • Wordview.Text.selectBackground β€” the background color of selected text. so you can see what you highlighted. πŸ’–
  • Wordview.Text.selectForeground β€” the foreground color of selected text. the other half of the highlight situation.
  • Wordview.Text.Font β€” the font used to display the text. and bestie, we highly recommend a fixed-width font here, like Courier, becouse β€” wait, because β€” catdoc(1) is intended to convert Word into text, so a monospace font just makes sense, trust. you can specify the font either with XLFD font names or with Tk-style font specifications like {Courier 12pt}. and if you go the XLFD route, using unicode (iso10646-1) fonts is recommended. do it for the culture. πŸ”€
  • Wordview.Text.findMode β€” how to search the text. this one can be either exact or regexp, and it specifies whether, by default, the text is searched for an exact match or for a regular expression. you can toggle this behavior interactively too, via a checkbox in the search dialog. so you're never stuck with the default. 🧚
  • Wordview.Text.findCase β€” this boolean option controls whether the search is case-sensitive. the default is no. ngl, that's the chill setting. πŸ™ƒ
  • Wordview.Menu.highlightBackground β€” the background color for a highlighted menu item. πŸ‘‘
  • Wordview.Menu.highlightThickness β€” no description in the original, bestie, it's just out here vibing with its name and nothing else. we include it anyway because we keep every detail around here. πŸ’€
  • Wordview.Menu.activeBackground β€” the background color of the active menu item.
  • Wordview.Menu.activeBorderWidth β€” the width, in pixels, of the border around a highlighted menu item. the default is 0, which differs from the Tk global default. see options(n) for more details. πŸ–ΌοΈ
also, a whole lot of other resource options that affect the behavior of standard Tk widgets can affect wordview too. so if you're out here customizing Tk stuff, it's gonna show up here. check the Tcl/Tk manual pages for more info. πŸ“š

πŸ¦‹ SEE ALSO πŸ¦‹


πŸ‘‘ AUTHOR πŸ‘‘

Victor Wagner <vitus@45.free.net>. thank you for your service, king. πŸ«‘πŸ’œ


and that's the whole page, bestie!! this little bundle of joy is part of the MS-Word reader situation, version @catdoc_version@, and it's a wordview(1) page through and through. now go read some Word docs in a pretty window. slay, mwah πŸ’‹πŸŒΈβœ¨