Kaydet (Commit) fdfc82ff authored tarafından Miklos Vajna's avatar Miklos Vajna

move doxygen comments to header

Change-Id: I828f4290c99e750df66548109ef8ae9b496af297
üst e094ac0f
...@@ -431,6 +431,11 @@ typedef SfxPoolItem* SwDfltAttrTab[ POOLATTR_END - POOLATTR_BEGIN ]; ...@@ -431,6 +431,11 @@ typedef SfxPoolItem* SwDfltAttrTab[ POOLATTR_END - POOLATTR_BEGIN ];
extern SwDfltAttrTab aAttrTab; extern SwDfltAttrTab aAttrTab;
extern SfxItemInfo aSlotTab[]; extern SfxItemInfo aSlotTab[];
/** Get the default attribute from corresponding default attribute table.
@param[in] nWhich Position in table
@return Attribute if found, null pointer otherwise
*/
SW_DLLPUBLIC const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich ); SW_DLLPUBLIC const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich );
SW_DLLPUBLIC sal_uInt16 GetWhichOfScript( sal_uInt16 nWhich, sal_uInt16 nScript ); SW_DLLPUBLIC sal_uInt16 GetWhichOfScript( sal_uInt16 nWhich, sal_uInt16 nScript );
......
...@@ -132,6 +132,11 @@ class SwRefMarkFldUpdate : public SwMsgPoolItem ...@@ -132,6 +132,11 @@ class SwRefMarkFldUpdate : public SwMsgPoolItem
{ {
public: public:
const OutputDevice* pOut; ///< pointer to the current output device const OutputDevice* pOut; ///< pointer to the current output device
/** Is sent if reference marks should be updated.
To get the page/chapter number, the frame has to be asked. For that we need
the current OutputDevice.
*/
SwRefMarkFldUpdate( const OutputDevice* ); SwRefMarkFldUpdate( const OutputDevice* );
}; };
...@@ -166,6 +171,7 @@ public: ...@@ -166,6 +171,7 @@ public:
bool bModified : 1; bool bModified : 1;
bool bBehindSplitLine : 1; bool bBehindSplitLine : 1;
/** Is sent if a table should be recalculated */
SwTableFmlUpdate( const SwTable* ); SwTableFmlUpdate( const SwTable* );
}; };
......
...@@ -49,11 +49,6 @@ SwUpdateAttr::SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW ) ...@@ -49,11 +49,6 @@ SwUpdateAttr::SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW )
{ {
} }
/** Is sent if reference marks should be updated.
To get the page/chapter number, the frame has to be asked. For that we need
the current OutputDevice.
*/
SwRefMarkFldUpdate::SwRefMarkFldUpdate( const OutputDevice* pOutput ) SwRefMarkFldUpdate::SwRefMarkFldUpdate( const OutputDevice* pOutput )
: SwMsgPoolItem( RES_REFMARKFLD_UPDATE ), : SwMsgPoolItem( RES_REFMARKFLD_UPDATE ),
pOut( pOutput ) pOut( pOutput )
...@@ -66,7 +61,6 @@ SwDocPosUpdate::SwDocPosUpdate( const SwTwips nDcPos ) ...@@ -66,7 +61,6 @@ SwDocPosUpdate::SwDocPosUpdate( const SwTwips nDcPos )
{ {
} }
/** Is sent if a table should be recalculated */
SwTableFmlUpdate::SwTableFmlUpdate( const SwTable* pNewTbl ) SwTableFmlUpdate::SwTableFmlUpdate( const SwTable* pNewTbl )
: SwMsgPoolItem( RES_TABLEFML_UPDATE ), : SwMsgPoolItem( RES_TABLEFML_UPDATE ),
pTbl( pNewTbl ), pHistory( 0 ), nSplitLine( USHRT_MAX ), pTbl( pNewTbl ), pHistory( 0 ), nSplitLine( USHRT_MAX ),
...@@ -117,7 +111,6 @@ SwMsgPoolItem::SwMsgPoolItem( sal_uInt16 nWhch ) ...@@ -117,7 +111,6 @@ SwMsgPoolItem::SwMsgPoolItem( sal_uInt16 nWhch )
{ {
} }
// "Overhead" of SfxPoolItem
bool SwMsgPoolItem::operator==( const SfxPoolItem& ) const bool SwMsgPoolItem::operator==( const SfxPoolItem& ) const
{ {
OSL_FAIL( "SwMsgPoolItem knows no ==" ); OSL_FAIL( "SwMsgPoolItem knows no ==" );
...@@ -131,11 +124,6 @@ SfxPoolItem* SwMsgPoolItem::Clone( SfxItemPool* ) const ...@@ -131,11 +124,6 @@ SfxPoolItem* SwMsgPoolItem::Clone( SfxItemPool* ) const
} }
#if OSL_DEBUG_LEVEL > 0 #if OSL_DEBUG_LEVEL > 0
/** Get the default attribute from corresponding default attribute table.
@param[in] nWhich Position in table
@return Attribute if found, null pointer otherwise
*/
const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich ) const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich )
{ {
OSL_ASSERT( nWhich < POOLATTR_END && nWhich >= POOLATTR_BEGIN ); OSL_ASSERT( nWhich < POOLATTR_END && nWhich >= POOLATTR_BEGIN );
...@@ -145,10 +133,6 @@ const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich ) ...@@ -145,10 +133,6 @@ const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich )
return pHt; return pHt;
} }
#else #else
/** Get the default attribute from corresponding default attribute table.
@param[in] nWhich Position in table
*/
const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich ) const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich )
{ {
return aAttrTab[ nWhich - POOLATTR_BEGIN ]; return aAttrTab[ nWhich - POOLATTR_BEGIN ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment