Re: [Ooodia-devel] Dia connectors support and OOo version compatibility
by Chris Lopes
I am using ooodia 1.1.0 from here: https://fedorahosted.org/releases/o/p/openoffice.org-diafilter/openoffice...
----- Original Message ----
From: Chris Lopes <clopes(a)yahoo.com>
To: Caolán McNamara <caolanm(a)redhat.com>
Cc: ooodia-devel(a)lists.fedorahosted.org
Sent: Thu, June 10, 2010 4:04:11 AM
Subject: Re: [Ooodia-devel] Dia connectors support and OOo version compatibility
I also get a similar error with OOo 3.2.1:
mkdir -p build/hpp
"/opt/openoffice.org/basis3.2/sdk/bin/cppumaker" -Gc -BUCR -O./build/hpp "/opt/openoffice.org/ure/share/misc/types.rdb" "/opt/openoffice.org/basis3.2/program/offapi.rdb"
echo flagged > build/hpp.flag
mkdir -p build/src
gcc -Isrc -Isrc/basegfx -g -c -O -fpic -Wall -Wno-non-virtual-dtor -Werror -Ibuild/hpp -I/opt/openoffice.org/basis3.2/sdk/include/stl -I/opt/openoffice.org/basis3.2/sdk/include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2 -obuild/src/services.o src/services.cxx
mkdir -p build/src
gcc -Isrc -Isrc/basegfx -g -c -O -fpic -Wall -Wno-non-virtual-dtor -Werror -Ibuild/hpp -I/opt/openoffice.org/basis3.2/sdk/include/stl -I/opt/openoffice.org/basis3.2/sdk/include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2 -obuild/src/diafilter.o src/diafilter.cxx
cc1plus: warnings being treated as errors
src/diafilter.cxx: In member function ‘void DiaImporter::addStrokeDash(PropertyMap&, sal_Int32, float)’:
src/diafilter.cxx:770: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘sal_Int32’
src/diafilter.cxx: In member function ‘virtual void DiaObject::writeConnectionPoints(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&) const’:
src/diafilter.cxx:959: error: call of overloaded ‘valueOf(int)’ is ambiguous
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1357: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1371: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1385: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1402: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1418: note: static rtl::OUString rtl::OUString::valueOf(float)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1434: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx: In member function ‘PropertyMap DiaObject::handleStandardObject(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, DiaImporter&)’:
src/diafilter.cxx:1115: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1357: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1371: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1385: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1402: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1418: note: static rtl::OUString rtl::OUString::valueOf(float)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1434: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx:1117: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1357: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1371: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1385: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1402: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1418: note: static rtl::OUString rtl::OUString::valueOf(float)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1434: note: static rtl::OUString rtl::OUString::valueOf(double)
make: *** [build/src/diafilter.o] Error 1
----- Original Message ----
From: Chris Lopes <clopes(a)yahoo.com>
To: Caolán McNamara <caolanm(a)redhat.com>
Cc: ooodia-devel(a)lists.fedorahosted.org
Sent: Thu, June 10, 2010 3:10:15 AM
Subject: Re: [Ooodia-devel] Dia connectors support and OOo version compatibility
Thanks. I got some initial errors when I ran "make" (listed at the very bottom)
I have version 3.0.1 of the OOo SDK and 0.97 of Dia.
I guess maybe this requires "boost-devel", which I now have.
But now I get this:
mkdir -p build/src
gcc -Isrc -Isrc/basegfx -g -c -O -fpic -Wall -Wno-non-virtual-dtor -Werror -Ibuild/hpp -I/usr/lib/openoffice.org/basis3.0/sdk/include/stl -I/usr/lib/openoffice.org/basis3.0/sdk/include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2 -obuild/src/diafilter.o src/diafilter.cxx
cc1plus: warnings being treated as errors
In file included from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.h:591,
from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_map.h:34,
from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/map:34,
from src/diafilter.cxx:45:
/usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.c: In member function ‘_STL::pair<_STL::_Rb_tree_iterator<_Value, _STL::_Nonconst_traits<_Value> >, bool> _STL::_Rb_tree<_Key, _Value, _KeyOfValue, _Compare, _Alloc>::insert_unique(const _Value&)’:
/usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.c:406: error: suggest explicit braces to avoid ambiguous ‘else’
src/diafilter.cxx: In member function ‘void DiaImporter::addStrokeDash(PropertyMap&, sal_Int32, float)’:
src/diafilter.cxx:770: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘sal_Int32’
src/diafilter.cxx: In member function ‘virtual void DiaObject::writeConnectionPoints(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&) const’:
src/diafilter.cxx:959: error: call of overloaded ‘valueOf(int)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx: In member function ‘PropertyMap DiaObject::handleStandardObject(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, DiaImporter&)’:
src/diafilter.cxx:1115: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx:1117: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
make: *** [build/src/diafilter.o] Error 1
====================================
Initial errors before boost-devel installed:
===========================================
mkdir -p build/hpp
"/usr/lib/openoffice.org/basis3.0/sdk/bin/cppumaker" -Gc -BUCR -O./build/hpp "/usr/lib/openoffice.org/ure/share/misc/types.rdb" "/usr/lib/openoffice.org/basis3.0/program/offapi.rdb"
echo flagged > build/hpp.flag
mkdir -p build/src
gcc -Isrc -Isrc/basegfx -g -c -O -fpic -Wall -Wno-non-virtual-dtor -Werror -Ibuild/hpp -I/usr/lib/openoffice.org/basis3.0/sdk/include/stl -I/usr/lib/openoffice.org/basis3.0/sdk/include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2 -obuild/src/services.o src/services.cxx
mkdir -p build/src
gcc -Isrc -Isrc/basegfx -g -c -O -fpic -Wall -Wno-non-virtual-dtor -Werror -Ibuild/hpp -I/usr/lib/openoffice.org/basis3.0/sdk/include/stl -I/usr/lib/openoffice.org/basis3.0/sdk/include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2 -obuild/src/diafilter.o src/diafilter.cxx
In file included from src/basegfx/polygon/b2dpolygon.hxx:34,
from src/diafilter.cxx:32:
src/o3tl/cow_wrapper.hxx:38:29: error: boost/utility.hpp: No such file or directory
src/o3tl/cow_wrapper.hxx:39:36: error: boost/checked_delete.hpp: No such file or directory
In file included from src/diafilter.cxx:41:
src/shapefilter.hxx:23:32: error: boost/shared_ptr.hpp: No such file or directory
src/diafilter.cxx:48:32: error: boost/scoped_ptr.hpp: No such file or directory
In file included from src/basegfx/polygon/b2dpolygon.hxx:34,
from src/diafilter.cxx:32:
src/o3tl/cow_wrapper.hxx:181: error: ‘boost’ has not been declared
src/o3tl/cow_wrapper.hxx:181: error: expected `{' before ‘noncopyable’
src/o3tl/cow_wrapper.hxx:181: error: function definition does not declare parameters
src/o3tl/cow_wrapper.hxx: In member function ‘void o3tl::cow_wrapper<T, MTPolicy>::release()’:
src/o3tl/cow_wrapper.hxx:202: error: ‘boost’ has not been declared
In file included from src/diafilter.cxx:41:
src/shapefilter.hxx: At global scope:
src/shapefilter.hxx:33: error: ‘boost’ was not declared in this scope
src/shapefilter.hxx:33: error: template argument 1 is invalid
src/shapefilter.hxx:33: error: template argument 2 is invalid
cc1plus: warnings being treated as errors
In file included from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.h:591,
from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_map.h:34,
from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/map:34,
from src/diafilter.cxx:45:
/usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.c: In member function ‘_STL::pair<_STL::_Rb_tree_iterator<_Value, _STL::_Nonconst_traits<_Value> >, bool> _STL::_Rb_tree<_Key, _Value, _KeyOfValue, _Compare, _Alloc>::insert_unique(const _Value&)’:
/usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.c:406: error: suggest explicit braces to avoid ambiguous ‘else’
src/diafilter.cxx: At global scope:
src/diafilter.cxx:60: error: ‘boost’ was not declared in this scope
src/diafilter.cxx:60: error: wrong number of template arguments (1, should be 2)
/usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_pair.h:37: error: provided for ‘template<class _T1, class _T2> struct _STL::pair’
src/diafilter.cxx:60: error: invalid type in declaration before ‘;’ token
src/diafilter.cxx:61: error: ‘boost’ has not been declared
src/diafilter.cxx:61: error: expected initializer before ‘<’ token
src/diafilter.cxx:79: error: ‘shapetemplate’ was not declared in this scope
src/diafilter.cxx:79: error: template argument 2 is invalid
src/diafilter.cxx:79: error: template argument 4 is invalid
src/diafilter.cxx:87: error: ‘boost’ has not been declared
src/diafilter.cxx:87: error: ISO C++ forbids declaration of ‘scoped_ptr’ with no type
src/diafilter.cxx:87: error: expected ‘;’ before ‘<’ token
src/diafilter.cxx:88: error: ‘boost’ has not been declared
src/diafilter.cxx:88: error: ISO C++ forbids declaration of ‘scoped_ptr’ with no type
src/diafilter.cxx:88: error: expected ‘;’ before ‘<’ token
src/diafilter.cxx:121: error: ‘shapetemplate’ does not name a type
src/diafilter.cxx: In member function ‘void DiaImporter::handleDiagramDataPaperComposite(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&)’:
src/diafilter.cxx:653: error: ‘page_layout_properties’ was not declared in this scope
src/diafilter.cxx: In member function ‘void DiaImporter::handleDiagramDataBackGroundColor(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&)’:
src/diafilter.cxx:688: error: ‘drawing_page_properties’ was not declared in this scope
src/diafilter.cxx: In member function ‘void DiaImporter::addStrokeDash(PropertyMap&, sal_Int32, float)’:
src/diafilter.cxx:770: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘sal_Int32’
src/diafilter.cxx: In member function ‘virtual void DiaObject::writeConnectionPoints(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&) const’:
src/diafilter.cxx:959: error: call of overloaded ‘valueOf(int)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx: In member function ‘PropertyMap DiaObject::handleStandardObject(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, DiaImporter&)’:
src/diafilter.cxx:1115: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx:1117: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx: At global scope:
src/diafilter.cxx:1551: error: ‘shapetemplate’ does not name a type
src/diafilter.cxx:1553: error: expected `)' before ‘aTemplate’
src/diafilter.cxx: In member function ‘virtual PropertyMap CustomObject::import(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, DiaImporter&)’:
src/diafilter.cxx:1564: error: ‘maTemplate’ was not declared in this scope
src/diafilter.cxx: In member function ‘virtual void CustomObject::write(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&, const PropertyMap&) const’:
src/diafilter.cxx:1581: error: ‘maTemplate’ was not declared in this scope
src/diafilter.cxx: At global scope:
src/diafilter.cxx:1829: error: ‘shapetemplate’ does not name a type
src/diafilter.cxx: In member function ‘void DiaImporter::importShape(const rtl::OUString&)’:
src/diafilter.cxx:1868: error: ‘shapetemplate’ was not declared in this scope
src/diafilter.cxx:1868: error: expected `;' before ‘pTemplate’
src/diafilter.cxx:1869: error: ‘pTemplate’ was not declared in this scope
src/diafilter.cxx: In member function ‘void DiaImporter::handleObject(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, shapes&)’:
src/diafilter.cxx:1998: error: ‘boost’ has not been declared
src/diafilter.cxx:1998: error: expected primary-expression before ‘>’ token
src/diafilter.cxx:1998: error: ‘diaobj’ was not declared in this scope
src/diafilter.cxx:2031: error: ‘shapetemplate’ was not declared in this scope
src/diafilter.cxx:2031: error: expected `;' before ‘aTemplate’
src/diafilter.cxx:2032: error: ‘aTemplate’ was not declared in this scope
src/diafilter.cxx:2042: error: functional cast expression list treated as compound expression
src/diafilter.cxx: In member function ‘void DiaImporter::writeShapes()’:
src/diafilter.cxx:2049: error: request for member ‘first’ in ‘* aI’, which is of non-class type ‘const int’
src/diafilter.cxx:2049: error: request for member ‘second’ in ‘* aI’, which is of non-class type ‘const int’
src/diafilter.cxx: In member function ‘virtual void GroupObject::write(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&, const PropertyMap&) const’:
src/diafilter.cxx:2099: error: request for member ‘first’ in ‘* aI’, which is of non-class type ‘const int’
src/diafilter.cxx:2099: error: request for member ‘second’ in ‘* aI’, which is of non-class type ‘const int’
src/diafilter.cxx: In member function ‘void DiaImporter::handleGroup(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, shapes&)’:
src/diafilter.cxx:2111: error: ‘boost’ has not been declared
src/diafilter.cxx:2111: error: expected primary-expression before ‘>’ token
src/diafilter.cxx:2111: error: ‘diaobj’ was not declared in this scope
src/diafilter.cxx:2131: error: functional cast expression list treated as compound expression
src/diafilter.cxx: In member function ‘void DiaImporter::writeResults()’:
src/diafilter.cxx:2202: error: ‘page_layout_properties’ was not declared in this scope
src/diafilter.cxx:2210: error: ‘drawing_page_properties’ was not declared in this scope
src/diafilter.cxx:2237: error: ‘page_layout_properties’ was not declared in this scope
src/diafilter.cxx:2239: error: ‘drawing_page_properties’ was not declared in this scope
src/diafilter.cxx:2249: error: ‘drawing_page_properties’ was not declared in this scope
make: *** [build/src/diafilter.o] Error 1
----- Original Message ----
From: Caolán McNamara <caolanm(a)redhat.com>
To: Chris Lopes <clopes(a)yahoo.com>
Cc: ooodia-devel(a)lists.fedorahosted.org
Sent: Thu, June 10, 2010 2:23:11 AM
Subject: Re: [Ooodia-devel] Dia connectors support and OOo version compatibility
On Wed, 2010-06-09 at 12:14 -0700, Chris Lopes wrote:
> Hi,
>
> I haven't yet tried to compile or use this, but I have a couple of
> questions: 1) Does it support connectors? That is, if I connect 2
> shapes to one another with a connector in Dia, will OpenOffice Draw
> import the connector correctly so that it is still bound to the
> shapes?
In general, yes. There is a bit of a problem with some edge-cases of
connectors that connect to connectors due to the current inability of
OOo to have glue points on connectors themselves, i.e.
http://qa.openoffice.org/issues/show_bug.cgi?id=18806
> What about grouped objects? Are they retained?
Yes, at least, they *should* work.
> 2) What version of OOo and Dia is it known to work with?
Definitely >= 3.2.0, but more than likely it works with anything >=
3.0.0. The build requirement on dia itself is because most of dia shapes
are defined in cut-down svg files in the dia distribution, best to use
the latest stable dia, but in practice any version will do.
C.
13 years, 10 months
Re: [Ooodia-devel] Dia connectors support and OOo version compatibility
by Chris Lopes
I also get a similar error with OOo 3.2.1:
mkdir -p build/hpp
"/opt/openoffice.org/basis3.2/sdk/bin/cppumaker" -Gc -BUCR -O./build/hpp "/opt/openoffice.org/ure/share/misc/types.rdb" "/opt/openoffice.org/basis3.2/program/offapi.rdb"
echo flagged > build/hpp.flag
mkdir -p build/src
gcc -Isrc -Isrc/basegfx -g -c -O -fpic -Wall -Wno-non-virtual-dtor -Werror -Ibuild/hpp -I/opt/openoffice.org/basis3.2/sdk/include/stl -I/opt/openoffice.org/basis3.2/sdk/include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2 -obuild/src/services.o src/services.cxx
mkdir -p build/src
gcc -Isrc -Isrc/basegfx -g -c -O -fpic -Wall -Wno-non-virtual-dtor -Werror -Ibuild/hpp -I/opt/openoffice.org/basis3.2/sdk/include/stl -I/opt/openoffice.org/basis3.2/sdk/include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2 -obuild/src/diafilter.o src/diafilter.cxx
cc1plus: warnings being treated as errors
src/diafilter.cxx: In member function ‘void DiaImporter::addStrokeDash(PropertyMap&, sal_Int32, float)’:
src/diafilter.cxx:770: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘sal_Int32’
src/diafilter.cxx: In member function ‘virtual void DiaObject::writeConnectionPoints(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&) const’:
src/diafilter.cxx:959: error: call of overloaded ‘valueOf(int)’ is ambiguous
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1357: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1371: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1385: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1402: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1418: note: static rtl::OUString rtl::OUString::valueOf(float)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1434: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx: In member function ‘PropertyMap DiaObject::handleStandardObject(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, DiaImporter&)’:
src/diafilter.cxx:1115: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1357: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1371: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1385: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1402: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1418: note: static rtl::OUString rtl::OUString::valueOf(float)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1434: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx:1117: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1357: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1371: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1385: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1402: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1418: note: static rtl::OUString rtl::OUString::valueOf(float)
/opt/openoffice.org/basis3.2/sdk/include/rtl/ustring.hxx:1434: note: static rtl::OUString rtl::OUString::valueOf(double)
make: *** [build/src/diafilter.o] Error 1
----- Original Message ----
From: Chris Lopes <clopes(a)yahoo.com>
To: Caolán McNamara <caolanm(a)redhat.com>
Cc: ooodia-devel(a)lists.fedorahosted.org
Sent: Thu, June 10, 2010 3:10:15 AM
Subject: Re: [Ooodia-devel] Dia connectors support and OOo version compatibility
Thanks. I got some initial errors when I ran "make" (listed at the very bottom)
I have version 3.0.1 of the OOo SDK and 0.97 of Dia.
I guess maybe this requires "boost-devel", which I now have.
But now I get this:
mkdir -p build/src
gcc -Isrc -Isrc/basegfx -g -c -O -fpic -Wall -Wno-non-virtual-dtor -Werror -Ibuild/hpp -I/usr/lib/openoffice.org/basis3.0/sdk/include/stl -I/usr/lib/openoffice.org/basis3.0/sdk/include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2 -obuild/src/diafilter.o src/diafilter.cxx
cc1plus: warnings being treated as errors
In file included from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.h:591,
from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_map.h:34,
from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/map:34,
from src/diafilter.cxx:45:
/usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.c: In member function ‘_STL::pair<_STL::_Rb_tree_iterator<_Value, _STL::_Nonconst_traits<_Value> >, bool> _STL::_Rb_tree<_Key, _Value, _KeyOfValue, _Compare, _Alloc>::insert_unique(const _Value&)’:
/usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.c:406: error: suggest explicit braces to avoid ambiguous ‘else’
src/diafilter.cxx: In member function ‘void DiaImporter::addStrokeDash(PropertyMap&, sal_Int32, float)’:
src/diafilter.cxx:770: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘sal_Int32’
src/diafilter.cxx: In member function ‘virtual void DiaObject::writeConnectionPoints(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&) const’:
src/diafilter.cxx:959: error: call of overloaded ‘valueOf(int)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx: In member function ‘PropertyMap DiaObject::handleStandardObject(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, DiaImporter&)’:
src/diafilter.cxx:1115: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx:1117: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
make: *** [build/src/diafilter.o] Error 1
====================================
Initial errors before boost-devel installed:
===========================================
mkdir -p build/hpp
"/usr/lib/openoffice.org/basis3.0/sdk/bin/cppumaker" -Gc -BUCR -O./build/hpp "/usr/lib/openoffice.org/ure/share/misc/types.rdb" "/usr/lib/openoffice.org/basis3.0/program/offapi.rdb"
echo flagged > build/hpp.flag
mkdir -p build/src
gcc -Isrc -Isrc/basegfx -g -c -O -fpic -Wall -Wno-non-virtual-dtor -Werror -Ibuild/hpp -I/usr/lib/openoffice.org/basis3.0/sdk/include/stl -I/usr/lib/openoffice.org/basis3.0/sdk/include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2 -obuild/src/services.o src/services.cxx
mkdir -p build/src
gcc -Isrc -Isrc/basegfx -g -c -O -fpic -Wall -Wno-non-virtual-dtor -Werror -Ibuild/hpp -I/usr/lib/openoffice.org/basis3.0/sdk/include/stl -I/usr/lib/openoffice.org/basis3.0/sdk/include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2 -obuild/src/diafilter.o src/diafilter.cxx
In file included from src/basegfx/polygon/b2dpolygon.hxx:34,
from src/diafilter.cxx:32:
src/o3tl/cow_wrapper.hxx:38:29: error: boost/utility.hpp: No such file or directory
src/o3tl/cow_wrapper.hxx:39:36: error: boost/checked_delete.hpp: No such file or directory
In file included from src/diafilter.cxx:41:
src/shapefilter.hxx:23:32: error: boost/shared_ptr.hpp: No such file or directory
src/diafilter.cxx:48:32: error: boost/scoped_ptr.hpp: No such file or directory
In file included from src/basegfx/polygon/b2dpolygon.hxx:34,
from src/diafilter.cxx:32:
src/o3tl/cow_wrapper.hxx:181: error: ‘boost’ has not been declared
src/o3tl/cow_wrapper.hxx:181: error: expected `{' before ‘noncopyable’
src/o3tl/cow_wrapper.hxx:181: error: function definition does not declare parameters
src/o3tl/cow_wrapper.hxx: In member function ‘void o3tl::cow_wrapper<T, MTPolicy>::release()’:
src/o3tl/cow_wrapper.hxx:202: error: ‘boost’ has not been declared
In file included from src/diafilter.cxx:41:
src/shapefilter.hxx: At global scope:
src/shapefilter.hxx:33: error: ‘boost’ was not declared in this scope
src/shapefilter.hxx:33: error: template argument 1 is invalid
src/shapefilter.hxx:33: error: template argument 2 is invalid
cc1plus: warnings being treated as errors
In file included from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.h:591,
from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_map.h:34,
from /usr/lib/openoffice.org/basis3.0/sdk/include/stl/map:34,
from src/diafilter.cxx:45:
/usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.c: In member function ‘_STL::pair<_STL::_Rb_tree_iterator<_Value, _STL::_Nonconst_traits<_Value> >, bool> _STL::_Rb_tree<_Key, _Value, _KeyOfValue, _Compare, _Alloc>::insert_unique(const _Value&)’:
/usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_tree.c:406: error: suggest explicit braces to avoid ambiguous ‘else’
src/diafilter.cxx: At global scope:
src/diafilter.cxx:60: error: ‘boost’ was not declared in this scope
src/diafilter.cxx:60: error: wrong number of template arguments (1, should be 2)
/usr/lib/openoffice.org/basis3.0/sdk/include/stl/stl/_pair.h:37: error: provided for ‘template<class _T1, class _T2> struct _STL::pair’
src/diafilter.cxx:60: error: invalid type in declaration before ‘;’ token
src/diafilter.cxx:61: error: ‘boost’ has not been declared
src/diafilter.cxx:61: error: expected initializer before ‘<’ token
src/diafilter.cxx:79: error: ‘shapetemplate’ was not declared in this scope
src/diafilter.cxx:79: error: template argument 2 is invalid
src/diafilter.cxx:79: error: template argument 4 is invalid
src/diafilter.cxx:87: error: ‘boost’ has not been declared
src/diafilter.cxx:87: error: ISO C++ forbids declaration of ‘scoped_ptr’ with no type
src/diafilter.cxx:87: error: expected ‘;’ before ‘<’ token
src/diafilter.cxx:88: error: ‘boost’ has not been declared
src/diafilter.cxx:88: error: ISO C++ forbids declaration of ‘scoped_ptr’ with no type
src/diafilter.cxx:88: error: expected ‘;’ before ‘<’ token
src/diafilter.cxx:121: error: ‘shapetemplate’ does not name a type
src/diafilter.cxx: In member function ‘void DiaImporter::handleDiagramDataPaperComposite(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&)’:
src/diafilter.cxx:653: error: ‘page_layout_properties’ was not declared in this scope
src/diafilter.cxx: In member function ‘void DiaImporter::handleDiagramDataBackGroundColor(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&)’:
src/diafilter.cxx:688: error: ‘drawing_page_properties’ was not declared in this scope
src/diafilter.cxx: In member function ‘void DiaImporter::addStrokeDash(PropertyMap&, sal_Int32, float)’:
src/diafilter.cxx:770: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘sal_Int32’
src/diafilter.cxx: In member function ‘virtual void DiaObject::writeConnectionPoints(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&) const’:
src/diafilter.cxx:959: error: call of overloaded ‘valueOf(int)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx: In member function ‘PropertyMap DiaObject::handleStandardObject(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, DiaImporter&)’:
src/diafilter.cxx:1115: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx:1117: error: call of overloaded ‘valueOf(int&)’ is ambiguous
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1360: note: candidates are: static rtl::OUString rtl::OUString::valueOf(sal_Bool)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1374: note: static rtl::OUString rtl::OUString::valueOf(sal_Unicode)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1388: note: static rtl::OUString rtl::OUString::valueOf(sal_Int32, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1405: note: static rtl::OUString rtl::OUString::valueOf(sal_Int64, sal_Int16)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1421: note: static rtl::OUString rtl::OUString::valueOf(float)
/usr/lib/openoffice.org/basis3.0/sdk/include/rtl/ustring.hxx:1437: note: static rtl::OUString rtl::OUString::valueOf(double)
src/diafilter.cxx: At global scope:
src/diafilter.cxx:1551: error: ‘shapetemplate’ does not name a type
src/diafilter.cxx:1553: error: expected `)' before ‘aTemplate’
src/diafilter.cxx: In member function ‘virtual PropertyMap CustomObject::import(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, DiaImporter&)’:
src/diafilter.cxx:1564: error: ‘maTemplate’ was not declared in this scope
src/diafilter.cxx: In member function ‘virtual void CustomObject::write(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&, const PropertyMap&) const’:
src/diafilter.cxx:1581: error: ‘maTemplate’ was not declared in this scope
src/diafilter.cxx: At global scope:
src/diafilter.cxx:1829: error: ‘shapetemplate’ does not name a type
src/diafilter.cxx: In member function ‘void DiaImporter::importShape(const rtl::OUString&)’:
src/diafilter.cxx:1868: error: ‘shapetemplate’ was not declared in this scope
src/diafilter.cxx:1868: error: expected `;' before ‘pTemplate’
src/diafilter.cxx:1869: error: ‘pTemplate’ was not declared in this scope
src/diafilter.cxx: In member function ‘void DiaImporter::handleObject(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, shapes&)’:
src/diafilter.cxx:1998: error: ‘boost’ has not been declared
src/diafilter.cxx:1998: error: expected primary-expression before ‘>’ token
src/diafilter.cxx:1998: error: ‘diaobj’ was not declared in this scope
src/diafilter.cxx:2031: error: ‘shapetemplate’ was not declared in this scope
src/diafilter.cxx:2031: error: expected `;' before ‘aTemplate’
src/diafilter.cxx:2032: error: ‘aTemplate’ was not declared in this scope
src/diafilter.cxx:2042: error: functional cast expression list treated as compound expression
src/diafilter.cxx: In member function ‘void DiaImporter::writeShapes()’:
src/diafilter.cxx:2049: error: request for member ‘first’ in ‘* aI’, which is of non-class type ‘const int’
src/diafilter.cxx:2049: error: request for member ‘second’ in ‘* aI’, which is of non-class type ‘const int’
src/diafilter.cxx: In member function ‘virtual void GroupObject::write(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&, const PropertyMap&) const’:
src/diafilter.cxx:2099: error: request for member ‘first’ in ‘* aI’, which is of non-class type ‘const int’
src/diafilter.cxx:2099: error: request for member ‘second’ in ‘* aI’, which is of non-class type ‘const int’
src/diafilter.cxx: In member function ‘void DiaImporter::handleGroup(const com::sun::star::uno::Reference<com::sun::star::xml::dom::XElement>&, shapes&)’:
src/diafilter.cxx:2111: error: ‘boost’ has not been declared
src/diafilter.cxx:2111: error: expected primary-expression before ‘>’ token
src/diafilter.cxx:2111: error: ‘diaobj’ was not declared in this scope
src/diafilter.cxx:2131: error: functional cast expression list treated as compound expression
src/diafilter.cxx: In member function ‘void DiaImporter::writeResults()’:
src/diafilter.cxx:2202: error: ‘page_layout_properties’ was not declared in this scope
src/diafilter.cxx:2210: error: ‘drawing_page_properties’ was not declared in this scope
src/diafilter.cxx:2237: error: ‘page_layout_properties’ was not declared in this scope
src/diafilter.cxx:2239: error: ‘drawing_page_properties’ was not declared in this scope
src/diafilter.cxx:2249: error: ‘drawing_page_properties’ was not declared in this scope
make: *** [build/src/diafilter.o] Error 1
----- Original Message ----
From: Caolán McNamara <caolanm(a)redhat.com>
To: Chris Lopes <clopes(a)yahoo.com>
Cc: ooodia-devel(a)lists.fedorahosted.org
Sent: Thu, June 10, 2010 2:23:11 AM
Subject: Re: [Ooodia-devel] Dia connectors support and OOo version compatibility
On Wed, 2010-06-09 at 12:14 -0700, Chris Lopes wrote:
> Hi,
>
> I haven't yet tried to compile or use this, but I have a couple of
> questions: 1) Does it support connectors? That is, if I connect 2
> shapes to one another with a connector in Dia, will OpenOffice Draw
> import the connector correctly so that it is still bound to the
> shapes?
In general, yes. There is a bit of a problem with some edge-cases of
connectors that connect to connectors due to the current inability of
OOo to have glue points on connectors themselves, i.e.
http://qa.openoffice.org/issues/show_bug.cgi?id=18806
> What about grouped objects? Are they retained?
Yes, at least, they *should* work.
> 2) What version of OOo and Dia is it known to work with?
Definitely >= 3.2.0, but more than likely it works with anything >=
3.0.0. The build requirement on dia itself is because most of dia shapes
are defined in cut-down svg files in the dia distribution, best to use
the latest stable dia, but in practice any version will do.
C.
13 years, 10 months
Dia connectors support and OOo version compatibility
by Chris Lopes
Hi,
I haven't yet tried to compile or use this, but I have a couple of questions:
1) Does it support connectors? That is, if I connect 2 shapes to one another with a connector in Dia, will OpenOffice Draw import the connector correctly so that it is still bound to the shapes? What about grouped objects? Are they retained?
2) What version of OOo and Dia is it known to work with?
Thanks
13 years, 10 months