[nicholas ferguson]
in sc/qa/.../qahelper.cxx
line 544
SfxItemSet* pSet = pSrcMed-GetItemSet();
pSet-Put(SfxUInt16Item(SID_MACROEXECMODE,::com::sun::star::document::MacroExecMode::ALWAYS_EXECUTE_NO_WARN));
and add include
#include com/sun/star/document/MacroExecMode.hdl
This does work. But
On Fri, 2014-11-28 at 09:04 -0500, nicholas ferguson wrote:
People who work with VB code in spreadsheets understand that enabling macros
is essential.
open up an excel with macros enabled.
open up an excel s.h ...macros were not enabled. Enable them, without
closing the s/h.
On 11/27/2014 01:54 AM, nicholas ferguson wrote:
I can do
Line 544
SfxItemSet* pSet = pSrcMed-GetItemSet();
pSet-Put(SfxUInt16Item(SID_MACROEXECMODE,::com::sun::star::document::MacroExecMode::ALWAYS_EXECUTE_NO_WARN));
and add include
#include com/sun/star/document/MacroExecMode.hdl
On 18.11.2014 23:21, ad...@wingarch.xohost.com wrote:
Hi,
Can anyone send me how to access and change a level of the
MacroSecurityLevel?
In
qa\xmlsecurity\qa\certext\SanCertExt.cxx there is an example of security
for certificates?
How do I write someting similar for
] the MacroSecurityLevel is just a configuration entry, see
officecfg/registry/schema/org/openoffice/Office/Common.xcs.
] there is already one unit test that sets the MacroSecurityLevel:
] dbaccess/qa/complex/dbaccess/DatabaseDocument.java
(from JunitTest_dbaccess_complex)
[nicholas
I can do
Line 544
SfxItemSet* pSet = pSrcMed-GetItemSet();
pSet-Put(SfxUInt16Item(SID_MACROEXECMODE,::com::sun::star::document::MacroExecMode::ALWAYS_EXECUTE_NO_WARN));
and add include
#include com/sun/star/document/MacroExecMode.hdl
[nicholas ferguson]
This does work. But someone needs