/**************************************************************
*
* 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
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef _XMLOFF_FORMLAYEREXPORT_HXX_
#define _XMLOFF_FORMLAYEREXPORT_HXX_
#include "sal/config.h"
#include "xmloff/dllapi.h"
#include To be called if you want to reuse the same object for exportin different documents. You don't need to call this if you just constructed the object, in this case it is already
initialized.. 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