1*cdf0e10cSrcweir /************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir #ifndef SW_UNOTEXTRANGE_HXX 29*cdf0e10cSrcweir #define SW_UNOTEXTRANGE_HXX 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir #include <com/sun/star/lang/XUnoTunnel.hpp> 32*cdf0e10cSrcweir #include <com/sun/star/lang/XServiceInfo.hpp> 33*cdf0e10cSrcweir #include <com/sun/star/beans/XPropertySet.hpp> 34*cdf0e10cSrcweir #include <com/sun/star/beans/XPropertyState.hpp> 35*cdf0e10cSrcweir #include <com/sun/star/container/XIndexAccess.hpp> 36*cdf0e10cSrcweir #include <com/sun/star/container/XEnumerationAccess.hpp> 37*cdf0e10cSrcweir #include <com/sun/star/container/XContentEnumerationAccess.hpp> 38*cdf0e10cSrcweir #include <com/sun/star/text/XTextRange.hpp> 39*cdf0e10cSrcweir #include <com/sun/star/text/XRedline.hpp> 40*cdf0e10cSrcweir 41*cdf0e10cSrcweir #include <cppuhelper/implbase3.hxx> 42*cdf0e10cSrcweir #include <cppuhelper/implbase8.hxx> 43*cdf0e10cSrcweir 44*cdf0e10cSrcweir #include <pam.hxx> 45*cdf0e10cSrcweir #include <unobaseclass.hxx> 46*cdf0e10cSrcweir 47*cdf0e10cSrcweir 48*cdf0e10cSrcweir class SwDoc; 49*cdf0e10cSrcweir struct SwPosition; 50*cdf0e10cSrcweir class SwPaM; 51*cdf0e10cSrcweir class SwUnoCrsr; 52*cdf0e10cSrcweir class SwFrmFmt; 53*cdf0e10cSrcweir 54*cdf0e10cSrcweir /* -----------------29.04.98 07:35------------------- 55*cdf0e10cSrcweir * 56*cdf0e10cSrcweir * --------------------------------------------------*/ 57*cdf0e10cSrcweir class SwUnoInternalPaM 58*cdf0e10cSrcweir : public SwPaM 59*cdf0e10cSrcweir { 60*cdf0e10cSrcweir 61*cdf0e10cSrcweir private: 62*cdf0e10cSrcweir SwUnoInternalPaM(const SwUnoInternalPaM&); 63*cdf0e10cSrcweir 64*cdf0e10cSrcweir public: 65*cdf0e10cSrcweir SwUnoInternalPaM(SwDoc& rDoc); 66*cdf0e10cSrcweir virtual ~SwUnoInternalPaM(); 67*cdf0e10cSrcweir 68*cdf0e10cSrcweir SwUnoInternalPaM& operator=(const SwPaM& rPaM); 69*cdf0e10cSrcweir }; 70*cdf0e10cSrcweir 71*cdf0e10cSrcweir 72*cdf0e10cSrcweir namespace sw { 73*cdf0e10cSrcweir 74*cdf0e10cSrcweir void DeepCopyPaM(SwPaM const & rSource, SwPaM & rTarget); 75*cdf0e10cSrcweir 76*cdf0e10cSrcweir bool XTextRangeToSwPaM(SwUnoInternalPaM& rToFill, 77*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 78*cdf0e10cSrcweir ::com::sun::star::text::XTextRange > & xTextRange); 79*cdf0e10cSrcweir 80*cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > 81*cdf0e10cSrcweir CreateParentXText(SwDoc & rDoc, const SwPosition& rPos); 82*cdf0e10cSrcweir 83*cdf0e10cSrcweir bool GetDefaultTextContentValue(::com::sun::star::uno::Any& rAny, 84*cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, sal_uInt16 nWID = 0); 85*cdf0e10cSrcweir 86*cdf0e10cSrcweir } // namespace sw 87*cdf0e10cSrcweir 88*cdf0e10cSrcweir 89*cdf0e10cSrcweir typedef ::cppu::WeakImplHelper8 90*cdf0e10cSrcweir < ::com::sun::star::lang::XUnoTunnel 91*cdf0e10cSrcweir , ::com::sun::star::lang::XServiceInfo 92*cdf0e10cSrcweir , ::com::sun::star::beans::XPropertySet 93*cdf0e10cSrcweir , ::com::sun::star::beans::XPropertyState 94*cdf0e10cSrcweir , ::com::sun::star::container::XEnumerationAccess 95*cdf0e10cSrcweir , ::com::sun::star::container::XContentEnumerationAccess 96*cdf0e10cSrcweir , ::com::sun::star::text::XTextRange 97*cdf0e10cSrcweir , ::com::sun::star::text::XRedline 98*cdf0e10cSrcweir > SwXTextRange_Base; 99*cdf0e10cSrcweir 100*cdf0e10cSrcweir class SW_DLLPUBLIC SwXTextRange 101*cdf0e10cSrcweir : public SwXTextRange_Base 102*cdf0e10cSrcweir { 103*cdf0e10cSrcweir 104*cdf0e10cSrcweir private: 105*cdf0e10cSrcweir 106*cdf0e10cSrcweir friend class SwXText; 107*cdf0e10cSrcweir 108*cdf0e10cSrcweir class Impl; 109*cdf0e10cSrcweir ::sw::UnoImplPtr<Impl> m_pImpl; 110*cdf0e10cSrcweir 111*cdf0e10cSrcweir enum RangePosition 112*cdf0e10cSrcweir { 113*cdf0e10cSrcweir RANGE_IN_TEXT, // "ordinary" ::com::sun::star::text::TextRange 114*cdf0e10cSrcweir RANGE_IN_CELL, // position created with a cell that has no uno object 115*cdf0e10cSrcweir RANGE_IS_TABLE, // anchor of a table 116*cdf0e10cSrcweir }; 117*cdf0e10cSrcweir 118*cdf0e10cSrcweir void SetPositions(SwPaM const& rPam); 119*cdf0e10cSrcweir //TODO: new exception type for protected content 120*cdf0e10cSrcweir void DeleteAndInsert( 121*cdf0e10cSrcweir const ::rtl::OUString& rText, const bool bForceExpandHints) 122*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 123*cdf0e10cSrcweir void Invalidate(); 124*cdf0e10cSrcweir 125*cdf0e10cSrcweir virtual ~SwXTextRange(); 126*cdf0e10cSrcweir 127*cdf0e10cSrcweir public: 128*cdf0e10cSrcweir 129*cdf0e10cSrcweir SwXTextRange(SwPaM& rPam, 130*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 131*cdf0e10cSrcweir ::com::sun::star::text::XText > & xParent, 132*cdf0e10cSrcweir const enum RangePosition eRange = RANGE_IN_TEXT); 133*cdf0e10cSrcweir // only for RANGE_IS_TABLE 134*cdf0e10cSrcweir SwXTextRange(SwFrmFmt& rTblFmt); 135*cdf0e10cSrcweir 136*cdf0e10cSrcweir const SwDoc* GetDoc() const; 137*cdf0e10cSrcweir SwDoc* GetDoc(); 138*cdf0e10cSrcweir bool GetPositions(SwPaM & rToFill) const; 139*cdf0e10cSrcweir 140*cdf0e10cSrcweir static ::com::sun::star::uno::Reference< 141*cdf0e10cSrcweir ::com::sun::star::text::XTextRange > CreateXTextRange( 142*cdf0e10cSrcweir SwDoc & rDoc, 143*cdf0e10cSrcweir const SwPosition& rPos, const SwPosition *const pMark); 144*cdf0e10cSrcweir 145*cdf0e10cSrcweir static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId(); 146*cdf0e10cSrcweir 147*cdf0e10cSrcweir // XUnoTunnel 148*cdf0e10cSrcweir virtual sal_Int64 SAL_CALL getSomething( 149*cdf0e10cSrcweir const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier) 150*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 151*cdf0e10cSrcweir 152*cdf0e10cSrcweir // XServiceInfo 153*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getImplementationName() 154*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 155*cdf0e10cSrcweir virtual sal_Bool SAL_CALL supportsService( 156*cdf0e10cSrcweir const ::rtl::OUString& rServiceName) 157*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 158*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL 159*cdf0e10cSrcweir getSupportedServiceNames() 160*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 161*cdf0e10cSrcweir 162*cdf0e10cSrcweir // XPropertySet 163*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< 164*cdf0e10cSrcweir ::com::sun::star::beans::XPropertySetInfo > SAL_CALL 165*cdf0e10cSrcweir getPropertySetInfo() 166*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 167*cdf0e10cSrcweir virtual void SAL_CALL setPropertyValue( 168*cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 169*cdf0e10cSrcweir const ::com::sun::star::uno::Any& rValue) 170*cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 171*cdf0e10cSrcweir ::com::sun::star::beans::PropertyVetoException, 172*cdf0e10cSrcweir ::com::sun::star::lang::IllegalArgumentException, 173*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 174*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 175*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( 176*cdf0e10cSrcweir const ::rtl::OUString& rPropertyName) 177*cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 178*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 179*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 180*cdf0e10cSrcweir virtual void SAL_CALL addPropertyChangeListener( 181*cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 182*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 183*cdf0e10cSrcweir ::com::sun::star::beans::XPropertyChangeListener >& xListener) 184*cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 185*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 186*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 187*cdf0e10cSrcweir virtual void SAL_CALL removePropertyChangeListener( 188*cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 189*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 190*cdf0e10cSrcweir ::com::sun::star::beans::XPropertyChangeListener >& xListener) 191*cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 192*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 193*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 194*cdf0e10cSrcweir virtual void SAL_CALL addVetoableChangeListener( 195*cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 196*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 197*cdf0e10cSrcweir ::com::sun::star::beans::XVetoableChangeListener >& xListener) 198*cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 199*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 200*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 201*cdf0e10cSrcweir virtual void SAL_CALL removeVetoableChangeListener( 202*cdf0e10cSrcweir const ::rtl::OUString& rPropertyName, 203*cdf0e10cSrcweir const ::com::sun::star::uno::Reference< 204*cdf0e10cSrcweir ::com::sun::star::beans::XVetoableChangeListener >& xListener) 205*cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 206*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 207*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 208*cdf0e10cSrcweir 209*cdf0e10cSrcweir // XPropertyState 210*cdf0e10cSrcweir virtual ::com::sun::star::beans::PropertyState SAL_CALL 211*cdf0e10cSrcweir getPropertyState(const ::rtl::OUString& rPropertyName) 212*cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 213*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 214*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< 215*cdf0e10cSrcweir ::com::sun::star::beans::PropertyState > SAL_CALL 216*cdf0e10cSrcweir getPropertyStates( 217*cdf0e10cSrcweir const ::com::sun::star::uno::Sequence< 218*cdf0e10cSrcweir ::rtl::OUString >& rPropertyNames) 219*cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 220*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 221*cdf0e10cSrcweir virtual void SAL_CALL setPropertyToDefault( 222*cdf0e10cSrcweir const ::rtl::OUString& rPropertyName) 223*cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 224*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 225*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( 226*cdf0e10cSrcweir const ::rtl::OUString& rPropertyName) 227*cdf0e10cSrcweir throw (::com::sun::star::beans::UnknownPropertyException, 228*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 229*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 230*cdf0e10cSrcweir 231*cdf0e10cSrcweir // XElementAccess 232*cdf0e10cSrcweir virtual ::com::sun::star::uno::Type SAL_CALL getElementType() 233*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 234*cdf0e10cSrcweir virtual sal_Bool SAL_CALL hasElements() 235*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 236*cdf0e10cSrcweir 237*cdf0e10cSrcweir // XEnumerationAccess 238*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< 239*cdf0e10cSrcweir ::com::sun::star::container::XEnumeration > SAL_CALL 240*cdf0e10cSrcweir createEnumeration() 241*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 242*cdf0e10cSrcweir 243*cdf0e10cSrcweir // XContentEnumerationAccess 244*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< 245*cdf0e10cSrcweir ::com::sun::star::container::XEnumeration > SAL_CALL 246*cdf0e10cSrcweir createContentEnumeration(const ::rtl::OUString& rServiceName) 247*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 248*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL 249*cdf0e10cSrcweir getAvailableServiceNames() 250*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 251*cdf0e10cSrcweir 252*cdf0e10cSrcweir // XTextRange 253*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > 254*cdf0e10cSrcweir SAL_CALL getText() 255*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 256*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< 257*cdf0e10cSrcweir ::com::sun::star::text::XTextRange > SAL_CALL getStart() 258*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 259*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< 260*cdf0e10cSrcweir ::com::sun::star::text::XTextRange > SAL_CALL getEnd() 261*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 262*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getString() 263*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 264*cdf0e10cSrcweir virtual void SAL_CALL setString(const ::rtl::OUString& rString) 265*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 266*cdf0e10cSrcweir 267*cdf0e10cSrcweir // XRedline 268*cdf0e10cSrcweir virtual void SAL_CALL makeRedline( 269*cdf0e10cSrcweir const ::rtl::OUString& rRedlineType, 270*cdf0e10cSrcweir const ::com::sun::star::uno::Sequence< 271*cdf0e10cSrcweir ::com::sun::star::beans::PropertyValue >& RedlineProperties) 272*cdf0e10cSrcweir throw (::com::sun::star::lang::IllegalArgumentException, 273*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 274*cdf0e10cSrcweir 275*cdf0e10cSrcweir }; 276*cdf0e10cSrcweir 277*cdf0e10cSrcweir /* -----------------15.05.98 08:29------------------- 278*cdf0e10cSrcweir * 279*cdf0e10cSrcweir * --------------------------------------------------*/ 280*cdf0e10cSrcweir 281*cdf0e10cSrcweir typedef ::cppu::WeakImplHelper3 282*cdf0e10cSrcweir < ::com::sun::star::lang::XUnoTunnel 283*cdf0e10cSrcweir , ::com::sun::star::lang::XServiceInfo 284*cdf0e10cSrcweir , ::com::sun::star::container::XIndexAccess 285*cdf0e10cSrcweir > SwXTextRanges_Base; 286*cdf0e10cSrcweir 287*cdf0e10cSrcweir class SwXTextRanges 288*cdf0e10cSrcweir : public SwXTextRanges_Base 289*cdf0e10cSrcweir { 290*cdf0e10cSrcweir 291*cdf0e10cSrcweir private: 292*cdf0e10cSrcweir 293*cdf0e10cSrcweir class Impl; 294*cdf0e10cSrcweir ::sw::UnoImplPtr<Impl> m_pImpl; 295*cdf0e10cSrcweir 296*cdf0e10cSrcweir virtual ~SwXTextRanges(); 297*cdf0e10cSrcweir 298*cdf0e10cSrcweir public: 299*cdf0e10cSrcweir 300*cdf0e10cSrcweir SwXTextRanges(SwPaM *const pCrsr); 301*cdf0e10cSrcweir 302*cdf0e10cSrcweir const SwUnoCrsr* GetCursor() const; 303*cdf0e10cSrcweir 304*cdf0e10cSrcweir static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId(); 305*cdf0e10cSrcweir 306*cdf0e10cSrcweir // XUnoTunnel 307*cdf0e10cSrcweir virtual sal_Int64 SAL_CALL getSomething( 308*cdf0e10cSrcweir const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier) 309*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 310*cdf0e10cSrcweir 311*cdf0e10cSrcweir // XServiceInfo 312*cdf0e10cSrcweir virtual ::rtl::OUString SAL_CALL getImplementationName() 313*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 314*cdf0e10cSrcweir virtual sal_Bool SAL_CALL supportsService( 315*cdf0e10cSrcweir const ::rtl::OUString& rServiceName) 316*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 317*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL 318*cdf0e10cSrcweir getSupportedServiceNames() 319*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 320*cdf0e10cSrcweir 321*cdf0e10cSrcweir // XElementAccess 322*cdf0e10cSrcweir virtual ::com::sun::star::uno::Type SAL_CALL getElementType() 323*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 324*cdf0e10cSrcweir virtual sal_Bool SAL_CALL hasElements() 325*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 326*cdf0e10cSrcweir 327*cdf0e10cSrcweir // XIndexAccess 328*cdf0e10cSrcweir virtual sal_Int32 SAL_CALL getCount() 329*cdf0e10cSrcweir throw (::com::sun::star::uno::RuntimeException); 330*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) 331*cdf0e10cSrcweir throw (::com::sun::star::lang::IndexOutOfBoundsException, 332*cdf0e10cSrcweir ::com::sun::star::lang::WrappedTargetException, 333*cdf0e10cSrcweir ::com::sun::star::uno::RuntimeException); 334*cdf0e10cSrcweir 335*cdf0e10cSrcweir }; 336*cdf0e10cSrcweir 337*cdf0e10cSrcweir #endif // SW_UNOTEXTRANGE_HXX 338*cdf0e10cSrcweir 339