LibreOffice Module sw (master)  1
Enumerations | Functions
SwXDocumentSettings.cxx File Reference
#include <config_features.h>
#include <sal/config.h>
#include <sal/log.hxx>
#include <utility>
#include <o3tl/any.hxx>
#include <sfx2/sfxbasecontroller.hxx>
#include "SwXDocumentSettings.hxx"
#include <comphelper/MasterPropertySetInfo.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/i18n/XForbiddenCharacters.hpp>
#include <com/sun/star/document/PrinterIndependentLayout.hpp>
#include <doc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <docsh.hxx>
#include <fldupde.hxx>
#include <linkenum.hxx>
#include <sfx2/printer.hxx>
#include <editsh.hxx>
#include <drawdoc.hxx>
#include <svl/zforlist.hxx>
#include <unotxdoc.hxx>
#include <cmdid.h>
#include <sfx2/zoomitem.hxx>
#include <unomod.hxx>
#include <vcl/svapp.hxx>
#include <svl/asiancfg.hxx>
#include <tools/stream.hxx>
#include <swmodule.hxx>
#include <cfgitems.hxx>
#include <prtopt.hxx>
#include <dbmgr.hxx>
Include dependency graph for SwXDocumentSettings.cxx:

Go to the source code of this file.

Enumerations

enum  SwDocumentSettingsPropertyHandles {
  HANDLE_FORBIDDEN_CHARS,
  HANDLE_LINK_UPDATE_MODE,
  HANDLE_FIELD_AUTO_UPDATE,
  HANDLE_CHART_AUTO_UPDATE,
  HANDLE_ADD_PARA_TABLE_SPACING,
  HANDLE_ADD_PARA_TABLE_SPACING_AT_START,
  HANDLE_ALIGN_TAB_STOP_POSITION,
  HANDLE_PRINTER_NAME,
  HANDLE_PRINTER_SETUP,
  HANDLE_PRINTER_PAPER,
  HANDLE_IS_KERN_ASIAN_PUNCTUATION,
  HANDLE_CHARACTER_COMPRESSION_TYPE,
  HANDLE_APPLY_USER_DATA,
  HANDLE_SAVE_THUMBNAIL,
  HANDLE_SAVE_GLOBAL_DOCUMENT_LINKS,
  HANDLE_CURRENT_DATABASE_DATA_SOURCE,
  HANDLE_CURRENT_DATABASE_COMMAND,
  HANDLE_CURRENT_DATABASE_COMMAND_TYPE,
  HANDLE_EMBEDDED_DATABASE_NAME,
  HANDLE_SAVE_VERSION_ON_CLOSE,
  HANDLE_UPDATE_FROM_TEMPLATE,
  HANDLE_PRINTER_INDEPENDENT_LAYOUT,
  HANDLE_IS_LABEL_DOC,
  HANDLE_IS_ADD_FLY_OFFSET,
  HANDLE_IS_ADD_VERTICAL_FLY_OFFSET,
  HANDLE_IS_ADD_EXTERNAL_LEADING,
  HANDLE_OLD_NUMBERING,
  HANDLE_OUTLINELEVEL_YIELDS_NUMBERING,
  HANDLE_ALLOW_PRINTJOB_CANCEL,
  HANDLE_USE_FORMER_LINE_SPACING,
  HANDLE_ADD_PARA_SPACING_TO_TABLE_CELLS,
  HANDLE_USE_FORMER_OBJECT_POSITIONING,
  HANDLE_USE_FORMER_TEXT_WRAPPING,
  HANDLE_CHANGES_PASSWORD,
  HANDLE_CONSIDER_WRAP_ON_OBJPOS,
  HANDLE_IGNORE_FIRST_LINE_INDENT_IN_NUMBERING,
  HANDLE_DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK,
  HANDLE_DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT,
  HANDLE_TABLE_ROW_KEEP,
  HANDLE_IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION,
  HANDLE_LOAD_READONLY,
  HANDLE_DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE,
  HANDLE_CLIP_AS_CHARACTER_ANCHORED_WRITER_FLY_FRAMES,
  HANDLE_UNIX_FORCE_ZERO_EXT_LEADING,
  HANDLE_USE_OLD_PRINTER_METRICS,
  HANDLE_PROTECT_FORM,
  HANDLE_MS_WORD_COMP_TRAILING_BLANKS,
  HANDLE_TABS_RELATIVE_TO_INDENT,
  HANDLE_RSID,
  HANDLE_RSID_ROOT,
  HANDLE_TAB_AT_LEFT_INDENT_FOR_PARA_IN_LIST,
  HANDLE_MODIFYPASSWORDINFO,
  HANDLE_MATH_BASELINE_ALIGNMENT,
  HANDLE_INVERT_BORDER_SPACING,
  HANDLE_COLLAPSE_EMPTY_CELL_PARA,
  HANDLE_SMALL_CAPS_PERCENTAGE_66,
  HANDLE_TAB_OVERFLOW,
  HANDLE_UNBREAKABLE_NUMBERINGS,
  HANDLE_STYLES_NODEFAULT,
  HANDLE_FLOATTABLE_NOMARGINS,
  HANDLE_CLIPPED_PICTURES,
  HANDLE_BACKGROUND_PARA_OVER_DRAWINGS,
  HANDLE_EMBED_FONTS,
  HANDLE_EMBED_USED_FONTS,
  HANDLE_EMBED_LATIN_SCRIPT_FONTS,
  HANDLE_EMBED_ASIAN_SCRIPT_FONTS,
  HANDLE_EMBED_COMPLEX_SCRIPT_FONTS,
  HANDLE_EMBED_SYSTEM_FONTS,
  HANDLE_TAB_OVER_MARGIN,
  HANDLE_TREAT_SINGLE_COLUMN_BREAK_AS_PAGE_BREAK,
  HANDLE_SURROUND_TEXT_WRAP_SMALL,
  HANDLE_APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING,
  HANDLE_PROP_LINE_SPACING_SHRINKS_FIRST_LINE,
  HANDLE_SUBTRACT_FLYS,
  HANDLE_DISABLE_OFF_PAGE_POSITIONING,
  HANDLE_EMPTY_DB_FIELD_HIDES_PARA,
  HANDLE_CONTINUOUS_ENDNOTES
}
 

