fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / autodoc / source / display / inc / toolkit / hf_navi_sub.hxx
blobf1eb3c934a23228b046bfd7459c5279456cfe69d
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 .
20 #ifndef ADC_DISPLAY_HF_NAVI_SUB_HXX
21 #define ADC_DISPLAY_HFI_NAVI_SUB_HXX
25 // USED SERVICES
26 // BASE CLASSES
27 // COMPONENTS
28 #include "htmlfactory.hxx"
29 // PARAMETERS
32 class HF_NaviSubRow : public HtmlMaker
34 public:
35 HF_NaviSubRow(
36 Xml::Element & o_rOut );
37 virtual ~HF_NaviSubRow();
39 void AddItem(
40 const String & i_sText,
41 const String & i_sLink,
42 bool i_bSwitchOn );
43 void SwitchOn(
44 int i_nIndex );
45 void Produce_Row();
47 private:
48 typedef std::pair<String,String> SubRow_Data;
49 typedef std::pair<SubRow_Data,bool> SubRow_Item;
50 typedef std::vector<SubRow_Item> SubRow;
52 /** Puts the row's table into the parent XML-element, but
53 doesn't write the items, because the actvity-status of
54 the subitems isn't known yet.
56 void Setup_Row();
58 // DATA
59 SubRow aRow;
60 Xml::Element * pMyRow;
66 // IMPLEMENTATION
71 #endif
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */