1f580d42cSArmin Le Grand /************************************************************** 2f580d42cSArmin Le Grand * 3f580d42cSArmin Le Grand * Licensed to the Apache Software Foundation (ASF) under one 4f580d42cSArmin Le Grand * or more contributor license agreements. See the NOTICE file 5f580d42cSArmin Le Grand * distributed with this work for additional information 6f580d42cSArmin Le Grand * regarding copyright ownership. The ASF licenses this file 7f580d42cSArmin Le Grand * to you under the Apache License, Version 2.0 (the 8f580d42cSArmin Le Grand * "License"); you may not use this file except in compliance 9f580d42cSArmin Le Grand * with the License. You may obtain a copy of the License at 10f580d42cSArmin Le Grand * 11f580d42cSArmin Le Grand * http://www.apache.org/licenses/LICENSE-2.0 12f580d42cSArmin Le Grand * 13f580d42cSArmin Le Grand * Unless required by applicable law or agreed to in writing, 14f580d42cSArmin Le Grand * software distributed under the License is distributed on an 15f580d42cSArmin Le Grand * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16f580d42cSArmin Le Grand * KIND, either express or implied. See the License for the 17f580d42cSArmin Le Grand * specific language governing permissions and limitations 18f580d42cSArmin Le Grand * under the License. 19f580d42cSArmin Le Grand * 20f580d42cSArmin Le Grand *************************************************************/ 21f580d42cSArmin Le Grand 22f580d42cSArmin Le Grand // MARKER(update_precomp.py): autogen include statement, do not remove 23f580d42cSArmin Le Grand #include "precompiled_svgio.hxx" 24f580d42cSArmin Le Grand 25f580d42cSArmin Le Grand #include <svgio/svgreader/svgtitledescnode.hxx> 26f580d42cSArmin Le Grand 27f580d42cSArmin Le Grand ////////////////////////////////////////////////////////////////////////////// 28f580d42cSArmin Le Grand 29f580d42cSArmin Le Grand namespace svgio 30f580d42cSArmin Le Grand { 31f580d42cSArmin Le Grand namespace svgreader 32f580d42cSArmin Le Grand { SvgTitleDescNode(SVGToken aType,SvgDocument & rDocument,SvgNode * pParent)33f580d42cSArmin Le Grand SvgTitleDescNode::SvgTitleDescNode( 34f580d42cSArmin Le Grand SVGToken aType, 35f580d42cSArmin Le Grand SvgDocument& rDocument, 36f580d42cSArmin Le Grand SvgNode* pParent) 37f580d42cSArmin Le Grand : SvgNode(aType, rDocument, pParent), 38f580d42cSArmin Le Grand maText() 39f580d42cSArmin Le Grand { 40*b3ba8dd4SArmin Le Grand OSL_ENSURE(aType == SVGTokenTitle || aType == SVGTokenDesc, "SvgTitleDescNode should ony be used for Title and Desc (!)"); 41f580d42cSArmin Le Grand } 42f580d42cSArmin Le Grand ~SvgTitleDescNode()43f580d42cSArmin Le Grand SvgTitleDescNode::~SvgTitleDescNode() 44f580d42cSArmin Le Grand { 45f580d42cSArmin Le Grand } 46f580d42cSArmin Le Grand concatenate(const rtl::OUString & rChars)47f580d42cSArmin Le Grand void SvgTitleDescNode::concatenate(const rtl::OUString& rChars) 48f580d42cSArmin Le Grand { 49f580d42cSArmin Le Grand maText += rChars; 50f580d42cSArmin Le Grand } 51f580d42cSArmin Le Grand } // end of namespace svgreader 52f580d42cSArmin Le Grand } // end of namespace svgio 53f580d42cSArmin Le Grand 54f580d42cSArmin Le Grand ////////////////////////////////////////////////////////////////////////////// 55f580d42cSArmin Le Grand // eof 56