1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ary_disp.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef ARY_ARY_DISP_HXX
32 #define ARY_ARY_DISP_HXX
33 // KORR_DEPRECATED_3.0
38 #include <cosv/tpl/processor.hxx>
41 #include <ary/types.hxx>
42 #include <ary/cpp/c_types4cpp.hxx>
51 class Display
: public csv::ProcessorIfc
60 /** This method depends on the result of Get_ReFinder().
61 If Get_ReFinder() != 0, then DisplayGate::Find_Re() is called
62 and if valid, cpp::CppEntity::Accept( *this ) is called.
63 If Get_ReFinder() == 0, simply do_DisplaySlot_Rid() is called
64 with just the id as parameter.
68 // void DisplaySlot_Lid(
70 /** This method depends on the result of Get_ReFinder().
71 If Get_ReFinder() != 0, then DisplayGate::Find_Re() is called
72 and if valid, cpp::CppEntity::Accept( *this ) is called.
73 If Get_ReFinder() == 0, simply do_DisplaySlot_LocalCe() is called
74 with just the id as parameter.
76 void DisplaySlot_LocalCe(
77 ary::cpp::Ce_id i_nId
,
78 const String
& i_sName
);
80 const cpp::Gate
* Get_ReFinder() const;
83 virtual void do_StartSlot();
84 virtual void do_FinishSlot();
87 virtual void do_DisplaySlot_Rid(
89 virtual void do_DisplaySlot_LocalCe(
90 ary::cpp::Ce_id i_nId
,
91 const String
& i_sName
);
92 virtual const cpp::Gate
*
93 inq_Get_ReFinder() const = 0;
104 Display::FinishSlot()
106 inline const cpp::Gate
*
107 Display::Get_ReFinder() const
108 { return inq_Get_ReFinder(); }