Description: If you look into bean/ folder in LibreOffice core source code, there is only "unix" and "win32" in bean/native. macOS is not supported, as JNI support is not implemented. The task here is to add a comparable implementation for macOS. Complexity The native implementation for OfficeBean is very small. It consists of 66 lines of C code for Linux/Unix and 113 lines of C code for Windows (measured with cloc). A comparable code for macOS is expected to be of similar size, around 100 line of C/Objective C code. Implementation It is expected to write a vcl/osx/com_sun_star_comp_beans_LocalOfficeWindow.c or .mm for macOS, which uses Cocoa API to create NSView, get its pointer and attach it to the Java window. Make sure that you keep the Java signature of the code, as they are used in JNI: /* * Class: com_sun_star_comp_beans_LocalOfficeWindow * Method: getNativeWindowSystemType * Signature: ()I */ Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindowSystemType /* * Class: com_sun_star_beans_LocalOfficeWindow * Method: getNativeWindow * Signature: ()J */ Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow