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: docstore.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_INFO_DOCSTORE_HXX
32 #define ARY_INFO_DOCSTORE_HXX
40 #include <ary/info/inftypes.hxx>
57 virtual ~DocuStore() {}
60 DYN
doc::Node
& let_drDocu
);
61 void Store2CurNamespace(
62 DYN
doc::Node
& let_drDocu
);
64 void Store2ConnectedDeclaration(
65 DYN
doc::Node
& let_drDocu
);
68 DYN
doc::Node
& let_drDocu
,
69 const String
& i_sExplainedTerm
);
70 void Store2GlobalTexts(
71 DYN
doc::Node
& let_drDocu
,
72 ary::info::GlobalTextId
75 virtual void do_Store2CurFile(
76 DYN
doc::Node
& let_drDocu
) = 0;
77 virtual void do_Store2CurNamespace(
78 DYN
doc::Node
& let_drDocu
) = 0;
80 virtual void do_Store2ConnectedDeclaration(
81 DYN
doc::Node
& let_drDocu
) = 0;
83 virtual void do_Store2Glossary(
84 DYN
doc::Node
& let_drDocu
,
85 const String
& i_sExplainedTerm
) = 0;
86 virtual void do_Store2GlobalTexts(
87 DYN
doc::Node
& let_drDocu
,
88 ary::info::GlobalTextId
97 DocuStore::Store2CurFile( DYN
doc::Node
& let_drDocu
)
98 { do_Store2CurFile(let_drDocu
); }
100 DocuStore::Store2CurNamespace( DYN
doc::Node
& let_drDocu
)
101 { do_Store2CurNamespace(let_drDocu
); }
103 DocuStore::Store2ConnectedDeclaration( DYN
doc::Node
& let_drDocu
)
104 { do_Store2ConnectedDeclaration(let_drDocu
); }
106 DocuStore::Store2Glossary( DYN
doc::Node
& let_drDocu
,
107 const String
& i_sExplainedTerm
)
108 { do_Store2Glossary(let_drDocu
, i_sExplainedTerm
); }
110 DocuStore::Store2GlobalTexts( DYN
doc::Node
& let_drDocu
,
111 ary::info::GlobalTextId i_nId
)
112 { do_Store2GlobalTexts(let_drDocu
, i_nId
); }