tree: 98d099392b9581dc2132a41f6d88852e3123d1ea
  1. inc/
  2. prj/
  3. sdi/
  4. source/
  5. uiconfig/
  6. util/
  7. AllLangResTarget_basctl.mk
  8. BUILD.bazel
  9. Library_basctl.mk
  10. Makefile
  11. Module_basctl.mk
  12. Package_uiconfig.mk
  13. Package_xml.mk
  14. readme.md
main/basctl/readme.md

basctl — Basic IDE

Bazel target: //main/basctl:basctlbasctl.dll

Outputs

TargetOutput
//main/basctl:basctlbasctl.dll — Basic IDE shell, dialog editor, accessibility
//main/basctl:basctl_implibbasctl.if.lib — import library

Dependencies

  • basic (sb.dll — StarBasic runtime)
  • sfx2 (sfx.dll — framework)
  • svx (svxcore + svx — drawing/shape layer)
  • editeng (editeng.dll — text editing)
  • vcl, svtools, svl, tools, unotools, sot (core UI/util layer)
  • framework (fwe.dll — frame/window environment)
  • toolkit (ootk.dll — UNO toolkit)
  • xmlscript (xcr.dll — dialog XML import/export)
  • ucbhelper (UCB helper)
  • stlport — hash_map used in bastypes.hxx

SDI pipeline

sdi/basslots.sdi (includes baside.sdi) is processed by svidl.exe to generate basslots_sdi_inc/basslots.hxx. The SDI target depends on sfx2 and svx SDI packages for slot inheritance.

Notes

  • basctl/inc/helpid.hrc must shadow editeng/inc/helpid.hrc and others. Achieved via :basctl_inc cc_library (strip_include_prefix = "inc") placed first in deps, matching the cui module pattern.
  • source/basicide/ .hrc resource constant files (baside2.hrc, brkdlg.hrc, etc.) are included with angle brackets → /Imain/basctl/source/basicide in COPTS.
  • No component_canUnload export (not an unloadable component) — DEF has only component_getImplementationEnvironment and component_getFactory.
  • Resource files (.src → .res) are not yet built (rsc pipeline is a cross-cutting infra item, deferred).