LibreOffice Module sc (master)
1
|
#include <rtl/math.hxx>
#include <rtl/character.hxx>
#include <string.h>
#include <scitems.hxx>
#include <patattr.hxx>
#include <docpool.hxx>
#include <editeng/postitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/justifyitem.hxx>
#include <unotools/configmgr.hxx>
#include <formulacell.hxx>
#include <document.hxx>
#include <postit.hxx>
#include <op.h>
#include <optab.h>
#include <tool.h>
#include "lotfilter.hxx"
#include <lotform.hxx>
#include <lotrange.hxx>
#include <ftools.hxx>
#include <vector>
#include <map>
#include <memory>
Go to the source code of this file.
Variables | |
static sal_uInt16 | nDefWidth = sal_uInt16( TWIPS_PER_CHAR * 10 ) |
void NI | ( | LotusContext & | , |
SvStream & | r, | ||
sal_uInt16 | n | ||
) |
Definition at line 52 of file op.cxx.
References SvStream::SeekRel().
void OP_ApplyPatternArea123 | ( | LotusContext & | rContext, |
SvStream & | rStream | ||
) |
Definition at line 603 of file op.cxx.
References LotusContext::aLotusPatternPool, ScDocument::ApplyPatternAreaTab(), COL_FORMAT_MARKER, SvStream::good(), i, LOTUS_FORMAT_INDEX, LOTUS_FORMAT_INFO, nLength, LotusContext::rDoc, SvStream::ReadUInt16(), ROW_FORMAT_MARKER, SanitizeTab(), and SvStream::SeekRel().
Referenced by generate_Opcodes().
void OP_Blank | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 333 of file op.cxx.
References nFractionalFloat, SvStream::ReadUChar(), SvStream::ReadUInt16(), and SetFormat().
void OP_BOF | ( | LotusContext & | , |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 57 of file op.cxx.
References SvStream::SeekRel().
void OP_BOF123 | ( | LotusContext & | , |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 344 of file op.cxx.
References SvStream::SeekRel().
void OP_ColumnWidth | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 165 of file op.cxx.
References nDefWidth, LotusContext::rDoc, SvStream::ReadUChar(), SvStream::ReadUInt16(), ScDocument::SanitizeCol(), ScDocument::SetColHidden(), ScDocument::SetColWidth(), TWIPS_PER_CHAR, and ScDocument::ValidCol().
void OP_CreatePattern123 | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | n | ||
) |
Definition at line 521 of file op.cxx.
References LotusContext::aLotusPatternPool, ATTR_FONT_POSTURE(), ATTR_FONT_UNDERLINE(), ATTR_FONT_WEIGHT(), ScDocument::GetPool(), ITALIC_NORMAL, LINESTYLE_SINGLE, nCode, OP_HorAlign123(), OP_VerAlign123(), LotusContext::rDoc, SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::SeekRel(), and WEIGHT_BOLD.
void OP_EOF | ( | LotusContext & | rContext, |
SvStream & | , | ||
sal_uInt16 | |||
) |
Definition at line 62 of file op.cxx.
References LotusContext::bEOF.
void OP_EOF123 | ( | LotusContext & | rContext, |
SvStream & | , | ||
sal_uInt16 | |||
) |
Definition at line 349 of file op.cxx.
References LotusContext::bEOF.
void OP_Footer | ( | LotusContext & | , |
SvStream & | r, | ||
sal_uInt16 | n | ||
) |
Definition at line 266 of file op.cxx.
References SvStream::SeekRel().
void OP_Formula | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 130 of file op.cxx.
References ScFormulaCell::AddRecalcMode(), LotusToSc::Convert(), LotusContext::eCharset, ScDocument::EnsureTable(), ScDocument::GetSharedStringPool(), LotusConverterBase::good(), nFractionalFloat, LotusContext::rDoc, SvStream::ReadUChar(), SvStream::ReadUInt16(), LotusToSc::Reset(), SvStream::SeekRel(), SetFormat(), ScDocument::SetFormulaCell(), and ScDocument::ValidColRow().
void OP_Formula123 | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | n | ||
) |
Definition at line 390 of file op.cxx.
References ScFormulaCell::AddRecalcMode(), LotusToSc::Convert(), LotusContext::eCharset, ScDocument::EnsureTable(), ScDocument::GetMaxTableNumber(), ScDocument::GetSharedStringPool(), LotusConverterBase::good(), LotusContext::rDoc, SvStream::ReadUChar(), SvStream::ReadUInt16(), LotusToSc::Reset(), SvStream::SeekRel(), ScDocument::SetFormulaCell(), and ScDocument::ValidColRow().
void OP_Header | ( | LotusContext & | , |
SvStream & | r, | ||
sal_uInt16 | n | ||
) |
Definition at line 271 of file op.cxx.
References SvStream::SeekRel().
void OP_HiddenCols | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 281 of file op.cxx.
References nBit, nCount, LotusContext::rDoc, SvStream::ReadUChar(), and ScDocument::SetColHidden().
void OP_HorAlign123 | ( | LotusContext & | , |
sal_uInt8 | nAlignPattern, | ||
SfxItemSet & | rPatternItemSet | ||
) |
Definition at line 459 of file op.cxx.
References ATTR_HOR_JUSTIFY(), and SfxItemSet::Put().
Referenced by OP_CreatePattern123().
void OP_IEEENumber123 | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 420 of file op.cxx.
References ScDocument::EnsureTable(), ScDocument::GetMaxTableNumber(), LotusContext::rDoc, SvStream::ReadDouble(), SvStream::ReadUChar(), SvStream::ReadUInt16(), ScDocument::SetValue(), and ScDocument::ValidColRow().
void OP_Integer | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 67 of file op.cxx.
References ScDocument::EnsureTable(), nValue, LotusContext::rDoc, SvStream::ReadInt16(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SetFormat(), ScDocument::SetValue(), and ScDocument::ValidColRow().
void OP_Label | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | n | ||
) |
Definition at line 105 of file op.cxx.
References nFractionalStd, PutFormString(), LotusContext::rDoc, SvStream::ReadBytes(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SetFormat(), and ScDocument::ValidColRow().
void OP_Label123 | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | n | ||
) |
Definition at line 354 of file op.cxx.
References PutFormString(), SvStream::ReadBytes(), SvStream::ReadUChar(), and SvStream::ReadUInt16().
void OP_Margins | ( | LotusContext & | , |
SvStream & | r, | ||
sal_uInt16 | n | ||
) |
Definition at line 276 of file op.cxx.
References SvStream::SeekRel().
void OP_NamedRange | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 190 of file op.cxx.
References LotusRangeList::Append(), ScfTools::ConvertToScDefinedName(), LotusContext::eCharset, LotusContext::maRangeNames, LotusContext::rDoc, SvStream::ReadBytes(), SvStream::ReadUInt16(), and ScDocument::ValidColRow().
void OP_Note123 | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | n | ||
) |
Definition at line 437 of file op.cxx.
References ScNoteUtil::CreateNoteFromString(), LotusContext::eCharset, LotusContext::rDoc, SvStream::ReadBytes(), SvStream::ReadUChar(), and SvStream::ReadUInt16().
void OP_Number | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 86 of file op.cxx.
References ScDocument::EnsureTable(), nFractionalFloat, LotusContext::rDoc, SvStream::ReadDouble(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SetFormat(), ScDocument::SetValue(), and ScDocument::ValidColRow().
void OP_Number123 | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 372 of file op.cxx.
References ScDocument::EnsureTable(), ScDocument::GetMaxTableNumber(), nValue, LotusContext::rDoc, SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), ScDocument::SetValue(), Snum32ToDouble(), and ScDocument::ValidColRow().
void OP_SheetName123 | ( | LotusContext & | rContext, |
SvStream & | rStream, | ||
sal_uInt16 | nLength | ||
) |
Definition at line 570 of file op.cxx.
References aName, LotusContext::eCharset, i, ScDocument::MakeTable(), LotusContext::rDoc, SvStream::ReadChar(), SvStream::ReadUInt16(), ScDocument::RenameTab(), SvStream::SeekRel(), and ValidTab().
void OP_SymphNamedRange | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | |||
) |
Definition at line 228 of file op.cxx.
References LotusRangeList::Append(), ScfTools::ConvertToScDefinedName(), LotusContext::eCharset, LotusContext::maRangeNames, nType, LotusContext::rDoc, SvStream::ReadBytes(), SvStream::ReadUChar(), SvStream::ReadUInt16(), and ScDocument::ValidColRow().
void OP_VerAlign123 | ( | LotusContext & | , |
sal_uInt8 | nAlignPattern, | ||
SfxItemSet & | rPatternItemSet | ||
) |
Definition at line 492 of file op.cxx.
References ATTR_VER_JUSTIFY(), and SfxItemSet::Put().
Referenced by OP_CreatePattern123().
void OP_Window1 | ( | LotusContext & | rContext, |
SvStream & | r, | ||
sal_uInt16 | n | ||
) |
Definition at line 305 of file op.cxx.
References SvStream::good(), utl::ConfigManager::IsFuzzing(), ScDocument::MaxCol(), nDefWidth, LotusContext::rDoc, SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::SeekRel(), ScDocument::SetColWidth(), and TWIPS_PER_CHAR.
|
static |
Definition at line 50 of file op.cxx.
Referenced by OP_ColumnWidth(), OP_Window1(), and XclImpColRowSettings::SetDefWidth().