1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 #ifndef INCLUDED_OOX_PPT_COMMENTS_HXX
12 #define INCLUDED_OOX_PPT_COMMENTS_HXX
16 #include <com/sun/star/util/DateTime.hpp>
17 #include <rtl/ustring.hxx>
18 #include <sal/types.h>
31 class CommentAuthorList
34 std::vector
<CommentAuthor
> cmAuthorLst
;
37 void setValues(const CommentAuthorList
& list
);
39 void addAuthor(const CommentAuthor
& _author
)
41 cmAuthorLst
.push_back(_author
);
56 css::util::DateTime aDateTime
;
58 void setDateTime (const OUString
& datetime
);
61 void setAuthorId(const OUString
& _aId
)
65 void setdt(const OUString
& _dt
)
70 void setidx(const OUString
& _idx
)
74 void setPoint(const OUString
& _x
, const OUString
& _y
)
79 void setText(const OUString
& _text
)
83 const OUString
& get_text() const
87 const css::util::DateTime
& getDateTime() const
91 sal_Int32
getIntX() const
95 sal_Int32
getIntY() const
99 OUString
getAuthor ( const CommentAuthorList
& list
);
100 OUString
getInitials ( const CommentAuthorList
& list
);
106 std::vector
<Comment
> cmLst
;
109 return static_cast<int>(cmLst
.size());
111 const Comment
& getCommentAtIndex (int index
);
118 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */