LibreOffice Module sw (master) 1
Functions | Variables
vbafield.cxx File Reference
#include "vbafield.hxx"
#include "vbarange.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/text/XTextFieldsSupplier.hpp>
#include <com/sun/star/text/FilenameDisplayFormat.hpp>
#include <com/sun/star/util/XRefreshable.hpp>
#include <com/sun/star/util/XUpdatable.hpp>
#include <ooo/vba/word/WdFieldType.hpp>
#include <basic/sberrors.hxx>
#include <cppuhelper/implbase.hxx>
#include <sal/log.hxx>
#include <tools/long.hxx>
#include <utility>
Include dependency graph for vbafield.cxx:

Go to the source code of this file.

Functions

static uno::Any lcl_createField (const uno::Reference< XHelperInterface > &xParent, const uno::Reference< uno::XComponentContext > &xContext, const uno::Reference< frame::XModel > &xModel, const uno::Any &aSource)
 

Variables

const DocPropertyTable aDocPropertyTables []
 

Function Documentation

◆ lcl_createField()

static uno::Any lcl_createField ( const uno::Reference< XHelperInterface > &  xParent,
const uno::Reference< uno::XComponentContext > &  xContext,
const uno::Reference< frame::XModel > &  xModel,
const uno::Any aSource 
)
static

Definition at line 220 of file vbafield.cxx.

References xModel.

Referenced by SwVbaFields::createCollectionObject().

Variable Documentation

◆ aDocPropertyTables

const DocPropertyTable aDocPropertyTables[]
Initial value:
=
{
{ "Author", "com.sun.star.text.textfield.docinfo.CreateAuthor" },
{ "Bytes", nullptr },
{ "Category", nullptr },
{ "Characters",nullptr },
{ "CharactersWithSpaces", nullptr },
{ "Comments", "com.sun.star.text.textfield.docinfo.Description" },
{ "Company", nullptr },
{ "CreateTime", "com.sun.star.text.textfield.docinfo.CreateDateTime" },
{ "HyperlinkBase", nullptr },
{ "Keywords", "com.sun.star.text.textfield.docinfo.Keywords" },
{ "LastPrinted", "com.sun.star.text.textfield.docinfo.PrintDateTime" },
{ "LastSavedBy", "com.sun.star.text.textfield.docinfo.ChangeAuthor" },
{ "LastSavedTime", "com.sun.star.text.textfield.docinfo.ChangeDateTime" },
{ "Lines", nullptr },
{ "Manager", nullptr },
{ "NameofApplication", nullptr },
{ "ODMADocID", nullptr },
{ "Pages", "com.sun.star.text.textfield.PageCount" },
{ "Paragraphs", "com.sun.star.text.textfield.ParagraphCount" },
{ "RevisionNumber", "com.sun.star.text.textfield.docinfo.Revision" },
{ "Security", nullptr },
{ "Subject", "com.sun.star.text.textfield.docinfo.Subject" },
{ "Template", "com.sun.star.text.textfield.TemplateName" },
{ "Title", "com.sun.star.text.textfield.docinfo.Title" },
{ "TotalEditingTime", "com.sun.star.text.textfield.docinfo.EditTime" },
{ "Words", "com.sun.star.text.textfield.WordCount" },
{ nullptr, nullptr }
}

Definition at line 392 of file vbafield.cxx.

Referenced by SwVbaFields::Create_Field_DocProperty().