Window Manager for Writer

Creating Extension - Shared Libraries
Forum rules
For sharing working examples of macros / scripts. These can be in any script language supported by OpenOffice.org [Basic, Python, Netbean] or as source code files in Java or C# even - but requires the actual source code listing. This forum is not for asking questions about writing your own macros.

Window Manager for Writer

Postby JeJe » Sun Aug 16, 2020 6:14 pm

Window Manager for Writer

For easy adding and resizing new document Windows and saving a Window layout so it doesn't have to be set up again when the document is reloaded.

This extension is preliminary and hasn't been extensively tested. I'm posting it as some may find it useful as is.

CONSIDER PRE-BETA, USE AT OWN RISK. If problems don't use.
Always make regular backups of your work.


Install Extension

Set a shortcut, menu or toolbar item to this macro which shows the Window Menu:

Library: JeWindow,
Module: AAUser
Sub: ShowWindowMenuAA
Attachments
JeWindow.oxt
(55.71 KiB) Downloaded 56 times
Window Manager Help.odt
(96.01 KiB) Downloaded 57 times
Openoffice 4.1.6
Windows 8
JeJe
Volunteer
 
Posts: 1410
Joined: Wed Mar 09, 2016 2:40 pm

Re: Window Manager for Writer

Postby JeJe » Sun Aug 16, 2020 6:36 pm

This and my last Outline one are examples of how many requested features for OO/LO could be implemented in BASIC. This ones complicated, but often quiet easily, if anyone was minded to do them... instead of them remaining program feature requests for years... even decades...

I have a number of projects like this one - giving Writer a makeover - but only one lifetime so they may remain unfinished. Its very time consuming getting something ready for other people to use and testing in LO as well as OO. It took me best part of half an hour with this one to pin down that LO 7.0 unexpectedly crashes with setpossize(0,0,0,0,15) - their bug, not mine.

The intention with this one was a version that links Writer window borders with other application windows such as a browser window. (Windows only, as WinAPI needed). May or may not ever get round to it...
Openoffice 4.1.6
Windows 8
JeJe
Volunteer
 
Posts: 1410
Joined: Wed Mar 09, 2016 2:40 pm

Re: Window Manager for Writer

Postby AndresSolar » Sat Feb 13, 2021 8:11 pm

cool. working on something similar but this looks excellent. thx a lot, JeJe (as always ;)
LO6.2 on OS-X Mojave 10.14.3
AndresSolar
 
Posts: 72
Joined: Sun Jun 26, 2016 5:42 am


Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 1 guest