Functions

static MasterPropertySetInfolcl_createSettingsInfo ()
 

Enumeration Type Documentation

Enumerator
HANDLE_FORBIDDEN_CHARS 
HANDLE_LINK_UPDATE_MODE 
HANDLE_FIELD_AUTO_UPDATE 
HANDLE_CHART_AUTO_UPDATE 
HANDLE_ADD_PARA_TABLE_SPACING 
HANDLE_ADD_PARA_TABLE_SPACING_AT_START 
HANDLE_ALIGN_TAB_STOP_POSITION 
HANDLE_PRINTER_NAME 
HANDLE_PRINTER_SETUP 
HANDLE_PRINTER_PAPER 
HANDLE_IS_KERN_ASIAN_PUNCTUATION 
HANDLE_CHARACTER_COMPRESSION_TYPE 
HANDLE_APPLY_USER_DATA 
HANDLE_SAVE_THUMBNAIL 
HANDLE_SAVE_GLOBAL_DOCUMENT_LINKS 
HANDLE_CURRENT_DATABASE_DATA_SOURCE 
HANDLE_CURRENT_DATABASE_COMMAND 
HANDLE_CURRENT_DATABASE_COMMAND_TYPE 
HANDLE_EMBEDDED_DATABASE_NAME 
HANDLE_SAVE_VERSION_ON_CLOSE 
HANDLE_UPDATE_FROM_TEMPLATE 
HANDLE_PRINTER_INDEPENDENT_LAYOUT 
HANDLE_IS_LABEL_DOC 
HANDLE_IS_ADD_FLY_OFFSET 
HANDLE_IS_ADD_VERTICAL_FLY_OFFSET 
HANDLE_IS_ADD_EXTERNAL_LEADING 
HANDLE_OLD_NUMBERING 
HANDLE_OUTLINELEVEL_YIELDS_NUMBERING 
HANDLE_ALLOW_PRINTJOB_CANCEL 
HANDLE_USE_FORMER_LINE_SPACING 
HANDLE_ADD_PARA_SPACING_TO_TABLE_CELLS 
HANDLE_USE_FORMER_OBJECT_POSITIONING 
HANDLE_USE_FORMER_TEXT_WRAPPING 
HANDLE_CHANGES_PASSWORD 
HANDLE_CONSIDER_WRAP_ON_OBJPOS 
HANDLE_IGNORE_FIRST_LINE_INDENT_IN_NUMBERING 
HANDLE_DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK 
HANDLE_DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT 
HANDLE_TABLE_ROW_KEEP 
HANDLE_IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION 
HANDLE_LOAD_READONLY 
HANDLE_DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE 
HANDLE_CLIP_AS_CHARACTER_ANCHORED_WRITER_FLY_FRAMES 
HANDLE_UNIX_FORCE_ZERO_EXT_LEADING 
HANDLE_USE_OLD_PRINTER_METRICS 
HANDLE_PROTECT_FORM 
HANDLE_MS_WORD_COMP_TRAILING_BLANKS 
HANDLE_TABS_RELATIVE_TO_INDENT 
HANDLE_RSID 
HANDLE_RSID_ROOT 
HANDLE_TAB_AT_LEFT_INDENT_FOR_PARA_IN_LIST 
HANDLE_MODIFYPASSWORDINFO 
HANDLE_MATH_BASELINE_ALIGNMENT 
HANDLE_INVERT_BORDER_SPACING 
HANDLE_COLLAPSE_EMPTY_CELL_PARA 
HANDLE_SMALL_CAPS_PERCENTAGE_66 
HANDLE_TAB_OVERFLOW 
HANDLE_UNBREAKABLE_NUMBERINGS 
HANDLE_STYLES_NODEFAULT 
HANDLE_FLOATTABLE_NOMARGINS 
HANDLE_CLIPPED_PICTURES 
HANDLE_BACKGROUND_PARA_OVER_DRAWINGS 
HANDLE_EMBED_FONTS 
HANDLE_EMBED_USED_FONTS 
HANDLE_EMBED_LATIN_SCRIPT_FONTS 
HANDLE_EMBED_ASIAN_SCRIPT_FONTS 
HANDLE_EMBED_COMPLEX_SCRIPT_FONTS 
HANDLE_EMBED_SYSTEM_FONTS 
HANDLE_TAB_OVER_MARGIN 
HANDLE_TREAT_SINGLE_COLUMN_BREAK_AS_PAGE_BREAK 
HANDLE_SURROUND_TEXT_WRAP_SMALL 
HANDLE_APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING 
HANDLE_PROP_LINE_SPACING_SHRINKS_FIRST_LINE 
HANDLE_SUBTRACT_FLYS 
HANDLE_DISABLE_OFF_PAGE_POSITIONING 
HANDLE_EMPTY_DB_FIELD_HIDES_PARA 
HANDLE_CONTINUOUS_ENDNOTES 

