ndgrf.hxx (f636aef8) ndgrf.hxx (9ff67546)
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

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

70 SwAttrSet* pAutoAttr = 0 );
71 SwGrfNode( const SwNodeIndex& rWhere,
72 const GraphicObject& rGrfObj,
73 SwGrfFmtColl* pGrfColl,
74 SwAttrSet* pAutoAttr = 0 );
75
76 void InsertLink( const String& rGrfName, const String& rFltName );
77 sal_Bool ImportGraphic( SvStream& rStrm );
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

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

70 SwAttrSet* pAutoAttr = 0 );
71 SwGrfNode( const SwNodeIndex& rWhere,
72 const GraphicObject& rGrfObj,
73 SwGrfFmtColl* pGrfColl,
74 SwAttrSet* pAutoAttr = 0 );
75
76 void InsertLink( const String& rGrfName, const String& rFltName );
77 sal_Bool ImportGraphic( SvStream& rStrm );
78 sal_Bool HasStreamName() const { return maGrfObj.HasUserData(); }
79 void _GetStreamStorageNames( String& rStrmName, String& rStgName ) const;
80 void DelStreamName();
81 DECL_LINK( SwapGraphic, GraphicObject* );
82
83 /** helper method to determine stream for the embedded graphic.
84
85 OD 2005-05-04 #i48434#
86 Important note: caller of this method has to handle the thrown exceptions

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

172 const Graphic* pGraphic = 0,
173 const GraphicObject* pGrfObj = 0,
174 sal_Bool bModify = sal_True );
175 // Laden der Grafik unmittelbar vor der Anzeige
176 short SwapIn( sal_Bool bWaitForData = sal_False );
177 // Entfernen der Grafik, um Speicher freizugeben
178 short SwapOut();
179
78 void _GetStreamStorageNames( String& rStrmName, String& rStgName ) const;
79 void DelStreamName();
80 DECL_LINK( SwapGraphic, GraphicObject* );
81
82 /** helper method to determine stream for the embedded graphic.
83
84 OD 2005-05-04 #i48434#
85 Important note: caller of this method has to handle the thrown exceptions

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

171 const Graphic* pGraphic = 0,
172 const GraphicObject* pGrfObj = 0,
173 sal_Bool bModify = sal_True );
174 // Laden der Grafik unmittelbar vor der Anzeige
175 short SwapIn( sal_Bool bWaitForData = sal_False );
176 // Entfernen der Grafik, um Speicher freizugeben
177 short SwapOut();
178
179 sal_Bool HasEmbeddedStreamName() const { return maGrfObj.HasUserData(); }
180 // applying new stream name for embedded graphic - needed as saving the document might change this stream name
181 void ApplyNewEmbeddedStreamName( const String& r )
182 {
183 maGrfObj.SetUserData( r );
184 }
185
186 // is this node selected by any shell?
187 sal_Bool IsSelected() const;

--- 58 unchanged lines hidden ---
180 // applying new stream name for embedded graphic - needed as saving the document might change this stream name
181 void ApplyNewEmbeddedStreamName( const String& r )
182 {
183 maGrfObj.SetUserData( r );
184 }
185
186 // is this node selected by any shell?
187 sal_Bool IsSelected() const;

--- 58 unchanged lines hidden ---