android: Update app-specific/MIME type icons
[LibreOffice.git] / include / svl / cjkoptions.hxx
blob9ac227541b9119f2a9fb57daf5738a887de8fef0
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 <svl/svldllapi.h>
23 namespace SvtCJKOptions
25 enum EOption
27 E_CJKFONT,
28 E_VERTICALTEXT,
29 E_ASIANTYPOGRAPHY,
30 E_JAPANESEFIND,
31 E_RUBY,
32 E_CHANGECASEMAP,
33 E_DOUBLELINES,
34 E_ALL // special one for IsAnyEnabled()/SetAll() functionality
37 SVL_DLLPUBLIC bool IsCJKFontEnabled();
38 SVL_DLLPUBLIC bool IsVerticalTextEnabled();
39 SVL_DLLPUBLIC bool IsAsianTypographyEnabled();
40 SVL_DLLPUBLIC bool IsJapaneseFindEnabled();
41 SVL_DLLPUBLIC bool IsRubyEnabled();
42 SVL_DLLPUBLIC bool IsChangeCaseMapEnabled();
43 SVL_DLLPUBLIC bool IsDoubleLinesEnabled();
45 SVL_DLLPUBLIC void SetAll(bool bSet);
46 SVL_DLLPUBLIC bool IsAnyEnabled();
47 SVL_DLLPUBLIC bool IsReadOnly(EOption eOption);
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */