10#ifndef INCLUDED_VCL_BUILDER_FACTORY_HXX
11#define INCLUDED_VCL_BUILDER_FACTORY_HXX
16#define VCL_BUILDER_FACTORY(typeName) \
17 extern "C" SAL_DLLPUBLIC_EXPORT void make##typeName(VclPtr<vcl::Window> & rRet, const VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap) \
19 static_assert(std::is_same_v<std::remove_pointer_t<VclBuilder::customMakeWidget>, \
20 decltype(make##typeName)>); \
22 rRet = VclPtr<typeName>::Create(pParent); \
25#define VCL_BUILDER_FACTORY_ARGS(typeName,arg1) \
26 extern "C" SAL_DLLPUBLIC_EXPORT void make##typeName(VclPtr<vcl::Window> & rRet, const VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap) \
28 static_assert(std::is_same_v<std::remove_pointer_t<VclBuilder::customMakeWidget>, \
29 decltype(make##typeName)>); \
31 rRet = VclPtr<typeName>::Create(pParent,arg1); \
34#define VCL_BUILDER_FACTORY_CONSTRUCTOR(typeName,arg2) \
35 extern "C" SAL_DLLPUBLIC_EXPORT void make##typeName(VclPtr<vcl::Window> & rRet, const VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap) \
37 static_assert(std::is_same_v<std::remove_pointer_t<VclBuilder::customMakeWidget>, \
38 decltype(make##typeName)>); \
39 OUString sBorder = BuilderUtils::extractCustomProperty(rMap); \
41 if (!sBorder.isEmpty()) \
43 rRet = VclPtr<typeName>::Create(pParent,wb); \
46#define VCL_BUILDER_FACTORY_EXTERN(typeName) \
47 extern "C" void make##typeName(VclPtr<vcl::Window> & rRet, const VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap)