Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CompoundTypeParameter.h

Go to the documentation of this file.
00001 /**
00002 * @file         CompoundTypeParameter.h
00003 * @brief    複合版のオプション
00004 *
00005 * @author   Nakashima h
00006 * @date     2021-10-06
00007 *
00008 * $Id: CompoundTypeParameter.h 32 2022-07-14 03:20:43Z shingo.yoneda $
00009 *
00010 * Copyright (c) 2020-2022 Antenna House, Inc. All rights reserved.
00011 */
00012 
00013 #pragma once
00014 #include "DataMergeParams.h"
00015 
00016 /**
00017 * @brief    複合版のオプション
00018 */
00019 struct CompoundTypeParameter {
00020     /**
00021     * @brief    デフォルトコンストラクタ
00022     */
00023     CompoundTypeParameter() {}
00024 
00025     /**
00026     * @brief    コンストラクタ
00027     * @param    linking_key - データで一意の値をもつカラム名
00028     */
00029     CompoundTypeParameter(std::string linking_key) : m_linking_key(linking_key) {}
00030 
00031     /**
00032     * @brief    デストラクタ
00033     */
00034     ~CompoundTypeParameter() {}
00035 
00036     /**
00037     * @brief    明細部の行数パターン
00038     */
00039     CompoundTypeOption::RepeatingRowsPattern m_repeating_rows_pattern = CompoundTypeOption::RepeatingRowsPattern::Fixed;
00040     /**
00041     * @brief    行数固定の明細表が複数ページに渡る場合のスタイル
00042     */
00043     CompoundTypeOption::MultiplePagesStyle m_multiple_pages_style = CompoundTypeOption::MultiplePagesStyle::RepeatTemplate;
00044     /**
00045     * @brief    行数固定のフッター部分の編集ルール
00046     */
00047     CompoundTypeOption::DeletingFooterRule m_deleting_footer_rule = CompoundTypeOption::DeletingFooterRule::LeaveAll;
00048 
00049     /**
00050     * @brief    データで一意の値をもつカラム名
00051     */
00052     std::string m_linking_key;
00053 
00054     /**
00055     * @brief    非明細部のファイルのパス
00056     */
00057     std::string m_main_data_path = "";
00058 
00059     /**
00060     * @brief    明細部のファイルのパス
00061     */
00062     std::vector<std::string> m_sub_data_paths;
00063 
00064     /**
00065     * @brief    差し込み印刷データのファイルフォーマット
00066     */
00067     CommonOption::DataType m_data_type = CommonOption::DataType::CSV;
00068 
00069     /**
00070     * @brief    差し込み印刷データのエンコード
00071     */
00072     CommonOption::DataFileEncoding m_file_encoding = CommonOption::DataFileEncoding::SJIS;
00073 };

Generated on 19 Jan 2023 for Word API C/C++ Interface by Doxygen 1.3-rc2