Hidden Text

Issue #745 resolved
KONSTANTINOS CHATZITHEODOROU created an issue

Hi

Is there any option to include/exclude hidden text from a word file?

I use the command line version.

Thanks

Comments (7)

  1. YvesS

    I think so. There is a "Translate Hidden Text" option in the filter's parameters that is off by default. The parameter name is bPreferenceTranslateWordHidden

  2. KONSTANTINOS CHATZITHEODOROU reporter

    Thanks,

    How is it possible to run it from the command line? Is there any documentation regarding this? Could you please provide me with an example?

    Konstantinos

  3. YvesS

    All filters options are set in a configuration file and when running from a command line with Tikal you can use the -fc parameter to specify the ID of the configuration file you want to use. For example:

    tikal -x myfile.docx -fc okf_openxml@myconfig
    

    Assuming your configuration file is named okf_openxml@myconfig.fprm

    See http://okapiframework.org/wiki/index.php?title=Understanding_Filter_Configurations for more information about filter configurations.

    You can create a configuration file easily from Rainbow:

    • Tools > Filter Configurations
    • Then select the filter you want ("Microsoft Office Document" in your case, for .docx files)
    • Then click "Create", and enter the name (e.g. "myconfig")
    • This will save a .fprm (filter parameters) file when you have your customer configuration (by default your home directory)
  4. KONSTANTINOS CHATZITHEODOROU reporter

    Once again, thank you for your help. I run tikal on Linux with the -e option.

    However, it would be nice to let me know if there is any command line in order to create a filter (i.e. tikal -e okf_openxml@myconfig.fprm

  5. YvesS

    I don't think there is any way to create a new filter configuration from the command-line. It has to exist and can be created manually (it's a text file, either in properties-like format or XML format depending on the filters), or from Rainbow (which can run on Linux). Creating the .fprm file is a one-time thing, once it's done you can easily use a text editor to change the options, or--as you noted--use -e from Tikal.

  6. KONSTANTINOS CHATZITHEODOROU reporter

    Thank you so much for your time.

    I created a filer with -e parameter and now I can edit it with a text editor. I will create a script to generate such a file with specific parameters and will integrate it in my workflow.

    Konstantinos

  7. Log in to comment