Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
722fffd6
Kaydet (Commit)
722fffd6
authored
Kas 22, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some svgio clean-up
Change-Id: I48adf3b0500f3e4e37fbe444f8a0773d273e09d2
üst
90ddb6cc
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
64 additions
and
215 deletions
+64
-215
Library_svgio.mk
svgio/Library_svgio.mk
+3
-7
Module_svgio.mk
svgio/Module_svgio.mk
+0
-1
Package_inc.mk
svgio/Package_inc.mk
+0
-50
precompiled_svgio.cxx
svgio/inc/pch/precompiled_svgio.cxx
+0
-22
precompiled_svgio.hxx
svgio/inc/pch/precompiled_svgio.hxx
+0
-25
svgcharacternode.hxx
svgio/inc/svgio/svgreader/svgcharacternode.hxx
+0
-1
svgcirclenode.hxx
svgio/inc/svgio/svgreader/svgcirclenode.hxx
+0
-1
svgclippathnode.hxx
svgio/inc/svgio/svgreader/svgclippathnode.hxx
+0
-1
svgdocument.hxx
svgio/inc/svgio/svgreader/svgdocument.hxx
+0
-1
svgdocumenthandler.hxx
svgio/inc/svgio/svgreader/svgdocumenthandler.hxx
+0
-1
svgellipsenode.hxx
svgio/inc/svgio/svgreader/svgellipsenode.hxx
+0
-1
svggnode.hxx
svgio/inc/svgio/svgreader/svggnode.hxx
+0
-1
svggradientnode.hxx
svgio/inc/svgio/svgreader/svggradientnode.hxx
+0
-1
svggradientstopnode.hxx
svgio/inc/svgio/svgreader/svggradientstopnode.hxx
+0
-1
svgimagenode.hxx
svgio/inc/svgio/svgreader/svgimagenode.hxx
+0
-1
svglinenode.hxx
svgio/inc/svgio/svgreader/svglinenode.hxx
+0
-1
svgmarkernode.hxx
svgio/inc/svgio/svgreader/svgmarkernode.hxx
+0
-1
svgmasknode.hxx
svgio/inc/svgio/svgreader/svgmasknode.hxx
+0
-1
svgnode.hxx
svgio/inc/svgio/svgreader/svgnode.hxx
+0
-1
svgpaint.hxx
svgio/inc/svgio/svgreader/svgpaint.hxx
+0
-1
svgpathnode.hxx
svgio/inc/svgio/svgreader/svgpathnode.hxx
+0
-1
svgpatternnode.hxx
svgio/inc/svgio/svgreader/svgpatternnode.hxx
+0
-1
svgpolynode.hxx
svgio/inc/svgio/svgreader/svgpolynode.hxx
+0
-1
svgrectnode.hxx
svgio/inc/svgio/svgreader/svgrectnode.hxx
+0
-1
svgstyleattributes.hxx
svgio/inc/svgio/svgreader/svgstyleattributes.hxx
+0
-1
svgstylenode.hxx
svgio/inc/svgio/svgreader/svgstylenode.hxx
+0
-1
svgsvgnode.hxx
svgio/inc/svgio/svgreader/svgsvgnode.hxx
+0
-1
svgsymbolnode.hxx
svgio/inc/svgio/svgreader/svgsymbolnode.hxx
+0
-1
svgtextnode.hxx
svgio/inc/svgio/svgreader/svgtextnode.hxx
+0
-1
svgtextpathnode.hxx
svgio/inc/svgio/svgreader/svgtextpathnode.hxx
+0
-1
svgtoken.hxx
svgio/inc/svgio/svgreader/svgtoken.hxx
+0
-1
svgtools.hxx
svgio/inc/svgio/svgreader/svgtools.hxx
+0
-1
svgtrefnode.hxx
svgio/inc/svgio/svgreader/svgtrefnode.hxx
+0
-1
svgtspannode.hxx
svgio/inc/svgio/svgreader/svgtspannode.hxx
+0
-1
svgusenode.hxx
svgio/inc/svgio/svgreader/svgusenode.hxx
+0
-1
svguno.cxx
svgio/source/svguno/svguno.cxx
+16
-62
xsvgparser.cxx
svgio/source/svguno/xsvgparser.cxx
+15
-8
xsvgparser.hxx
svgio/source/svguno/xsvgparser.hxx
+29
-9
svgio.component
svgio/svgio.component
+1
-1
No files found.
svgio/Library_svgio.mk
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,20 +20,16 @@ $(eval $(call gb_Library_Library,svgio))
$(eval $(call gb_Library_set_componentfile,svgio,svgio/svgio))
$(eval $(call gb_Library_use_packages,svgio,\
svgio_inc \
$(eval $(call gb_Library_set_include,svgio,\
$$(INCLUDE) \
-I$(SRCDIR)/svgio/inc \
))
$(eval $(call gb_Library_use_sdk_api,svgio))
$(eval $(call gb_Library_add_defs,svgio,\
-DSVGIO_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_use_libraries,svgio,\
basegfx \
drawinglayer \
comphelper \
cppu \
cppuhelper \
sal \
...
...
svgio/Module_svgio.mk
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@ $(eval $(call gb_Module_Module,svgio))
$(eval $(call gb_Module_add_targets,svgio,\
Library_svgio \
Package_inc \
))
# vim: set noet ts=4 sw=4:
svgio/Package_inc.mk
deleted
100644 → 0
Dosyayı görüntüle @
90ddb6cc
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
$(eval $(call gb_Package_Package,svgio_inc,$(SRCDIR)/svgio/inc))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgiodllapi.h,svgio/svgiodllapi.h))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgcharacternode.hxx,svgio/svgreader/svgcharacternode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgcirclenode.hxx,svgio/svgreader/svgcirclenode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgclippathnode.hxx,svgio/svgreader/svgclippathnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgdocument.hxx,svgio/svgreader/svgdocument.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgdocumenthandler.hxx,svgio/svgreader/svgdocumenthandler.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgellipsenode.hxx,svgio/svgreader/svgellipsenode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svggnode.hxx,svgio/svgreader/svggnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svggradientnode.hxx,svgio/svgreader/svggradientnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svggradientstopnode.hxx,svgio/svgreader/svggradientstopnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgimagenode.hxx,svgio/svgreader/svgimagenode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svglinenode.hxx,svgio/svgreader/svglinenode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgnode.hxx,svgio/svgreader/svgnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgmarkernode.hxx,svgio/svgreader/svgmarkernode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgmasknode.hxx,svgio/svgreader/svgmasknode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgpaint.hxx,svgio/svgreader/svgpaint.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgpathnode.hxx,svgio/svgreader/svgpathnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgpatternnode.hxx,svgio/svgreader/svgpatternnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgpolynode.hxx,svgio/svgreader/svgpolynode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgrectnode.hxx,svgio/svgreader/svgrectnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgstyleattributes.hxx,svgio/svgreader/svgstyleattributes.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgstylenode.hxx,svgio/svgreader/svgstylenode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgsvgnode.hxx,svgio/svgreader/svgsvgnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgsymbolnode.hxx,svgio/svgreader/svgsymbolnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgtextnode.hxx,svgio/svgreader/svgtextnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgtoken.hxx,svgio/svgreader/svgtoken.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgtrefnode.hxx,svgio/svgreader/svgtrefnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgtools.hxx,svgio/svgreader/svgtools.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgtextpathnode.hxx,svgio/svgreader/svgtextpathnode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgtspannode.hxx,svgio/svgreader/svgtspannode.hxx))
$(eval $(call gb_Package_add_file,svgio_inc,inc/svgio/svgreader/svgusenode.hxx,svgio/svgreader/svgusenode.hxx))
svgio/inc/pch/precompiled_svgio.cxx
deleted
100644 → 0
Dosyayı görüntüle @
90ddb6cc
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "precompiled_svgio.hxx"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svgio/inc/pch/precompiled_svgio.hxx
deleted
100644 → 0
Dosyayı görüntüle @
90ddb6cc
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
// MARKER(update_precomp.py): Generated on 2006-09-01 17:49:30.796084
#ifdef PRECOMPILED_HEADERS
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svgio/inc/svgio/svgreader/svgcharacternode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGCHARACTERNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGCHARACTERNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
//////////////////////////////////////////////////////////////////////////////
...
...
svgio/inc/svgio/svgreader/svgcirclenode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGCIRCLENODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGCIRCLENODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svgclippathnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGCLIPPATHNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGCLIPPATHNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svgdocument.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGDOCUMENT_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGDOCUMENT_HXX
#include <svgio/svgiodllapi.h>
#include <boost/utility.hpp>
#include <svgio/svgreader/svgnode.hxx>
...
...
svgio/inc/svgio/svgreader/svgdocumenthandler.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGDOCUMENTHANDLER_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGDOCUMENTHANDLER_HXX
#include <svgio/svgiodllapi.h>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <svgio/svgreader/svgdocument.hxx>
...
...
svgio/inc/svgio/svgreader/svgellipsenode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGELLIPSENODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGELLIPSENODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svggnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGGNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGGNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svggradientnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGGRADIENTNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGGRADIENTNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
#include <drawinglayer/primitive2d/svggradientprimitive2d.hxx>
...
...
svgio/inc/svgio/svgreader/svggradientstopnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGGRADIENTSTOPNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGGRADIENTSTOPNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svgimagenode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGIMAGENODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGIMAGENODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svglinenode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGLINENODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGLINENODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svgmarkernode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGMARKERNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGMARKERNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svgmasknode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGMASKNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGMASKNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svgnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgtools.hxx>
#include <svgio/svgreader/svgtoken.hxx>
#include <svgio/svgreader/svgpaint.hxx>
...
...
svgio/inc/svgio/svgreader/svgpaint.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGPAINT_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGPAINT_HXX
#include <svgio/svgiodllapi.h>
#include <basegfx/color/bcolor.hxx>
//////////////////////////////////////////////////////////////////////////////
...
...
svgio/inc/svgio/svgreader/svgpathnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGPATHNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGPATHNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svgpatternnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGPATTERNNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGPATTERNNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svgpolynode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGPOLYNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGPOLYNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
...
...
svgio/inc/svgio/svgreader/svgrectnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGRECTNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGRECTNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svgstyleattributes.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGSTYLEATTRIBUTES_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGSTYLEATTRIBUTES_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgpaint.hxx>
#include <svgio/svgreader/svgnode.hxx>
#include <vcl/vclenum.hxx>
...
...
svgio/inc/svgio/svgreader/svgstylenode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGSTYLENODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGSTYLENODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/inc/svgio/svgreader/svgsvgnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGSVGNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGSVGNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgstyleattributes.hxx>
//////////////////////////////////////////////////////////////////////////////
...
...
svgio/inc/svgio/svgreader/svgsymbolnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGSYMBOLNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGSYMBOLNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgstyleattributes.hxx>
//////////////////////////////////////////////////////////////////////////////
...
...
svgio/inc/svgio/svgreader/svgtextnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGTEXTNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGTEXTNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
#include <svgio/svgreader/svgcharacternode.hxx>
...
...
svgio/inc/svgio/svgreader/svgtextpathnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGTEXTPATHNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGTEXTPATHNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
#include <svgio/svgreader/svgpathnode.hxx>
...
...
svgio/inc/svgio/svgreader/svgtoken.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGTOKEN_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGTOKEN_HXX
#include <svgio/svgiodllapi.h>
#include <rtl/ustring.hxx>
#include <boost/unordered_map.hpp>
...
...
svgio/inc/svgio/svgreader/svgtools.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGTOOLS_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGTOOLS_HXX
#include <svgio/svgiodllapi.h>
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
#include <basegfx/color/bcolor.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
...
...
svgio/inc/svgio/svgreader/svgtrefnode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGTREFNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGTREFNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
#include <svgio/svgreader/svgtextnode.hxx>
...
...
svgio/inc/svgio/svgreader/svgtspannode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_SVGTSPANNODE_HXX
#define INCLUDED_SVGIO_SVGREADER_SVGTSPANNODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgcharacternode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
#include <svgio/svgreader/svgtools.hxx>
...
...
svgio/inc/svgio/svgreader/svgusenode.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVGIO_SVGREADER_USENODE_HXX
#define INCLUDED_SVGIO_SVGREADER_USENODE_HXX
#include <svgio/svgiodllapi.h>
#include <svgio/svgreader/svgnode.hxx>
#include <svgio/svgreader/svgstyleattributes.hxx>
...
...
svgio/source/svguno/svguno.cxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -17,76 +17,30 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <svgio/svgiodllapi.h>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <uno/environment.h>
#include <cppuhelper/factory.hxx>
#include "sal/config.h"
//////////////////////////////////////////////////////////////////////////////
#include "cppuhelper/factory.hxx"
#include "cppuhelper/implementationentry.hxx"
#include "sal/types.h"
using
namespace
::
com
::
sun
::
star
;
#include "xsvgparser.hxx"
//////////////////////////////////////////////////////////////////////////////
// predefines
namespace
{
namespace
svgio
{
namespace
svgreader
{
extern
uno
::
Sequence
<
rtl
::
OUString
>
SAL_CALL
XSvgParser_getSupportedServiceNames
();
extern
rtl
::
OUString
SAL_CALL
XSvgParser_getImplementationName
();
extern
uno
::
Reference
<
uno
::
XInterface
>
SAL_CALL
XSvgParser_createInstance
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
&
);
}
// end of namespace svgreader
}
// end of namespace svgio
//////////////////////////////////////////////////////////////////////////////
// component_getImplementationEnvironment
static
cppu
::
ImplementationEntry
const
services
[]
=
{
{
&
svgio
::
svgreader
::
XSvgParser_createInstance
,
&
svgio
::
svgreader
::
XSvgParser_getImplementationName
,
&
svgio
::
svgreader
::
XSvgParser_getSupportedServiceNames
,
&
cppu
::
createSingleComponentFactory
,
0
,
0
},
{
0
,
0
,
0
,
0
,
0
,
0
}
};
extern
"C"
{
SVGIO_DLLPUBLIC
void
SAL_CALL
component_getImplementationEnvironment
(
const
sal_Char
**
ppEnvTypeName
,
uno_Environment
**
/* ppEnv */
)
{
*
ppEnvTypeName
=
CPPU_CURRENT_LANGUAGE_BINDING_NAME
;
}
}
//////////////////////////////////////////////////////////////////////////////
// component_getFactory
extern
"C"
extern
"C"
SAL_DLLPUBLIC
void
*
SAL_CALL
svgio_component_getFactory
(
char
const
*
pImplName
,
void
*
pServiceManager
,
void
*
pRegistryKey
)
{
SVGIO_DLLPUBLIC
void
*
SAL_CALL
component_getFactory
(
const
sal_Char
*
pImplName
,
void
*
pServiceManager
,
void
*
/* pRegistryKey */
)
{
uno
::
Reference
<
lang
::
XSingleServiceFactory
>
xFactory
;
void
*
pRet
=
0
;
if
(
svgio
::
svgreader
::
XSvgParser_getImplementationName
().
equalsAscii
(
pImplName
))
{
xFactory
=
::
cppu
::
createSingleFactory
(
reinterpret_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
),
svgio
::
svgreader
::
XSvgParser_getImplementationName
(),
svgio
::
svgreader
::
XSvgParser_createInstance
,
svgio
::
svgreader
::
XSvgParser_getSupportedServiceNames
());
}
if
(
xFactory
.
is
())
{
xFactory
->
acquire
();
pRet
=
xFactory
.
get
();
}
return
pRet
;
}
return
cppu
::
component_getFactoryHelper
(
pImplName
,
pServiceManager
,
pRegistryKey
,
services
);
}
//////////////////////////////////////////////////////////////////////////////
// eof
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svgio/source/svguno/xsvgparser.cxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -17,15 +17,19 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "sal/config.h"
#include <com/sun/star/graphic/XSvgParser.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/implbase2.hxx>
#include <svgio/svgreader/svgdocumenthandler.hxx>
#include <com/sun/star/xml/sax/XParser.hpp>
#include <com/sun/star/xml/sax/Parser.hpp>
#include <com/sun/star/xml/sax/InputSource.hpp>
#include <comphelper/processfactory.hxx>
#include <drawinglayer/geometry/viewinformation2d.hxx>
#include "xsvgparser.hxx"
//////////////////////////////////////////////////////////////////////////////
using
namespace
::
com
::
sun
::
star
;
...
...
@@ -42,9 +46,12 @@ namespace svgio
XSvgParser
(
const
XSvgParser
&
);
XSvgParser
&
operator
=
(
const
XSvgParser
&
);
uno
::
Reference
<
uno
::
XComponentContext
>
context_
;
protected
:
public
:
XSvgParser
();
XSvgParser
(
uno
::
Reference
<
uno
::
XComponentContext
>
const
&
context
);
virtual
~
XSvgParser
();
// XSvgParser
...
...
@@ -80,9 +87,9 @@ namespace svgio
return
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"svgio::svgreader::XSvgParser"
)
);
}
uno
::
Reference
<
uno
::
XInterface
>
SAL_CALL
XSvgParser_createInstance
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>&
)
uno
::
Reference
<
uno
::
XInterface
>
SAL_CALL
XSvgParser_createInstance
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
context
)
{
return
static_cast
<
::
cppu
::
OWeakObject
*
>
(
new
XSvgParser
);
return
static_cast
<
::
cppu
::
OWeakObject
*
>
(
new
XSvgParser
(
context
)
);
}
}
// end of namespace svgreader
}
// end of namespace svgio
...
...
@@ -93,7 +100,9 @@ namespace svgio
{
namespace
svgreader
{
XSvgParser
::
XSvgParser
()
XSvgParser
::
XSvgParser
(
uno
::
Reference
<
uno
::
XComponentContext
>
const
&
context
)
:
context_
(
context
)
{
}
...
...
@@ -121,9 +130,7 @@ namespace svgio
// get parser
uno
::
Reference
<
xml
::
sax
::
XParser
>
xParser
(
comphelper
::
getProcessServiceFactory
()
->
createInstance
(
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.xml.sax.Parser"
)
),
uno
::
UNO_QUERY_THROW
);
xml
::
sax
::
Parser
::
create
(
context_
));
// connect parser and filter
xParser
->
setDocumentHandler
(
xSvgDocHdl
);
...
...
svgio/
inc/svgio/svgiodllapi.h
→
svgio/
source/svguno/xsvgparser.hxx
Dosyayı görüntüle @
722fffd6
...
...
@@ -16,18 +16,38 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SVGIODLLAPI_H
#define INCLUDED_SVGIODLLAPI_H
#ifndef INCLUDED_SVGIO_SOURCE_SVGUNO_XSVGPARSER_HXX
#define INCLUDED_SVGIO_SOURCE_SVGUNO_XSVGPARSER_HXX
#include "sal/config.h"
#include "com/sun/star/uno/Reference.hxx"
#include "com/sun/star/uno/Sequence.hxx"
#include "sal/types.h"
#if defined(SVGIO_DLLIMPLEMENTATION)
#define SVGIO_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define SVGIO_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#define SVGIO_DLLPRIVATE SAL_DLLPRIVATE
namespace
com
{
namespace
sun
{
namespace
star
{
namespace
uno
{
class
XComponentContext
;
class
XInterface
;
}
}
}
}
namespace
rtl
{
class
OUString
;
}
namespace
svgio
{
namespace
svgreader
{
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XInterface
>
SAL_CALL
XSvgParser_createInstance
(
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>
const
&
);
#endif
/* INCLUDED_SVGIODLLAPI_H */
rtl
::
OUString
SAL_CALL
XSvgParser_getImplementationName
();
com
::
sun
::
star
::
uno
::
Sequence
<
rtl
::
OUString
>
SAL_CALL
XSvgParser_getSupportedServiceNames
();
}
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svgio/svgio.component
Dosyayı görüntüle @
722fffd6
...
...
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<component
loader=
"com.sun.star.loader.SharedLibrary"
<component
loader=
"com.sun.star.loader.SharedLibrary"
prefix=
"svgio"
xmlns=
"http://openoffice.org/2010/uno-components"
>
<implementation
name=
"svgio::svgreader::XSvgParser"
>
<service
name=
"com.sun.star.graphic.SvgTools"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment