Просмотр исходного кода

Updated DocX/Help/ReadMe.docx with information about building DocX using StrongNameKey.pfx

master
coffeycathal_cp 15 лет назад
Родитель
Сommit
0cda08a4e4
4 измененных файлов: 6 добавлений и 4 удалений
  1. 3
    1
      DocX/DocX.csproj
  2. Двоичные данные
      DocX/Help/Read Me.docx
  3. 3
    3
      DocX/Paragraph.cs
  4. Двоичные данные
      DocX/bin/Debug/DocX.dll

+ 3
- 1
DocX/DocX.csproj Просмотреть файл

<StartupObject> <StartupObject>
</StartupObject> </StartupObject>
<SignAssembly>true</SignAssembly> <SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>StrongNameKey.pfx</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<FileUpgradeFlags> <FileUpgradeFlags>
</FileUpgradeFlags> </FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion> <OldToolsVersion>3.5</OldToolsVersion>
<None Include="StrongNameKey.pfx" /> <None Include="StrongNameKey.pfx" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="bin\Debug\DocX.dll" />
<Content Include="License\License.html" /> <Content Include="License\License.html" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

Двоичные данные
DocX/Help/Read Me.docx Просмотреть файл


+ 3
- 3
DocX/Paragraph.cs Просмотреть файл

{ {
runLookup.Clear(); runLookup.Clear();
// Get the runs in this paragraph
IEnumerable<XElement> runs = p.Descendants(XName.Get("r", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"));
List<XElement> runs = new List<XElement>();
p.Flatten("r", runs);
int startIndex = 0; int startIndex = 0;
// Loop through each run in this paragraph // Loop through each run in this paragraph

Двоичные данные
DocX/bin/Debug/DocX.dll Просмотреть файл


Загрузка…
Отмена
Сохранить