Kaydet (Commit) 81d87333 authored tarafından Noel Grandin's avatar Noel Grandin

remove pointless comments in lotuswordpro

change control, empty documentation tags

Change-Id: Iad06c00ebad7dcb7d7d40040d77dee2d6307c9a5
üst 6a1f3189
......@@ -169,7 +169,6 @@ LtcBenContainer::LtcBenContainer(LwpSvStream * pStream)
/**
* Read buffer fro bento file with specified buffer
* @date 07/05/2004
* @param buffer pointer
* @param buffer size
* @param number of bytes read
......@@ -183,7 +182,6 @@ BenError LtcBenContainer::Read(void * pBuffer, unsigned long MaxSize,
}
/**
* Read buffer from bento file with specified size
* @date 07/05/2004
* @param buffer pointer
* @param number of bytes to be read
* @return BenError
......@@ -200,7 +198,6 @@ BenError LtcBenContainer::ReadKnownSize(void * pBuffer, unsigned long Amt)
}
/**
* Seek to position from the beginning of the bento file
* @date 07/05/2004
* @param position in container file from beginning
* @return BenError
*/
......@@ -211,7 +208,6 @@ BenError LtcBenContainer::SeekToPosition(BenContainerPos Pos)
}
/**
* Seek to position compare to end of bento file
* @date 07/05/2004
* @param position in container file from end
* @return BenError
*/
......@@ -224,7 +220,6 @@ BenError LtcBenContainer::SeekFromEnd(long Offset)
}
/**
* Find the next value stream with property name
* @date 07/05/2004
* @param string of property name
* @param current value stream pointer with the property name
* @return next value stream pointer with the property names
......@@ -260,7 +255,6 @@ LtcUtBenValueStream * LtcBenContainer::FindNextValueStreamWithPropertyName(const
/**
* Find the unique value stream with property name
* @date 07/05/2004
* @param string of property name
* @return the only value stream pointer with the property names
*/
......@@ -270,7 +264,6 @@ LtcUtBenValueStream * LtcBenContainer::FindValueStreamWithPropertyName(const cha
}
/**
* <description>
* @date 07/05/2004
* @param pointer to length of bento file
* @return BenError
*/
......@@ -292,7 +285,6 @@ sal_uInt32 GetSvStreamSize(SvStream * pStream)
/**
* Find hazily according to object ID
* @date 01/31/2005
* @param pObjectname - format as "GrXX,XXXXXXXX" wherein XX is high part of object ID, and XXXXXXXX is low part
* @return the value stream pointers with the property names
*/
......
......@@ -54,6 +54,7 @@
*
************************************************************************/
#include "first.hxx"
namespace OpenStormBento
{
// changed to remove warning
......
......@@ -56,7 +56,7 @@
#include "localtime.hxx"
#include <limits.h>
#include <unicode/timezone.h>
//End by
const long DAY_SEC =24 * 60 * 60;
const long YEAR_SEC = 365 * DAY_SEC;
const long FOURYEAR_SEC = 4 * YEAR_SEC + DAY_SEC;
......
......@@ -176,7 +176,7 @@ void Lwp9Reader::ParseDocument()
m_pStream->GetAttrList()->Clear();
m_pStream->StartElement( "office:body" );
//Parse change list, add by
//Parse change list
LwpGlobalMgr* pGlobal = LwpGlobalMgr::GetInstance();
LwpChangeMgr* pChangeMgr = pGlobal->GetLwpChangeMgr();
pChangeMgr->ConvertAllChange(m_pStream);
......
......@@ -163,7 +163,6 @@ XFBGImage* LwpBackgroundStuff::GetFillPattern()
pImageBuff = NULL;
pXFBGImage->SetRepeate();
// end of add
return pXFBGImage;
}
......
......@@ -58,10 +58,6 @@
* basic classes for Word Pro filter,
* PanoseNumber, Point
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPBASETYPE_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPBASETYPE_HXX
......
......@@ -57,10 +57,7 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
May 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPBOOKMARKMGR_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPBOOKMARKMGR_HXX
......
......@@ -99,7 +99,6 @@ void LwpBreaksOverride::Read(LwpObjectStream *pStrm)
pStrm->SkipExtra();
}
//add by , 01/28/2005
void LwpBreaksOverride::Override(LwpBreaksOverride* pOther)
{
if (m_nApply & BO_PAGEBEFORE)
......@@ -281,6 +280,5 @@ void LwpBreaksOverride::OverrideUseNextStyle(bool bVal)
LwpOverride::Override(BO_USENEXTSTYLE, STATE_OFF);
}
}
//end add
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -88,7 +88,6 @@ public:
public:
virtual void Read(LwpObjectStream *pStrm) SAL_OVERRIDE;
//add by , 01/28/2005
void Override(LwpBreaksOverride* pOther);
inline bool IsPageBreakBefore();
......@@ -127,8 +126,6 @@ public:
void OverrideKeepWithPrevious(bool bVal);
void OverrideUseNextStyle(bool bVal);
//end add
protected:
LwpBreaksOverride(LwpBreaksOverride const& rOther);
......
......@@ -57,10 +57,7 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#include "lwpbulletstylemgr.hxx"
#include "lwpdoc.hxx"
#include "lwpstory.hxx"
......@@ -303,7 +300,6 @@ XFContentContainer* LwpBulletStyleMgr::AddBulletList(
theItem->SetIsHeader(true);
theList->SetContinueNumber(true);
// end of add
}
if(nC == nLevel-1)
......
......@@ -57,10 +57,7 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPBULLETSTYLEMGR_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPBULLETSTYLEMGR_HXX
......
......@@ -304,7 +304,6 @@ OUString LwpCellLayout::GetCellStyleName(sal_uInt16 nRow, sal_uInt16 nCol, LwpTa
}
/**
* Make the XFCell
* @date 03/26/2005
* @param aTableID - ID of the table which this cell belongs to
* @param bIsTopRow - whether current cell is top row
* @param bIsRightCol - whether current cell is the rightest column
......@@ -640,7 +639,6 @@ void LwpCellLayout::Read()
/**
* Apply protect attribute to cell of table
* @date 04/04/2005
* @param aTableID - ID of the table which the cell belongs to
* @param
* @return XFCell*
......
......@@ -57,10 +57,7 @@
* @file
* For LWP filter architecture prototype - cell layouts
*/
/*************************************************************************
* Change History
Mar 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCELLLAYOUT_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCELLLAYOUT_HXX
#include <vector>
......
......@@ -57,10 +57,7 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jun 2005 Created
************************************************************************/
#include "lwpchangemgr.hxx"
#include <rtl/ustring.hxx>
#include "lwppara.hxx"
......
......@@ -57,10 +57,7 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jun 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCHANGEMGR_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCHANGEMGR_HXX
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#include "lwpcharacterstyle.hxx"
#include "lwpfilehdr.hxx"
......
......@@ -57,10 +57,7 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCHARACTERSTYLE_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCHARACTERSTYLE_HXX
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#include <memory>
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCHARBORDEROVERRIDE_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCHARBORDEROVERRIDE_HXX
......
......@@ -57,10 +57,7 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCHARSETMGR_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCHARSETMGR_HXX
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#include "lwpcolor.hxx"
/**
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCOLOR_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCOLOR_HXX
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#include "lwpstory.hxx"
#include "lwpfilehdr.hxx"
......
......@@ -57,10 +57,6 @@
* @file
* LwpContent, LwpHeadContent: base class for Word Pro content object
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCONTENT_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPCONTENT_HXX
......
......@@ -57,10 +57,6 @@
* @file
* definitions for all object types VO_TYPE
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDEFS_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDEFS_HXX
......@@ -103,7 +99,6 @@ enum VO_TYPE
VO_GRAPHIC = 41,
VO_VERGTR = 205,
// 01/12/2005
VO_PARASTYLE = 23,
VO_CHARACTERSTYLE = 106,
VO_SILVERBULLET = 127,
......@@ -112,17 +107,14 @@ enum VO_TYPE
VO_SPACINGPIECE = 199,
VO_CHARBORDERPIECE = 202,
VO_AMIKAKEPIECE = 203,
// end
// start
VO_TABRACK = 38,
VO_PARABORDERPIECE = 198,
VO_BREAKSPIECE = 200,
VO_NUMBERINGPIECE = 201,
VO_TABPIECE = 204,
VO_PARABACKGROUNDPIECE = 218,
// end
// 02/01/2005
VO_SECTION = 136,
VO_INDEXSECTION = 48,
VO_HEADTAILHOLDER = 169,
......@@ -131,7 +123,6 @@ enum VO_TYPE
VO_POBJECTHOLDER = 133,
// added for OLE
VO_OLEOBJECT = 54,
// end OLE
// added for table
VO_TABLE = 17,
......@@ -155,15 +146,12 @@ enum VO_TYPE
VO_ROWHEADINGLAYOUT = 118,
VO_TABLEHEADING = 209,
VO_TABLEHINT = 19,
// end table
//add by
VO_DROPCAPLAYOUT = 217,
VO_CHBLKMARKER = 94,
VO_PROPLIST = 165,
VO_BOOKMARK = 64,
VO_FIELDMARKER = 87,
//add end
//for footnote
VO_FOOTNOTE = 53,
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#include "lwpdivinfo.hxx"
#include "lwpobjstrm.hxx"
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDIVINFO_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDIVINFO_HXX
......@@ -80,9 +76,7 @@ public:
LwpDivInfo(LwpObjectHeader& objHdr, LwpSvStream* pStrm);
LwpObjectID& GetInitialLayoutID() { return m_InitialLayoutID; }
LwpObjectID& GetFillerPageTextID() { return m_FillerPageTextID; }
// add by ,03/14/2004
OUString GetDivName() { return m_Name.str(); }
// end add
OUString GetClassName() { return m_ClassName.str(); }
inline bool HasContents();
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#include "lwpdivopts.hxx"
#include "lwpfilehdr.hxx"
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDIVOPTS_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDIVOPTS_HXX
......
......@@ -57,10 +57,6 @@
* @file
* double linked class implementation
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#include "lwpdllist.hxx"
......
......@@ -57,10 +57,6 @@
* @file
* double linked list
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDLLIST_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDLLIST_HXX
......
......@@ -57,10 +57,6 @@
* @file
* list class implementation
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#include "lwpdlvlist.hxx"
#include "lwpfilehdr.hxx"
......
......@@ -57,10 +57,6 @@
* @file
* list related class
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDLVLIST_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDLVLIST_HXX
......@@ -105,9 +101,7 @@ protected:
void Read() SAL_OVERRIDE;
void ReadName(LwpObjectStream* pObjStrm);
public:
// 01/17/2005
LwpAtomHolder& GetName() { return m_Name; }
//end
LwpObjectID& GetChildHead() { return m_ChildHead; }
LwpObjectID& GetChildTail() { return m_ChildTail; }
LwpObjectID& GetParent() { return m_Parent; }
......
......@@ -244,7 +244,7 @@ void LwpDocument::RegisterTextStyles()
pParaStyle = dynamic_cast<LwpParaStyle*>(pParaStyle->GetNext().obj().get());
}
}
ChangeStyleName();//add by ,for click here block,05/5/26
ChangeStyleName();//for click here block
}
/**
* @descr Register all layouts styles (page master and master page)
......
......@@ -57,11 +57,6 @@
* @file
* LwpDocument header file
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
Jun 2005 Code cleaning by change some members to local variables in Read()
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDOC_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDOC_HXX
......
......@@ -57,10 +57,7 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Mar 2005 reated
************************************************************************/
#include "lwpdropcapmgr.hxx"
LwpDropcapMgr::LwpDropcapMgr()
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Mar 2005 created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDROPCAPMGR_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDROPCAPMGR_HXX
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype - footnote layouts
*/
/*************************************************************************
* Change History
Mar 2005 Created
************************************************************************/
#include "lwpfnlayout.hxx"
......
......@@ -57,10 +57,7 @@
* @file
* For LWP filter architecture prototype - footnote layouts
*/
/*************************************************************************
* Change History
Mar 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFNLAYOUT_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFNLAYOUT_HXX
......
......@@ -60,10 +60,6 @@
* LwpFontAttrEntry, LwpFontNameManager,LwpFontAttrManager,
* LwpFontManager
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFONT_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFONT_HXX
......
......@@ -53,14 +53,7 @@
*
*
************************************************************************/
/**
* @file
* footnote
*/
/*************************************************************************
* Change History
Mar 2005 Created
************************************************************************/
#include "lwpfootnote.hxx"
#include "lwpstory.hxx"
#include "xfilter/xffootnote.hxx"
......
......@@ -57,10 +57,7 @@
* @file
* footnote
*/
/*************************************************************************
* Change History
Mar 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFOOTNOTE_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFOOTNOTE_HXX
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#include "lwpfoundry.hxx"
#include "lwpfilehdr.hxx"
......
......@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
/*************************************************************************
* Change History
Jan 2005 Created
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFOUNDRY_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFOUNDRY_HXX
......
......@@ -57,10 +57,7 @@
* @file
* the class for VO_FrameLayout
************************************************************************/
/*************************************************************************
* Change History
Mar 2005 Created
************************************************************************/
#include "lwpframelayout.hxx"
#include "lwppara.hxx"
#include "xfilter/xfstylemanager.hxx"
......