Code Monkey home page Code Monkey logo

Comments (3)

peter88213 avatar peter88213 commented on May 28, 2024

Is there a way to modify this extension so that by simply double-clicking the yWriter7 file from the desktop, LibreOffice will import the file correctly, rather than using the internal import option in the file menu?

Yes, the yW2OO standalone converter can be launched by the Windows Explorer context menu on .yw7 files. On setup, a registry file is generated that has to be started manually by opening the installation folder and double clicking add_context_menu.reg. Then a new context menu entry "Export to OpenOffice" shows up when right-clicking .yw7 files. Note that this requires a Python installation on your PC (see system requirements).

Also for exporting, Can the Save As menu in LibreOffice contain the .yw7 extension, rather than using the internal file menu?

I think this might be feasible. Among other things, the yw-cnv extension consists of a Python script and the AddonUI.xcu configuration file which links the Python subroutines to the LibreOffice user interface. If you want a new menu entry, you can edit the OfficeMenuBarMerging section.

from yw-cnv.

peter88213 avatar peter88213 commented on May 28, 2024

Further investigation reveals that one would need to implement the Export-to-yw7 feature as a filter to make it callable from the "Save as" menu. It looks like filters are Java classes implementing a standardized interface. As appealing as this task would be, it would come down to a completely different programming approach.

See:
https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Filter

from yw-cnv.

peter88213 avatar peter88213 commented on May 28, 2024

Is there a way to modify this extension so that by simply double-clicking the yWriter7 file from the desktop, LibreOffice will import the file correctly, rather than using the internal import option in the file menu?

Yes, the yW2OO standalone converter can be launched by the Windows Explorer context menu on .yw7 files. On setup, a registry file is generated that has to be started manually by opening the installation folder and double clicking add_context_menu.reg. Then a new context menu entry "Export to OpenOffice" shows up when right-clicking .yw7 files. Note that this requires a Python installation on your PC (see system requirements).

As of version 5, yW2OO can also convert ODT/ODS documents to .yw7.

from yw-cnv.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.