• Toggle theme

Directory Opus Manual

User Tools

  • Toggle theme
  • Log In

Site Tools

You are here: Introduction » Reference » Plugins » Introduction » Returning Text Data

Sidebar

  • Copyrights
  • Licenses
  • Acknowledgements
  • Introduction
  • New In Directory Opus 13
Using Directory Opus
  • Basic Concepts
  • File Operations
  • FTP
  • Additional Functionality
Configuration
  • Preferences
  • Customize
  • File Types
Programming
  • Scripting
  • Evaluator
Reference Section
  • Wildcards and RegEx
  • Commands
  • Status Bar Codes
  • Metadata Keywords
  • Script Objects
  • Script Events
  • Evaluator Functions
  • DOpusRT
  • Textual Filters
  • Icon Sets
  • Rename Macro Language
  • Plugins
    • Viewer Plugins
      • Exported Functions
      • Plugin Initialization
      • Supporting USB Export
      • Plugin Identification
      • File Identification
      • Loading Bitmap Images (the "bitmap method")
      • Returning Text Data
        • DVP_LoadText
      • Custom Image Viewers (the "window method")
      • Image Viewer messages
      • Non-Image File Information
      • Properties, Configuration and About functions
    • VFS Plugins
    • Plugin Support API
reference:plugins:viewer_plugins:returning_text_data

If you set the DVPFIF_ReturnsText flag in the VIEWERPLUGINFILEINFO structure, Opus will call your DVP_LoadText function to load the contents of the file as plain text. Opus will then display the data in its default text viewer.

  • DVP_LoadText - load text from a file which Opus will display