/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_XMLOFF_FORMLAYEREXPORT_HXX
#define INCLUDED_XMLOFF_FORMLAYEREXPORT_HXX
#include This method has to be called before you use getControlId for controls on the given page.
This way a performance optimization can be done for faster access to the control ids The page the control belongs to must have been examined and sought to. For performance reasons, this method is allowed to be called for any controls, even those which
do not have a number style. In this case, an empty string is returned. This method will collect all form layer related data of the given draw page This method does not export styles (e.g. font properties of the controls), or any references
external instances may have to the control models contained in the form layer (e.g. uno control
shapes in the drawing layer may have such references) No top level element describing the whole collection is inserted. I.e. if within your document, you
expect the forms collection to be stored like
If your document contains form controls which are not to be exported for whatever reason,
you need to announce the models of these controls (can be retrieved from XControlShape::getControl)
to the form layer exporter.
Of course you have to do this before calling