Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9148757c
Kaydet (Commit)
9148757c
authored
Ara 20, 2011
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcather: remove sdr::Comment
üst
2a1d6d03
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
223 deletions
+0
-223
Library_svxcore.mk
svx/Library_svxcore.mk
+0
-1
Package_inc.mk
svx/Package_inc.mk
+0
-1
sdrcomment.hxx
svx/inc/svx/sdrcomment.hxx
+0
-108
svdpage.hxx
svx/inc/svx/svdpage.hxx
+0
-9
sdrcomment.cxx
svx/source/svdraw/sdrcomment.cxx
+0
-99
unusedcode.easy
unusedcode.easy
+0
-5
No files found.
svx/Library_svxcore.mk
Dosyayı görüntüle @
9148757c
...
...
@@ -305,7 +305,6 @@ $(eval $(call gb_Library_add_exception_objects,svxcore,\
svx/source/svdraw/clonelist \
svx/source/svdraw/gradtrns \
svx/source/svdraw/polypolygoneditor \
svx/source/svdraw/sdrcomment \
svx/source/svdraw/sdrhittesthelper \
svx/source/svdraw/sdrmasterpagedescriptor \
svx/source/svdraw/sdrpagewindow \
...
...
svx/Package_inc.mk
Dosyayı görüntüle @
9148757c
...
...
@@ -378,7 +378,6 @@ $(eval $(call gb_Package_add_file,svx_inc,inc/svx/svdfield.hxx,svx/svdfield.hxx)
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/relfld.hxx,svx/relfld.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/AccessibleShapeInfo.hxx,svx/AccessibleShapeInfo.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/numvset.hxx,svx/numvset.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/sdrcomment.hxx,svx/sdrcomment.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/txenctab.hxx,svx/txenctab.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/svdorect.hxx,svx/svdorect.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/xftshit.hxx,svx/xftshit.hxx))
...
...
svx/inc/svx/sdrcomment.hxx
deleted
100644 → 0
Dosyayı görüntüle @
2a1d6d03
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _SDR_COMMENT_HXX
#define _SDR_COMMENT_HXX
#include <sal/types.h>
#include <tools/date.hxx>
#include <rtl/ustring.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <vector>
//////////////////////////////////////////////////////////////////////////////
// predeclarations
//////////////////////////////////////////////////////////////////////////////
namespace
sdr
{
class
Comment
{
// counting ID
sal_uInt32
mnID
;
// creation date
Date
maCreationDate
;
// name of creator
::
rtl
::
OUString
maUserName
;
// text content
::
rtl
::
OUString
maText
;
// position
basegfx
::
B2DPoint
maPosition
;
public
:
Comment
(
sal_uInt32
nID
,
Date
aCreationDate
,
const
::
rtl
::
OUString
&
rUserName
,
const
::
rtl
::
OUString
&
rText
,
const
basegfx
::
B2DPoint
&
rPosition
);
~
Comment
();
// operator for sorting the vector by mnID
sal_Bool
operator
<
(
const
Comment
&
rCandidate
)
const
{
return
(
mnID
<
rCandidate
.
mnID
);
}
// comparison operators
sal_Bool
operator
==
(
const
Comment
&
rCandidate
)
const
;
sal_Bool
operator
!=
(
const
Comment
&
rCandidate
)
const
{
return
!
(
operator
==
(
rCandidate
));
}
// access to ID, read only
sal_uInt32
GetID
()
const
{
return
mnID
;
}
// access to CreationDate
Date
GetCreationDate
()
const
{
return
maCreationDate
;
}
void
SetCreationDate
(
Date
aNewDate
);
// access to UserName
const
::
rtl
::
OUString
&
GetUserName
()
const
{
return
maUserName
;
}
void
SetUserName
(
const
::
rtl
::
OUString
&
rNewName
);
// access to text
const
::
rtl
::
OUString
&
GetText
()
const
{
return
maText
;
}
void
SetText
(
const
::
rtl
::
OUString
&
rNewText
);
// access to position
const
basegfx
::
B2DPoint
&
GetPosition
()
const
{
return
maPosition
;
}
void
SetPosition
(
const
basegfx
::
B2DPoint
&
rNewPos
);
};
// typedef for list of sdr::Comment
typedef
::
std
::
vector
<
Comment
>
CommentVector
;
}
// end of namespace sdr
//////////////////////////////////////////////////////////////////////////////
#endif //_SDR_COMMENT_HXX
// eof
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svx/inc/svx/svdpage.hxx
Dosyayı görüntüle @
9148757c
...
...
@@ -36,7 +36,6 @@
#include <cppuhelper/weakref.hxx>
#include <svx/svdtypes.hxx>
#include <svx/svdlayer.hxx>
#include <svx/sdrcomment.hxx>
#include <vector>
#include <svx/sdrpageuser.hxx>
#include <svx/sdr/contact/viewobjectcontactredirector.hxx>
...
...
@@ -566,14 +565,6 @@ public:
const
sdr
::
contact
::
ViewObjectContact
&
rOriginal
,
const
sdr
::
contact
::
DisplayInfo
&
rDisplayInfo
,
bool
bEdit
);
//////////////////////////////////////////////////////////////////////////////
// sdr::Comment interface
private
:
sdr
::
CommentVector
maComments
;
public
:
sal_uInt32
GetCommentCount
()
const
{
return
maComments
.
size
();
}
};
typedef
tools
::
WeakReference
<
SdrPage
>
SdrPageWeakRef
;
...
...
svx/source/svdraw/sdrcomment.cxx
deleted
100644 → 0
Dosyayı görüntüle @
2a1d6d03
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#include <svx/sdrcomment.hxx>
//////////////////////////////////////////////////////////////////////////////
namespace
sdr
{
Comment
::
Comment
(
sal_uInt32
nID
,
Date
aCreationDate
,
const
::
rtl
::
OUString
&
rUserName
,
const
::
rtl
::
OUString
&
rText
,
const
basegfx
::
B2DPoint
&
rPosition
)
:
mnID
(
nID
),
maCreationDate
(
aCreationDate
),
maUserName
(
rUserName
),
maText
(
rText
),
maPosition
(
rPosition
)
{
}
Comment
::~
Comment
()
{
}
sal_Bool
Comment
::
operator
==
(
const
Comment
&
rCandidate
)
const
{
return
(
mnID
==
rCandidate
.
mnID
&&
maCreationDate
==
rCandidate
.
maCreationDate
&&
maUserName
==
rCandidate
.
maUserName
&&
maText
==
rCandidate
.
maText
&&
maPosition
==
rCandidate
.
maPosition
);
}
void
Comment
::
SetCreationDate
(
Date
aNewDate
)
{
if
(
aNewDate
!=
maCreationDate
)
{
maCreationDate
=
aNewDate
;
}
}
void
Comment
::
SetUserName
(
const
::
rtl
::
OUString
&
rNewName
)
{
if
(
rNewName
!=
maUserName
)
{
maUserName
=
rNewName
;
}
}
void
Comment
::
SetText
(
const
::
rtl
::
OUString
&
rNewText
)
{
if
(
rNewText
!=
maText
)
{
maText
=
rNewText
;
}
}
void
Comment
::
SetPosition
(
const
basegfx
::
B2DPoint
&
rNewPos
)
{
if
(
rNewPos
!=
maPosition
)
{
maPosition
=
rNewPos
;
}
}
}
// end of namespace sdr
//////////////////////////////////////////////////////////////////////////////
// eof
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unusedcode.easy
Dosyayı görüntüle @
9148757c
...
...
@@ -2023,11 +2023,6 @@ sdext::presenter::(anonymous namespace)::TransparentOverlayAnimator::Transparent
sdext::presenter::(anonymous namespace)::UnfoldInCenterAnimator::UnfoldInCenterAnimator(com::sun::star::uno::Reference<com::sun::star::drawing::framework::XResourceId> const&, rtl::Reference<sdext::presenter::PresenterController> const&, bool, std::__debug::vector<boost::function<void ()>, std::allocator<boost::function<void ()> > > const&, std::__debug::vector<boost::function<void ()>, std::allocator<boost::function<void ()> > > const&)
sdext::presenter::PresenterHorizontalScrollBar::PresenterHorizontalScrollBar(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, com::sun::star::uno::Reference<com::sun::star::awt::XWindow> const&, boost::shared_ptr<sdext::presenter::PresenterPaintManager> const&, boost::function<void (double)> const&)
sdext::presenter::PresenterTextView::PresenterTextView(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, com::sun::star::uno::Reference<com::sun::star::rendering::XCanvas> const&)
sdr::Comment::Comment(unsigned int, Date, rtl::OUString const&, rtl::OUString const&, basegfx::B2DPoint const&)
sdr::Comment::SetCreationDate(Date)
sdr::Comment::SetPosition(basegfx::B2DPoint const&)
sdr::Comment::SetText(rtl::OUString const&)
sdr::Comment::SetUserName(rtl::OUString const&)
sdr::animation::Scheduler::Reset(unsigned int)
sdr::contact::ViewContactOfPageObj::GetReferencedPage() const
sdr::contact::ViewContactOfSdrMediaObj::hasPreferredSize() const
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment