/* -*- 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 . */ #ifndef INCLUDED_XMLOFF_INC_XMLPERCENTORMEASUREPROPERTYHANDLER_HXX #define INCLUDED_XMLOFF_INC_XMLPERCENTORMEASUREPROPERTYHANDLER_HXX #include /** This is a handler either only import/exports percent or measure. */ class XMLPercentOrMeasurePropertyHandler : public XMLPropertyHandler { private: bool mbPercent; public: XMLPercentOrMeasurePropertyHandler( bool bPercent ); virtual ~XMLPercentOrMeasurePropertyHandler (); virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE; virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ e-6-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-09-05 14:27:21 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-09-05 14:28:13 +0200
commit24f691867d02e853153a53e49276c2a8c30ea1fe (patch)
treedfa898fc28b4e240c144e278ce90eb5a359302cc
parentc96e2c238f8fd3a78773e29ced11ddaa9e9d783f (diff)
Force version 2.1 of the sRGB profile for PDF/A (fdo#54546)