Definition at line 67 of file SwXDocumentSettings.cxx.

Function Documentation

static MasterPropertySetInfo* lcl_createSettingsInfo ( )
static

Definition at line 149 of file SwXDocumentSettings.cxx.

References cppu::UnoType< class >::get(), sw::proofreadingiterator::get(), HANDLE_ADD_PARA_SPACING_TO_TABLE_CELLS, HANDLE_ADD_PARA_TABLE_SPACING, HANDLE_ADD_PARA_TABLE_SPACING_AT_START, HANDLE_ALIGN_TAB_STOP_POSITION, HANDLE_ALLOW_PRINTJOB_CANCEL, HANDLE_APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING, HANDLE_APPLY_USER_DATA, HANDLE_BACKGROUND_PARA_OVER_DRAWINGS, HANDLE_CHANGES_PASSWORD, HANDLE_CHARACTER_COMPRESSION_TYPE, HANDLE_CHART_AUTO_UPDATE, HANDLE_CLIP_AS_CHARACTER_ANCHORED_WRITER_FLY_FRAMES, HANDLE_CLIPPED_PICTURES, HANDLE_COLLAPSE_EMPTY_CELL_PARA, HANDLE_CONSIDER_WRAP_ON_OBJPOS, HANDLE_CONTINUOUS_ENDNOTES, HANDLE_CURRENT_DATABASE_COMMAND, HANDLE_CURRENT_DATABASE_COMMAND_TYPE, HANDLE_CURRENT_DATABASE_DATA_SOURCE, HANDLE_DISABLE_OFF_PAGE_POSITIONING, HANDLE_DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, HANDLE_DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK, HANDLE_DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT, HANDLE_EMBED_ASIAN_SCRIPT_FONTS, HANDLE_EMBED_COMPLEX_SCRIPT_FONTS, HANDLE_EMBED_FONTS, HANDLE_EMBED_LATIN_SCRIPT_FONTS, HANDLE_EMBED_SYSTEM_FONTS, HANDLE_EMBED_USED_FONTS, HANDLE_EMBEDDED_DATABASE_NAME, HANDLE_EMPTY_DB_FIELD_HIDES_PARA, HANDLE_FIELD_AUTO_UPDATE, HANDLE_FLOATTABLE_NOMARGINS, HANDLE_FORBIDDEN_CHARS, HANDLE_IGNORE_FIRST_LINE_INDENT_IN_NUMBERING, HANDLE_IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION, HANDLE_INVERT_BORDER_SPACING, HANDLE_IS_ADD_EXTERNAL_LEADING, HANDLE_IS_ADD_FLY_OFFSET, HANDLE_IS_ADD_VERTICAL_FLY_OFFSET, HANDLE_IS_KERN_ASIAN_PUNCTUATION, HANDLE_IS_LABEL_DOC, HANDLE_LINK_UPDATE_MODE, HANDLE_LOAD_READONLY, HANDLE_MATH_BASELINE_ALIGNMENT, HANDLE_MODIFYPASSWORDINFO, HANDLE_MS_WORD_COMP_TRAILING_BLANKS, HANDLE_OLD_NUMBERING, HANDLE_OUTLINELEVEL_YIELDS_NUMBERING, HANDLE_PRINTER_INDEPENDENT_LAYOUT, HANDLE_PRINTER_NAME, HANDLE_PRINTER_PAPER, HANDLE_PRINTER_SETUP, HANDLE_PROP_LINE_SPACING_SHRINKS_FIRST_LINE, HANDLE_PROTECT_FORM, HANDLE_RSID, HANDLE_RSID_ROOT, HANDLE_SAVE_GLOBAL_DOCUMENT_LINKS, HANDLE_SAVE_THUMBNAIL, HANDLE_SAVE_VERSION_ON_CLOSE, HANDLE_SMALL_CAPS_PERCENTAGE_66, HANDLE_STYLES_NODEFAULT, HANDLE_SUBTRACT_FLYS, HANDLE_SURROUND_TEXT_WRAP_SMALL, HANDLE_TAB_AT_LEFT_INDENT_FOR_PARA_IN_LIST, HANDLE_TAB_OVER_MARGIN, HANDLE_TAB_OVERFLOW, HANDLE_TABLE_ROW_KEEP, HANDLE_TABS_RELATIVE_TO_INDENT, HANDLE_TREAT_SINGLE_COLUMN_BREAK_AS_PAGE_BREAK, HANDLE_UNBREAKABLE_NUMBERINGS, HANDLE_UNIX_FORCE_ZERO_EXT_LEADING, HANDLE_UPDATE_FROM_TEMPLATE, HANDLE_USE_FORMER_LINE_SPACING, HANDLE_USE_FORMER_OBJECT_POSITIONING, HANDLE_USE_FORMER_TEXT_WRAPPING, and HANDLE_USE_OLD_PRINTER_METRICS.