mathmlexport.cxx (8f2cf668) mathmlexport.cxx (1912a402)
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

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

164 };
165 uno::Reference< beans::XPropertySet > xInfoSet(
166 comphelper::GenericPropertySet_CreateInstance(
167 new comphelper::PropertySetInfo( aInfoMap ) ) );
168
169 SvtSaveOptions aSaveOpt;
170 OUString sUsePrettyPrinting(RTL_CONSTASCII_USTRINGPARAM("UsePrettyPrinting"));
171 sal_Bool bUsePrettyPrinting( bFlat || aSaveOpt.IsPrettyPrinting() );
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

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

164 };
165 uno::Reference< beans::XPropertySet > xInfoSet(
166 comphelper::GenericPropertySet_CreateInstance(
167 new comphelper::PropertySetInfo( aInfoMap ) ) );
168
169 SvtSaveOptions aSaveOpt;
170 OUString sUsePrettyPrinting(RTL_CONSTASCII_USTRINGPARAM("UsePrettyPrinting"));
171 sal_Bool bUsePrettyPrinting( bFlat || aSaveOpt.IsPrettyPrinting() );
172 Any aAny;
173 aAny.setValue( &bUsePrettyPrinting, ::getBooleanCppuType() );
174 xInfoSet->setPropertyValue( sUsePrettyPrinting, aAny );
172 xInfoSet->setPropertyValue( sUsePrettyPrinting, uno::makeAny(bUsePrettyPrinting));
175
176 // Set base URI
177 OUString sPropName( RTL_CONSTASCII_USTRINGPARAM("BaseURI") );
178 xInfoSet->setPropertyValue( sPropName, makeAny( rMedium.GetBaseURL( true ) ) );
179
180 sal_Int32 nSteps=0;
181 if (xStatusIndicator.is())
182 xStatusIndicator->setValue(nSteps++);

--- 1420 unchanged lines hidden ---
173
174 // Set base URI
175 OUString sPropName( RTL_CONSTASCII_USTRINGPARAM("BaseURI") );
176 xInfoSet->setPropertyValue( sPropName, makeAny( rMedium.GetBaseURL( true ) ) );
177
178 sal_Int32 nSteps=0;
179 if (xStatusIndicator.is())
180 xStatusIndicator->setValue(nSteps++);

--- 1420 unchanged lines hidden ---