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
> [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
> This does work. But someone needs to write a CPP
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
[nicholas ferguson]
This does work. But someo
>> 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
[nicholas ferguson]
This does work. But someone needs to write a CPP Unit test
] > 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 ferg
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 s
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 chaning a Macro Security Level?
_