txtprmap.cxx (63bba73c) txtprmap.cxx (1d438f2a)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 23 unchanged lines hidden (view full) ---

32#include <xmloff/xmltoken.hxx>
33#include "txtprhdl.hxx"
34
35using namespace ::com::sun::star;
36using namespace ::com::sun::star::uno;
37using namespace ::xmloff::token;
38
39#define _M_E( a, p, l, t, c ) \
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 23 unchanged lines hidden (view full) ---

32#include <xmloff/xmltoken.hxx>
33#include "txtprhdl.hxx"
34
35using namespace ::com::sun::star;
36using namespace ::com::sun::star::uno;
37using namespace ::xmloff::token;
38
39#define _M_E( a, p, l, t, c ) \
40 { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, t, c, SvtSaveOptions::ODFVER_010 }
40 { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, static_cast<sal_Int32>(t), c, SvtSaveOptions::ODFVER_010 }
41
42#define _M_EV( a, p, l, t, c, v ) \
41
42#define _M_EV( a, p, l, t, c, v ) \
43 { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, t, c, v }
43 { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, static_cast<sal_Int32>(t), c, v }
44
45#define _M_ED( a, p, l, t, c ) \
44
45#define _M_ED( a, p, l, t, c ) \
46 { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, (t) | MID_FLAG_DEFAULT_ITEM_EXPORT, c, SvtSaveOptions::ODFVER_010 }
46 { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, static_cast<sal_Int32>((t) | MID_FLAG_DEFAULT_ITEM_EXPORT), c, SvtSaveOptions::ODFVER_010 }
47
48// text properties
49#define MT_E( a, p, l, t, c ) \
50 _M_E( a, p, l, (t|XML_TYPE_PROP_TEXT), c )
51#define MT_ED( a, p, l, t, c ) \
52 _M_ED( a, p, l, (t|XML_TYPE_PROP_TEXT), c )
53
54// paragraph properties

--- 848 unchanged lines hidden ---
47
48// text properties
49#define MT_E( a, p, l, t, c ) \
50 _M_E( a, p, l, (t|XML_TYPE_PROP_TEXT), c )
51#define MT_ED( a, p, l, t, c ) \
52 _M_ED( a, p, l, (t|XML_TYPE_PROP_TEXT), c )
53
54// paragraph properties

--- 848 unchanged lines hidden ---