tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / unodevtools / source / skeletonmaker / skeletonjava.hxx
blob7ba2b8e2e00420f60c908fd67c8f7ae7b4f564b6
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 #pragma once
21 #include <fstream>
22 #include <string_view>
24 #include <codemaker/generatedtypeset.hxx>
25 #include "skeletoncommon.hxx"
27 namespace skeletonmaker::java {
29 void printType(
30 std::ostream & o, ProgramOptions const & options,
31 rtl::Reference< TypeManager > const & manager, std::u16string_view 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,
40 bool defaultvalue=false,
41 bool usepropertymixin=false);
43 void generateDocumentation(std::ostream & o,
44 ProgramOptions const & options,
45 rtl::Reference< TypeManager > const & manager,
46 OString const & type,
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 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */