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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONJAVA_HXX
20 #define INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONJAVA_HXX
24 #include "codemaker/generatedtypeset.hxx"
25 #include "skeletoncommon.hxx"
27 namespace skeletonmaker
{ namespace java
{
30 std::ostream
& o
, ProgramOptions
const & options
,
31 rtl::Reference
< TypeManager
> const & manager
, OUString
const & name
,
32 bool referenceType
, bool defaultvalue
= false);
34 void printMethods(std::ostream
& o
,
35 ProgramOptions
const & options
, rtl::Reference
< TypeManager
> const & manager
,
36 OUString
const & name
,
37 codemaker::GeneratedTypeSet
& generated
,
38 OString
const & delegate
,
39 OString
const & indentation
=OString(),
40 bool defaultvalue
=false,
41 bool usepropertymixin
=false);
43 void generateDocumentation(std::ostream
& o
,
44 ProgramOptions
const & options
,
45 rtl::Reference
< TypeManager
> const & manager
,
47 OString
const & delegate
);
49 void generateSkeleton(ProgramOptions
const & options
, rtl::Reference
< TypeManager
> const & manager
, std::vector
< OString
> const & types
);
51 void generateXPropertySetBodies(std::ostream
& o
);
52 void generateXFastPropertySetBodies(std::ostream
& o
);
53 void generateXPropertyAccessBodies(std::ostream
& o
);
57 #endif // INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONJAVA_HXX
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */